Vector Projection
When you drop a perpendicular from the tip of $\mathbf{v}$ onto the line of $\mathbf{u}$, the shadow you cast IS the vector projection. This single construction underpins distance from a point to a line, work done by a force, and the decomposition of any vector into parallel and perpendicular pieces. Once you see projection as "the dot product, dressed for direction", every formula in this lesson follows.
From L03 you know $\mathbf{u} \cdot \mathbf{v} = |\mathbf{u}||\mathbf{v}|\cos\theta$. Before checking — rearrange this to make $|\mathbf{v}|\cos\theta$ the subject. What does $|\mathbf{v}|\cos\theta$ represent geometrically when you draw $\mathbf{u}$ and $\mathbf{v}$ tail-to-tail?
Projection comes in two flavours, and they are not interchangeable. The scalar projection is a signed length (a number). The vector projection is that same length placed along the direction of $\mathbf{u}$ (a vector).
The scalar–vector projection pair: (1) the scalar projection of $\mathbf{v}$ onto $\mathbf{u}$ is $\dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}|}$ — a signed length; (2) the vector projection of $\mathbf{v}$ onto $\mathbf{u}$ is $\dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}|^2}\,\mathbf{u}$ — that length along $\mathbf{u}$'s direction.
Scalar: $\text{comp}_{\mathbf{u}} \mathbf{v} = \dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}|}$ · Vector: $\text{proj}_{\mathbf{u}} \mathbf{v} = \dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}|^2}\,\mathbf{u}$
Key facts
- Scalar projection of $\mathbf{v}$ onto $\mathbf{u}$: $\text{comp}_{\mathbf{u}} \mathbf{v} = (\mathbf{u} \cdot \mathbf{v})/|\mathbf{u}|$
- Vector projection of $\mathbf{v}$ onto $\mathbf{u}$: $\text{proj}_{\mathbf{u}} \mathbf{v} = ((\mathbf{u} \cdot \mathbf{v})/|\mathbf{u}|^2)\,\mathbf{u}$
- Decomposition: $\mathbf{v} = \mathbf{v}_{\parallel} + \mathbf{v}_{\perp}$, with $\mathbf{v}_{\parallel}$ parallel to $\mathbf{u}$ and $\mathbf{v}_{\perp} \perp \mathbf{u}$
- $\mathbf{v}_{\perp} = \mathbf{v} - \text{proj}_{\mathbf{u}} \mathbf{v}$
Concepts
- Why the projection is the "shadow" of $\mathbf{v}$ on the line through $\mathbf{u}$
- Why the scaling factor uses $|\mathbf{u}|^2$, not $|\mathbf{u}|$ (one $|\mathbf{u}|$ to get scalar length, another to make $\mathbf{u}$ a unit vector)
- Why $\mathbf{v}_{\perp} \cdot \mathbf{u} = 0$ — the decomposition genuinely separates parallel and perpendicular parts
Skills
- Compute the scalar and vector projections of $\mathbf{v}$ onto $\mathbf{u}$
- Decompose any vector into components parallel and perpendicular to a given direction
- Verify that the perpendicular component is genuinely perpendicular
Place $\mathbf{u}$ and $\mathbf{v}$ tail-to-tail with angle $\theta$ between them. Drop a perpendicular from the tip of $\mathbf{v}$ to the line of $\mathbf{u}$. The foot of that perpendicular defines a vector along $\mathbf{u}$ — the projection of $\mathbf{v}$ onto $\mathbf{u}$.
Step 1 — scalar projection. Basic trigonometry gives the signed length of the shadow:
Using $\mathbf{u} \cdot \mathbf{v} = |\mathbf{u}||\mathbf{v}|\cos\theta$ from L03 and dividing by $|\mathbf{u}|$ produces the right-hand form. This is a scalar — a single signed number.
Step 2 — vector projection. Multiply the scalar projection by the unit vector $\hat{\mathbf{u}} = \mathbf{u}/|\mathbf{u}|$ to give it direction:
The $|\mathbf{u}|^2$ in the denominator is doing two jobs at once: one $|\mathbf{u}|$ converts the dot product to the scalar projection, and the second $|\mathbf{u}|$ normalises $\mathbf{u}$ to a unit vector.
Geometric meaning — three boundary cases.
- $\theta = 0°$ ($\mathbf{v}$ parallel to $\mathbf{u}$): $\text{proj}_{\mathbf{u}} \mathbf{v} = \mathbf{v}$ — the shadow is the whole vector.
- $\theta = 90°$ ($\mathbf{v} \perp \mathbf{u}$): $\mathbf{u} \cdot \mathbf{v} = 0$, so $\text{proj}_{\mathbf{u}} \mathbf{v} = \mathbf{0}$ — no shadow.
- $\theta = 180°$ (opposite direction): the scalar projection is $-|\mathbf{v}|$, and the vector projection points opposite to $\mathbf{u}$.
Scalar projection: $\text{comp}_{\mathbf{u}} \mathbf{v} = (\mathbf{u} \cdot \mathbf{v})/|\mathbf{u}| = |\mathbf{v}|\cos\theta$ · Vector projection: $\text{proj}_{\mathbf{u}} \mathbf{v} = ((\mathbf{u} \cdot \mathbf{v})/|\mathbf{u}|^2)\,\mathbf{u}$ · Why $|\mathbf{u}|^2$: one factor for the scalar length, one to normalise $\mathbf{u}$
Pause — copy the scalar and vector projection formulas, the reason for the $|\mathbf{u}|^2$ denominator (one factor for length, one to normalise) into your book.
Quick check: The scalar projection of $\mathbf{v}$ onto $\mathbf{u}$ is given by which expression?
We just saw the scalar projection $\text{comp}_{\mathbf{u}}\mathbf{v} = (\mathbf{u}\cdot\mathbf{v})/|\mathbf{u}|$ and vector projection $\text{proj}_{\mathbf{u}}\mathbf{v} = ((\mathbf{u}\cdot\mathbf{v})/|\mathbf{u}|^2)\mathbf{u}$. That raises a question: how do we split $\mathbf{v}$ into the part along $\mathbf{u}$ and the part perpendicular to it? This card answers it → $\mathbf{v} = \mathbf{v}_{\parallel} + \mathbf{v}_{\perp}$ with $\mathbf{v}_{\perp} = \mathbf{v} - \text{proj}_{\mathbf{u}}\mathbf{v}$; verify by checking $\mathbf{v}_{\perp}\cdot\mathbf{u} = 0$.
The vector projection lets you split any $\mathbf{v}$ uniquely into a piece along $\mathbf{u}$ and a piece perpendicular to $\mathbf{u}$:
The two pieces are guaranteed to be perpendicular: a direct calculation shows $\mathbf{v}_{\perp} \cdot \mathbf{u} = \mathbf{v} \cdot \mathbf{u} - \text{proj}_{\mathbf{u}} \mathbf{v} \cdot \mathbf{u} = \mathbf{u} \cdot \mathbf{v} - \mathbf{u} \cdot \mathbf{v} = 0$.
Why this matters in HSC questions.
- $|\mathbf{v}_{\perp}|$ is the perpendicular distance from the tip of $\mathbf{v}$ to the line through $\mathbf{u}$.
- In physics, decomposing a force $\mathbf{F}$ along and perpendicular to a surface or displacement is exactly this calculation.
- Any orthogonal basis problem reduces to repeated projection (the Gram–Schmidt idea, beyond HSC scope but powered by today's formula).
Decomposition: $\mathbf{v} = \mathbf{v}_{\parallel} + \mathbf{v}_{\perp}$, with $\mathbf{v}_{\parallel} = \text{proj}_{\mathbf{u}} \mathbf{v}$ · $\mathbf{v}_{\perp} = \mathbf{v} - \text{proj}_{\mathbf{u}} \mathbf{v}$ · Verify: $\mathbf{v}_{\perp} \cdot \mathbf{u} = 0$ — should always hold · $|\mathbf{v}_{\perp}|$ is the perpendicular distance from tip of $\mathbf{v}$ to line of $\mathbf{u}$
Pause — copy the decomposition $\mathbf{v} = \mathbf{v}_{\parallel} + \mathbf{v}_{\perp}$, the formula $\mathbf{v}_{\perp} = \mathbf{v} - \text{proj}_{\mathbf{u}}\mathbf{v}$, the verification $\mathbf{v}_{\perp}\cdot\mathbf{u} = 0$, and the geometric meaning of $|\mathbf{v}_{\perp}|$ into your book.
Did you get this? True or false: for any non-zero $\mathbf{u}$ and any $\mathbf{v}$, the perpendicular component $\mathbf{v}_{\perp} = \mathbf{v} - \text{proj}_{\mathbf{u}} \mathbf{v}$ always satisfies $\mathbf{v}_{\perp} \cdot \mathbf{u} = 0$.
Worked examples · 3 in a row, reveal as you go
Find the scalar projection of $\mathbf{v} = (3, 4, 0)$ onto $\mathbf{u} = (1, 2, 2)$.
Using the same vectors $\mathbf{v} = (3, 4, 0)$ and $\mathbf{u} = (1, 2, 2)$, find the vector projection $\text{proj}_{\mathbf{u}} \mathbf{v}$.
Decompose $\mathbf{v} = (4, 1, 3)$ into a sum of a vector parallel to $\mathbf{u} = (1, 0, 1)$ and a vector perpendicular to $\mathbf{u}$. Verify the perpendicular component is truly perpendicular.
Fill the gap: The vector projection of $\mathbf{v}$ onto $\mathbf{u}$ is $\dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}|^{\,}}$ times the vector . The perpendicular component is found by the projection from $\mathbf{v}$.
Misconceptions to fix · the 3 traps that cost marks
Did you get this? True or false: the vector projection of $\mathbf{v}$ onto $\mathbf{u}$ is given by $\dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}|}\,\mathbf{u}$.
Activities · practice with the ideas
Find the scalar projection of $\mathbf{v} = (2, -1, 2)$ onto $\mathbf{u} = (1, 2, 2)$.
Find the vector projection of $\mathbf{v} = (1, 2, 3)$ onto $\mathbf{u} = (2, 0, 1)$.
Decompose $\mathbf{v} = (3, 2, 1)$ into parts parallel and perpendicular to $\mathbf{u} = (1, 1, 0)$. Verify perpendicularity.
If $\mathbf{u} \cdot \mathbf{v} = -6$ and $|\mathbf{u}| = 2$, what is the scalar projection of $\mathbf{v}$ onto $\mathbf{u}$? What does the sign mean?
Show that for any non-zero $\mathbf{u}$, $\text{proj}_{\mathbf{u}}(\text{proj}_{\mathbf{u}} \mathbf{v}) = \text{proj}_{\mathbf{u}} \mathbf{v}$. (Projection is idempotent.)
Odd one out: Three of these expressions equal the vector projection of $\mathbf{v}$ onto $\mathbf{u}$ (assuming $\mathbf{u} \neq \mathbf{0}$). Which one does NOT?
Earlier you predicted the shadow of $\mathbf{v}$ on $\mathbf{u}$ in two boundary cases: when $\mathbf{v}$ is parallel to $\mathbf{u}$, and when $\mathbf{v}$ is perpendicular.
Parallel case: $\text{proj}_{\mathbf{u}} \mathbf{v} = \mathbf{v}$ — the shadow is the whole vector. Perpendicular case: $\text{proj}_{\mathbf{u}} \mathbf{v} = \mathbf{0}$ — no shadow. The general formula $((\mathbf{u} \cdot \mathbf{v})/|\mathbf{u}|^2)\,\mathbf{u}$ smoothly interpolates between these two extremes via $\cos\theta$. Once you see scalar projection as "how much of $\mathbf{v}$ lies along $\mathbf{u}$" and vector projection as "that length placed back along $\mathbf{u}$", the formulae stop being symbols to memorise and become statements you can derive on demand.
Pick your answer, then rate your confidence — that tells the system what to drill next. Each retry pulls a fresh mix from the bank.
Q1. Find the scalar projection of $\mathbf{v} = (2, 3, 6)$ onto $\mathbf{u} = (1, 0, 0)$. (2 marks)
Q2. Find the vector projection of $\mathbf{v} = (3, -1, 2)$ onto $\mathbf{u} = (2, 2, 1)$. (3 marks)
Q3. Decompose $\mathbf{v} = (5, 0, 5)$ into a sum of a vector parallel to $\mathbf{u} = (1, 1, 1)$ and a vector perpendicular to $\mathbf{u}$. Verify the perpendicular component is perpendicular to $\mathbf{u}$. (3 marks)
Comprehensive answers (click to reveal)
Activity answers:
1. $\mathbf{u} \cdot \mathbf{v} = 2 - 2 + 4 = 4$. $|\mathbf{u}| = 3$. Scalar projection $= 4/3$.
2. $\mathbf{u} \cdot \mathbf{v} = 2 + 0 + 3 = 5$. $|\mathbf{u}|^2 = 4 + 0 + 1 = 5$. $\text{proj}_{\mathbf{u}} \mathbf{v} = (5/5)(2,0,1) = (2,0,1)$.
3. $\mathbf{u} \cdot \mathbf{v} = 5$. $|\mathbf{u}|^2 = 2$. $\mathbf{v}_{\parallel} = (5/2)(1,1,0) = (5/2, 5/2, 0)$. $\mathbf{v}_{\perp} = (3,2,1) - (5/2, 5/2, 0) = (1/2, -1/2, 1)$. Check: $\mathbf{v}_{\perp} \cdot \mathbf{u} = 1/2 - 1/2 + 0 = 0$ ✓.
4. Scalar projection $= -6/2 = -3$. Negative means $\mathbf{v}$ has a component pointing opposite to $\mathbf{u}$, i.e. the angle between them is obtuse.
5. Let $\mathbf{p} = \text{proj}_{\mathbf{u}} \mathbf{v} = c\,\mathbf{u}$ where $c = (\mathbf{u} \cdot \mathbf{v})/|\mathbf{u}|^2$. Then $\text{proj}_{\mathbf{u}} \mathbf{p} = (\mathbf{u} \cdot \mathbf{p}/|\mathbf{u}|^2)\,\mathbf{u} = (c(\mathbf{u} \cdot \mathbf{u})/|\mathbf{u}|^2)\,\mathbf{u} = (c|\mathbf{u}|^2/|\mathbf{u}|^2)\,\mathbf{u} = c\,\mathbf{u} = \mathbf{p}$.
Q1 (2 marks): $\mathbf{u} \cdot \mathbf{v} = (1)(2) + 0 + 0 = 2$ [1]. $|\mathbf{u}| = 1$, so scalar projection $= 2$ [1].
Q2 (3 marks): $\mathbf{u} \cdot \mathbf{v} = (2)(3) + (2)(-1) + (1)(2) = 6 - 2 + 2 = 6$ [1]. $|\mathbf{u}|^2 = 4 + 4 + 1 = 9$ [1]. $\text{proj}_{\mathbf{u}} \mathbf{v} = (6/9)(2, 2, 1) = (4/3, 4/3, 2/3)$ [1].
Q3 (3 marks): $\mathbf{u} \cdot \mathbf{v} = 5 + 0 + 5 = 10$, $|\mathbf{u}|^2 = 3$, so $\mathbf{v}_{\parallel} = (10/3)(1, 1, 1) = (10/3, 10/3, 10/3)$ [1]. $\mathbf{v}_{\perp} = (5, 0, 5) - (10/3, 10/3, 10/3) = (5/3, -10/3, 5/3)$ [1]. Check: $\mathbf{v}_{\perp} \cdot \mathbf{u} = 5/3 - 10/3 + 5/3 = 0$ ✓ [1].
Five timed questions on scalar projections, vector projections, and decomposition. Beat the boss to bank a tier — gold (90% + speed), silver (75%), or bronze (50%). Replays welcome.
⚔ Enter the arenaClimb platforms by answering quick projection questions. Lighter alternative to the boss.
Mark lesson as complete
Tick when you've finished the practice and review.