The Singular Value Decomposition
The Spectral Theorem factors a symmetric matrix as , but it is confined to square — indeed symmetric — matrices. The singular value decomposition lifts that restriction: every matrix, square or rectangular, factors as with and orthogonal and a diagonal matrix of singular values . This lesson builds the SVD from the eigenvectors of , rewrites it as a sum of rank-one pieces , and reads off its geometry: sends the unit sphere to an ellipsoid whose semi-axes are the singular values.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
A matrix has with eigenvalues . What is ?
Find the matrix in an SVD of . Put the singular values on the diagonal in decreasing order — is the part of the SVD that is uniquely determined.
What you’ll be able to do
- Define the singular values of an matrix as the square roots of the eigenvalues of the symmetric matrix (Definition 9.2), using Lemma 9.3 to see those eigenvalues are nonnegative, and list them in decreasing order .
- State the Singular Value Decomposition (Theorem 9.3): every matrix factors as with an orthogonal matrix, an orthogonal matrix, and an matrix carrying the singular values on its diagonal — and explain why this holds even when is not square.
- Construct an SVD by hand: use an orthonormal eigenbasis of as the columns of (Theorem 9.2), set , and define as the first columns of .
- Write the rank-one expansion (Remark 9.4), identify with the number of nonzero singular values (Proposition 9.3), and compute and .
- Interpret the SVD geometrically — maps the unit sphere to an ellipsoid with semi-axes along the columns of — and explain how the SVD generalizes the Spectral Theorem to arbitrary matrices.
In your course
· MATH2015 · Linear Algebra & Probability- Lemma 9.3Nonnegative eigenvalues ofFor any matrix , the symmetric matrix has nonnegative eigenvalues.
- Definition 9.2Singular valuesThe singular values of are the square roots of the eigenvalues of , listed with multiplicity in decreasing order .
- Theorem 9.2Orthonormal basis with orthogonal imagesThere is an orthonormal basis of with orthogonal and .
- Proposition 9.3Singular values and rankequals the number of nonzero singular values: and .
- Theorem 9.3Singular Value Decomposition (SVD)Any matrix factors as with () and () orthogonal and () carrying the singular values on its diagonal.
- Remark 9.4Rank-one expansion, a sum of rank-one matrices formed from the columns of and .
- Example 9.1A worked SVD of a matrix
From the Spectral Theorem to any matrix
The Spectral Theorem factors a symmetric matrix as , where holds the eigenvalues and the columns of are orthonormal eigenvectors, . A quiet but crucial consequence is that the image vectors are mutually orthogonal, with . Finding an orthonormal basis of the domain whose images remain orthogonal is exactly the structure we want to keep — and the SVD shows it survives for any matrix , even a non-square one. The bridge is the matrix : for an matrix it is symmetric and , and by Lemma 9.3 its eigenvalues are nonnegative, since gives , forcing . This lets us take square roots: the singular values of are (Definition 9.2), listed in decreasing order . Theorem 9.2 then delivers the key fact: there is an orthonormal basis of — an eigenbasis of — for which the images are orthogonal with lengths .
The decomposition $A=U\Sigma V^T$
Package the basis of Theorem 9.2 into matrices. Let , an orthogonal matrix whose columns are an orthonormal eigenbasis of . For each nonzero singular value set where ; these are orthonormal (the are orthogonal with length ), and we complete them to an orthonormal basis of , giving an orthogonal matrix . Since for and otherwise, the relations collect into ; right-multiplying by gives the Singular Value Decomposition (Theorem 9.3), Here has the same shape as (): its first diagonal entries are and every other entry is . Unlike diagonalization — which needs square, and symmetric to be orthogonal — the SVD exists for every matrix. By Proposition 9.3, the rank is exactly the number of nonzero singular values.
The rank-one expansion
Multiplying out column by column turns the SVD into a sum of simple pieces (Remark 9.4): where are the columns of . Each outer product is an matrix of rank one — a single 'mode' of — and weights how strongly that mode contributes. Because the weights are ordered , the leading terms carry most of ; keeping only the largest terms yields the best rank- approximation of , the engine behind image compression, principal component analysis, and latent-factor models. Two norms read straight off the singular values: the operator (spectral) norm , the largest stretch factor, and the Frobenius norm .
Geometry and the link to the Spectral Theorem
Read from right to left as three motions: rotates or reflects (orthogonal maps preserve lengths and angles), stretches along the coordinate axes by the factors , and rotates or reflects the result inside . So carries the unit sphere of to an ellipsoid in whose semi-axes have lengths and point along the columns of . When some the ellipsoid is flattened into a lower dimension — in Example 9.1 the unit sphere of maps onto a filled ellipse in because (Figure 9.1). The SVD also generalizes the Spectral Theorem: for a symmetric the singular values are the absolute eigenvalues , and any negative sign of is absorbed by flipping the matching singular vector, so and differ from only by signs. The SVD thus does for arbitrary matrices what orthogonal diagonalization does for symmetric ones.
Any matrix can be written as , where is an orthogonal matrix, is an orthogonal matrix, and is an matrix whose first diagonal entries are the nonzero singular values of , while all other entries are zero.
For any matrix there is an orthonormal basis of such that (1) the vectors are orthogonal, and (2) their lengths are the singular values, .
If is an matrix of rank , then its singular values satisfy and ; equivalently, equals the number of nonzero singular values.
The SVD can be written as a sum of rank-one matrices, , where and are the columns of and respectively.
Worked examples
Find a singular value decomposition of , and write its rank-one expansion (reproducing Example 9.1).
- 1
Form (a symmetric matrix): . Its eigenvalues are .
- 2
Singular values (Definition 9.2) are the square roots in decreasing order: . Two are nonzero, so (Proposition 9.3).
- 3
Orthonormal eigenbasis of gives the columns of : (for ), (for ), (for ).
- 4
Check Theorem 9.2: , , . These are orthogonal, with , , .
- 5
Columns of come from the nonzero images, : and . Since is already an orthonormal basis of , .
- 6
Assemble with and ; carrying out the product returns .
Show how the SVD of the symmetric matrix relates to its spectral (orthogonal) diagonalization, and give .
Using the SVD, describe the image of the unit circle under and find the area it encloses. Then explain what changes when a singular value is .