20.9  The Davis–Kahan Theorem

Weyl’s inequality settled the eigenvalues of a Hermitian matrix: under a Hermitian perturbation E, each of them moves by at most ‖E‖2, whatever the matrix and however its eigenvalues are spaced. Eigenvectors are a different matter, and this section is about them. Section 8 supplied the yardstick, the principal angles between two subspaces, and Section 7 supplied the tool, bounds for the equation AX−XB=Y. The theorem of this section is what happens when the two meet: the perturbation of an invariant subspace satisfies a Sylvester equation, and the bounds of Section 7 then measure it.

Throughout, A and A~=A+E are Hermitian matrices in Mn(C), so E=A~−A is Hermitian too, and 1≤k≤n−1. As everywhere in this chapter, ‖⋅‖2 is the spectral norm and ‖⋅‖F the Frobenius norm, and every bound names the norm it holds in. For a subspace we write col(Q) for the column space of a matrix Q whose columns span it.

20.9.1. Eigenvectors can move a long way

Before any theorem, here is what goes wrong. The example is as small as it can be, and every number in it is exact.

Example (A tiny perturbation that turns the eigenvectors through 45°)

Let 0<η<1 and A=(1+η001−η),E=η(−1111). Compare the eigenvalues and the eigenvectors of A and of A~=A+E, and compute ‖E‖2.

Solution. Adding, A~=(1ηη1). Since A~(11)=(1+η)(11),A~(1−1)=(1−η)(1−1), the eigenvalues of A~ are 1+η and 1−η: exactly those of A. The eigenvectors are another story. For the eigenvalue 1+η, the matrix A has the unit eigenvector e1 and A~ has 12(1,1); the two lines they span meet at the angle π/4, because |⟨e1,12(1,1)⟩|=12=cos⁡π4. The same happens for 1−η, with e2 and 12(1,−1).

The matrix E/η is Hermitian and squares to 2I2, so its eigenvalues are ±2 (it has trace 0), and by Lemma 17.3.5 ‖E‖2=2η. So as η→0+ the perturbation vanishes, the eigenvalues do not move at all, and yet the eigenvectors of A~ stay a full 45∘ away from those of A.

The rotation does not shrink with η. What does shrink with η is the distance 2η between the two eigenvalues of A, and that is the whole story: the two eigenvalues are so close that a perturbation of their own size can mix their eigenvectors freely. An eigenvector bound must therefore divide by a gap, and the natural guess is “angle ≲ perturbation / gap”. Here that ratio is 2η/2η=1/2=sin⁡(π/4), which is exactly the sine of the angle. The theorem below turns the guess into an inequality, and this example will turn out to attain it.

Warning. Well-conditioned eigenvalues do not make well-conditioned eigenvectors. Corollary 17.3.6 guarantees that every eigenvalue of a Hermitian matrix moves by at most ‖E‖2, with no mention of gaps, and it is tempting to expect the same of eigenvectors. Example (A tiny perturbation that turns the eigenvectors through 45°) refutes this: a perturbation of size 2η leaves every eigenvalue fixed and turns every eigenvector through π/4, however small η is. No inequality of the form sin⁡θ≤C‖E‖2, with C depending only on n, can hold.

20.9.2. Two norms, three facts

The proofs of this section and the next shuffle unitary factors and matrices with orthonormal columns in and out of norms, sometimes the spectral one and sometimes the Frobenius one. The facts needed are elementary, but they are needed so often that they are worth collecting once. Part (c) is mostly quoted: its norm identities for a matrix with orthonormal columns are Lemma 20.8.1 (b) of Section 8, read with U=col(X), and for the Frobenius norm the unitary invariance is Lemma 11.7.5. The rest — (a), (b) and the inequality ‖X∗N‖≤‖N‖ — is proved below, and what the lemma is really for is to have all of it, in both norms, in one place.

Lemma 20.9.1 (Moving Factors in and out of the Two Norms)

Let ‖⋅‖ stand for either ‖⋅‖2 or ‖⋅‖F, the same one throughout each statement.

  • (a) ‖M∗‖=‖M‖ for every M∈Mm×n(C).
  • (b) ‖XMY‖≤‖X‖2‖M‖‖Y‖2 whenever the product is defined.
  • (c) If X∈Mm×k(C) has orthonormal columns, that is X∗X=Ik, then ‖X‖2=1, ‖XM‖=‖M‖ and ‖X∗N‖≤‖N‖ for all M∈Mk×n(C) and N∈Mm×n(C). In particular ‖UMV‖=‖M‖ for unitary U and V.

