17.9  The Same Theory for Singular Values

Everything so far in this chapter has been about Hermitian matrices, and it had to be: a general square matrix need not have real eigenvalues to order, and a rectangular matrix has none at all. But every matrix has singular values, they are real and nonnegative, and Chapter 13 listed them decreasingly from the moment it defined them. This section carries the apparatus across — a min–max description, a perturbation bound, an interlacing theorem — and then spends the rest of its length paying debts that earlier chapters recorded and could not settle.

Throughout, F=R or F=C, A∈Mm×n(F), p=min(m,n), and σ1(A)≥⋯≥σp(A)≥0 are the singular values of A (Definition 13.9.1). Nothing here is assumed Hermitian and nothing is assumed square; where a matrix must be square, or invertible, the statement says so. Vector norms are Euclidean, and ‖A‖2 is the spectral norm of Definition 16.3.2, which Theorem 16.3.3 (c) computes as σ1(A).

One convention, stated once and used everywhere below. We set σi(A):=0for p<i≤n. This is not new: Theorem 13.9.2 (a) already makes it, and records what it buys. With it in force, if A=UΣV∗ is a singular value decomposition (Theorem 13.9.1) with columns v1,…,vn of V, then

A∗Avi=σi(A)2vi(1≤i≤n),
(17.9.1)

so that v1,…,vn is an orthonormal eigenbasis of A∗A whose eigenvalues σ12≥⋯≥σn2≥0 are already sorted. In the notation of this chapter, λi(A∗A)=σi(A)2(1≤i≤n). Every statement in this section is that identity, pushed through a theorem about Hermitian matrices.

17.9.1. The stretch ratio is a Rayleigh quotient

Chapter 13 introduced the singular values by an algebraic route — take A∗A, diagonalize it, take square roots. Their geometric meaning is stretching: how much longer Ax is than x. The bridge between the two descriptions is one line of algebra, and it is the only computation this section needs before the theorems start.

For x≠0 in Fn, the matrix A∗A is Hermitian, so its Rayleigh quotient (Definition 17.1.1) is defined, and

RA∗A(x)=⟨A∗Ax,x⟩⟨x,x⟩=x∗A∗Axx∗x=(Ax)∗(Ax)x∗x=‖Ax‖2‖x‖2.
(17.9.2)

The Rayleigh quotient of A∗A is the squared stretching factor of A.

So a statement about the Rayleigh quotient of A∗A is a statement about the function x↦‖Ax‖/‖x‖, and conversely. Nothing is lost in passing between them, because t↦t is a strictly increasing bijection of [0,∞) onto itself: it carries maxima to maxima and minima to minima, over any set whatever.

Before the min–max theorem, it is worth writing down what the singular value decomposition says about this function in coordinates. The computation is three lines, and it is used four times below — for the witness subspaces in every proof of the section — so it gets a label.

Lemma 17.9.1 (Stretching in the Right Singular Basis)

Let A∈Mm×n(F) have a singular value decomposition A=UΣV∗ (Theorem 13.9.1), with v1,…,vn the columns of V, and write σi=σi(A) with the convention above. Then for x=∑i=1ncivi, ‖Ax‖2=∑i=1nσi2|ci|2,‖x‖2=∑i=1n|ci|2. Consequently, for each 1≤k≤n:

  • (a) on the tail subspace Tk=span(vk,…,vn), of dimension n−k+1, max{‖Ax‖‖x‖:0≠x∈Tk}=σk, attained at x=vk;
  • (b) on the head subspace Hk=span(v1,…,vk), of dimension k, min{‖Ax‖‖x‖:0≠x∈Hk}=σk, attained at x=vk.

Idea. In the right singular basis A does nothing but scale: it sends vi to σiui, and the ui are orthonormal. So measuring Ax is Pythagoras applied to the scaled coordinates, and every claim about how much A can stretch a subspace becomes a claim about a weighted sum of |ci|2.

Proof. By Eq. 17.9.1 the list (v1,…,vn) is an orthonormal basis of Fn consisting of eigenvectors of A∗A, with A∗Avi=σi2vi. Hence, for x=∑icivi, using Eq. 17.9.2 in the form ‖Ax‖2=x∗A∗Ax and expanding with orthonormality, ‖Ax‖2=(∑icivi)∗(∑jcjσj2vj)=∑i=1nσi2|ci|2, the cross terms vanishing because vi∗vj=δij. The second identity is the same expansion with A removed.

  • (a) For 0≠x∈Tk we have ci=0 for i<k, so ‖Ax‖2=∑i≥kσi2|ci|2≤σk2∑i≥k|ci|2=σk2‖x‖2, since σi≤σk for i≥k and the singular values are nonnegative. Taking square roots gives ‖Ax‖/‖x‖≤σk, and x=vk gives ‖Avk‖=σk=σk‖vk‖, so the bound is attained.

  • (b) For 0≠x∈Hk we have ci=0 for i>k, so ‖Ax‖2=∑i≤kσi2|ci|2≥σk2‖x‖2, since now σi≥σk for i≤k; and x=vk attains equality. This proves the lemma.

In words: the tail subspace is a place where A stretches no more than σk, and the head subspace is a place where it stretches no less. The min–max theorem says that these two subspaces are optimal.

17.9.2. Each singular value as an optimization

