LINEAR-ALGEBRA · Unit 14 · Video 2 · Interactive Practice
| Formula | Name | Description |
|---|---|---|
| Normal Equation | Perpendicularity condition in matrix form | |
| Coefficients | Combination weights for the projection | |
| Projection Matrix | Sends any to its projection; satisfies and | |
| 1-D Special Case | Projection onto the line through column vector |
The projection is the one point on the line where the residual meets it at a right angle.
The columns and span a plane, and the residual is perpendicular to both at once.
💡 The residual lives in the left null space — the orthogonal complement of the column space .
Once lands on the subspace, projecting a second time moves nothing: .
For a single direction , stays symmetric and idempotent at every angle.
Question 1
Starting from the normal equation , we solve for and then compute the projection vector .
Which formula correctly gives ?
✅ Correct! The projection vector is p = Ax̂ = A(AᵀA)⁻¹Aᵀb. You multiply the coefficients x̂ by A to get the actual vector in the column space.
❌ Not quite. Remember: x̂ gives the coefficients, but the projection vector p = Ax̂ lives in the column space — you must multiply x̂ by A.
Solution:
From the normal equation, solve for :
The projection is , so multiply on the left by :
Why the other options are wrong:
Question 2
A student claims: "In , I can split the inverse as . Then cancels on the left and cancels on the right, giving ."
True or False: This reasoning is valid when is a matrix with independent columns.
✅ Correct! A 3×2 matrix has no inverse — the cancellation is the most common mistake with the projection formula.
❌ Not quite. Can you invert a non-square matrix? A 3×2 matrix has no inverse, so the split is illegal.
Solution: False.
The factorization requires to be square and invertible.
A matrix has more rows than columns — it is not square. The inverse simply does not exist, so the "cancellation" step is illegal.
is only correct when is square and invertible, meaning its columns span all of . In that trivial case every vector is already in the column space, so projecting returns unchanged.
Question 3
Let . Using the 1-D projection formula , what is the entry of ?
✅ Correct! Since every component of a is 1 and aᵀa = 3, every entry of P = aaᵀ/3 equals 1/3.
❌ Not quite. Compute aaᵀ first (a 3×3 matrix of all 1s), then divide every entry by aᵀa = 3.
Solution:
Every entry of equals , so the entry is .
Question 4
If is a projection matrix onto a proper subspace (not the full space) and you compute for some vector , the result equals:
✅ Correct! This is idempotency: P² = P. Projecting a vector that's already on the subspace leaves it unchanged.
❌ Not quite. Think geometrically: if a vector is already sitting on the subspace, what does projecting it again do?
Solution:
Compute :
The interior product simplifies because :
Therefore for every vector .
Geometric meaning: Once is projected onto the subspace, it's already there — projecting again changes nothing. This property is called idempotency.
Solved: 0 / 4