Skip to content

Singular Value Decomposition


Theorem

Let AA be a real m×nm\times n matrix of rank rr and p=min⁡(m,n)p=\min(m,n). Then

A=UΣV⊤,A=U\Sigma V^{\top},

where UU (m×mm\times m) and VV (n×nn\times n) are orthogonal, U⊤U=ImU^{\top}U=I_m, V⊤V=InV^{\top}V=I_n, and Σ\Sigma is m×nm\times n with diagonal entries σ1≥⋯≥σr>0=σr+1=⋯=σp\sigma_1\ge\cdots\ge\sigma_r>0=\sigma_{r+1}=\cdots=\sigma_p and zeros off the diagonal. The σi\sigma_i are the singular values of AA; the columns ui\boldsymbol{u}_i of UU and vi\boldsymbol{v}_i of VV are the left and right singular vectors. The factorization is the singular value decomposition (SVD) of AA.


Interpretation

Every linear map x↦Ax\boldsymbol{x}\mapsto A\boldsymbol{x} is a rotation or reflection (V⊤V^{\top}), then a scaling of the coordinate axes by σi\sigma_i, possibly with a change of dimension (Σ\Sigma), then another rotation or reflection (UU). The unit sphere is mapped onto an ellipsoid, possibly flattened, with semi-axes σiui\sigma_i\boldsymbol{u}_i.

The unit circle with v_1 and v_2 is sent by V^T to e_1 and e_2, stretched by Σ into an ellipse with semi-axes 3√5 and √5, and moved by U onto the image ellipse of A.

The figure follows the 2×22\times2 example below, A=(3045)A=\begin{pmatrix}3&0\\4&5\end{pmatrix}, with all four panels drawn to the same scale. V⊤V^{\top} sends the right singular vectors v1,v2\boldsymbol{v}_1,\boldsymbol{v}_2 to the standard basis vectors e1,e2\boldsymbol{e}_1,\boldsymbol{e}_2; Σ\Sigma stretches them to lengths σ1=35\sigma_1=3\sqrt{5} and σ2=5\sigma_2=\sqrt{5}; UU moves the axes onto u1,u2\boldsymbol{u}_1,\boldsymbol{u}_2. The result is the image of the unit circle under AA, with semi-axes σ1u1=Av1\sigma_1\boldsymbol{u}_1=A\boldsymbol{v}_1 and σ2u2=Av2\sigma_2\boldsymbol{u}_2=A\boldsymbol{v}_2. In this example UU and VV both have determinant −1-1, so both outer steps are reflections.

Turn the unit vector x\boldsymbol{x} with φ\varphi and step through VTxV^T\boldsymbol{x}, ΣVTx\Sigma V^T\boldsymbol{x} and UΣVTxU\Sigma V^T\boldsymbol{x}: a rotation, a stretch by σ1=35\sigma_1=3\sqrt5 and σ2=5\sigma_2=\sqrt5 along the axes, and a second rotation turn the unit circle into the ellipse.

The proof is constructive. A⊤AA^{\top}A is symmetric and positive semidefinite, so its orthogonal diagonalization supplies orthonormal eigenvectors vi\boldsymbol{v}_i with eigenvalues σi2\sigma_i^2. Then ui=Avi/σi\boldsymbol{u}_i=A\boldsymbol{v}_i/\sigma_i for i≤ri\le r are orthonormal, and the Gram-Schmidt algorithm completes them to an orthonormal basis of Rm\mathbb{R}^m.

Unlike diagonalization P−1APP^{-1}AP, the SVD exists for every matrix, square or not, and uses two different orthonormal bases. It coincides with the spectral decomposition only for symmetric positive semidefinite matrices; for a symmetric matrix in general σi=∣λi∣\sigma_i=|\lambda_i|.


