4.5.4 · D4Linear Algebra (Full)

Exercises — Projection of vectors

1,952 words9 min readBack to topic

Before we start, keep the two engines from Projection of vectors in view:

Figure — Projection of vectors

The blueprint above is the picture behind every exercise: drops a straight-down shadow onto the line through . The amber segment is ; the cyan segment climbing away from the line is the leftover perpendicular part .


Level 1 — Recognition

Goal: read the definition and plug in. No traps of interpretation, just correct arithmetic.

L1.1 Compute the scalar projection of onto .

Recall Solution

WHAT we do: apply . WHY: is the -axis direction and already has length , so the shadow length is the -component. WHAT IT LOOKS LIKE: the shadow of on the horizontal axis reaches out to — exactly its horizontal reach.

L1.2 Compute the vector projection of onto .

Recall Solution

WHAT/WHY: use because we want a vector, not just a length. WHAT IT LOOKS LIKE: already points straight up the same line as , so its shadow is itself. The fraction times lands exactly on . Perfect self-projection.

L1.3 For , , state and the scalar projection.

Recall Solution

The dot product picked out the vertical component because is the -axis.


Level 2 — Application

Goal: handle non-unit , where the denominator does real work, and read signs correctly.

L2.1 Vector projection of onto .

Recall Solution

WHY and not ? The cancels the "extra length" of the long vector . Notice the answer has length — the horizontal reach of not . If we'd divided by only once, we'd get , three times too long.

L2.2 Scalar projection of onto .

Recall Solution

WHAT IT LOOKS LIKE: the shadow of on the slanted line through is units long — positive, so it falls on the same side points.

L2.3 Obtuse case. Scalar projection of onto .

Recall Solution

WHY negative? points left (), but leans right and up — the angle between them exceeds , so . The sign is data: the shadow lands on the back side of .

Figure — Projection of vectors

Level 3 — Analysis

Goal: use projection to decompose, to find perpendicular parts, and to measure distances.

L3.1 Split into a part along and a part perpendicular to it. Verify the perpendicular check.

Recall Solution

Parallel part: Perpendicular part (what's left over — see Orthogonal decomposition): Check orthogonality: ✓. WHAT IT LOOKS LIKE: = horizontal reach + vertical climb , a clean right-angle split.

L3.2 For , , find the vector projection and the perpendicular remainder.

Recall Solution

Check: ✓.

L3.3 Find the distance from the tip of to the line through the origin in direction .

Recall Solution

WHY projection gives distance: the perpendicular part is the straight-line gap from the tip to the line, and its length is that distance.


Level 4 — Synthesis

Goal: combine projection with other ideas — orthonormalising, unknowns, physics.

L4.1 (One step of Gram-Schmidt process.) Given and , remove from everything along , then normalise the result to a unit vector.

Recall Solution

Remove the -component: Normalise (): WHAT IT LOOKS LIKE: points along ; Gram-Schmidt strips 's horizontal share and keeps only the pure vertical, giving the orthonormal partner .

L4.2 For what value of is perpendicular to ? Interpret using projection.

Recall Solution

WHY dot product: two vectors are perpendicular exactly when their projection onto each other is zero, i.e. . Check: ✓. With , — no shadow at all.

L4.3 (Work done by a force.) A force N pushes an object along displacement m. Find the work done, and the component of force wasted perpendicular to the motion.

Recall Solution

WHY dot product is work: counts only the part of the force along the displacement — projection in disguise. Wasted (perpendicular) part of the force: project onto , then subtract. The N pushes sideways and does no work because it is perpendicular to . .


Level 5 — Mastery

Goal: prove a general property and reason about limiting / degenerate cases.

L5.1 Prove that projecting twice onto the same changes nothing: (This "idempotence" is why projection is a genuine shadow.)

Recall Solution

Let . Write , so . Now project again: WHAT IT MEANS: already lies on the line of , so its shadow is itself. A shadow of a shadow is the same shadow.

L5.2 Verify numerically the L5.1 claim for , .

Recall Solution

Re-project: — unchanged ✓.

L5.3 Degenerate case. What happens to and as ? Explain in words and symbols.

Recall Solution

Scalar: . As , the numerator but the denominator too — a that has no limit (it depends on the direction approaches from). Numerically, take : along you get , but along you get . Two answers ⇒ undefined. Vector: . Here numerator scales like , denominator like , and the trailing like : overall but again direction-dependent — no single limit. WHY it must fail: projecting onto asks "how much of lies along a direction that doesn't exist." There is no line to cast a shadow on. Rule: projection requires .


Recall One-line recap of the whole ladder

L1 plug in · L2 mind the denominator & sign · L3 decompose and measure distance with · L4 fuse with Gram-Schmidt, perpendicularity, work · L5 prove idempotence and respect the rule.

Connections