Every matrix (any shape) can be decomposed as :
- — orthogonal matrix of left singular vectors (column space directions)
- — diagonal matrix of singular values
- — orthogonal matrix of right singular vectors (row space directions)
Intuition: any linear transformation = rotate () → scale () → rotate ().
Low-rank approximation: keep only the top singular values → best rank- approximation in Frobenius norm (Eckart-Young theorem). This is the mathematical foundation of:
- Dimensionality reduction
- Image compression
- LoRA — adds low-rank updates where ,
Relation to eigendecomposition:
- Singular values of = square roots of eigenvalues of
- SVD works for any matrix; Eigendecomposition requires square (and ideally diagonalizable) matrices
PCA connection: Principal Component Analysis (PCA) via SVD of the centered data matrix gives principal components without forming the covariance matrix explicitly.
See also: Rank and Null Space