Singular Value Decomposition (SVD)

Every m×nm \times n matrix AA can be factored as:

A=UΣVTA = U\Sigma V^T

The Three Matrices

  • UU — m×mm \times m orthogonal matrix (left singular vectors)
  • Σ\Sigma — m×nm \times n diagonal matrix (singular values σ1≥σ2≥⋯≥0\sigma_1 \geq \sigma_2 \geq \cdots \geq 0)
  • VV — n×nn \times n orthogonal matrix (right singular vectors)

How to Find It

  1. Compute ATAA^TA → eigenvalues λi\lambda_i → σi=λi\sigma_i = \sqrt{\lambda_i}
  2. Eigenvectors of ATAA^TA → columns of VV
  3. U=AVΣ−1U = AV\Sigma^{-1} (or eigenvectors of AATAA^T)

Why It’s Universal

  • Works for any matrix (not just square, not just symmetric)
  • Singular values are always real and non-negative
  • UU and VV are orthogonal (numerically stable)

The Four Subspaces

C(A)=span of first r columns of UN(AT)=remaining columns of UC(AT)=span of first r columns of VN(A)=remaining columns of V\begin{aligned} C(A) &= \text{span of first } r \text{ columns of } U \\ N(A^T) &= \text{remaining columns of } U \\ C(A^T) &= \text{span of first } r \text{ columns of } V \\ N(A) &= \text{remaining columns of } V \end{aligned}

Applications

  • Low-rank approximation — keep the largest singular values
  • Pseudoinverse — A+=VΣ+UTA^+ = V\Sigma^+ U^T
  • Image compression — discard small singular values
  • Principal Component Analysis — the statistical interpretation