Skip to main content

Section 1.9 The Law of Cosines

Figure 1.13. The Law of Cosines is just the definition of the dot product.

The definition of the dot product can be used to prove several familiar formulas. For example, consider FigureĀ 1.13, in which \(\CCv=\BB-\AA\text{.}\) Then

\begin{align*} \CCv\cdot\CCv \amp = (\BB -\AA) \cdot (\BB -\AA) \nonumber\\ \amp = \AA\cdot\AA + \BB\cdot\BB - 2 \,\AA\cdot\BB \end{align*}

or equivalently

\begin{equation} \,|\CCv|^2 = |\AA|^2 + |\BB|^2 - 2|\AA||\BB|\cos\theta\tag{1.9.1} \end{equation}

which is just the Law of Cosines.