Theorem 17.9.2 (Min–Max for Singular Values)

Let A∈Mm×n(F) and let 1≤k≤n, with σk(A)=0 read by convention when k>p. Then σk(A)=minW≤Fndim⁡W=n−k+1 max0≠x∈W ‖Ax‖‖x‖=maxW≤Fndim⁡W=k min0≠x∈W ‖Ax‖‖x‖. The outer minimum is attained at W=span(vk,…,vn) and the outer maximum at W=span(v1,…,vk), for the right singular vectors of any singular value decomposition of A (Theorem 13.9.1).

Idea. There is nothing to discover: Eq. 17.9.2 turns the objective function into the Rayleigh quotient of the Hermitian matrix A∗A, Theorem 17.2.3 applies to that matrix, and the square root — increasing, hence order-preserving — moves through the minima and maxima without changing which subspace attains them.

Proof. Put B=A∗A∈Mn(F), which is Hermitian, and fix 1≤k≤n. By Eq. 17.9.1, λk(B)=σk(A)2. By Theorem 17.2.3 applied to B, σk(A)2=λk(B)=mindim⁡W=n−k+1 max0≠x∈WRB(x), and by Eq. 17.9.2, RB(x)=(‖Ax‖/‖x‖)2 for every x≠0.

Fix a subspace W. The function x↦‖Ax‖/‖x‖ takes only nonnegative values, and t↦t2 is strictly increasing on [0,∞); so a vector of W maximizes RB over W exactly when it maximizes ‖Ax‖/‖x‖, and max0≠x∈WRB(x)=(max0≠x∈W‖Ax‖‖x‖)2. (Both maxima exist: by homogeneity the quotient may be taken over the unit sphere of W, which is compact by fact (A3) of Chapter 16’s introduction, and the function is continuous, so the extreme value theorem — fact (A4) of Chapter 16’s introduction — applies. This is the same appeal Theorem 17.2.3 makes.) Taking square roots, and using once more that t↦t is increasing, so that it commutes with a minimum over the family of subspaces, σk(A)=λk(B)=mindim⁡W=n−k+1 max0≠x∈W‖Ax‖‖x‖. The max–min form follows from the second equality of Theorem 17.2.3 by the same two steps.

For the attainment claims, Lemma 17.9.1 (a) says that the tail subspace Tk, of dimension n−k+1, has inner maximum exactly σk(A), which is therefore the outer minimum; and part (b) says the head subspace Hk, of dimension k, has inner minimum exactly σk(A). This proves the theorem.

Two things are worth noticing. First, the subspaces W live in Fn, the domain, whatever m is; the theorem compares two matrices with the same number of columns without caring how many rows they have. Second, the extremal subspaces are named, and they are spans of right singular vectors: the theorem is not only an identity but a recipe.

There is a second route to the same theorem, and it is worth recording because it converts a statement about a rectangular matrix into a statement about a Hermitian one, which is what the later chapters will want.

Proposition 17.9.3 (The Hermitian Dilation)

Let A∈Mm×n(F) and put H(A):=(OAA∗O)∈Mm+n(F). Then H(A) is Hermitian, and its eigenvalues, with multiplicity, are σ1(A),…,σp(A), −σ1(A),…,−σp(A), 0,…,0⏟m+n−2p.

Idea. Guess the eigenvectors from the SVD. The pair (ui,vi), stacked, is sent by H(A) to (Avi,A∗ui)=σi(ui,vi); flipping the sign of the second half flips the sign of the eigenvalue. That accounts for 2p orthonormal eigenvectors, and what is left over is a kernel whose dimension is a count.

Proof. Writing out the conjugate transpose block by block, H(A)∗=(O(A∗)∗A∗O)=H(A), so H(A) is Hermitian.

Fix a singular value decomposition A=UΣV∗ (Theorem 13.9.1), with columns u1,…,um of U and v1,…,vn of V. Since V∗vi=ei and Σei=σiei for i≤p while Σej=0 for p<j≤n, and symmetrically for A∗=VΣ∗U∗, Avi=σiui,A∗ui=σivi  (i≤p),Avj=0,A∗uj=0  (j>p). For i≤p put wi±=12(ui±vi)∈Fm+n. Then H(A)wi±=12(±Avi, A∗ui)=12(±σiui, σivi)=±σiwi±. Likewise H(A)(uj,0)=(0,A∗uj)=0 for j>p, and H(A)(0,vj)=(Avj,0)=0 for j>p.

These 2p+(m−p)+(n−p)=m+n vectors are orthonormal: the wi± are unit vectors because ui and vi are, and any two distinct vectors in the list pair to 0, since (wi+)∗wi−=12(1−1)=0 and all other pairs have orthogonal u-parts or orthogonal v-parts. So they form an orthonormal eigenbasis of Fm+n with the stated eigenvalues, which are therefore the eigenvalue list of H(A) with multiplicity. This proves the proposition.

Applying Theorem 17.2.3 to H(A) instead of A∗A gives Theorem 17.9.2 again, with subspaces of Fm+n in place of Fn. We took the shorter road; the dilation is recorded because it turns any theorem about Hermitian eigenvalues into one about singular values, which Section 10’s exercises and Chapter 20 both exploit.

17.9.3. Perturbation, with no hypothesis at all