Proof.

  • (a) For ‖⋅‖F this holds because M∗ has the same entries as M up to position and conjugation. For ‖⋅‖2, let x∈Cn. By Theorem 11.1.5 and Theorem 16.3.2 (a), applied twice, ‖Mx‖2=⟨M∗Mx,x⟩≤‖M∗Mx‖‖x‖≤‖M∗‖2‖M‖2‖x‖2. Taking the maximum over unit x gives ‖M‖22≤‖M∗‖2‖M‖2, hence ‖M‖2≤‖M∗‖2 when M≠0 (and trivially when M=0). Applying this to M∗, whose conjugate transpose is M, gives the reverse inequality.

  • (b) For ‖⋅‖2 this is Theorem 16.3.2 (d) used twice. For ‖⋅‖F, let m1,…,mn be the columns of M. The columns of XM are the Xmj, and the squared Frobenius norm is the sum of the squared lengths of the columns, so ‖XM‖F2=∑j‖Xmj‖2≤‖X‖22∑j‖mj‖2=‖X‖22‖M‖F2. For a factor on the right, (a) and the left-hand case give ‖MY‖F=‖Y∗M∗‖F≤‖Y∗‖2‖M∗‖F=‖Y‖2‖M‖F. Combining the two cases gives (b).

  • (c) For every v∈Ck, ‖Xv‖2=v∗X∗Xv=‖v‖2. Hence ‖X‖2=1, and multiplying by X changes the length of no column, so ‖XM‖F=‖M‖F and ‖XMv‖=‖Mv‖ for every v, which gives ‖XM‖2=‖M‖2. Next, ‖X∗‖2=‖X‖2=1 by (a), so ‖X∗N‖≤‖N‖ by (b). Finally, for unitary U and V both U and V∗ have orthonormal columns, so ‖UMV‖=‖MV‖=‖V∗M∗‖=‖M∗‖=‖M‖, using (a) twice.

Part (c) is the one used most. Its inequality ‖X∗N‖≤‖N‖ says that reading N in only some of the coordinates of an orthonormal basis can only lose mass, never gain it.

20.9.3. The perturbation of a subspace is a Sylvester equation

Fix the data. A Hermitian matrix is normal, so by Corollary 12.4.3 there is a unitary Q∈Mn(C) with Q∗AQ diagonal, the eigenvalues appearing in any order we like, and they are real by Theorem 12.2.1. Choose k of them, list them first, and split the columns accordingly: Q=(Q1Q2),Q∗AQ=(Λ100Λ2), with Q1∈Mn×k(C) and Λ1∈Mk(R), Λ2∈Mn−k(R) diagonal. Do the same for A~, producing Q~=(Q~1Q~2), Λ~1 and Λ~2. Reading AQ=Q(Λ1⊕Λ2) column by column, AQ1=Q1Λ1,A~Q~2=Q~2Λ~2, so the columns of Q1 are orthonormal eigenvectors of A, and U=col(Q1) is a k-dimensional subspace invariant under A. Likewise W=col(Q~1) is a k-dimensional subspace invariant under A~. The question is how far apart U and W are, and Section 8 answers “measure the principal angles θ1≤⋯≤θk of Definition 20.8.1”.

Put X:=Q~2∗Q1∈M(n−k)×k(C). It measures the angles, and it satisfies an equation.

The unperturbed subspace, read in the perturbed complement, solves a Sylvester equation whose coefficients are the two spectra and whose right-hand side is the perturbation.

Lemma 20.9.2 (The Subspace Perturbation Equation)

In the notation above,

Λ~2X−XΛ1=Q~2∗EQ1,
(20.9.1)

and the non-zero singular values of X are the non-zero sines sin⁡θi of the principal angles between U=col(Q1) and W=col(Q~1), with multiplicity. In particular ‖X‖F=‖sin⁡Θ(U,W)‖F,‖X‖2=sin⁡θk=‖sin⁡Θ(U,W)‖2, where sin⁡Θ(U,W)=diag(sin⁡θ1,…,sin⁡θk).

Idea. Compute Q~2∗A~Q1 twice. Letting A~ act to the left, on the perturbed eigenvectors, produces Λ~2. Writing A~=A+E and letting A act to the right, on the unperturbed ones, produces Λ1, plus an error term that carries E. The difference of the two computations is the identity.

Proof. Taking conjugate transposes in A~Q~2=Q~2Λ~2, and using A~∗=A~ and Λ~2∗=Λ~2 (a real diagonal matrix), gives Q~2∗A~=Λ~2Q~2∗. Hence Q~2∗A~Q1=Λ~2Q~2∗Q1=Λ~2X. On the other hand A~=A+E and AQ1=Q1Λ1, so Q~2∗A~Q1=Q~2∗Q1Λ1+Q~2∗EQ1=XΛ1+Q~2∗EQ1. Subtracting the two expressions gives Eq. 20.9.1.

