Linear Algebra

Gram-Schmidt and Orthogonal Matrices

13:56

Plays from YouTube. Watch on YouTube

How can a skew set of independent vectors be replaced with perpendicular directions without changing its span?

Gram–Schmidt systematically subtracts projections to build orthogonal, then orthonormal, bases.

We work through a complete two-vector example and normalize the resulting perpendicular directions.

Then an induction argument proves the constructed vectors span exactly the same space as the inputs.

We derive QᵀQ = I for orthogonal matrices and connect Gram–Schmidt to QR factorization.

Finally, projection through QQᵀ and finite-precision stability explain why orthogonality matters in numerical algorithms.

The big idea: well-chosen orthogonal coordinates simplify calculations and expose geometry. Original visual mathematics from Closiq.