Singular Value Decomposition (SVD)
Every m×n matrix A can be factored as:
A=UΣVT
The Three Matrices
- U — m×m orthogonal matrix (left singular vectors)
- Σ — m×n diagonal matrix (singular values σ1≥σ2≥⋯≥0)
- V — n×n orthogonal matrix (right singular vectors)
How to Find It
- Compute ATA → eigenvalues λi → σi=λi
- Eigenvectors of ATA → columns of V
- U=AVΣ−1 (or eigenvectors of AAT)
Why It’s Universal
- Works for any matrix (not just square, not just symmetric)
- Singular values are always real and non-negative
- U and V are orthogonal (numerically stable)
The Four Subspaces
C(A)N(AT)C(AT)N(A)=span of first r columns of U=remaining columns of U=span of first r columns of V=remaining columns of V
Applications
- Low-rank approximation — keep the largest singular values
- Pseudoinverse — A+=VΣ+UT
- Image compression — discard small singular values
- Principal Component Analysis — the statistical interpretation