Scalar products and projections
State which vectors must be nonzero and whether the answer is a scalar, a length or a vector
- Scalar product Multiply matching components and add
- Angle For nonzero vectors, cosθ=(a·b)/(|a||b|), with 0≤θ≤π
- Signed scalar projection Divide a·b by |b|; its absolute value is the projection length
- Vector projection Multiply b by (a·b)/(b·b), requiring b≠0.
- Residual Subtract the projection; the remainder is perpendicular to b.
Worked example
Project a=(−2,4) onto b=(3,0) and interpret the signs. Diagram labels: a is O to A, b is O to B, p is the projection O to H, and r is the perpendicular part H to A.
- \(\displaystyle \operatorname{comp}_{\mathbf b}\mathbf a=-2,\quad\operatorname{proj}_{\mathbf b}\mathbf a=\frac{-6}{9}\begin{pmatrix}3\\0\end{pmatrix}=\begin{pmatrix}-2\\0\end{pmatrix}\)The foot lies on the negative x-axis, opposite b; projection is onto the full line
- \(\displaystyle \mathbf r=\begin{pmatrix}0\\4\end{pmatrix},\qquad\mathbf r\cdot\mathbf b=0\)The perpendicular distance to the line is 4; the projection length is 2.
Common mistakes
Difficulty levels
Questions about this topic
Can I project the zero vector onto a nonzero direction?+
Yes. Both its scalar and vector projections are zero
Can the target direction b be zero?+
No. The direction and denominators are undefined
Does a projection onto a line always point along positive b?+
No. Its coefficient may be negative; the full line includes both directions
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 11, VCE Units 1 & 2, Specialist Mathematics, chapter 8: Plane vectors