Gram-Schmidt Orthogonalization — Stepwise Visualization in 2D and 3D

This page presents Gram-Schmidt orthogonalization as a geometric process rather than as a list of formulas. The images below show how the columns are gradually corrected and normalized in 2D and 3D, making the construction of an orthonormal basis visible step by step.

Concept

Gram-Schmidt converts independent columns into orthonormal columns. In matrix form, this produces the factor Q of QR decomposition, while the coefficients used during the process are recorded in the upper-triangular factor R.

These images emphasize the process viewpoint: the columns are not replaced all at once, but are corrected and normalized in a definite order, with each step acting on one active column.

One useful way to read the process is as a sequence of right-side updates. Scale and shear are removed step by step from the original matrix, producing the orthonormal matrix Q, while the removed transformations accumulate into the upper-triangular factor R.

Related visual: QR Decomposition — Geometric Interpretation in 2D and 3D

Related chapter: QRF, Gram-Schmidt, part 3

Related work: GraphMath Linear Algebra

Contact: info@graphmath.com