For the angles: the columns of the unitary Q~ form an orthonormal basis of Cn (Theorem 11.7.3), so the n−k columns of Q~2 are orthonormal and orthogonal to every column of Q~1. They therefore span a subspace of W⊥ of dimension n−k, which is all of W⊥ because dim⁡W⊥=n−k by Theorem 11.3.2 (c). So Q~2 is a matrix whose columns are an orthonormal basis of W⊥, and Theorem 20.8.4 (a) says that the singular values of Q~2∗Q1=X are the sin⁡θi, as a multiset completed by zeros; zeros change neither a sum of squares nor a maximum of non-negative numbers. For the two norms, I−PW=PW⊥=Q~2Q~2∗ by Lemma 20.8.1 (d) and (a), so (I−PW)Q1=Q~2X, and Lemma 20.9.1 (c) removes the factor Q~2: ‖X‖F=‖(I−PW)Q1‖F,‖X‖2=‖(I−PW)Q1‖2. By Theorem 20.8.4 (b), applied with U and W, these are ‖sin⁡Θ(U,W)‖F and sin⁡θk=‖sin⁡Θ(U,W)‖2. This proves the lemma.

Quick check. Take A=A~=I2, so E=0, with k=1, Q1=e1 and Q~1=12(1,1); both are legitimate choices of unit eigenvector. The subspaces U and W are 45∘ apart, although the matrices are equal. What does Eq. 20.9.1 say here, and why is there no contradiction?

Solution. Here Λ1=(1) and Λ~2=(1), so the equation reads 1⋅X−X⋅1=0, which every 1×1 matrix satisfies. The equation holds, as it must, but it does not determine X, and X=Q~2∗Q1=12(1,−1)⋅e1=12=sin⁡π4 is one of its many solutions. The trouble is that the spectra of Λ~2 and Λ1 overlap. The theorems below assume that they are separated, and then the equation has exactly one solution (Theorem 12.10.2), which is small when the right-hand side is.

20.9.4. The sin⁡Θ theorem in the Frobenius norm

With the identity in hand, the theorem is a matter of dividing by the gap. The gap that matters compares perturbed eigenvalues outside the subspace with unperturbed eigenvalues inside it, because those are the two coefficient matrices of the equation.

Theorem 20.9.3 (The Davis–Kahan sin⁡Θ Theorem)

Let A,A~=A+E∈Mn(C) be Hermitian, let 1≤k≤n−1, and let Q=(Q1Q2) and Q~=(Q~1Q~2) be unitary, with Q1,Q~1∈Mn×k(C), such that Q∗AQ=Λ1⊕Λ2,Q~∗A~Q~=Λ~1⊕Λ~2 are real diagonal. Suppose there is a δ>0 such that |μ−λ|≥δ for every diagonal entry μ of Λ~2 and every diagonal entry λ of Λ1. Then the principal angles Θ=Θ(col(Q1),col(Q~1)) satisfy ‖sin⁡Θ‖F ≤ ‖EQ1‖Fδ ≤ k‖E‖2δ.

Idea. Eq. 20.9.1 is a Sylvester equation whose two coefficient matrices are diagonal, hence normal, and for a normal pair the separation of Section 7 is exactly the distance between the two spectra. The hypothesis says that this distance is at least δ, so Section 7’s bound divides the right-hand side by δ. What is left is Lemma 20.9.2, which reads the size of X as the size of sin⁡Θ.

Proof. Write μ1,…,μn−k for the diagonal entries of Λ~2, λ1,…,λk for those of Λ1, and Y=Q~2∗EQ1, so that Λ~2X−XΛ1=Y by Lemma 20.9.2. A diagonal matrix is normal, and its eigenvalues are its diagonal entries, so Theorem 20.7.2 gives sepF(Λ~2,Λ1)=mini,j|μi−λj| ≥ δ>0. In particular the two spectra are disjoint, so X is the unique solution of that equation (Theorem 12.10.2), and Proposition 20.7.1 (d) applies to it: ‖X‖F ≤ ‖Y‖FsepF(Λ~2,Λ1) ≤ ‖Y‖Fδ.

The columns of Q~2 are orthonormal, so Lemma 20.9.1 (c) gives ‖Y‖F=‖Q~2∗(EQ1)‖F≤‖EQ1‖F. By Lemma 20.9.1 (b), ‖EQ1‖F≤‖E‖2‖Q1‖F, and ‖Q1‖F=k because Q1 has k unit columns. Finally ‖X‖F=‖sin⁡Θ‖F by Lemma 20.9.2. Chaining the three inequalities proves the theorem.

The right-hand side is a Lipschitz bound with constant 1/δ, and it is sharp. In Example (A tiny perturbation that turns the eigenvectors through 45°), take k=1, Q1=e1 with Λ1=(1+η), and Q~2=12(1,−1) with Λ~2=(1−η). Then δ=2η and Ee1=η(−1,1) has length 2η, so the theorem gives sin⁡θ1≤2η2η=12, and the true angle is π/4, whose sine is exactly 1/2. The large rotation there was not a failure of the theorem. It is what the theorem predicts when the gap is no bigger than the perturbation.

