I found this Google Colab Notebook very useful. Here's an example:
\begin{align} \mathbf{a} \cdot \mathbf{b} = \sum_{i=1}^n a_i b_i. \end{align}