20.11 Condition Numbers of Eigenvalues
The Bauer–Fike theorem of §04 bounds the movement of
every eigenvalue of a diagonalizable matrix at once, by
The field is
20.11.1. Left and right eigenvectors
Chapter 9 defined a left eigenvector as a nonzero
For a simple eigenvalue, that is,
one of algebraic multiplicity
Let
- (a) The right
eigenvectors of
for are exactly the nonzero multiples of , and the left eigenvectors are exactly the nonzero multiples of . - (b)
.
Idea. Split
Proof. If
By Theorem 1.6.5,
extend the independent list
(a) Let
and write with . Then , whose last rows say . Since , the matrix is invertible (Theorem 9.2.1), so and . For the left side, let and write . Then , whose last entries say . Multiplying on the right by gives , so . Every left eigenvector is therefore a multiple of the nonzero row , and in particular every left eigenvector is a multiple of any other. This proves (a).(b) By the computation just made,
with , because . Hence This proves the lemma.
The proof produced a little more than was asked: the
left eigenvector
Warning. Simple is
essential: at a Jordan block, the two eigenvectors are
orthogonal. For
Quick check. Let
Solution.
20.11.2. The derivative of a simple eigenvalue
Now move
Let
- (a) For every
real
with , the matrix has exactly one eigenvalue, counted with algebraic multiplicity, in the open disc . Call it . Thus , and is a simple eigenvalue of . - (b)
as . - (c) The function
is differentiable at , and
In other words,
Idea. The target identity falls out
of one line if we have eigenvectors
① Isolate
② Produce the eigenvectors
③ Check that the limit is a nonzero multiple of
Proof. Let
Step 1: the isolated eigenvalue. Put
Step 2: continuity. Let
Step 3: an eigenvector given by a
formula. Put
Next,
Step 4: the derivative. Multiply the
eigen-equation of Step 3 on the left by
No implicit function theorem was
needed. The usual textbook route to this
formula differentiates
Remark. Since
The formula has a transparent special case. If
Quick check. Let
Solution. The eigenvalue
20.11.3. The condition number of a simple eigenvalue
The derivative
The condition number of an eigenvalue is the largest factor by which a perturbation of the matrix can move that eigenvalue, to first order.
Let
In words: take any right eigenvector and any left
eigenvector for
Examples.
- A
matrix. For the eigenvalue is simple, with , so . This is the degenerate case, and it is the right answer: the eigenvalue of is , which moves exactly as fast as the matrix. - A diagonal matrix with distinct
entries. For
, the Quick check above found , so . Every eigenvalue is perfectly conditioned. - A triangular
. For and the eigenvalue , the Quick check after the lemma found and , with . So . The single off-diagonal entry has made the eigenvalue somewhat more sensitive.
Nonexample by minimal change. Change
the entry
Why this definition. Three choices in it can be checked.
- Both lengths go in the numerator.
This makes
independent of the scaling of and , as just computed. A normalization such as alone would leave one length free. - The norm is the Euclidean one,
because then the bound
above is attained by some , as part (b) of the proposition below shows. So is the exact worst case, not merely an upper bound. The same number is also the worst case over : the bound survives because (Proposition 16.3.4), and the extremal has rank one, so its two norms agree by the same proposition. - The name matches Definition 16.8.1. There,
is the worst factor by which magnifies a relative error in into a relative error in the solution of . Here is the worst factor by which a change in the matrix is magnified into a change in one eigenvalue, to first order.
Warning. A condition number
is a first-order statement, not a bound. It
governs
The first payoff is a list of properties, which
together say what kind of number
Let
- (a)
does not depend on the choice of and , and , with equality if and only if is a multiple of . - (b) For every
, the eigenvalue of Theorem 20.11.2 satisfies . Equality holds for , which has . Hence . - (c) If
is normal, then for every simple eigenvalue of . - (d) If
with invertible and , and is simple, then . - (e)
, where is the principal angle between the lines and (Definition 20.8.1).
Proof.
(a) Independence of the choice was checked after Definition 20.11.1. By Theorem 11.1.5,
, so , with equality if and only if is linearly dependent, that is, since both are nonzero, if and only if is a multiple of .(b) The inequality is the display before Definition 20.11.1, with
given by Theorem 20.11.2 (c). For the equality, put . For every , , so by Cauchy–Schwarz, with equality at . Hence by Definition 16.3.2, and . Moreover The maximum formula restates the inequality and its equality case.(c) Let
with . By Theorem 12.3.3, , and taking conjugate transposes gives . So is also a left eigenvector for , and (a) gives .(d) Write
and . From and , column and row give and , and both vectors are nonzero because is invertible. Also . Now by Theorem 16.3.2 (a). For , Cauchy–Schwarz gives so , after dividing by . Therefore , by (a) and Definition 16.8.1.(e) The vectors
and are orthonormal bases of the two lines, so by Definition 20.8.1 the single principal angle satisfies , where is a matrix. Its only singular value is , the square root of the eigenvalue of (Definition 13.9.1). Hence , which is positive by Lemma 20.11.1 (b), so . This proves the proposition.
Part (e) is the picture to keep. An eigenvalue is well conditioned when its right and left eigenvectors point in nearly the same direction, and ill conditioned when they are nearly perpendicular. For a normal matrix they coincide, by (c). At a Jordan block they are exactly perpendicular, by the warning after the lemma.
Part (d) places the new number beside §04. Bauer–Fike
bounds the movement of every eigenvalue by
20.11.4. A worked example
Upper triangular
Let
- (a) Compute
and . - (b) For
, , , compare with the smallest value of over all diagonalizing . - (c) For the same
matrix and
, compute for the eigenvalue from Theorem 20.11.2, and compare with the exact eigenvalues of for and .
Solution.
(a) Both eigenvalues are simple, since
. For : , so . A left eigenvector solves , where . For a row the product is , so works. Then , and For : is a left eigenvector, because . A right eigenvector is , since . Then , and is given by the same formula. The two condition numbers are equal. They are large exactly when the off-diagonal entry is large compared with the gap between the eigenvalues.(b) Here
. §04 computed for two diagonalizing matrices of this (Example (A large corner, separated eigenvalues)), and the better one, with unit columns, gave . We show that no choice does better. The eigenvectors are the multiples of and of , and the columns of a diagonalizing are eigenvectors (Theorem 9.4.1). So, up to the order of its columns, which does not change , every diagonalizing has the form with , by Lemma 20.11.1 (a). Multiplying by a scalar does not change , so we may take . Let be the singular values of . They are the square roots of the eigenvalues of (Definition 13.9.1), so , giving , and . With , by the inequality for , with equality exactly when , that is, when both columns of are unit vectors. The function is increasing for , so the smallest possible is the root of , namely Indeed , and the two add up to . So the per-eigenvalue constant is smaller than the best Bauer–Fike constant, by a factor that tends to as grows, in agreement with Proposition 20.11.3 (d).(c) With
and from (a), and , so Exactly: has trace and determinant , so its eigenvalues are and the one near is . For and we get , and . The eigenvalue has moved by about , and the first-order prediction is . Differentiating directly gives , as the theorem says.
§04 set this matrix beside Chapter 12’s Example (A perturbation that moves the eigenvalues a thousand times as far),
which perturbed the same corner of
20.11.5. When eigenvalues coalesce
The two computations just compared are the ends of a
single family. Put
So the first-order theory and the Hölder behavior of
§03 are not two separate phenomena. In this family a
large condition number is the sign of a nearby
coalescence. Near such a coalescence, the linear regime
Remark. This completes the thread
that Chapter 10 §03 started when it warned that the
Jordan form is not stable and said that “Chapter 20
returns to this point”. §03 measured the instability, a
movement of
20.11.6. Summary and transfer
The chapter set out to answer four questions about a
perturbed matrix
- Where. Gershgorin’s discs (§01) and the other inclusion regions (§02) locate the eigenvalues without computing any of them.
- How far. The continuity of roots
(§03) is now a theorem of the book, proved by
compactness. It comes with Elsner’s Hölder bound, whose
exponent
cannot be improved, and with a matching version of that bound. Bauer–Fike (§04) replaces the exponent by for diagonalizable matrices, at the price of the factor . - Which goes where. Hoffman–Wielandt (§05) matches the eigenvalues of two normal matrices in the Frobenius norm.
- Hermitian matrices (§06) got sharper tools: residual bounds, a quadratic bound for the Rayleigh quotient, and relative bounds under congruence.
- Eigenvectors and subspaces. The Sylvester equation (§07) and principal angles (§08) together give Davis–Kahan (§09): an invariant subspace moves by at most the perturbation divided by the gap.
- Singular values and polar factors (§10) follow by the dilation and by the Sylvester bounds.
- To first order. This section gave each simple eigenvalue its own derivative and condition number.
Nine moves did the work.
- Dominant coordinate plus the triangle inequality. Look at the row of the eigen-equation where the eigenvector is largest (§01), or at the two largest coordinates (§02). Transfer: to locate an eigenvalue without computing it, read the eigen-equation at the coordinate where the eigenvector peaks. There the eigenvalue cannot hide behind the other terms.
- A determinant bounded two ways. The
product of the distances from
to the eigenvalues of is , and Hadamard’s inequality bounds that determinant by column lengths (§03, Elsner). Transfer: when a product of unknown quantities is a determinant, bound the determinant from above and the product from below, and read off the smallest factor. - Compactness plus uniqueness. Roots are bounded, so a subsequence of root vectors converges. Its limit is a root vector of the limit polynomial, and unique factorization says which one (§03). Transfer: to prove that a solution depends continuously on the data, bound the solutions, extract a convergent subsequence, and let uniqueness of the limiting solution do the rest.
- An integer-valued continuous function is
constant. Deform
to its diagonal, and count the eigenvalues in a region whose boundary no eigenvalue crosses (§03, the counting theorem). Transfer: to count objects that move continuously, move to a case where the count is obvious, along a path that never lets one of them escape. - Factor out the resolvent. Write
, so that the Neumann series makes the second factor invertible whenever (§04). Transfer: to show a perturbed matrix is invertible, factor out the unperturbed one and ask whether what remains is close to . - Birkhoff turns a doubly stochastic weight
into a permutation. The weights
of a unitary matrix form a doubly stochastic matrix, and a linear function on those attains its minimum at a permutation matrix (§05). Transfer: to optimize over matchings, relax to doubly stochastic matrices. A linear objective has its optimum at a vertex, and the vertices are the matchings. - The perturbation of a subspace is a
Sylvester equation. The block that couples the
old invariant subspace to the new complement satisfies
(a piece of ), so the separation of the two spectra is the conditioning (§07, §09). Transfer: to measure how far an invariant subspace moves, write down the coupling block and recognize the equation it solves. - The singular-pair trick. Test a
matrix equation against the top singular pair of the
unknown
. This turns into a scalar that the hypotheses bound directly (§07, used twice in §10). Transfer: to bound the spectral norm of the solution of a linear matrix equation, evaluate the equation at the vectors where that norm is attained. - The adjugate as a polynomial
eigenvector. A column of
is an eigenvector of whenever is an eigenvalue, and its entries are polynomials in and the entries of . So it moves continuously when they do (this section). Transfer: when an object must be chosen continuously and there is no canonical choice, look for a formula that is polynomial in the data. The implicit function theorem then becomes unnecessary.
The chapter also paid promises made in earlier chapters.
| The promise | Made in | Paid by |
|---|---|---|
| “This chapter quotes this theorem, and Chapter 20 proves it” (continuous dependence of roots on coefficients) | Chapter 16 §07 | §03 (Continuity of roots) |
| “Chapter 20 returns to this point” (the Jordan form is not stable) | Chapter 10 §03 | §03, §04, and this section |
| “Chapter 20 develops both and proves it” (Bauer–Fike) | Chapter 12 §11 | §04 (The Bauer–Fike theorem) |
| “Chapter 20 proves the theorem of Bauer and Fike” | Chapter 16 §07 | §04 |
| “the theorem of Bauer and Fike, in Chapter 20” | Chapter 17 §03 | §04 |
| “the bounds that do exist, Weyl’s and Bauer–Fike’s, are Chapters 17 and 20” | Chapter 16 §08 | §04 |
| “Bounds for the eigenvalues of non-Hermitian matrices under perturbation, beginning with Bauer–Fike, are Chapter 20’s” | Chapter 17 §11 | §§03–05 |
| “its quantitative form appears in Chapter 20” (the Sylvester equation) | Chapter 8 §04 | §07 (The Sylvester equation) |
| “belongs with perturbation theory in Chapter 20” (conditioning of the Sylvester equation) | Chapter 12 §10 | §07 |
| “Chapter 20 leans on it for perturbation bounds” (the Hermitian dilation) | Chapter 17 §09 | §10 (Singular values and polar factors) |
Some things the chapter did not do. The matching form
of Elsner’s bound in §03 carries a factor
20.11.7. Exercises
A. Check your understanding
- (a) Define the
condition number
, saying for which it is defined. - (b) State the
formula for the derivative of a simple eigenvalue of
at . - (c) True or false:
for every eigenvalue of every
, a right eigenvector and a left eigenvector satisfy . Justify your answer. - (d) True or false:
if
with , then some eigenvalue of has . Justify your answer. - (e) True or false:
for every simple eigenvalue of . Justify your answer. - (f) The proof of Theorem 20.11.2
needed eigenvectors of
that converge as . Where did they come from?
Solution.
(a) For a simple eigenvalue
of with right eigenvector and left eigenvector ( ), (Definition 20.11.1).(b)
, where is the unique eigenvalue of near (Theorem 20.11.2).(c) False. For
the eigenvectors are the multiples of and of , and , as in the warning after Lemma 20.11.1. The eigenvalue is not simple, and simplicity is the hypothesis of that lemma.(d) False. Let
and . Then because diagonal matrices commute, so , and . But is normal, so both eigenvalues have condition number by Proposition 20.11.3 (c). A large may just reflect a poor choice of .(e) True. The eigenvalue
of is simple, since . From and we get and . So the same and serve, and the formula gives the same number.(f) From the adjugate: a nonzero column of
was fixed, and the same column of is an eigenvector of for by Theorem 7.6.2. Its entries are polynomials in , , and the entries of and , so it converges because does (Corollary 16.7.4). No implicit function theorem was used.
B. Practice
Let
- (a) For each
eigenvalue of
, find a right and a left eigenvector with integer entries, and compute , , and . - (b) Hence decide
which eigenvalue is the most sensitive to first order,
and find
with for which that eigenvalue of has as large as possible.
Solution.
- (a) The matrix is
upper triangular with diagonal
, so these are the eigenvalues, each simple.Eigenvalue
. . For , the equation reads . Take , , , so , with and . Hence .Eigenvalue
. , since . For , the equation reads , . Take , , , so , with and . Hence .Eigenvalue
. For , , so . For , , so . Both have length , and . Hence . - (b) Since
, the eigenvalue is the most sensitive, although the eigenvalue is exactly as close to its nearest neighbor and less sensitive: the gaps alone do not decide. By Proposition 20.11.3 (b), the worst direction is with and . Hence, to first order, a perturbation of size in this direction moves the eigenvalue by about .
Let
- (a) Find the
eigenvalues of
with right and left eigenvectors, and compute both condition numbers. - (b) Use Theorem 20.11.2 to
find
for each eigenvalue of . - (c) Find the
eigenvalues of
exactly. Hence compare the first-order estimate with the exact value at .
Solution.
(a)
. For : , so , and for means , so . Then and . For : , so and , with and .(b)
. For : . For : .(c)
has trace and determinant , so its eigenvalues are , for . Differentiating at gives , as in (b). At , the first-order estimates are and , and the exact values are and . Hence the error of the first-order estimate is about , which is of the order of , as expected of a first-order approximation.
Let
- (a)
is a simple eigenvalue of , and ; - (b)
for every unitary . - (c) Explain why (b)
fails for a general invertible
in place of , using .
Solution.
(a) The characteristic polynomial of
has as roots the conjugates of those of , with the same multiplicities: , because the determinant of the conjugate transpose is the conjugate of the determinant. So is a simple eigenvalue of . If and , then taking conjugate transposes gives and . So for and , the vector is a right eigenvector and a left one. Hence , since .(b)
has the same characteristic polynomial as (Theorem 7.10.3), so is simple for it. From and we get and . Since is unitary, and (Theorem 11.7.3), and . So all three ingredients of Definition 20.11.1 are unchanged.(c) For
, . By Example (The condition numbers of a triangular matrix) (a) with and , its eigenvalue has condition number , whereas because is normal. A nonunitary similarity changes lengths and angles, so it changes the angle between and in Proposition 20.11.3 (e).
C. Going deeper
- (a) Let
have distinct eigenvalues. Prove that is normal if and only if for every eigenvalue . - (b) Show that the
hypothesis of distinct eigenvalues cannot be replaced by
“
for every simple eigenvalue ”: give a nonnormal with a simple eigenvalue, all of whose simple eigenvalues have condition number .
Hint: in (a), what does
Solution.
- (a)
This is Proposition 20.11.3 (c). Let be the distinct eigenvalues, with right eigenvectors . Since , Proposition 20.11.3 (a) says that a left eigenvector for is a multiple of , so itself is one: . Let . Computing in two ways, so , and because . So the vectors form an orthonormal list of vectors in , hence an orthonormal basis of eigenvectors. With the unitary matrix having these columns, , so is normal by Corollary 12.4.3. - (b) Let
. Its eigenvalues are , so is the only simple eigenvalue. Its right and left eigenvectors are both , since and , so . But is not normal: while .
Let
- (a) Prove that
. - (b) Deduce this
again from
, valid for all small , and explain why the two arguments agree.
Hint: in (a), use a diagonalizing
Solution.
(a)
is diagonalizable by Corollary 9.4.2, say . As in the proof of Proposition 20.11.3 (d), and are right and left eigenvectors for , with . So by Theorem 20.11.2, where the middle equality sums the diagonal entries of and the last uses (Theorem 0.9.6 (3)).(b) Let
be the smallest distance between two of the . By Theorem 20.11.2 (b), for every once is small enough, so are distinct eigenvalues of . They are therefore all of its eigenvalues, each simple, and Theorem 9.3.3 gives . The left side is and , so for small . Letting and using (c) of the theorem for each gives the claim. The two arguments agree because both express the same fact: the sum of the eigenvalues is a linear function of the matrix, so its derivative in the direction is , whatever the individual derivatives are.
Let
- (a) Prove that
for some scalar . - (b) Prove that
, the derivative of the characteristic polynomial at . - (c) Deduce a second
proof that
, and the formula
Hint: for (a), use both products in Theorem 7.6.2; for
(b), apply Theorem 16.6.6 to
Solution.
(a) Since
is an eigenvalue, , so Theorem 7.6.2 gives and . The first says every column of lies in , so by Lemma 20.11.1 (a) every column is a multiple of : for some , whose conjugated entries are those multiples. Step 3 of the proof of Theorem 20.11.2 showed that , so . The second identity gives , and since this forces , that is, . So is a left eigenvector, hence for some by Lemma 20.11.1 (a), and .(b) Let
for real , so and . By Theorem 16.6.6, is differentiable at with derivative . On the other hand . Expanding each power by the binomial theorem gives for a polynomial , because the coefficient of in is . So the difference quotient at is . The two derivatives agree: .(c) By (a) and (b),
, since the trace of is . Because is a simple root of , Theorem 6.4.5 (a) gives . Hence , which reproves Lemma 20.11.1 (b) from (a) of that lemma. Moreover , which is the displayed formula. For example, for and , we have and , while , in agreement.