barik:~$

I build tools for engineers.

ยท 1 min read

Dot Product with KaTeX

Two dot product definitions, rendered with KaTeX.

Coordinate definition of dot product:

$$\mathbf a \cdot \mathbf b = \sum_{i=1}^n a_i b_i = a_1 b_1 + a_2 b_2 + \cdots + a_n b_n$$

Geometric definition of dot product:

$$\mathbf{a}\cdot\mathbf{b}= \left\|\mathbf{a}\right\| \left\|\mathbf{b}\right\|\cos\theta$$