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.12.
Figure3.12.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.12, \(\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}
\mathbf u = \text{proj}_{\mathbf v}\mathbf u + \left(\mathbf u - \text{proj}_{\mathbf v}\mathbf u\right)
= \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}.\tag{3.9}
\end{equation}
Example3.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.
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.