Singular Values of a Matrix
Diagonalization is reserved for square, symmetric matrices — yet every matrix has singular values. The trick is to pass to the symmetric matrix , whose eigenvalues are always real and nonnegative (Lemma 9.3). Their square roots are the singular values (Definition 9.2); an orthonormal eigenbasis of sends the unit sphere to an ellipse with semi-axes , because (Theorem 9.2); and the number of nonzero is exactly the rank of (Proposition 9.3).
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.
Find the singular values of , listed in decreasing order.
A matrix has singular values (in decreasing order). What is ?
What you’ll be able to do
- Prove and use Lemma 9.3: for any matrix , the matrix is symmetric with real, nonnegative eigenvalues, since for an eigenpair one has .
- Apply Definition 9.2: the singular values of are , the square roots of the eigenvalues of listed with their algebraic multiplicities, conventionally ordered .
- Use Theorem 9.2: an orthonormal eigenbasis of makes the images orthogonal, with lengths .
- Apply Proposition 9.3: if has rank then are nonzero while , so is the number of nonzero singular values.
- Compute , its eigenvalues and the singular values of a small matrix; order them; read off the rank; and recognise that the largest singular value equals the operator norm (the maximum stretch of the unit sphere).
In your course
· MATH2015 · Linear Algebra & Probability- Lemma 9.3Nonnegative eigenvalues ofFor an matrix , the symmetric matrix has real, nonnegative eigenvalues (it is positive semidefinite).
- Definition 9.2Singular valuesThe singular values of are the square roots of the eigenvalues of , listed with multiplicities and ordered .
- Theorem 9.2Orthonormal basis with orthogonal imagesThere is an orthonormal basis of for which the images are orthogonal and .
- Proposition 9.3Singular values and rankIf then and ; the rank is the number of nonzero singular values.
Why $A^TA$, and why its eigenvalues can't be negative
Diagonalization requires to be square and symmetric. To reach every matrix we take a detour through . For any matrix , the product is an symmetric matrix, since . By the spectral theorem of the previous section, a symmetric matrix has real eigenvalues and an orthonormal eigenbasis. Lemma 9.3 adds the crucial fact that these eigenvalues are never negative. The proof is one line: if with , then The left-hand side is a squared length, so it is , and ; dividing gives . In other words is positive semidefinite — which is exactly what makes it legal to take square roots in the next definition.
Defining the singular values
By Definition 9.2, the singular values of an matrix are the square roots of the eigenvalues of the symmetric matrix , listed with their algebraic multiplicities (a doubled eigenvalue gives a doubled singular value). Lemma 9.3 is what guarantees each is a real number. By convention we order them decreasingly, which makes the list unique even though the eigenvectors behind it are not. Note there are always singular values — one per eigenvalue of the matrix — no matter how many rows has. (This echoes the symmetric case: if is symmetric with eigenpairs and , then , previewing .) For example, gives with eigenvalues , so .
The geometric heart: an orthonormal basis with orthogonal images
For a symmetric matrix the orthonormal eigenvectors already have orthogonal images, . Theorem 9.2 says this good behaviour survives for any matrix provided we use the eigenvectors of . Pick an orthonormal eigenbasis of with and . Then two things hold. First the images are orthogonal: for , Second their lengths are the singular values: taking in the same calculation gives , so . Geometrically, carries the unit sphere to an ellipse whose semi-axes are the nonzero , pointing along the directions . In the notes' Example 9.1 the unit sphere of is squashed onto a filled ellipse in .
Counting rank, and the biggest stretch
Because , the image is the zero vector exactly when . Order the basis so that and . The surviving images are orthogonal and nonzero, hence linearly independent, and they span the image because any . So they form a basis of , giving Proposition 9.3: This is a numerically stable way to find rank. A second payoff: the largest singular value is the operator norm , the longest semi-axis of the image ellipse, while the smallest measures the shortest.
For any matrix , the matrix is symmetric and all of its eigenvalues are real and nonnegative; that is, is positive semidefinite.
The singular values of an matrix are the square roots of the eigenvalues of , listed with their algebraic multiplicities and conventionally ordered .
For any matrix there exists an orthonormal basis of such that (1) the images are mutually orthogonal, and (2) their lengths are the singular values, .
If is an matrix of rank , then are nonzero while . Equivalently, equals the number of nonzero singular values of .
Worked examples
Find the singular values of (a matrix).
- 1
Form the symmetric matrix . With , we get .
- 2
Find its eigenvalues from . The characteristic polynomial gives — all nonnegative, as Lemma 9.3 promises.
- 3
Take square roots (Definition 9.2):
- 4
List them in decreasing order: . There are singular values, one per eigenvalue of the matrix .
For , find the singular values and an orthonormal basis of for which are orthogonal with (Theorem 9.2).
Find the singular values of and use them to determine (Proposition 9.3).