Linear Algebra

Orthogonal Complements and Projections

12:36

Plays from YouTube. Watch on YouTube

How do you find the closest point on a line or subspace to a target vector?

Orthogonal projection separates a vector into a reachable component and a perpendicular residual.

We derive the projection coefficient by requiring the residual to have zero dot product with the chosen direction.

Then a worked vector decomposition verifies both reconstruction and Pythagoras, followed by a proof of closest-point optimality.

We extend the idea to orthogonal complements and inconsistent systems, where least squares projects the target onto a column space.

Finally, projection matrices, idempotence and the zero-direction edge case clarify the assumptions behind the formulas.

The big idea: a best approximation is characterized by a residual perpendicular to everything reachable. From Closiq.