Quant GT
Browse all lessons
Section 17 · Lesson 17.4

Singular Value Decomposition

The most useful matrix factorization in applied math.

Every matrix ARm×nA \in \mathbb{R}^{m \times n} has a singular value decomposition

A=UΣVA = U \Sigma V^\top

where UU and VV have orthonormal columns and Σ\Sigma is diagonal with non-negative entries (the singular values σ1σ20\sigma_1 \ge \sigma_2 \ge \dots \ge 0).

SVD is the Swiss Army knife of linear algebra:

Rank of AA is the number of non-zero singular values.A2=σ1\|A\|_2 = \sigma_1, the largest singular value.The best rank-kk approximation to AA in Frobenius norm is the truncation i=1kσiuivi\sum_{i=1}^{k} \sigma_i u_i v_i^\top — the basis of low-rank compression and noise reduction.The pseudo-inverse A+=VΣ+UA^+ = V \Sigma^+ U^\top solves the least-squares problem even when AA is singular.

In finance, SVD powers PCA-on-data-matrices, robust factor extraction, and the dimensionality reduction behind risk-factor decomposition of large covariance matrices.