For Hermitian matrices, Corollary 17.3.6 says that |λi(A+E)−λi(A)|≤‖E‖2 — provided A and E are Hermitian. That proviso is not decoration: Chapter 16’s Example (A Jordan block’s eigenvalues move like ε1/k) shows the conclusion failing spectacularly without it. The corresponding statement for singular values needs no proviso whatsoever.

Theorem 17.9.4 (Weyl’s Inequalities for Singular Values)

Let A,B∈Mm×n(F) and let i,j≥1 with i+j−1≤n. Then σi+j−1(A+B)≤σi(A)+σj(B).

Idea. Put k=i+j−1. The min–max form of Theorem 17.9.2 bounds σk(A+B) from above as soon as we produce one subspace of dimension n−k+1 on which A+B stretches by at most σi(A)+σj(B). Each summand supplies a subspace where it is individually small — the tail subspaces of Lemma 17.9.1 — and the dimensions are chosen so that the two subspaces must overlap in something of the required size. On the overlap the triangle inequality finishes it.

Proof. Put k=i+j−1≤n. Let T=span(vi,…,vn) for the right singular vectors of A and T′=span(vj′,…,vn′) for those of B, so that dim⁡T=n−i+1, dim⁡T′=n−j+1, and by Lemma 17.9.1 (a), ‖Ax‖≤σi(A)‖x‖  (x∈T),‖Bx‖≤σj(B)‖x‖  (x∈T′). By the dimension formula (Theorem 1.7.3) and dim⁡(T+T′)≤n, dim⁡(T∩T′)≥(n−i+1)+(n−j+1)−n=n−(i+j−1)+1=n−k+1, which is at least 1 because k≤n. Choose a subspace W⊆T∩T′ with dim⁡W=n−k+1 exactly; this is possible because every subspace has a subspace of each smaller dimension, obtained by truncating a basis. For 0≠x∈W, the triangle inequality (Corollary 11.1.6) gives ‖(A+B)x‖≤‖Ax‖+‖Bx‖≤(σi(A)+σj(B))‖x‖. Hence the inner maximum over W is at most σi(A)+σj(B), and since σk(A+B) is the minimum of that inner maximum over all subspaces of dimension n−k+1 (Theorem 17.9.2), we get σk(A+B)≤σi(A)+σj(B). This proves the theorem.

Corollary 17.9.5 (Singular Values Are Perfectly Conditioned)

Let A,E∈Mm×n(F). Then |σi(A+E)−σi(A)|≤‖E‖2for every 1≤i≤n. No hypothesis is placed on A or on E.

Idea. Put j=1 in the Weyl inequality for singular values: one index passes through unchanged, and the other matrix contributes only its largest singular value, which is ‖E‖2. That bounds σi(A+E) from above; writing A=(A+E)+(−E) and doing it again bounds it from below.

Proof. Take j=1 in Theorem 17.9.4, so that i+j−1=i≤n: σi(A+E)≤σi(A)+σ1(E)=σi(A)+‖E‖2, using Theorem 16.3.3 (c) for the last equality. Now apply the same inequality with A+E in place of A and −E in place of E, noting ‖−E‖2=‖E‖2 by homogeneity (Theorem 16.3.2 (b)): σi(A)=σi((A+E)+(−E))≤σi(A+E)+‖E‖2. The two inequalities together are the claim.

This is a Lipschitz bound with constant 1, exactly as Corollary 17.3.6 is for Hermitian eigenvalues, and with no dependence on n, on the conditioning of A, or on the gaps between the singular values. What is new is the absence of hypotheses. It is worth seeing the contrast on the very matrix Chapter 16 used to show that eigenvalues have no such bound.

Example (The Jordan block again, measured by its singular values)

Let k≥2, let 0<ε<1, and let A=Jk(0),Aε=Jk(0)+εEk1 be the matrices of Example (A Jordan block’s eigenvalues move like ε1/k). Compute the singular values of both, and compare how far they move with how far the eigenvalues move.

Solution. The columns of Aε are εek in position 1, and ej−1 in position j for 2≤j≤k. These k columns are pairwise orthogonal, with norms ε,1,…,1, so Aε∗Aε=diag(ε2,1,…,1), whose eigenvalues in decreasing order are 1 with multiplicity k−1 and then ε2, since ε<1. By Definition 13.9.1 the singular values of Aε are σ1=⋯=σk−1=1,σk=ε. Setting ε=0 in the same computation, the singular values of A=Jk(0) are 1,…,1,0.

So every singular value moves by at most ε, and exactly one of them — the last — moves by exactly ε. The perturbation has ‖εEk1‖2=ε, computed in Example (A Jordan block’s eigenvalues move like ε1/k), so Corollary 17.9.5 is attained here and not merely satisfied.

Meanwhile Example (A Jordan block’s eigenvalues move like ε1/k) computed that the eigenvalues of the same two matrices are 0 (with multiplicity k) and the k-th roots of ε, all of modulus ε1/k. For k=10 and ε=10−10: the singular values move by 10−10, and the eigenvalues move by 10−1, a factor of a billion more. The same matrix, the same perturbation, two spectra — one of them stable and one of them not.

This is not a paradox. The singular values of A are the square roots of the eigenvalues of the Hermitian matrix A∗A, and Hermitian eigenvalues are stable; the eigenvalues of A itself are roots of a polynomial, and a repeated root is fragile. The instability lives in the passage from A to its eigenvalues, not in A — which is why a question that can be phrased in singular values should be.