Remark. The roles of A and A~ may be exchanged, since A=A~+(−E) and the principal angles between U and W are those between W and U (a matrix and its conjugate transpose have the same singular values). This gives the companion bound ‖sin⁡Θ‖F≤‖EQ~1‖F/δ′, where δ′ separates the diagonal of Λ2 from that of Λ~1. Use whichever one’s data are at hand.

20.9.5. A one-sided version in the spectral norm

The Frobenius theorem controls all k angles at once. Often only the largest angle matters, ‖sin⁡Θ‖2=sin⁡θk, and the Frobenius theorem bounds it too, since ‖sin⁡Θ‖2≤‖sin⁡Θ‖F. But its right-hand side ‖EQ1‖F can be k times ‖EQ1‖2, and for large k that factor is a real loss. When the two spectra are separated by a single point, one entirely above it and the other entirely below, the one-sided bound of Section 7 removes it.

Theorem 20.9.4 (The sin⁡Θ Theorem, One-Sided Case)

In the setting of Theorem 20.9.3, suppose instead that there are a∈R and δ>0 such that either

  • (i) every eigenvalue in Λ1 is ≥a and every eigenvalue in Λ~2 is ≤a−δ, or
  • (ii) every eigenvalue in Λ1 is ≤a and every eigenvalue in Λ~2 is ≥a+δ.

Then ‖sin⁡Θ‖2=sin⁡θk ≤ ‖EQ1‖2δ ≤ ‖E‖2δ.

Proof. Let X=Q~2∗Q1 and Y=Q~2∗EQ1, so that Λ~2X−XΛ1=Y by Lemma 20.9.2. For a real diagonal matrix, Λ⪰αI means that every diagonal entry is at least α (Theorem 13.1.4 (b), applied to Λ−αI).

Case (ii). Here Λ~2⪰(a+δ)I and Λ1⪯aI, with a+δ>a. By Theorem 20.7.3, applied with Λ~2 and Λ1 in the roles of its two Hermitian coefficients, the solution of Λ~2X−XΛ1=Y, which is unique because the two spectra are disjoint, satisfies ‖X‖2≤‖Y‖2/δ.

Case (i). Multiply the equation by −1: (−Λ~2)X−X(−Λ1)=−Y, where now −Λ~2⪰(δ−a)I and −Λ1⪯−aI, and (δ−a)−(−a)=δ>0. So case (ii)’s argument applies and gives ‖X‖2≤‖−Y‖2/δ=‖Y‖2/δ.

In both cases, Lemma 20.9.1 (c) and (b) give ‖Y‖2≤‖EQ1‖2≤‖E‖2‖Q1‖2=‖E‖2, and ‖X‖2=sin⁡θk by Lemma 20.9.2. This proves the theorem.

The typical use is the top of the spectrum: Λ1 holds the k largest eigenvalues of A, and Λ~2 the n−k smallest of A~. Then (i) holds with a=λk(A) and δ=λk(A)−λk+1(A~), provided that number is positive.

Remark. Davis and Kahan proved more. If the eigenvalues in Λ1 lie in an interval [a,b] and every eigenvalue in Λ~2 lies outside (a−δ,b+δ), on either side, then the spectral bound sin⁡θk≤‖EQ1‖2/δ still holds. The proof needs more than the one-sided Sylvester bound, and we do not give it. Nothing in this book depends on it. When the two spectra merely avoid each other by δ, interleaved in any pattern, what we have proved is the Frobenius theorem, and through ‖sin⁡Θ‖2≤‖sin⁡Θ‖F the spectral consequence sin⁡θk≤‖EQ1‖F/δ.

20.9.6. Single eigenvectors

The most common question is about one eigenvector. A simple eigenvalue has a one-dimensional eigenspace, so its unit eigenvector is determined up to a unimodular factor, and the right measure of how far it moves is the angle between the two lines. For unit vectors x and x~ we write θ(x,x~)∈[0,π/2] for that angle, so that cos⁡θ(x,x~)=|⟨x~,x⟩|. This is the single principal angle between span(x) and span(x~), since the 1×1 matrix x∗x~ has the singular value |x∗x~|.

The theorem needs a separation between the perturbed eigenvalues of A~ and the unperturbed one of A. In practice only A is known, and Weyl’s inequality converts a gap in the spectrum of A into the separation the theorem wants.

Corollary 20.9.5 (Perturbation of a Single Eigenvector)

