Definition
The Singular Value Decomposition (SVD) factorizes any matrix into two orthogonal matrices and a diagonal matrix of singular values: where is (orthogonal), is (diagonal), and is (orthogonal).
- How to read: “A equals U times Sigma times V-transpose.”
- Meaning: Decompose any matrix into rotation (), scaling (), and rotation ()—works even for non-square and non-symmetric matrices.
Why It Matters
SVD is the ‘Swiss Army Knife’ of linear algebra; it allows for massive data compression and noise reduction by identifying the most important ‘directions’ in any matrix, making it indispensable for modern machine learning and image processing.
Core Concepts
-
Singular Values (): The square roots of the eigenvalues of (and ). They are non-negative and usually ordered .
- How to read: “The singular values are ordered such that sigma one is greater than or equal to sigma two, continuing in decreasing order down to a positive value.”
- Meaning: Diagonal entries of —measure how much stretches along each principal direction.
-
Bases for Fundamental Subspaces:
- Columns of : Orthonormal basis for the Column Space and Left Nullspace .
- Columns of : Orthonormal basis for the Row Space and Nullspace .
- How to read: “Columns of U; columns of V.”
- Meaning: Columns of span the column space and left nullspace ; columns of span the row space and nullspace .
-
Stability: Unlike eigenvalues, singular values are numerically stable even for non-symmetric or rectangular matrices.
-
Rank-k Approximation: is the best rank- approximation of (Eckart-Young Theorem).
- How to read: “The rank k approximation of matrix A equals the sum from index i equals one to k of the singular value sigma i times the vector u i times the transpose of vector v i.”
- Meaning / when to use: Keep only the top singular values/vectors for compression—minimizes Frobenius-norm error.