Warning. Weyl’s inequality does not say σk(A+B)≤σk(A)+σk(B). The index bookkeeping i+j−1 is the content, not a technicality. Take A=diag(1,0),B=diag(0,1). Then σ(A)=σ(B)=(1,0), while A+B=I2 has σ(I2)=(1,1). So σ2(A+B)=1 while σ2(A)+σ2(B)=0. What Theorem 17.9.4 does give here, with i=j=1, is σ1(A+B)≤σ1(A)+σ1(B)=2, which holds. Only i=1 or j=1 lets an index pass through unchanged, which is why Corollary 17.9.5 is the case j=1.

17.9.4. The best approximation of low rank

Chapter 13 §11 proved that the truncated singular value decomposition Ak of Definition 13.11.1 is the closest matrix of rank at most k to A in the Frobenius norm (Theorem 13.11.3), and then wrote, in the remark that closes its main proof:

The same matrix Ak is also optimal in the spectral norm ‖⋅‖2, where the minimum value is σk+1 rather than (∑i>kσi2)1/2. We cannot state that here, because the spectral norm is defined only in Chapter 16.

Chapter 16 supplied the norm and then, in its closing ledger, handed the theorem to this chapter: “the theorem itself waits for Chapter 17, which proves it from the min–max description of the singular values.” That description now exists. Here is the theorem.

Theorem 17.9.6 (Eckart–Young Theorem, Spectral Case)

Let A∈Mm×n(F) and let 0≤k<n. Then for every B∈Mm×n(F) with rankB≤k, ‖A−B‖2 ≥ σk+1(A), and equality holds for the truncation B=Ak of Definition 13.11.1. In words: Ak minimizes ‖A−B‖2 over all matrices of rank at most k, and the minimum value is σk+1(A).

Idea. A matrix B of rank at most k has a large null space — dimension at least n−k — and on that null space A−B acts exactly as A does. The head subspace Hk+1=span(v1,…,vk+1) is a place where A stretches by at least σk+1, and it has dimension k+1. Two subspaces of Fn of dimensions n−k and k+1 cannot avoid each other, by Lemma 17.2.1, and a vector in both settles the matter in one line.

Proof. The lower bound. Let rankB≤k. By Rank–Nullity for matrices (Theorem 3.5.7), dim⁡nul(B)=n−rankB≥n−k. Let H=span(v1,…,vk+1), where v1,…,vn are the right singular vectors of a fixed singular value decomposition of A (Theorem 13.9.1); then dim⁡H=k+1. Since dim⁡nul(B)+dim⁡H ≥ (n−k)+(k+1)=n+1>n, Lemma 17.2.1 gives a vector x≠0 with x∈nul(B)∩H. For that x, Bx=0, so (A−B)x=Ax, and by Lemma 17.9.1 (b) applied with k+1 in place of k, ‖(A−B)x‖=‖Ax‖ ≥ σk+1(A)‖x‖. Since x≠0, dividing by ‖x‖ and using Theorem 16.3.2 (a), which says ‖A−B‖2 is the largest such ratio, gives ‖A−B‖2≥σk+1(A).

Equality at the truncation. If k≥p, then Ak=A by Definition 13.11.1 and σk+1(A)=0 by our convention, so equality holds trivially; assume k<p. By Definition 13.11.1, Ak=∑i≤kσiuivi∗ has rank min(k,rankA)≤k, and A−Ak=∑i>kσiuivi∗=UΣ(k)V∗, where Σ(k) is Σ with its first k diagonal entries replaced by 0. Since U is unitary, (A−Ak)∗(A−Ak)=V(Σ(k))∗Σ(k)V∗, which is similar to the diagonal matrix (Σ(k))∗Σ(k); its eigenvalues are therefore σk+12,…,σp2 together with zeros. By Definition 13.9.1 the singular values of A−Ak are σk+1≥σk+2≥… followed by zeros, the largest being σk+1. Hence ‖A−Ak‖2=σk+1(A) by Theorem 16.3.3 (c). This proves the theorem.

So the minimizer is the same matrix in both norms, and only the minimum value changes: σk+1 for the spectral norm, (∑i>kσi2)1/2 for the Frobenius norm. That the same Ak works for both is not a coincidence — it is optimal in every unitarily invariant norm at once, which is Chapter 21’s theorem and needs machinery neither this section nor Chapter 13 has.

Example (One matrix, two norms)

Let A=(310130001)∈M3(R). Find the best approximations of rank 1 and rank 2, and compute the error in both the spectral and the Frobenius norm.

Solution. A is symmetric and block diagonal. The 2×2 block (3113) has trace 6 and determinant 8, hence eigenvalues 4 and 2, with orthonormal eigenvectors 12(1,1) and 12(1,−1); the third eigenvalue is 1, with eigenvector e3. All three eigenvalues are positive, so A≻O and its singular values are those eigenvalues (Theorem 13.1.5; A∗A=A2 has eigenvalues their squares): σ1=4,σ2=2,σ3=1, with ui=vi the unit eigenvectors 12(1,1,0), 12(1,−1,0), e3.

