Skip to main content

Section 3.2 Projection 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.
Diagram Exploration Keyboard Controls
Key Action
Enter, A Activate keyboard driven exploration
B Activate menu driven exploration
Escape Leave exploration mode
Cursor down Explore next lower level
Cursor up Explore next upper level
Cursor right Explore next element on level
Cursor left Explore previous element on level
X Toggle expert mode
W Extra details if available
Space Repeat speech
M Activate step magnification
Comma Activate direct magnification
N Deactivate magnification
Z Toggle subtitles
C Cycle contrast settings
T Monochrome colours
L Toggle language (if available)
K Kill current sound
Y Stop sound output
O Start and stop sonification
P Repeat sonification output
Figure 3.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
\begin{equation} \text{proj}_{\mathbf v}\mathbf u = (\|\mathbf u\|\cos\theta)\,\frac{\mathbf v}{\|\mathbf v\|} = \left(\|\mathbf u\|\,\frac{\mathbf u\cdot\mathbf v}{\|\mathbf u\|\|\mathbf v\|}\right)\frac{\mathbf v}{\|\mathbf v\|} = \left(\frac{\mathbf u\cdot\mathbf v}{\|\mathbf v\|^2}\right)\mathbf v.\tag{3.7} \end{equation}

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}
Figure 3.13. The projection of \(\vec{u}\) onto \(\vec{v}\) as a shadow cast by light from above.

Example 3.14 Decomposing 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.
Solution.
Since the projection of \(\mathbf u\) in the direction of \(\mathbf v\) is parallel to \(\mathbf v\text{,}\) we have
\begin{equation*} \begin{aligned} \mathbf u \cdot \mathbf v \amp = (2\times1)+(2\times1)+(2\times0) = 4 \\ \|\mathbf v\| \amp = \sqrt{1+1} = \sqrt2 \\ \mathbf u_{\parallel} = \text{proj}_{\mathbf v}\mathbf u \amp = \left(\frac{\mathbf u\cdot\mathbf v}{\|\mathbf v\|^2}\right)\mathbf v = \frac{4}{2}(\mathbf i+\mathbf j) = 2\mathbf i + 2\mathbf j. \end{aligned} \end{equation*}
For the perpendicular component of \(\mathbf u\) to \(\mathbf v\text{,}\) we have
\begin{equation} \mathbf u_{\perp} = \mathbf u - \text{proj}_{\mathbf v}\mathbf u = (2\mathbf i+2\mathbf j+2\mathbf k) - (2\mathbf i+2\mathbf j) = 2\mathbf k.\tag{3.10} \end{equation}
To achieve a visual understanding of this decomposition, watch the video below.
Figure 3.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.

Checkpoint 3.16 Concept Check.

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.
  1. 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?
  2. 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.
You have attempted of activities on this page.