4.5.4 · D3Linear Algebra (Full)

Worked examples — Projection of vectors

3,116 words14 min readBack to topic

The scenario matrix

Every projection problem falls into exactly one of these cells. The last column names the example that covers it.

# Case class What is special Sign of Covered by
C1 Acute angle () shadow points along positive Ex 1
C2 Right angle () shadow is zero zero Ex 2
C3 Obtuse angle () shadow points backward negative Ex 3
C4 Non-unit / long must divide by , not $ \vec b $
C5 Degenerate: division by zero — undefined Ex 5
C5′ Degenerate: nothing to project — result is zero Ex 5b
C6 Collinear ( or ) shadow = whole vector, $\pm \vec a
C7 3-D decomposition split into parallel + perpendicular any Ex 7
C8 Real-world word problem (ramp / force) attach units, meaning positive Ex 8
C9 Exam twist (unknown solved from a projection) work backward given Ex 9

We now walk them all.


Building blocks we will reuse (defined once, from zero)

Figure s01 below draws exactly this setup: the magenta arrow , the violet arrow , and the orange shadow dropped straight down onto 's line. The dashed navy line is the perpendicular "sun ray" that defines where the shadow ends — keep it in mind, every example is a version of this one picture.

Figure — Projection of vectors

Ex 1 — Acute angle (cell C1)


Ex 2 — Right angle (cell C2)


Ex 3 — Obtuse angle (cell C3)

Figure — Projection of vectors

Ex 4 — Non-unit, long (cell C4)


Ex 5 — Degenerate: projecting onto the zero vector (cell C5)


Ex 5b — Degenerate: projecting the zero vector (cell C5′)


Ex 6 — Collinear vectors (cell C6)


Ex 7 — 3-D orthogonal decomposition (cell C7)


Ex 8 — Word problem: force along a ramp (cell C8)

Figure — Projection of vectors

Ex 9 — Exam twist: solve for an unknown (cell C9)


Active recall

Recall Which cell is which?

Obtuse angle gives what sign of scalar projection? ::: Negative — shadow falls backward. Projecting onto gives? ::: Undefined — no direction, . Projecting the zero vector onto a nonzero gives? ::: The zero vector — well-defined, since the denominator . Right-angle projection value? ::: Exactly (a genuine zero, not undefined). Making ten times longer changes the vector projection how? ::: Not at all — cancels the extra length. Collinear opposite vectors: scalar sign? ::: Negative (), but the vector projection still lands on 's line. Force along ramp : scalar projection? ::: N (down the slope). What does mean in words? ::: The component of along — a signed number (length of the shadow).


Connections

Case Map

yes

no

yes

no

positive

zero

negative

yes

no

Given a and b

is b zero

undefined C5

is a zero

zero vector C5 prime

compute a dot b

sign of a dot b

acute C1 forward shadow

right angle C2 zero shadow

obtuse C3 backward shadow

collinear

full recovery C6

split into parallel plus perp C7