LINEAR-ALGEBRA ยท Unit 16 ยท Video 3 ยท Interactive Practice
| Formula | Name | Description |
|---|---|---|
| Vector projection | Shadow of along | |
| Perpendicular residual | Part of orthogonal to | |
| Gram-Schmidt (k-th step) | Subtract all previous shadows | |
| Normalization | Scale to unit length |
Split into a shadow along and a leftover โ the leftover is perpendicular to wherever lands.
The cancellation is structural, not a coincidence of this : .
Only one scaling of leaves a residual perpendicular to โ where does the dot product hit zero?
is linear in , so it vanishes at exactly one ratio: .
Subtract the shadow, then rescale: a skewed pair becomes an orthonormal pair spanning the same plane.
In 2D both bases span the whole plane; the real payoff appears in higher dimensions, where each new vector stays a combination of the originals, so the subspace is preserved exactly while its directions turn orthonormal.
Question 1
In the video's worked example, and .
What is the projection ratio ?
โ Correct! Both the dot product and the squared norm equal 3, so the ratio is 3/3 = 1.
โ Not quite. Compute numerator (aยทb) and denominator (aยทa) separately, then divide.
Solution:
Numerator:
Denominator:
Ratio:
This means we subtract exactly one full copy of from to get the perpendicular residual.
Question 2
True or False: After applying the Gram-Schmidt process, the new orthogonal vectors span a different subspace than the original vectors.
โ Correct! Gram-Schmidt only changes the basis โ the subspace itself is preserved.
โ Not quite. Think about how each new vector is built: it's always a linear combination of the originals.
Solution: False.
Gram-Schmidt preserves the subspace. Each new orthogonal vector is constructed as a linear combination of the original vectors:
Since is a combination of and , it lies in the same plane they span. Every point reachable by combining and is also reachable by combining and (or and ).
As the video states: "The plane hasn't moved. Only the signposts within it changed."
Question 3
Continuing the video's example: , , and the projection ratio is .
What is the residual vector ?
โ Correct! And you can verify: A ยท B = 1(0) + 1(โ1) + 1(1) = 0. Perpendicular! โ
โ Not quite. Subtract component by component: (1, 0, 2) โ (1, 1, 1). Watch the signs carefully.
Solution:
Component by component:
Verification:
The dot product is zero, confirming and are orthogonal.
Question 4
In the Gram-Schmidt process applied to a set of 5 linearly independent vectors, how many projection terms must be subtracted when orthogonalizing the 5th vector?
โ Correct! The k-th vector requires (k โ 1) projection subtractions โ one for each direction already established.
โ Not quite. The k-th vector subtracts projections onto vectors 1 through (k โ 1). How many terms is that when k = 5?
Solution:
The general Gram-Schmidt formula for the -th vector is:
For , the sum runs from to , giving 4 projection subtractions.
The pattern:
| Vector | Projections subtracted |
|---|---|
| 0 (accepted as is) | |
| 1 | |
| 2 | |
| 3 | |
| 4 |
Each new vector must remove its shadow from every previously established orthogonal direction.
Solved: 0 / 4