Truncating, A1=4v1v1⊤=(220220000),A2=(310130000), the second because 4v1v1⊤+2v2v2⊤ restores the 2×2 block exactly. The error matrices are A−A1=(1−10−110001),A−A2=diag(0,0,1). For k=1: ‖A−A1‖2=σ2=2 and ‖A−A1‖F=σ22+σ32=5≈2.236. Check the first directly: A−A1 is symmetric with the 2×2 block (1−1−11), of eigenvalues 2 and 0, and the entry 1, so its largest eigenvalue in modulus is 2. Check the second directly: the sum of the squares of the five nonzero entries is 4⋅1+1=5.

For k=2: both norms of diag(0,0,1) equal 1=σ3, and the two formulas agree because only one singular value is discarded.

Quick check. A matrix has singular values 6,3,2,1. What is the smallest spectral-norm error of a rank-2 approximation, and how does it compare with the Frobenius-norm error found in Exercise (B1: Errors from the singular values alone)?

Solution. By Theorem 17.9.6 with k=2, the minimum is σ3=2. By Theorem 13.11.3 the Frobenius minimum is σ32+σ42=5≈2.236. The Frobenius error is the larger of the two, as it must be: it counts every discarded singular value, while the spectral error counts only the largest one.

17.9.5. How far an invertible matrix is from being singular

Take k=n−1 in Theorem 17.9.6, with A square. A matrix of rank at most n−1 is precisely a singular matrix, so the theorem computes the distance from A to the set of singular matrices. That is the geometric content of Chapter 16’s condition number, and it is the best payoff in this chapter.

Corollary 17.9.7 (The Distance to Singularity)

Let A∈Mn(F) be invertible. Then min{‖A−B‖2:B∈Mn(F) singular}=σn(A)=1‖A−1‖2, the minimum being attained at B=An−1. Consequently the relative distance from A to the nearest singular matrix is min{‖A−B‖2:B singular}‖A‖2=σn(A)σ1(A)=1κ2(A), the reciprocal of the spectral condition number of Definition 16.8.1.

Idea. A singular matrix has rank at most n−1, so this is the spectral Eckart–Young theorem with k=n−1, and the answer is the next singular value, σn. The formula 1/‖A−1‖2 is the same number read through the inverse, whose largest singular value is 1/σn.

Proof. A matrix B∈Mn(F) is singular if and only if rankB≤n−1 (Theorem 7.5.3 (d)). So the set over which the minimum is taken is exactly the set appearing in Theorem 17.9.6 with k=n−1, and that theorem gives the value σ(n−1)+1(A)=σn(A), attained at An−1. The matrix An−1 is singular because its rank is min(n−1,rankA)=n−1<n.

For the second expression: since rankA=n, exactly n singular values of A are nonzero (Theorem 13.9.1), so σn(A)>0. By Definition 16.8.1 and Proposition 16.8.2 (d), ‖A‖2‖A−1‖2=κ2(A)=σ1(A)/σn(A), and ‖A‖2=σ1(A) by Theorem 16.3.3 (c); dividing, ‖A−1‖2=1/σn(A). Dividing the minimum σn(A) by ‖A‖2=σ1(A) gives σn/σ1=1/κ2(A), the last display. This proves the corollary.

What this settles. Chapter 16 defined κ(A)=‖A‖‖A−1‖ as the worst factor by which A magnifies a relative error, proved that the factor is attained, and described it geometrically through Lemma 16.8.1 as the ratio of the largest to the smallest stretch ‖Ax‖ over unit vectors x. That is a statement about what A does. Corollary 17.9.7 is a statement about where A is: it says that 1/κ2(A) measures the distance from A to the boundary of the invertible matrices, relative to the size of A. A matrix with κ2=106 is not merely a matrix that magnifies errors by a million; it is a matrix that a relative perturbation of one part in a million can make singular. “Ill-conditioned” and “nearly singular” are the same property, and this is the theorem that identifies them.

Two earlier exercises reached for this. Exercise (C1: How far is a matrix from being singular?) found the same distance in the Frobenius norm — also σn, since only one singular value is discarded when k=n−1. Exercise (C2: The condition number is the reciprocal distance to singularity) obtained the spectral statement by hand, with a Neumann-series lower bound and the truncation as witness. Nothing above rests on either. What is new is that the distance to singularity is now the case k=n−1 of one theorem covering every rank, proved by a dimension count and stated as an attained minimum.

Example (The nearest singular matrix, exactly and approximately)

Solution.

  • (a) The singular values are 4,2,1, so by Corollary 17.9.7 the nearest singular matrix is at distance σ3=1, and it is A2=(310130000), computed in Example (One matrix, two norms); it is singular because its last row is zero. Here κ2(A)=4/1=4, so the relative distance is 14: a perturbation of a quarter of the size of A is needed, and A is very well conditioned.

  • (b) C is symmetric with trC=201100 and detC=1100, so its eigenvalues are 201±2012−400200=201±40001200, both positive, hence equal to the singular values: σ1≈2.00501 and σ2≈0.0049875. So κ2(C)≈402.0 and the nearest singular matrix is at distance σ2≈0.00499, a relative distance of 1/κ2(C)≈0.00249, about a quarter of one percent. The nearest singular matrix itself is C1=σ1v1v1⊤, which to five decimals is C1≈(0.997491.002491.002491.00752); it is singular, and each entry differs from the corresponding entry of C by about 0.0025. Changing C in its third decimal place destroys its invertibility. That is what κ2≈402 means.

