LINEAR-ALGEBRA ยท Unit 16 ยท Video 2 ยท Interactive Practice
| Formula | Name | When to Use |
|---|---|---|
| General projection matrix | Any basis โ requires matrix inversion | |
| Orthonormal projection matrix | When columns of are orthonormal | |
| Coefficient as dot product | Finding each least-squares coefficient | |
| Orthonormality condition | Columns are unit-length and mutually perpendicular |
has orthonormal columns exactly when : unit-length columns on the diagonal, perpendicular columns off it.
๐ก The diagonal entries of are the squared lengths ; the off-diagonal entry is the dot product . Identity demands unit length and perpendicularity together.
With , , the map splits into an in-plane part and a perpendicular error .
๐ก is the closest point of the plane to โ which is exactly why leaves perpendicular. The coefficients and are plain dot products, no inverse needed.
In the orthonormal basis , , each coordinate of is just a dot product: .
๐ก A general basis would force you to solve ; orthonormality collapses that linear solve into two dot products โ the same idea that defines Fourier coefficients.
Question 1
Given orthonormal column and vector , compute the coefficient .
โ Correct! . Just one dot product!
โ Not quite. Compute by multiplying corresponding entries and summing: .
Solution:
The third component of is 0, so the third component of doesn't contribute. Each coefficient is just a dot product โ no system of equations to solve!
Question 2
True or False: If is a matrix with orthonormal columns, then (the identity matrix).
โ Correct! always holds for orthonormal columns, but is only a projection matrix onto Col โ it equals only when is square.
โ Not quite. Think carefully: (small identity) always holds, but does (big identity) follow when has fewer columns than rows?
Solution: False.
When is with orthonormal columns:
only when is square (), meaning the columns span the entire space . In that case is called an orthogonal matrix and .
Key distinction to remember:
Question 3
Let be the matrix with orthonormal columns and .
Compute the projection for .
โ Correct! The projection keeps the component (z = 6) and averages the first two entries via : both become 2.
โ Not quite.
Solution:
Step 1 โ Coefficients as dot products:
Step 2 โ Reconstruct the projection:
Interpretation: The projection averages the first two components of (since equally weights and ) and keeps the -component unchanged (since is the -axis).
Question 4
The projection formula simplifies from to when is replaced by an orthonormal matrix . What is the key algebraic fact that makes this simplification โ and also makes idempotent ()?
โ Correct! The single fact drives every simplification: the inverse disappears, and the middle factors collapse in the idempotence proof.
โ Not quite. Think about what happens when you substitute into the formula . What also happens when you compute ?
Solution: The key fact is .
For the formula simplification:
For idempotence ():
The same fact โ collapsing to โ is the engine behind both simplifications. In the idempotence proof, appears sandwiched in the middle and collapses, which is the "algebraic magic moment."
Why the other options are wrong:
Solved: 0 / 4