Let A,A~=A+E∈Mn(C) be Hermitian, let λi(A) be a simple eigenvalue of A with unit eigenvector x, and put γ:=minj≠i |λi(A)−λj(A)|>0. If ‖E‖2<γ/2, then λi(A~) is a simple eigenvalue of A~, and every unit eigenvector x~ of A~ for it satisfies sin⁡θ(x,x~) ≤ ‖E‖2γ−‖E‖2 ≤ 2‖E‖2γ.

Idea. Apply the theorem with k=1. The only thing to supply is δ: every eigenvalue λj(A~) with j≠i sits within ‖E‖2 of λj(A) by Weyl, which is at least γ away from λi(A). So the separation is at least γ−‖E‖2, by the triangle inequality. The hypothesis ‖E‖2<γ/2 keeps λi(A~) away from its neighbors too, so that “the” eigenvector makes sense.

Proof. Put ε=‖E‖2. By Corollary 17.3.6, |λj(A~)−λj(A)|≤ε for every j. Hence for j≠i, by the triangle inequality in R (Theorem 0.6.4), |λj(A~)−λi(A)|≥|λj(A)−λi(A)|−|λj(A~)−λj(A)|≥γ−ε, and similarly |λj(A~)−λi(A~)|≥γ−2ε>0. So λi(A~) differs from every other λj(A~), and it is a simple eigenvalue of A~.

By Corollary 12.4.3 there is a unitary matrix whose columns are eigenvectors of A~, with the eigenvalue λi(A~) first. That eigenspace is one-dimensional, so the first column is cx~ with |c|=1, and replacing it by x~ keeps the columns orthonormal eigenvectors. Call the result Q~=(x~Q~2). Then Λ~2 is diagonal with entries λj(A~), j≠i. In the same way build Q=(xQ2) for A, with Λ1=(λi(A)). By the display, the hypothesis of Theorem 20.9.3 holds with k=1 and δ=γ−ε>0, so sin⁡θ(x,x~)=‖sin⁡Θ‖F≤‖Ex‖γ−ε≤εγ−ε, using ‖Ex‖≤‖E‖2‖x‖=ε. Finally ε<γ/2 gives γ−ε>γ/2, so ε/(γ−ε)≤2ε/γ. This proves the corollary.

To first order in ‖E‖2 the bound reads sin⁡θ≲‖E‖2/γ: an eigenvector is as well conditioned as its eigenvalue is isolated. The constant cannot be improved, and Exercise (C2: The constant in the eigenvector bound is sharp) shows it. The factor 2 in the cruder form is the price of the hypothesis ‖E‖2<γ/2, nothing more. In Example (A tiny perturbation that turns the eigenvectors through 45°), γ=2η and ‖E‖2=2η>γ/2, so the corollary does not apply there.

Example (The theorem and the corollary, side by side)

Let A=diag(2,0) and E=34(0110). Find the exact angle between the eigenvectors of A and of A~=A+E for the larger eigenvalue, and compare it with the bounds of Theorem 20.9.3 and Corollary 20.9.5.

Solution. Exact. A~=(23/43/40) has trace 2 and determinant −916, so its eigenvalues are 1±1+9/16=1±54, that is 94 and −14. For 94, the first row of A~−94I is (−14,34), which is orthogonal to (3,1), and the second row (34,−94) is a multiple of the first; so x~=110(3,1). With x=e1, cos⁡θ=310,sin⁡θ=110≈0.316.

The theorem. Take Λ1=(2) and Λ~2=(−14), so δ=94. Since Ee1=(0,34), the bound is 34/94=13≈0.333, within six percent of the truth.

The corollary. The gap is γ=2, and E is 34 times a Hermitian matrix with eigenvalues ±1, so ‖E‖2=34<1=γ/2. The bound is 3/42−3/4=35=0.6, and its cruder form is 2⋅34/2=34.

The theorem is nearly exact because it uses the perturbed eigenvalue −14 itself. The corollary knows only that this eigenvalue lies within 34 of 0, and it must allow for the worst case 34, which would leave a separation of only 54.

20.9.7. Clusters: the subspace is stable when the vectors are not

Example (A tiny perturbation that turns the eigenvectors through 45°) looks like bad news for eigenvectors, and it is, for individual eigenvectors of close eigenvalues. But the theorem was stated for subspaces, and that is its real strength. The subspace spanned by the eigenvectors of a cluster of eigenvalues is governed by the gap between the cluster and the rest of the spectrum. The gaps inside the cluster do not enter.

Example (A stable plane with unstable lines inside it)

Let 0<η<1 and A=(1+η0001−η000−2),E=η(−110110000). Compare what happens to the eigenvectors for 1±η with what happens to the plane they span. Then bound the motion of that plane under any Hermitian perturbation E′ with ‖E′‖2=ε<3−η.

