Section3.2Projection of \(\mathbf u\) in the Direction of \(\mathbf v\)
The dot product measures how much two vectors point in the same direction. This section turns that measurement into a vector: given \(\mathbf u\) and \(\mathbf v\text{,}\) we ask how much of \(\mathbf u\) lies along \(\mathbf v\text{.}\) The answer is the projection of \(\mathbf u\) onto \(\mathbf v\text{,}\) and it lets us split any vector into a part that points along \(\mathbf v\) and a part perpendicular to it. That decomposition is what makes the dot product useful in practiceโit is how we find the component of a force along a direction of motion, as in Sectionย 3.3, or the component of gravity down a slope.
The projection of \(\mathbf u\) in the direction of \(\mathbf v\) is denoted \(\text{proj}_{\mathbf v}\mathbf u\text{,}\) and is shown in Figureย 3.11.
Figure3.11.The projection \(\text{proj}_{\mathbf v}\mathbf u\) of \(\mathbf u\) in the direction of \(\mathbf v\text{,}\) together with the perpendicular component \(\mathbf u - \text{proj}_{\mathbf v}\mathbf u\text{.}\)
The length of \(\text{proj}_{\mathbf v}\mathbf u\) is \(\left\|\text{proj}_{\mathbf v}\mathbf u\right\| = \|\mathbf u\|\cos\theta\text{,}\) and since its direction is the same as \(\mathbf v\text{,}\) we have
Writing \(\mathbf u\) as Two Vectors, One Parallel and One Perpendicular to \(\mathbf v\).
As can be seen in Figureย 3.11, \(\text{proj}_{\mathbf v}\mathbf u\) is parallel to \(\mathbf v\text{,}\) and the vector \(\mathbf u - \text{proj}_{\mathbf v}\mathbf u\) is perpendicular to it. Also, the sum of these two vectors equals \(\mathbf u\text{.}\) This means we can write \(\mathbf u\) as
\begin{equation}
\begin{aligned}
\mathbf u \amp = \text{proj}_{\mathbf v}\mathbf u + \left(\mathbf u - \text{proj}_{\mathbf v}\mathbf u\right) \\
\amp = \underbrace{\left(\frac{\mathbf u\cdot\mathbf v}{\|\mathbf v\|^2}\right)\mathbf v}_{\text{parallel to } \mathbf v}
\;+\; \underbrace{\left(\mathbf u - \left(\frac{\mathbf u\cdot\mathbf v}{\|\mathbf v\|^2}\right)\mathbf v\right)}_{\text{orthogonal to } \mathbf v}.
\end{aligned}\tag{3.9}
\end{equation}
Example3.14Decomposing a vector into parallel and perpendicular parts.
Consider the two vectors \(\mathbf v = \mathbf i + \mathbf j\) and \(\mathbf u = 2\mathbf i + 2\mathbf j + 2\mathbf k\text{.}\) Write \(\mathbf u\) as a sum of two vectors, one of which is parallel to \(\mathbf v\) and the other perpendicular to it.
Figure3.15.Decomposing \(\mathbf u = 2\mathbf i + 2\mathbf j + 2\mathbf k\) into \(\mathbf u_{\parallel} = 2\mathbf i + 2\mathbf j\text{,}\) lying in the \(xy\)-plane along \(\mathbf v\text{,}\) and \(\mathbf u_{\perp} = 2\mathbf k\text{,}\) pointing straight up.
Everything in (3.9) rests on the claim read off from Figureย 3.11: that \(\text{proj}_{\mathbf v}\mathbf u\) is parallel to \(\mathbf v\text{,}\) and that \(\mathbf u - \text{proj}_{\mathbf v}\mathbf u\) is perpendicular to \(\mathbf v\text{.}\) A picture is not a proof. Explain why each half of the claim is true.
For the parallel half, look at the formula for \(\text{proj}_{\mathbf v}\mathbf u\) in Factย 3.12 and say what kind of expression it is. Why does that observation alone settle the question?
For the perpendicular half, compute \(\left(\mathbf u - \text{proj}_{\mathbf v}\mathbf u\right)\cdot\mathbf v\text{.}\) Justify each step by naming the property of the dot product from Factย 3.10 that you used, and then say what the value you obtain tells you about the two vectors.