Warning. The distance to singularity is not measured by the determinant. Chapter 16 §08 warned that no threshold on |detA| detects ill-conditioning, and Corollary 17.9.7 says exactly why: the quantity that decides nearness to singularity is σn, and |detA|=σ1σ2⋯σn is a product in which a tiny σn can be hidden by large partners, or a healthy σn buried by many small ones. For A=10−6I10 all singular values are 10−6, so |detA|=10−60 while the relative distance to singularity is 1/κ2=1, the largest it can ever be. For A=diag(106,10−6), |detA|=1 while the relative distance is 10−12. Only the smallest singular value knows.

17.9.6. Deleting a row

The last transfer is Cauchy interlacing. For a Hermitian matrix the operation was deleting a row and the matching column; for a general matrix there is no matching, and deleting a single row is enough.

Theorem 17.9.8 (Interlacing Under Deletion of a Row or a Column)

Let A∈Mm×n(F) with m≥2, and let B∈M(m−1)×n(F) be obtained from A by deleting one row. Then σi(B)≤σi(A)(1≤i≤n),σi+1(A)≤σi(B)(1≤i≤n−1), singular values beyond the p-th being read as 0. If instead n≥2 and B∈Mm×(n−1)(F) is obtained from A by deleting one column, the same two chains hold, both over 1≤i≤n−1; written out, σ1(A)≥σ1(B)≥σ2(A)≥⋯≥σn−1(B)≥σn(A).

Idea. Deleting a row removes one term from the sum ‖Ax‖2=∑rows|row⋅x|2. So ‖Bx‖≤‖Ax‖ for every x, which gives the first chain from the min–max formula at once, because both matrices are compared over the same subspaces of Fn. For the second chain, the two norms agree on the hyperplane where the deleted row vanishes; intersecting a good subspace for B with that hyperplane costs one dimension, and one dimension is exactly one index.

Proof. Say row r of A is deleted, and write r∗∈M1×n(F) for that row. Summing squares of entries coordinate by coordinate,

‖Ax‖2=‖Bx‖2+|r∗x|2(x∈Fn),
(17.9.3)

since the entries of Ax are those of Bx together with r∗x.

First chain. By Eq. 17.9.3, ‖Bx‖/‖x‖≤‖Ax‖/‖x‖ for every x≠0. Both A and B have n columns, so Theorem 17.9.2 describes σi(A) and σi(B) as a minimum over the same family of subspaces of Fn, of a maximum of these two objective functions. A pointwise smaller function has a smaller maximum on each subspace and hence a smaller minimum over the family, so σi(B)≤σi(A) for every i≤n.

Second chain. Fix 1≤i≤n−1. Let w1,…,wn be the right singular vectors of a singular value decomposition of B (Theorem 13.9.1), and put T=span(wi,…,wn), of dimension n−i+1; by Lemma 17.9.1 (a) applied to B, ‖Bx‖≤σi(B)‖x‖(x∈T). Let H={x∈Fn:r∗x=0}=nul(r∗). Since r∗ has at most one nonzero row, rankr∗≤1, so dim⁡H≥n−1 by Rank–Nullity for matrices (Theorem 3.5.7). By the dimension formula (Theorem 1.7.3), dim⁡(T∩H) ≥ (n−i+1)+(n−1)−n=n−i ≥ 1. Choose W⊆T∩H with dim⁡W=n−i=n−(i+1)+1. For 0≠x∈W we have r∗x=0, so Eq. 17.9.3 gives ‖Ax‖=‖Bx‖≤σi(B)‖x‖. Hence the inner maximum over W is at most σi(B), and σi+1(A), being the minimum of that inner maximum over all subspaces of dimension n−(i+1)+1 (Theorem 17.9.2), is at most σi(B).

Columns. Deleting column c of A is deleting row c of A∗. Taking conjugate transposes in A=UΣV∗ gives A∗=VΣ∗U∗, in which Σ∗ has the same diagonal σ1,…,σp; so by Theorem 13.9.2, σi(A∗)=σi(A) for every i≤p, and the same holds for B and B∗. Both A∗ and B∗ have m columns, so the row statement applied to them gives σi(B)≤σi(A) for i≤m and σi+1(A)≤σi(B) for i≤m−1. The remaining indices are free: if i>m then i exceeds min(m,n−1), so σi(B)=0 and the first inequality is trivial; and if i≥m then i+1>p, so σi+1(A)=0 and the second is trivial. Hence both chains hold on the stated ranges. This proves the theorem.

Example (Interlacing on a 3 × 2 matrix)

Let A=(100111), the matrix of Example (The best rank-one approximation of a 3 × 2 matrix). Verify Theorem 17.9.8 for each of the three rows that could be deleted.

Solution. Example (The best rank-one approximation of a 3 × 2 matrix) computed A⊤A=(2112), with eigenvalues 3 and 1, so σ1(A)=3≈1.732 and σ2(A)=1.

Deleting row 1 or row 2. The remaining matrix is (0111) or (1011). In both cases B⊤B=(1112), with trace 3 and determinant 1, hence eigenvalues (3±5)/2. Their square roots are (1+5)/2≈1.618 and (5−1)/2≈0.618 — the two are reciprocal, since (3+5)/2⋅(3−5)/2=1. The interlacing reads 1.732 ≥ 1.618 ≥ 1 ≥ 0.618, that is σ1(A)≥σ1(B)≥σ2(A)≥σ2(B), as the theorem requires.