Solution. The upper-left 2×2 block is Example (A tiny perturbation that turns the eigenvectors through 45°). So the eigenvalues of A~=A+E are again 1+η,1−η,−2, and the eigenvectors for 1±η turn through π/4, to 12(1,±1,0). But they turn inside the plane U=span(e1,e2), which is invariant under both matrices. So the plane has not moved at all: both principal angles between U and the new plane W=U are 0.

Theorem 20.9.3 with k=2 sees this. Take Q1=(e1e2), Λ1=diag(1+η,1−η) and Λ~2=(−2). The separation is δ=(1−η)−(−2)=3−η, and ‖EQ1‖F=‖E‖F=2η, so ‖sin⁡Θ‖F≤2η3−η. This is small with η, and it has no 2η in its denominator. (The true value is 0; the theorem does not know that E happens to preserve U.)

For a general Hermitian E′ with ‖E′‖2=ε, Corollary 17.3.6 puts the smallest eigenvalue of A+E′ at most −2+ε, while the eigenvalues of Λ1 are at least 1−η. So case (i) of Theorem 20.9.4 holds with a=1−η and δ=3−η−ε>0, and the plane moves by sin⁡θ2≤ε3−η−ε. The individual eigenvectors are covered by Corollary 20.9.5 only when ε<η, and then only with a bound of order ε/(2η).

This is the practical lesson of the section. When a matrix has a cluster of close eigenvalues, do not ask for the individual eigenvectors of the cluster. They are ill-conditioned and may be meaningless at the precision of the data. Ask for an orthonormal basis of the invariant subspace of the whole cluster, which is as stable as the cluster is isolated. Numerical eigensolvers act on this advice.

20.9.8. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State the subspace perturbation equation Eq. 20.9.1, and say which matrix in it measures the principal angles.
  • (b) In Theorem 20.9.3, which two lists of eigenvalues must be separated by δ? Why not the eigenvalues of A inside and outside the subspace?
  • (c) True or false: “if ‖E‖2 is tiny compared with ‖A‖2, then every unit eigenvector of A+E is close to a unit eigenvector of A”. Justify.
  • (d) Why is ‖sin⁡Θ‖2≤‖sin⁡Θ‖F, and when does Theorem 20.9.4 improve on what the Frobenius theorem gives for ‖sin⁡Θ‖2?
  • (e) Which earlier result turns the bound on the matrix X=Q~2∗Q1 into a bound on angles?

Solution.

  • (a) Λ~2X−XΛ1=Q~2∗EQ1, with X=Q~2∗Q1; by Lemma 20.9.2 the singular values of X are the sines of the principal angles between col(Q1) and col(Q~1), together with zeros.

  • (b) The diagonal of Λ~2, the eigenvalues of the perturbed matrix belonging to the complement, against the diagonal of Λ1, the eigenvalues of the unperturbed matrix belonging to the subspace. These are the two coefficient matrices of the Sylvester equation, and the proof divides by their separation, which Theorem 20.7.2 computes as the smallest of those differences. A gap inside the spectrum of A alone is useful only after Corollary 17.3.6 converts it, as in Corollary 20.9.5.

  • (c) False. In Example (A tiny perturbation that turns the eigenvectors through 45°), ‖E‖2=2η can be as small as we like compared with ‖A‖2=1+η, yet each unit eigenvector of A+E makes the angle π/4 with every unit eigenvector of A, which are the multiples of e1 and e2. What controls eigenvectors is the perturbation relative to the gap, not relative to the matrix.

  • (d) ‖sin⁡Θ‖2=sin⁡θk is one of the numbers whose squares sum to ‖sin⁡Θ‖F2. The Frobenius theorem gives sin⁡θk≤‖EQ1‖F/δ, and ‖EQ1‖F can be as large as k‖EQ1‖2. When the two spectra lie on opposite sides of a gap of width δ, Theorem 20.9.4 replaces it by ‖EQ1‖2, which is never worse and can be k times smaller.

  • (e) Theorem 20.8.4, applied with W=col(Q~1) and the orthonormal basis Q~2 of W⊥.

B. Practice

Exercise (B1: How far does the top eigenvector move?)

Let A=(50002000−1),E=12(010101010), and let x~ be a unit eigenvector of A~=A+E for its largest eigenvalue.

  • (a) Compute ‖E‖2 and the gap γ of λ1(A)=5.
  • (b) Use Corollary 20.9.5 to bound sin⁡θ(e1,x~).
  • (c) Use Theorem 20.9.3, with the separation estimated by Corollary 17.3.6, to obtain a better bound. Hence show that the angle is less than 13∘.
  • (d) Check that 2 is an eigenvalue of A~ and find the other two. Recompute the bound of (c) with the exact separation.

