Singular Value Decomposition
Describe any rectangular matrix using orthogonal directions and nonnegative stretches.
Builds on Symmetric Matrices and Quadratic Forms
The bigger question: Which parts of a matrix carry the strongest signal?
On this page
A factorization beyond eigenvectors
Every real matrix has an SVD . Here and are square orthogonal matrices and is rectangular diagonal with nonnegative entries , followed by zeros. The positive singular values count the rank.
The right singular vectors are input directions, and the left singular vectors are output directions, satisfying . Read the factorization as orthogonal coordinate conversion, axis stretching or collapse, and another orthogonal transformation. Reflections may occur as well as rotations.
Visual guide
- Unit input circle
- Image ellipse
Worked example: different input and output sizes
For , choose , , and . The unit circle in the input plane becomes an ellipse in the output -plane, with semiaxes and . Its column space has dimension two inside a three-dimensional output space.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Singular values describe lengths of stretches.
Hint 2 · Take the next step
They are square roots of eigenvalues of AᵀA.
Show the reasoning
Answer: Nonnegative
They cannot be negative, but a rank-deficient matrix has zero singular values.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: singular values are not signed eigenvalues
For , eigenvalues are , but singular values are . The sign reversal can be carried by an orthogonal factor. Singular values measure nonnegative stretch, not orientation.
The eigenvalues of are , and its orthonormal eigenvectors give the right singular directions. For each positive , obtain . Zero singular values require completing an orthonormal basis rather than dividing by zero.
SVD exists even when a matrix is rectangular, singular or not diagonalizable. Its factors are not always unique: singular-vector signs can be paired differently, and repeated singular values allow rotations within their associated subspaces.
Practice
- Find the singular values of .
- If a matrix has two positive singular values, find its rank and nullity.
- What is the largest possible for ?
Show worked solutions
- and .
- Rank two and input nullity .
- , attained by a leading right singular vector.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.