Deleting row 3. The remaining matrix is I2, with σ1=σ2=1, and the chain reads 1.732≥1≥1≥1. Here the second inequality of the first chain and the inequality of the second chain are both equalities: deleting the row that carried all the interaction between the two columns leaves a perfectly conditioned matrix.

Everything in this section came from one move: a singular value is the square root of an eigenvalue of a Hermitian matrix, so the min–max theory transfers wholesale. What the transfer bought is worth listing. The spectral half of the Eckart–Young theorem, which Chapter 13 could state only in the Frobenius norm, is now proved. The condition number of Chapter 16 has a geometric meaning: 1/κ2(A) is how far, relatively, A sits from the nearest singular matrix. And singular values turned out to be perfectly conditioned with no hypothesis at all, which the Jordan block showed eigenvalues are not. The Hermitian dilation H(A) is the other bridge from singular values to Hermitian eigenvalues; Section 10’s exercises use it, and Chapter 20 leans on it for perturbation bounds.

17.9.7. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State the min–max description of σk(A), naming the dimension of the subspaces in each of the two forms.
  • (b) Explain in one sentence why the identity ‖Ax‖2/‖x‖2=RA∗A(x) is what makes the whole section possible.
  • (c) State the bound of Corollary 17.9.5 and say precisely which hypotheses it needs, comparing with Corollary 17.3.6.
  • (d) What is min{‖A−B‖2:rankB≤k}, and what is the corresponding Frobenius-norm minimum? Which of the two is larger, and why?
  • (e) Decide whether the statement is correct, and justify: “a square matrix with a very small determinant is close to a singular matrix”.

Solution.

  • (a) See Theorem 17.9.2: σk(A) is the minimum, over subspaces W≤Fn of dimension n−k+1, of max{‖Ax‖/‖x‖:0≠x∈W}; equivalently the maximum, over subspaces of dimension k, of the corresponding minimum.

  • (b) It converts a statement about the rectangular matrix A, which has no eigenvalues, into a statement about the Hermitian matrix A∗A, which has the whole of Sections 1 to 8 available; and the conversion loses nothing, because the square root is increasing.

  • (c) |σi(A+E)−σi(A)|≤‖E‖2, for arbitrary A,E∈Mm×n(F) — no symmetry, no smallness, no squareness. Corollary 17.3.6 is the same bound for eigenvalues, but it requires both A and E to be Hermitian, and Example (A Jordan block’s eigenvalues move like ε1/k) shows the bound is false without that.

  • (d) σk+1(A) in the spectral norm (Theorem 17.9.6) and (∑i>kσi2)1/2 in the Frobenius norm (Theorem 13.11.3). The Frobenius value is the larger, since ∑i>kσi2≥σk+12; it charges for every discarded singular value, the spectral norm only for the biggest.

  • (e) Incorrect. Nearness to singularity is measured by σn, not by det (Corollary 17.9.7). The matrix 10−6I10 has determinant 10−60 and relative distance 1 to the singular matrices, the largest possible value. The determinant is the product of all the singular values and cannot report the smallest one.

B. Practice

Exercise (B1: Two norms, one list of singular values)

A matrix A∈M5×4(R) has singular values 8,4,4,1.

  • (a) Compute min{‖A−B‖2:rankB≤k} for k=0,1,2,3.
  • (b) Compute the corresponding Frobenius minima and say for which k the two agree.
  • (c) Compute κ2(A) and the relative distance from A to the set of matrices of rank at most 3.

Solution.

  • (a) By Theorem 17.9.6 the minimum is σk+1, so the four values are 8,4,4,1 for k=0,1,2,3.

  • (b) By Theorem 13.11.3 the minimum is (∑i>kσi2)1/2: 64+16+16+1=97,33,17,1 for k=0,1,2,3, approximately 9.849, 5.745, 4.123, 1. They agree only at k=3, where exactly one singular value is discarded.

  • (c) A has rank 4 and full column rank, so Definition 16.8.1 gives κ2(A)=σ1/σ4=8. The distance to the matrices of rank at most 3 is σ4=1 and ‖A‖2=8, so the relative distance is 18=1/κ2(A) — the rectangular analogue of Corollary 17.9.7, and for the same reason.

Exercise (B2: The nearest singular matrix)

Let A=(2111), whose condition number κ2(A)=7+352≈6.854 was computed in Example (Three condition numbers of one matrix).

  • (a) Find the singular values of A and the distance from A to the nearest singular matrix.
  • (b) Write down a singular matrix at exactly that distance, and check that it is singular.
  • (c) Compute the relative distance and compare it with 1/κ2(A).