Solution.

  • (a) The matrix M=2E is symmetric with characteristic polynomial t3−2t=t(t2−2), so its eigenvalues are 0,±2 and ‖E‖2=122=22≈0.707 by Lemma 17.3.5. The eigenvalues of A are 5,2,−1, so γ=5−2=3.

  • (b) ‖E‖2≈0.707<1.5=γ/2, so the corollary applies: sin⁡θ≤2/23−2/2≈0.308.

  • (c) By Corollary 17.3.6, λ2(A~)≤2+22 and λ3(A~)≤−1+22, so both lie at distance at least δ=3−22≈2.293 from 5. Apply Theorem 20.9.3 with k=1, Q1=e1, Λ1=(5) and Λ~2=diag(λ2(A~),λ3(A~)). Since Ee1=(0,12,0), sin⁡θ≤‖Ee1‖δ=1/23−2/2≈0.218. The gain over (b) comes from ‖Ee1‖=12 replacing ‖E‖2≈0.707. Since sin⁡13∘≈0.225>0.218 and sin increases on [0,π/2], the angle is less than 13∘.

  • (d) A~−2I=(31/201/201/201/2−3) sends (1,−6,−1) to (3−3, 12−12, −3+3)=0, so 2 is an eigenvalue. The other two have sum trA~−2=4 and product detA~/2, where expanding along the first row gives detA~=5(−2−14)−12(−12)=−11. So they are the roots of t2−4t−112, namely 2±19/2≈5.082,−1.082. The exact separation of {2,2−19/2} from 5 is 3, and the bound becomes 1/23=16≈0.167. (A direct computation of x~ gives sin⁡θ≈0.163.)

Exercise (B2: Which theorem applies?)

In each case A and A~ are Hermitian 4×4 matrices, k=2, Λ1 lists the eigenvalues of A belonging to Q1, Λ~2 lists the eigenvalues of A~ belonging to Q~2, and ‖EQ1‖2=0.2, ‖EQ1‖F=0.25. Determine which of Theorem 20.9.3 and Theorem 20.9.4 apply, and give the best bound on sin⁡θk that they yield. Justify your answer.

  • (a) Λ1=diag(3,2), Λ~2=diag(0.4,−1).
  • (b) Λ1=diag(3,0), Λ~2=diag(1.9,5).
  • (c) Λ1=diag(2,1), Λ~2=diag(2,−1).
  • (d) Λ1=diag(−1,−2), Λ~2=diag(0.5,4).

Solution.

  • (a) Every eigenvalue in Λ1 is ≥2 and both in Λ~2 are ≤0.4=2−1.6. So case (i) of the one-sided theorem holds with a=2, δ=1.6, and sin⁡θ2≤0.2/1.6=0.125. The Frobenius theorem also applies, with the smallest of the four differences, δ=2−0.4=1.6, but gives only sin⁡θ2≤‖sin⁡Θ‖F≤0.25/1.6≈0.156.

  • (b) The value 1.9 lies between 0 and 3, so no point has one list entirely above it and the other entirely below, and the one-sided theorem does not apply. The Frobenius theorem applies with δ=min(1.1,1.9,2,5)=1.1, the four differences being |1.9−3|, |1.9−0|, |5−3| and |5−0|. It gives sin⁡θ2≤‖sin⁡Θ‖F≤0.25/1.1≈0.227.

  • (c) |2−2|=0, so no δ>0 exists and neither theorem applies. The check after Lemma 20.9.2 shows why nothing can be said in general: an eigenvalue of A~ outside the subspace coincides with one of A inside it, and then the equation need not determine X.

  • (d) Every eigenvalue in Λ1 is ≤−1 and both in Λ~2 are ≥0.5=−1+1.5, so case (ii) holds with a=−1 and δ=1.5: sin⁡θ2≤0.2/1.5≈0.133. The Frobenius theorem, with δ=0.5−(−1)=1.5 again, gives 0.25/1.5≈0.167.

Exercise (B3: The same bounds for the projections)

In the setting of Theorem 20.9.3, let U=col(Q1) and W=col(Q~1), with orthogonal projections PU and PW. Prove that ‖PU−PW‖F≤2‖EQ1‖Fδ, and that under the hypotheses of Theorem 20.9.4, ‖PU−PW‖2≤‖EQ1‖2/δ.

Solution. Both subspaces have dimension k, so Theorem 20.8.5 applies: ‖PU−PW‖F=2‖sin⁡Θ‖F and ‖PU−PW‖2=sin⁡θk. By Theorem 20.9.3, 2‖sin⁡Θ‖F≤2‖EQ1‖F/δ, which is the first claim. By Theorem 20.9.4, sin⁡θk≤‖EQ1‖2/δ, which is the second.

C. Going deeper

Exercise (C1: A bound that needs only the perturbed matrix)

