Matrix Decompositions

A matrix decomposition rewrites a matrix as a product of simpler matrices. The point is not cosmetic: the factors can expose rank, orthogonality, curvature, covariance axes, or a computational path that is more stable than operating on the original matrix directly.

Defining math

Common decompositions emphasize different structure:

QR uses orthonormal columns for least squares; Cholesky applies to symmetric positive definite matrices; eigendecomposition describes square maps with eigenvectors; singular value decomposition applies broadly and drives PCA and low-rank approximation.

Worked example

Cholesky factors a symmetric positive definite matrix as with lower-triangular. For , write and match the entries of to one at a time:

So , and indeed . The positive diagonal certifies that is positive definite — the kind of property a decomposition makes easy to read off.

Caveats

Each decomposition has preconditions. Cholesky fails outside positive definite matrices; eigendecomposition can be ill-conditioned for non-normal matrices; forming may square the condition number, which is a numerical stability issue.

References