Singular Value Decomposition (SVD)
Subtopic: Decompositions
The SVD factors any matrix — even rectangular ones — into rotation, scaling, and rotation:
It reveals the fundamental structure of linear maps and enables dimensionality reduction, pseudoinverses, and matrix approximation. SVD is arguably the most important matrix factorization in applied mathematics.
Introduction
Eigendecomposition only works for square matrices, and only some of those. SVD works for every matrix. It decomposes a linear map into: rotate input space → stretch along coordinate axes → rotate to output space.
This universal factorization makes SVD the Swiss army knife of linear algebra.
Definition
Any
U ism×m orthogonal (columns are left singular vectors)Σ ism×n diagonal with nonnegative entries (singular values(σ_1)≥(σ_2)≥⋯≥0 )V isn×n orthogonal (columns are right singular vectors)
Geometric Interpretation
Multiplying by
VT rotates or reflects in the input spaceΣ stretches along coordinate axes (by(σ_i) )U rotates or reflects into the output space
The singular values
Relation to Eigenvalues
The singular values
Columns of
V are eigenvectors ofAT*A Columns of
U are eigenvectors ofA*AT
For symmetric positive definite matrices, singular values equal eigenvalues.
Worked Example
Find the SVD of:
This is already "SVD-ready." The singular values are
Verify:
The Truncated SVD
Keeping only the
This minimizes
Crucial for dimensionality reduction: keep the most important directions, discard noise.
Key Properties
rank(A)= number of nonzero singular values∥A∥=(σ_1) (spectral norm= largest singular value)∥A∥=√(,(∑_^)((σ_i)2)) (Frobenius norm)Condition number
=(σ_max())/(σ_min()) Pseudoinverse:
A+=V*Σ+*UT , whereΣ+ inverts the nonzero(σ_i)
Applications
In image compression, SVD keeps the largest singular values, dramatically reducing storage with small quality loss.
In recommendation systems, SVD reveals latent factors connecting users and items (e.g., the Netflix Prize).
In PCA, the principal components are the right singular vectors; singular values determine component importance.
In least squares, the pseudoinverse (via SVD) solves
Summary
The SVD factors