Key Results

  • A⊤A=VΣ⊤ΣV⊤A^{\top}A=V\Sigma^{\top}\Sigma V^{\top} and AA⊤=UΣΣ⊤U⊤AA^{\top}=U\Sigma\Sigma^{\top}U^{\top}; both have nonzero eigenvalues σ12,…,σr2\sigma_1^2,\ldots,\sigma_r^2, and all their other eigenvalues are 00.
  • Avi=σiuiA\boldsymbol{v}_i=\sigma_i\boldsymbol{u}_i and A⊤ui=σiviA^{\top}\boldsymbol{u}_i=\sigma_i\boldsymbol{v}_i for i≤pi\le p.
  • Rank-one expansion and reduced SVD: A=∑i=1rσiuivi⊤=UrΣrVr⊤\displaystyle A=\sum_{i=1}^r\sigma_i\boldsymbol{u}_i\boldsymbol{v}_i^{\top}=U_r\Sigma_rV_r^{\top}, using only the first rr columns.
  • Orthonormal bases of the four subspaces (Fundamental Theorem of Linear Algebra): u1,…,ur\boldsymbol{u}_1,\ldots,\boldsymbol{u}_r for Col⁡(A)\operatorname{Col}(A), ur+1,…,um\boldsymbol{u}_{r+1},\ldots,\boldsymbol{u}_m for Null⁡(A⊤)\operatorname{Null}(A^{\top}), v1,…,vr\boldsymbol{v}_1,\ldots,\boldsymbol{v}_r for Row⁡(A)\operatorname{Row}(A), vr+1,…,vn\boldsymbol{v}_{r+1},\ldots,\boldsymbol{v}_n for Null⁡(A)\operatorname{Null}(A).
  • The singular values are unique; UU and VV are not (signs can be flipped in pairs ui,vi\boldsymbol{u}_i,\boldsymbol{v}_i, and repeated or zero singular values allow more freedom).
  • The Moore-Penrose inverse is A+=VΣ+U⊤A^+=V\Sigma^+U^{\top}.

Beyond the course

Many textbooks add the Eckart-Young theorem: keeping only the first k<rk<r terms of the rank-one expansion gives the best approximation of AA by a matrix of rank at most kk. Math V does not cover it.


Examples

A 2×22\times2 matrix. For A=(3045)A=\begin{pmatrix}3&0\\4&5\end{pmatrix}, A⊤A=(25202025)A^{\top}A=\begin{pmatrix}25&20\\20&25\end{pmatrix} with eigenvalues 4545 and 55 and eigenvectors v1=12(1,1)⊤\boldsymbol{v}_1=\tfrac{1}{\sqrt{2}}(1,1)^{\top}, v2=12(1,−1)⊤\boldsymbol{v}_2=\tfrac{1}{\sqrt{2}}(1,-1)^{\top}. So σ1=35\sigma_1=3\sqrt{5}, σ2=5\sigma_2=\sqrt{5}, and

u1=Av1σ1=(3,9)⊤2⋅35=110(1,3)⊤,u2=Av2σ2=110(3,−1)⊤.\boldsymbol{u}_1=\frac{A\boldsymbol{v}_1}{\sigma_1}=\frac{(3,9)^{\top}}{\sqrt{2}\cdot3\sqrt{5}} =\tfrac{1}{\sqrt{10}}(1,3)^{\top},\qquad \boldsymbol{u}_2=\frac{A\boldsymbol{v}_2}{\sigma_2}=\tfrac{1}{\sqrt{10}}(3,-1)^{\top}.

Check: u1⊤u2=0\boldsymbol{u}_1^{\top}\boldsymbol{u}_2=0 and σ1σ2=15=∣det⁡A∣\sigma_1\sigma_2=15=|\det A|.

A rectangular rank-one matrix. A=(111100)A=\begin{pmatrix}1&1\\1&1\\0&0\end{pmatrix} has A⊤A=(2222)A^{\top}A=\begin{pmatrix}2&2\\2&2\end{pmatrix}, eigenvalues 4,04,0. Hence σ1=2\sigma_1=2, σ2=0\sigma_2=0, v1=12(1,1)⊤\boldsymbol{v}_1=\tfrac{1}{\sqrt{2}}(1,1)^{\top}, u1=12(1,1,0)⊤\boldsymbol{u}_1=\tfrac{1}{\sqrt{2}}(1,1,0)^{\top}, and A=2u1v1⊤A=2\boldsymbol{u}_1\boldsymbol{v}_1^{\top}. Completing with v2=12(1,−1)⊤\boldsymbol{v}_2=\tfrac{1}{\sqrt{2}}(1,-1)^{\top} and u2=12(1,−1,0)⊤\boldsymbol{u}_2=\tfrac{1}{\sqrt{2}}(1,-1,0)^{\top}, u3=(0,0,1)⊤\boldsymbol{u}_3=(0,0,1)^{\top} gives the full SVD with Σ=(200000)\Sigma=\begin{pmatrix}2&0\\0&0\\0&0\end{pmatrix}.


Prerequisites



Sources

Aliases: SVD, singular value decomposition theorem Keywords: A = U Σ V^T, left singular vectors, right singular vectors, reduced SVD, thin SVD, rank-one expansion, Eckart-Young Symbols: lambda, phi, real numbers, sigma, square root, sum

Last updated: 22 October 2026 19:04