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

Gram-Schmidt orthogonalization transforms a set of independent columns into an orthogonal, then orthonormal, basis. The process can be viewed not only as a symbolic algorithm, but also as a sequence of geometric changes in space. The visualizations below show the algorithm step by step in two and three dimensions, together with a structural summary of what gradual orthogonalization reveals.

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.

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