Linear Algebra
9.212 min read

The SVD Theorem

The Singular Value Decomposition Theorem states: for any real m×nm \times n matrix AA, there exist an m×mm \times m orthogonal matrix UU, an m×nm \times n matrix Σ\Sigma (with non-negative entries only on the main diagonal), and an n×nn \times n orthogonal matrix VV such that A=UΣVA = U \Sigma V^\top.

The diagonal entries σ1σ2σmin(m,n)0\sigma_1 \geq \sigma_2 \geq \cdots \geq \sigma_{\min(m,n)} \geq 0 of Σ\Sigma are called the singular values of AA. They are always real and non-negative, and they are uniquely determined by AA. The columns of UU are the left singular vectors and the columns of VV are the right singular vectors.

The rank of AA equals the number of nonzero singular values. MATLAB computes: [U, Sigma, V] = svd(A).

Formal View

Theorem 9.1 (SVD) — Singular Value Decomposition
For any real m×nm \times n matrix AA, there exist orthogonal matrices URm×mU \in \mathbb{R}^{m \times m} and VRn×nV \in \mathbb{R}^{n \times n}, and a matrix ΣRm×n\Sigma \in \mathbb{R}^{m \times n} with Σii=σi0\Sigma_{ii} = \sigma_i \geq 0 and Σij=0\Sigma_{ij} = 0 for iji \neq j, such that A=UΣVA = U \Sigma V^\top. The values σ1σ20\sigma_1 \geq \sigma_2 \geq \cdots \geq 0 are the singular values of AA.

rank(A)=#{i:σi>0}\operatorname{rank}(A) = \#\{i : \sigma_i > 0\}. MATLAB: `[U, S, V] = svd(A)`.

Interactive Visualization

SVD as Three Transformations

Why This Matters

The SVD is the most general and stable matrix factorization — it works for any matrix and reveals the true geometric structure of any linear map.

  • Numerical rank determination: count singular values above a threshold.
  • Pseudoinverse: A+=VΣ+UA^+ = V \Sigma^+ U^\top where Σ+\Sigma^+ replaces nonzero σi\sigma_i with 1/σi1/\sigma_i.
  • Condition number: κ(A)=σ1/σr\kappa(A) = \sigma_1/\sigma_r measures numerical sensitivity.

Quiz

Question 1

The singular values of a matrix are always real and non-negative.

Question 2

For a 3×53 \times 5 matrix AA of rank 2, how many nonzero singular values does it have?

Common Mistakes

  • Confusing singular values with eigenvalues — singular values are always non-negative real numbers, while eigenvalues can be negative or complex.
  • Thinking UU and VV are the same matrix — UU is m×mm \times m and VV is n×nn \times n; they act in different spaces.