Solution.

  • (a) A is symmetric with trA=3 and detA=1, so its eigenvalues are (3±5)/2, both positive; hence these are also its singular values, σ1=3+52≈2.618,σ2=3−52≈0.382. By Corollary 17.9.7 the distance to the nearest singular matrix is σ2=(3−5)/2.

  • (b) The witness is A1=σ1v1v1⊤, where v1 is a unit eigenvector for σ1. From (2−σ1)x1+x2=0 we may take v1 parallel to (2,5−1), whose squared length is 4+(6−25)=10−25. Hence A1=3+52⋅110−25(42(5−1)2(5−1)6−25)=(1+25512+351012+351012+510), approximately (1.8941.1711.1710.724). It is singular: it is a scalar multiple of v1v1⊤, which has rank 1, so its determinant is 0. (Directly: 1.894×0.724−1.1712=0 to three decimals.)

  • (c) ‖A‖2=σ1, so the relative distance is σ2σ1=3−53+5=(3−5)24=7−352≈0.1459, using (3−5)(3+5)=4. And 1/κ2(A)=2/(7+35)=(7−35)/2, since (7+35)(7−35)=49−45=4. The two agree, as Corollary 17.9.7 says.

Exercise (B3: Interlacing by hand)

Let A=(200102).

  • (a) Compute the singular values of A.
  • (b) Compute the singular values of each of the three matrices obtained by deleting one row, and check Theorem 17.9.8 in each case.

Solution.

  • (a) A⊤A=(4005), so the eigenvalues are 5 and 4 and σ1(A)=5≈2.236, σ2(A)=2.

  • (b) Deleting row 1 leaves (0102), with B⊤B=diag(0,5), so σ1=5, σ2=0; the chain reads 5≥5≥2≥0.

Deleting row 2 leaves (2002), with singular values 2,2; the chain reads 5≥2≥2≥2.

Deleting row 3 leaves (2001), with singular values 2,1; the chain reads 5≥2≥2≥1.

All three satisfy σ1(A)≥σ1(B)≥σ2(A)≥σ2(B), as Theorem 17.9.8 requires.

C. Going deeper

Exercise (C1: Rank cannot drop suddenly)

Let A∈Mm×n(F) have rank r≥1.

  • (a) Prove that every B∈Mm×n(F) with ‖A−B‖2<σr(A) has rankB≥r.
  • (b) Deduce that for every A there is an ε>0 such that every B within ε of A in the spectral norm has rankB≥rankA.
  • (c) Show that the reverse inequality can fail however small ε is: give matrices A and B with ‖A−B‖2 as small as we like and rankB>rankA.

Hint: for (a), argue by contradiction with Theorem 17.9.6.

Solution.

  • (a) Suppose rankB≤r−1. By Theorem 17.9.6 with k=r−1, ‖A−B‖2 ≥ σr(A), contradicting the hypothesis. Hence rankB≥r.

  • (b) If A=O any ε>0 works, since then r=0 and every B has rank at least 0. Otherwise take ε=σr(A), which is >0 because A has exactly r=rankA nonzero singular values (Theorem 13.9.3). Then (a) applies.

  • (c) Take A=diag(1,0), of rank 1, and B=diag(1,δ) with δ>0. Then A−B=diag(0,−δ), so ‖A−B‖2=δ, as small as we like, while rankB=2>1=rankA. Rank can jump up under an arbitrarily small perturbation, and never jumps down under a small one: that asymmetry is exactly (a), and it is why numerical rank is defined by a threshold on the singular values rather than by exact vanishing.

Exercise (C2: The dilation, and a second proof of the perturbation bound)

Let A,E∈Mm×n(F) and let H(⋅) be the Hermitian dilation of Proposition 17.9.3.

  • (a) Prove that H(A+E)=H(A)+H(E) and that H(E) is Hermitian.
  • (b) Prove that ‖H(E)‖2=‖E‖2.
  • (c) Hence give a second proof of Corollary 17.9.5 for 1≤i≤p, using Corollary 17.3.6, and say in one sentence why this route explains the absence of hypotheses on E.

Hint: for (b), use Proposition 17.9.3 and Theorem 16.3.3 (c).

Solution.

  • (a) Both claims are immediate from the block form: H is built entrywise from A and A∗, and both A↦A and A↦A∗ are additive, so H(A+E)=(OA+EA∗+E∗O)=H(A)+H(E). That H(E) is Hermitian was proved in Proposition 17.9.3, which places no hypothesis on its argument.

  • (b) Write M=H(E), which is Hermitian by (a). Then M∗M=M2, whose eigenvalues are the squares of those of M (apply Corollary 12.4.3 to M and square the diagonal). By Proposition 17.9.3 the eigenvalues of M are ±σi(E) for i≤p together with zeros, so the eigenvalues of M∗M are the numbers σi(E)2, each twice, together with zeros. The largest is σ1(E)2, so σ1(M)=σ1(E) by Definition 13.9.1, and Theorem 16.3.3 (c) turns this into ‖H(E)‖2=‖E‖2.

  • (c) Let 1≤i≤p. By Proposition 17.9.3 the largest p eigenvalues of H(A) are σ1(A)≥⋯≥σp(A), all of the remaining ones being ≤0; so λi(H(A))=σi(A), and likewise λi(H(A+E))=σi(A+E). By (a), H(A+E)=H(A)+H(E) with H(A) and H(E) both Hermitian, so Corollary 17.3.6 applies and gives |σi(A+E)−σi(A)|=|λi(H(A+E))−λi(H(A))|≤‖H(E)‖2=‖E‖2. The route explains the missing hypotheses: Corollary 17.3.6 demands that the perturbation be Hermitian, and H(E) is Hermitian for every E whatsoever. Passing to the dilation manufactures the hypothesis instead of assuming it.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.