Let A~∈Mn(C) be Hermitian with Q~=(Q~1Q~2) and Λ~2 as in the text. Let Z∈Mn×k(C) be any matrix with orthonormal columns, not necessarily eigenvectors of anything, and put M=Z∗A~Z∈Mk(C),R=A~Z−ZM.

  • (a) Prove that if every eigenvalue of the Hermitian matrix M differs from every diagonal entry of Λ~2 by at least δ>0, then the principal angles between col(Z) and col(Q~1) satisfy ‖sin⁡Θ‖F≤‖R‖F/δ.
  • (b) Deduce: let λi(A~) be a simple eigenvalue of A~, let z be a unit vector, μ=z∗A~z and r=A~z−μz. If every eigenvalue of A~ other than λi(A~) lies at distance at least δ from μ, then a unit eigenvector x~ for λi(A~) satisfies sin⁡θ(z,x~)≤‖r‖/δ.

Hint: diagonalize M and compute Q~2∗R in two ways.

Solution.

  • (a) M∗=Z∗A~∗Z=M, so by Corollary 12.4.3 and Theorem 12.2.1, M=VDV∗ with V∈Mk(C) unitary and D real diagonal, holding the eigenvalues of M. Put Z′=ZV, which has orthonormal columns, since Z′∗Z′=V∗V=Ik, and the same column space as Z, since V is invertible. Then RV=A~Z′−ZVD=A~Z′−Z′D. As in the proof of Lemma 20.9.2, Q~2∗A~=Λ~2Q~2∗, so with X′=Q~2∗Z′, Q~2∗RV=Λ~2X′−X′D. Both coefficient matrices are real diagonal, hence normal, and their diagonal entries differ by at least δ, so, as in the proof of Theorem 20.9.3, Theorem 20.7.2 and Proposition 20.7.1 (d) give ‖X′‖F≤‖Q~2∗RV‖F/δ. By Lemma 20.9.1 (c), ‖Q~2∗RV‖F≤‖RV‖F=‖R‖F. Finally, by Theorem 20.8.4 applied as in Lemma 20.9.2, with col(Z′)=col(Z) in place of col(Q1), ‖X′‖F=‖sin⁡Θ‖F. This proves (a).

  • (b) Take k=1 and Z=z. Then M=(μ), R=r, and the only eigenvalue of M is μ. Since λi(A~) is simple, its eigenspace is the line span(x~), so we may choose Q~ with first column x~ and Λ~2 holding the other eigenvalues of A~, as in the proof of Corollary 20.9.5. Part (a) gives sin⁡θ(z,x~)≤‖r‖/δ. This is the eigenvector companion of a residual bound: everything on the right is computable from z and A~ and a gap estimate, with no unperturbed matrix in sight.

Exercise (C2: The constant in the eigenvector bound is sharp)

Let g>0 and e>0, and let A=diag(g,0), E=e(0110).

  • (a) Show that a unit eigenvector x~ of A+E for its larger eigenvalue makes an angle θ∈[0,π/4) with e1 satisfying tan⁡2θ=2e/g.
  • (b) Deduce that sin⁡θ⋅g/e→1 as e→0+.
  • (c) Hence show that for no constant c<1 is it true that sin⁡θ(x,x~)≤c‖E‖2/γ for all sufficiently small Hermitian E, in the setting of Corollary 20.9.5.

Solution.

  • (a) The larger eigenvalue of A~=(gee0) is λ+=h+s, where h=g/2 and s=h2+e2. The first row of A~−λ+I is (g−λ+,e)=(h−s,e), so (e,s−h) spans the eigenline, and s−h>0. The angle with e1 therefore satisfies tan⁡θ=t:=(s−h)/e>0. Using s2=h2+e2, 1−t2=e2−(s−h)2e2=2h(s−h)e2>0, so t<1, that is θ<π/4, and tan⁡2θ=2t1−t2=2(s−h)e⋅e22h(s−h)=eh=2eg.

  • (b) From (a), cos⁡2θ=1/1+tan2⁡2θ=g/g2+4e2, since 2θ∈[0,π/2). Hence sin2⁡θ=1−cos⁡2θ2=g2+4e2−g2g2+4e2=2e2g2+4e2(g2+4e2+g), multiplying above and below by g2+4e2+g. So (gsin⁡θe)2=2g2g2+4e2(g2+4e2+g), which tends to 2g2/(g⋅2g)=1 as e→0+, by continuity of the square root.

  • (c) Here x=e1, γ=g, and ‖E‖2=e, since E/e is Hermitian with eigenvalues ±1. If sin⁡θ≤ce/g held for all small e>0 with some c<1, then sin⁡θ⋅g/e≤c for those e, contradicting (b). So to first order in ‖E‖2, the bound ‖E‖2/(γ−‖E‖2) of Corollary 20.9.5 cannot be improved by any constant factor.

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.