Weyl’s inequality settled the eigenvalues of a
Hermitian matrix: under a Hermitian perturbation , each of them moves by
at most , 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 . 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, and
are Hermitian matrices in , so
is Hermitian too, and . As everywhere in this chapter,
is
the spectral norm and the
Frobenius norm, and every bound names the norm it holds
in. For a subspace we write for the column
space of a matrix whose columns span
it.
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 and Compare the eigenvalues and the eigenvectors
of and of ,
and compute .
Solution. Adding, . Since the eigenvalues of are and :
exactly those of . The eigenvectors are
another story. For the eigenvalue , the matrix
has the unit
eigenvector and has ;
the two lines they span meet at the angle , because . The
same happens for , with and .
The matrix is Hermitian and
squares to ,
so its eigenvalues are (it has trace
), and by Lemma 17.3.5 So as the perturbation vanishes, the
eigenvalues do not move at all, and yet the eigenvectors
of
stay a full away from those
of .
The rotation does not shrink with . What does shrink
with is the
distance
between the two eigenvalues of , 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 , 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 , 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 leaves every
eigenvalue fixed and turns every eigenvector through
, however
small is. No
inequality of the form , with depending only on , can hold.
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 , and for the Frobenius norm the
unitary invariance is Lemma 11.7.5. The
rest — (a), (b), and the inequality — is proved below, and what the lemma
is really for is to have all of it, in both norms, in
one place.
Proof.
(a) For this holds
because has
the same entries as up to position and
conjugation. For , let . By Theorem 11.1.5 and
Theorem 16.3.2 (a), applied
twice, Taking the maximum over unit gives , hence when (and trivially
when ).
Applying this to , whose conjugate
transpose is ,
gives the reverse inequality.
(b) For this is Theorem 16.3.2 (d) used
twice. For , let be the columns of . The columns of are the , and the
squared Frobenius norm is the sum of the squared lengths
of the columns, so For a factor on the right, (a) and the
left-hand case give . Combining the two
cases gives (b).
(c) For every
,
. Hence , and
multiplying by
changes the length of no column, so and for every , which gives
. Next, by (a), so by (b). Finally, for unitary and both and have orthonormal
columns, so , using (a) twice.
Part (c) is the one used most. Its inequality says that reading in only some of the
coordinates of an orthonormal basis can only lose mass,
never gain it.
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 with diagonal, the
eigenvalues appearing in any order we like, and they are
real by Theorem 12.2.1.
Choose of them,
list them first, and split the columns accordingly:
with and ,
diagonal. Do the same for , producing
, ,
and .
Reading column by column, so the columns of are orthonormal
eigenvectors of ,
and
is a -dimensional
subspace invariant under . Likewise is a -dimensional subspace
invariant under . The
question is how far apart and are, and Section 8
answers “measure the principal angles of Definition 20.8.1”.
Put 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,
(20.9.1)
and the nonzero singular values of are the nonzero sines
of the
principal angles between and , with multiplicity. In
particular where .
Idea. Compute
twice. Letting act to the
left, on the perturbed eigenvectors, produces .
Writing and letting act to the right, on
the unperturbed ones, produces , plus an error
term that carries . The difference of the
two computations is the identity.
Proof. Taking conjugate transposes
in , and
using and (a real diagonal
matrix), gives .
Hence On the other hand
and , so Subtracting the two expressions gives Eq. 20.9.1.
For the angles: the columns of the unitary form an
orthonormal basis of (Theorem 11.7.3), so
the columns
of
are orthonormal and orthogonal to every column of . They
therefore span a subspace of of dimension
, which is all
of
because by Theorem 11.3.2 (c).
So
is a matrix whose columns are an orthonormal basis of
, and Theorem 20.8.4 (a)
says that the singular values of are the , as a
multiset completed by zeros; zeros change neither a sum
of squares nor a maximum of nonnegative numbers. For the
two norms, by Lemma 20.8.1 (d) and
(a), so , and Lemma 20.9.1 (c)
removes the factor : By Theorem 20.8.4 (b),
applied with and
, these are
and . This proves the
lemma.
Quick check. Take , so , with , , and ; both are legitimate
choices of unit eigenvector. The subspaces and are apart, although
the matrices are equal. What does Eq. 20.9.1 say here,
and why is there no contradiction?
Solution. Here and
, so the equation reads , which every matrix
satisfies. The equation holds, as it must, but it does
not determine ,
and is one of its many
solutions. The trouble is that the spectra of
and
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.
The 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
Theorem)
Let be Hermitian, let , and let
and be unitary, with , such that are real diagonal. Suppose there is a such that
for every diagonal
entry of
and every diagonal entry of . Then the
principal angles
satisfy
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 as the size of .
Proof. Write
for the diagonal entries of ,
for those of , and , so that by Lemma 20.9.2. A
diagonal matrix is normal, and its eigenvalues are its
diagonal entries, so Theorem 20.7.2 gives
In particular the two spectra are disjoint, so
is the
unique solution of that equation (Theorem 12.10.2),
and Proposition 20.7.1
(d) applies to it:
The columns of are
orthonormal, so Lemma 20.9.1 (c)
gives . By Lemma 20.9.1 (b),
, and
because has
unit columns.
Finally by Lemma 20.9.2.
Chaining the three inequalities proves the theorem.
The right-hand side is a Lipschitz bound with
constant ,
and it is sharp. In Example (A tiny perturbation that turns the eigenvectors through 45°),
take , with
, and with . Then and has length , so the
theorem gives and the true angle is , whose sine is
exactly .
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.
A
one-sided version in the spectral norm
The Frobenius theorem controls all angles at once. Often
only the largest angle matters, , and the Frobenius theorem bounds
it too, since . But its right-hand side
can
be times
,
and for large
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 Theorem,
One-Sided Case)
In the setting of Theorem 20.9.3,
suppose instead that there are and such that
either
- (i) every eigenvalue
in is
and every
eigenvalue in is
,
or
- (ii) every
eigenvalue in is and every
eigenvalue in is
.
Then
Proof. Let and , so that by Lemma 20.9.2. For a
real diagonal matrix,
means that every diagonal entry is at least (Theorem 13.1.4 (b),
applied to ).
Case (ii). Here and ,
with . By Theorem 20.7.3,
applied with
and in
the roles of its two Hermitian coefficients, the
solution of , which is unique because the
two spectra are disjoint, satisfies .
Case (i). Multiply the equation by : , where now and ,
and . So case (ii)’s argument applies
and gives .
In both cases, Lemma 20.9.1 (c) and
(b) give , and by Lemma 20.9.2. This
proves the theorem.
The typical use is the top of the spectrum: holds the
largest
eigenvalues of ,
and
the smallest
of .
Then (i) holds with and , provided that
number is positive.
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
and we
write for that
angle, so that .
This is the single principal angle between and ,
since the matrix
has the singular value .
The theorem needs a separation between the perturbed
eigenvalues of and the
unperturbed one of . In practice only
is known, and
Weyl’s inequality converts a gap in the spectrum of
into the
separation the theorem wants.
Corollary
20.9.5 (Perturbation of a Single
Eigenvector)
Let be Hermitian, let be a
simple eigenvalue of with unit eigenvector
, and put
If , then
is a simple eigenvalue of , and every
unit eigenvector of
for
it satisfies
Idea. Apply the theorem with . The only thing to
supply is :
every eigenvalue
with sits
within
of by
Weyl, which is at least away from . So the
separation is at least , by
the triangle inequality. The hypothesis
keeps
away from its neighbors too, so that “the” eigenvector
makes sense.
Proof. Put . By Corollary 17.3.6,
for every
. Hence for , by the triangle
inequality in
(Theorem 0.6.4), and similarly . So
differs from every other ,
and it is a simple eigenvalue of .
By Corollary 12.4.3
there is a unitary matrix whose columns are eigenvectors
of ,
with the eigenvalue
first. That eigenspace is one-dimensional, so the first
column is
with , and replacing it by
keeps the columns orthonormal eigenvectors. Call the
result . Then is
diagonal with entries ,
. In the
same way build for , with . By the display, the hypothesis
of Theorem 20.9.3 holds
with and
, so using .
Finally gives , so . This proves the
corollary.
To first order in the bound
reads : 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 in the cruder form is
the price of the hypothesis , nothing more. In Example (A tiny perturbation that turns the eigenvectors through 45°),
and
, so the corollary does not apply
there.
Example
(The theorem and the corollary, side by side)
Let and . Find the exact angle
between the eigenvectors of and of
for the larger eigenvalue, and compare it with the
bounds of Theorem 20.9.3 and Corollary 20.9.5.
Solution. Exact. has trace and determinant , so its
eigenvalues are , that is and . For , the first row
of is ,
which is orthogonal to , and the second row is
a multiple of the first; so . With ,
The theorem. Take and
, so . Since
, the bound is , within six percent of the
truth.
The corollary. The gap is , and is times a
Hermitian matrix with eigenvalues , so . The bound is , and its cruder form is .
The theorem is nearly exact because it uses the
perturbed eigenvalue itself. The
corollary knows only that this eigenvalue lies within
of , and it must allow for
the worst case , which would
leave a separation of only .
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 and Compare what happens to the eigenvectors for
with
what happens to the plane they span. Then bound the
motion of that plane under any
Hermitian perturbation with .
Solution. The upper-left block is Example (A tiny perturbation that turns the eigenvectors through 45°).
So the eigenvalues of
are again , and the eigenvectors for turn through
, to . But they turn inside the
plane , which is invariant under both
matrices. So the plane has not moved at all: both
principal angles between and the new plane are .
Theorem 20.9.3 with
sees this.
Take ,
, and . The separation is , and , so This is small with , and it has no in its denominator.
(The true value is ; the theorem does not
know that
happens to preserve .)
For a general Hermitian with , Corollary 17.3.6 puts
the smallest eigenvalue of at most
,
while the eigenvalues of are at least
. So case
(i) of Theorem 20.9.4 holds
with
and , and the plane moves by
The individual eigenvectors are covered by Corollary 20.9.5 only
when , and then only with a bound of order .
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.
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
inside and outside the subspace?
- (c) True or false:
“if is
tiny compared with , then every
unit eigenvector of is close to a unit eigenvector of ”. Justify.
- (d) Why is , and when does Theorem 20.9.4
improve on what the Frobenius theorem gives for ?
- (e) Which earlier
result turns the bound on the matrix into a bound on
angles?
Solution.
(a) , with
; by Lemma 20.9.2 the
singular values of are the sines of the
principal angles between and ,
together with zeros.
(b) The diagonal
of ,
the eigenvalues of the perturbed matrix
belonging to the complement, against the diagonal of
, 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 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°),
can be as small as we like
compared with , yet each unit eigenvector of makes the angle
with every
unit eigenvector of , which are the
multiples of and . What controls
eigenvectors is the perturbation relative to the gap,
not relative to the matrix.
(d) is one of the numbers whose
squares sum to .
The Frobenius theorem gives , and can be as
large as .
When the two spectra lie on opposite sides of a gap of
width , Theorem 20.9.4
replaces it by , which is
never worse and can be times
smaller.
(e) Theorem 20.8.4,
applied with and the orthonormal
basis of .
B. Practice
Exercise
(B1: How far does the top eigenvector move?)
Let and let be a
unit eigenvector of
for its largest eigenvalue.
- (a) Compute and the gap
of .
- (b) Use Corollary 20.9.5 to
bound .
- (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 .
- (d) Check that is an eigenvalue of
and
find the other two. Recompute the bound of (c) with the
exact separation.
Solution.
(a) The matrix
is
symmetric with characteristic polynomial , so
its eigenvalues are and by Lemma 17.3.5. The
eigenvalues of
are , so
.
(b) , so the corollary applies:
(c) By Corollary 17.3.6,
and , so both lie at distance at
least from . Apply Theorem 20.9.3 with
, , , and
. Since , The gain over (b) comes from replacing . Since and increases on , the angle is
less than .
(d) sends to , so is an eigenvalue. The
other two have sum
and product ,
where expanding along the first row gives . So they
are the roots of , namely . The exact separation of
from is , and the bound becomes
. (A direct computation of
gives .)
Exercise
(B2: Which theorem applies?)
In each case
and
are Hermitian matrices, , lists the
eigenvalues of
belonging to ,
lists the eigenvalues of belonging
to , and
, .
Determine which of Theorem 20.9.3 and Theorem 20.9.4 apply,
and give the best bound on that they
yield. Justify your answer.
- (a) ,
.
- (b) ,
.
- (c) ,
.
- (d) , .
Solution.
(a) Every
eigenvalue in is and both in
are . So case (i) of the one-sided theorem holds
with , , and . The Frobenius theorem also applies, with
the smallest of the four differences, ,
but gives only .
(b) The value
lies
between and , 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 , the four
differences being , , , and
.
It gives .
(c) ,
so no
exists and neither theorem applies. The
check after Lemma 20.9.2 shows
why nothing can be said in general: an eigenvalue of
outside the subspace coincides with one of inside it, and then
the equation need not determine .
(d) Every
eigenvalue in is and both in
are , so case (ii) holds with and : . The Frobenius theorem, with
again, gives .
Exercise
(B3: The same bounds for the projections)
In the setting of Theorem 20.9.3, let
and
, with orthogonal
projections and
. Prove that
and that under the hypotheses of Theorem 20.9.4, .
Solution. Both subspaces have
dimension , so Theorem 20.8.5
applies: and . By Theorem 20.9.3, , which is the
first claim. By Theorem 20.9.4, , which is the
second.
C. Going deeper
Exercise
(C1: A bound that needs only the perturbed
matrix)
Let be Hermitian with and as
in the text. Let be any matrix
with orthonormal columns, not necessarily eigenvectors
of anything, and put
- (a) Prove that if
every eigenvalue of the Hermitian matrix differs from every
diagonal entry of by
at least , then the principal angles between and
satisfy .
- (b) Deduce: let
be a simple eigenvalue of , let be a unit
vector, , and . If every eigenvalue of other than
lies at distance at least from , then a unit
eigenvector for
satisfies .
Hint: diagonalize and compute in
two ways.
Solution.
(a) , so by Corollary 12.4.3
and Theorem 12.2.1,
with unitary and real diagonal, holding
the eigenvalues of . Put , which has
orthonormal columns, since , and the same column space as , since is invertible. Then
.
As in the proof of Lemma 20.9.2, ,
so with , 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 .
By Lemma 20.9.1 (c),
. Finally, by Theorem 20.8.4
applied as in Lemma 20.9.2, with
in place of , . This proves (a).
(b) Take and . Then , , and the
only eigenvalue of is . Since
is simple, its eigenspace is the line ,
so we may choose with first
column and
holding the other eigenvalues of , as in the
proof of Corollary 20.9.5.
Part (a) gives . This is the eigenvector
companion of a residual bound: everything on the right
is computable from and and a gap
estimate, with no unperturbed matrix in sight.
Exercise
(C2: The constant in the eigenvector bound is
sharp)
Let and
, and let
,
.
- (a) Show that a unit
eigenvector of
for its
larger eigenvalue makes an angle
with
satisfying .
- (b) Deduce that
as .
- (c) Hence show that
for no constant is it true that
for all sufficiently small Hermitian , in the setting of Corollary 20.9.5.
Solution.
(a) The larger
eigenvalue of is , where
and . The
first row of is , so spans the
eigenline, and . The angle with therefore
satisfies . Using , so , that is , and
(b) From (a),
, since
. Hence multiplying above and below by . So
which tends to as
, by
continuity of the square root.
(c) Here ,
, and
,
since is
Hermitian with eigenvalues . If
held for all small with some , then for those , contradicting (b). So
to first order in , the bound
of Corollary 20.9.5
cannot be improved by any constant factor.