Chapter 12 settled when the equation can be
solved: over it
has exactly one solution for every if and only if and have no common
eigenvalue (Theorem 12.10.2).
It then set a question aside. “The quantitative version
— how badly conditioned the equation is when
the spectra are close but disjoint — is a separate
matter, and belongs with perturbation theory in Chapter
20.” Chapter 8, which first wrote the equation as a
linear system, said the same thing more briefly: “its
quantitative form appears in Chapter 20.” This section
pays both debts. It attaches to each pair a number that
says how large a solution can be, computes it exactly
for normal pairs, shows how badly it can behave
otherwise, and proves a bound in the spectral norm for
Hermitian pairs whose spectra sit on opposite sides of a
gap.
The reason to want these bounds now is that Sections
9 and 10 need them. In Section 9 the error in a computed
invariant subspace turns out to satisfy a Sylvester
equation, and in Section 10 so does the error in a
square root or a polar factor. Each of those three
errors is measured by one of the bounds proved here,
applied once.
Throughout, the field is , and , and
. We write for the
Sylvester operator of Definition 12.10.1,
and for its matrix, so that
by Eq. 12.10.1. The
eigenvalues of
are and those of are , with
multiplicity. Every bound names its norm: is the
Frobenius norm and the
spectral norm.
How large
can the solution be?
Start with the smallest case, . The equation
is ,
and when
its solution is . So the size of the answer is governed by
one number, the distance
between the two “spectra”: the closer they are, the
larger can be for
a given .
The natural guess for larger matrices is that the
distance between the two spectra, , plays the same role, so that . We
will see that this guess is right for normal pairs and
can be wrong by any factor otherwise. The number that
really controls the solution is the smallest amount by
which can
stretch a matrix, and it deserves a name.
The separation of and is the least that the
Sylvester operator can shrink a matrix of unit
size.
Definition
20.7.1 (Separation)
Let and . The separation of
and is
In words: we run over every matrix
of the right
shape whose Frobenius norm is exactly , apply the Sylvester
operator, measure the result in the Frobenius norm, and
take the smallest value. By
homogeneity, for every , and is the largest constant with this property.
The order matters: belongs to , and to a different operator on a different
space. The subscript records the norm, as in
.
Well-definedness. A minimum over an
infinite set needs to exist, and the first part of Proposition 20.7.1
below shows that it does, without any appeal to
compactness: it is the smallest singular value of .
Examples.
- . Then with , and . So , the one-dimensional picture
above.
- Equal matrices. For square , : the matrix has and . This
degenerate case matters because it is the extreme of a
shared eigenvalue, and the first property below says
that any shared eigenvalue forces the separation to
.
- Diagonal matrices. If and , then , so multiplies each entry
by its own factor. The smallest stretch is the smallest
factor in modulus, and . The
proof of Theorem 20.7.2 below
writes this out.
Nonexample by minimal change. Drop
the normalization and take instead. The set of values is still
nonempty and bounded below, but its infimum is for every pair, and
when the spectra are disjoint it is never attained:
replacing by
multiplies the
value by , and
can be as small
as we like, while the value is taken at some exactly when
the two spectra meet (Theorem 12.10.2),
as they do in the second example above, where and . It is exactly
the clause that fails, and it is what turns a
meaningless infimum into a measurement of the
operator.
Why the Frobenius norm.
Vectorization lists the entries of in one column, so
: is an isometry
from to . That turns into
a question about the ordinary matrix , which the singular
value decomposition answers. With on both
sides the minimum is also a sensible quantity, but it
has no such formula, and we will not need it: the
spectral-norm results below go through a different
argument.
Warning. The separation is
not the distance between the spectra. It is at
most that distance, by part (c) of the proposition
below, but it can be far smaller. For and the matrix , the spectra
and are at distance
for every , yet for (Example (Separation Far Below the Gap)).
Whenever or
is not normal,
compute the separation; do not read it off the
eigenvalues.
Everything we need about the separation is collected
in one proposition.
Proposition
20.7.1 (Properties of the Separation)
Let , , and .
- (a) The minimum
defining exists, and , the smallest singular value of
.
- (b) if and only if .
- (c) .
- (d) If , then for every the unique solution of
satisfies and equality holds for some .
- (e) For unitary
and
,
.
- (f) If and , then , the smallest singular
value of .
Idea. Part (a) is the isometry
plus the
fact that the smallest stretch of a square matrix is its
smallest singular value. Part (b) is Sylvester’s
theorem, read through (a). Part (c) needs one good test
matrix: an eigenvector of times a left
eigenvector of
is multiplied by under , exactly as in the
case.
Part (d) is the definition read backwards. Part (e)
holds because unitary factors change neither the set of
unit matrices nor the Frobenius norm. Part (f) is the
case of (a),
where is nothing
but .
Proof.
(a) Let and . The
entries of
are those of , so
, and likewise by Eq. 12.10.1. Since
is a
bijection from onto (Definition 8.4.2),
the set whose minimum defines equals . By Lemma 17.9.1 (b) with
equal to the size
of , the head subspace is
all of ,
and the minimum of
over exists and equals .
Restricting to unit vectors changes nothing, since the
quotient is unchanged when is
scaled.
(b) By Theorem 13.9.1, the
number of nonzero singular values of is . Since is the
smallest, it is nonzero exactly when all of them are, that is,
when ,
which says that
is invertible (Theorem 7.5.3 (d)).
By Eq. 12.10.1, is invertible exactly
when is, and by
Theorem 12.10.2
((a) (b)) that
happens exactly when . Combining with (a) proves
(b).
(c) Fix . Choose an
eigenvector of for , and, by Proposition 9.10.5
(b), a left eigenvector of for , so that (Definition 9.10.1).
Scale both to length , and put .
Its entry is
, so By associativity, . Hence . This holds for every pair , so it holds for
the minimum.
(d) By Theorem 12.10.2
the solution
exists and is unique. If there is nothing to prove. Otherwise has
Frobenius norm ,
so by Definition 20.7.1
and by (b), so we may rearrange. For equality,
take with
attaining the minimum, which exists by (a), and put
. Then , because , and the
unique solution is , for which the two
sides are both .
(e) Put and
. For every , because and . By Lemma 11.7.5, and the right side has Frobenius
norm . The map is a bijection of , with
inverse , so it carries the matrices of
Frobenius norm
onto themselves. Hence the two minima are taken over the
same set of values, and they are equal.
(f) With and , the Kronecker
matrix is , of size
. So (a)
gives .
Part (d) is the quantitative form that Chapter 8 and
Chapter 12 promised, and it says more than an
inequality. The number is exactly the largest
factor by which solving the equation can magnify the
data, measured in the Frobenius norm. Since is linear, it is also
the factor for errors: if is replaced by , the
solution moves by , whose
norm is at most , and some achieves this. A
small separation is the precise meaning of “badly
conditioned”. Part (c) says that close spectra always
make the separation small. The rest of the section asks
whether the converse holds, that is, whether
well-separated spectra make it large.
Quick check. Part (f) of Proposition 20.7.1
was read off the Kronecker matrix. Prove it instead
straight from Definition 20.7.1,
without vectorizing: for , unwind what the matrices of Frobenius norm
are.
Solution. Here , so is a column
in with , and . So , which is by
Lemma 17.9.1 (b) with
.
Normal
pairs: the separation is the gap
For normal matrices the naive guess is right, and the
proof is the diagonal example written out.
Theorem
20.7.2 (Separation of Normal Matrices)
Let and be normal, with
eigenvalues and . Then
Consequently, if , the unique solution of
satisfies .
Idea. Unitary diagonalization costs
nothing in the Frobenius norm, by Proposition 20.7.1
(e). Once both matrices are diagonal, the operator
scales the
entry by , so the total shrinkage is a weighted
average of the , and a weighted average is at
least the smallest weight.
Proof. By Corollary 12.4.3
there are unitary and with and . By Proposition 20.7.1
(e), .
Let have , and put
. The
entry of
is , since
multiplying by a diagonal matrix on the left scales rows
and on the right scales columns. Hence Therefore . The reverse inequality is Proposition 20.7.1
(c). This proves the equality, and the bound on is then Proposition 20.7.1
(d).
The theorem answers the question of the opening
completely in the normal case: there, how badly
conditioned the equation is depends on the spectra and
on nothing else. In particular it applies to Hermitian
pairs, which is the case Section 9 needs.
Example
(A Normal Pair)
Let Compute in two ways: from Theorem 20.7.2, and
from the singular values of .
Solution. The matrix is real symmetric,
hence normal, with , so its
eigenvalues are . The matrix is real with ,
hence normal, and , so its eigenvalues are . The four distances
are so Theorem 20.7.2 gives
.
For the second computation, , and
by Definition 8.4.1,
in
blocks, Since
is real, , so the singular values of are the nonnegative
square roots of the eigenvalues of (Definition 13.9.1).
Since is real
symmetric, block multiplication (Theorem 8.1.1)
gives The eigenvalues of are and (Theorem 9.10.1), so
the singular values of are . The smallest is , in agreement with
Proposition 20.7.1
(a).
Nonnormal
pairs: the separation can collapse
For a nonnormal pair the inequality of Proposition 20.7.1
(c) can be strict, and by as large a factor as we
please. The smallest example uses a matrix , so that Proposition 20.7.1
(f) computes the separation.
Example
(Separation Far Below the Gap)
For a real number , let Compute and compare it with the distance between
the spectra. Then, for , solve with and compare the size of the solution
with the guess .
Solution. The spectra are
(triangular, Theorem 9.7.4) and
,
at distance for
every . By Proposition 20.7.1
(f) with ,
, the square root of the smaller
eigenvalue of Its characteristic polynomial is . Both roots are positive and
their product is ,
so the smaller is the reciprocal of the larger, . Solving the quadratic, as expanding the square confirms. Hence where the second form multiplies top and
bottom by . The second form is less than for , because .
The spectra stay at distance , and the separation
tends to as .
For we
have , whose square root is , so The equation is
for the column , so , since . Its
length is . The guess from the
eigenvalues was , wrong
by a factor of almost . The true bound from Proposition 20.7.1
(d) is almost attained, and it is attained when is a unit left
singular vector of for .
The example has a second reading. The eigenvalue
of is far from , yet a perturbation of
of size in the spectral norm makes an eigenvalue, because
that is how far
is from the singular matrices (Corollary 17.9.7).
Exercise C1 below shows that, for every pair, no
perturbation of spectral norm less than can create a common eigenvalue, and that
when is one of exactly
that size can. For a nonnormal pair, the distance
between the spectra measures the wrong thing, and the
separation measures the right one.
A
one-sided bound in the spectral norm
Section 9 will measure the angle between two
invariant subspaces, and the largest such angle is a
spectral norm, not a Frobenius norm. For Hermitian
pairs, Theorem 20.7.2
already gives . The spectral-norm
analogue with the same constant is
false in general: Exercise C2 below
exhibits real diagonal and whose spectra
interlace at distance , yet . What rescues the spectral norm is
a stronger hypothesis on where the spectra lie: all of
on one
side of a gap and all of on the
other.
Theorem
20.7.3 (One-Sided Sylvester Bound)
Let and be Hermitian, and let be real
numbers with Then for every the equation has
exactly one solution, and it satisfies
Idea. The singular-pair
trick. A single pair of vectors sees the whole
spectral norm of : by the singular value
decomposition there are unit vectors with
and , where . Sandwich the equation between
them. The left side becomes , a real number at least
because of the two one-sided hypotheses. The right side
becomes ,
which is at most in modulus.
The one-sided hypotheses are used exactly once, to make
both quadratic forms pull in the same direction.
Proof. Existence and
uniqueness. Let
with unit eigenvector . Then ,
because by Definition 13.1.1 and
Definition 13.5.1.
Likewise every satisfies . So , and Theorem 12.10.2
gives exactly one solution .
The spectral norm. Put , which
equals
by Theorem 16.3.3 (c). If there is nothing to
prove. Otherwise
has rank at least , and Theorem 13.9.1 with Eq. 13.9.3 (for ) gives unit vectors
and with
Taking adjoints in the second, . Multiply by on the left
and on the
right: Since and is a unit
vector, . Since , likewise . Hence is
real and On the other hand, by the Cauchy–Schwarz
inequality (Theorem 11.1.5) and
Theorem 16.3.2 (a), Combining, , and dividing by
gives the first bound.
The Frobenius norm. Hermitian
matrices are normal. Every and
every , as shown above, so for all . By Theorem 20.7.2, , and Proposition 20.7.1
(d) gives . This proves the
theorem.
The trick deserves its name because it is portable.
Whenever a matrix satisfies a linear
equation and one wants , take a top
singular pair of
itself and test the equation against it. The spectral
norm is then attained on the test, and the rest is a
pair of scalar inequalities. Notice what was
not used: the size of the gap between
individual eigenvalues. Only the two half-lines and
matter, which is why the bound survives when and have many eigenvalues
each.
The form of the theorem used most often has a plus
sign and two positive definite matrices. It is a direct
translation.
Corollary
20.7.4 (Sylvester Bound for Positive
Matrices)
Let and be Hermitian with and
, where .
Then for every the equation has exactly one solution, and it satisfies
Proof. The equation reads . The
matrix is
Hermitian, and , so .
Since , Theorem 20.7.3
applies to the pair with the numbers and , and .
The hypothesis is weaker than it looks: or may be negative,
provided their sum is positive. The typical case is
with and ,
the smallest eigenvalues, which are the best constants
because (Lemma 13.5.2). Section
10 applies the corollary twice in this form, once with
and the square roots of
two positive definite matrices and once with them the
positive factors of two polar decompositions.
Example
(The Bound Can Be Attained)
Let , , and . Solve and
compare with Corollary 20.7.4.
Solution. The eigenvalues of are and (as for in Example (A Normal Pair)),
so by Lemma 13.5.2, and
. The
corollary applies with and
predicts .
Here is a column and the equation is ,
with So . For a
column, the spectral and Frobenius norms are both the
Euclidean length, so ,
while . The bound is an
equality.
The reason is visible: is an eigenvector of
for its smallest
eigenvalue , so
, and the solution is , of norm
exactly . The data sits where both one-sided
hypotheses are tight.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define for and , and state how it is computed from the
Kronecker matrix .
- (b) True or false:
for
all square .
Justify your answer.
- (c) True or false:
for every . Justify your answer.
- (d) State the bound
on the solution of in terms of the separation, including
its hypothesis.
- (e) In the proof of
Theorem 20.7.3, which
vectors are the equation multiplied by, and where are
the hypotheses and used?
Solution.
(a) ,
the minimum over (Definition 20.7.1).
It equals , the
smallest singular value of (Proposition 20.7.1
(a)).
(b) False. It is
true for normal pairs (Theorem 20.7.2), but
Example (Separation Far Below the Gap)
has spectra at distance and separation when . What is always
true is the inequality of Proposition 20.7.1
(c).
(c) True. For
every , , so the
two minima are taken over the same set of
values.
(d) If , the unique solution satisfies
, and
equality holds for some (Proposition 20.7.1
(d)).
(e) By on the left
and on the
right, where are unit vectors with
and , . The hypotheses give and , which make at least .
B. Practice
Exercise
(B1: A positive Sylvester equation)
Let
- (a) Find the largest
and with and
, and state the bound that Corollary 20.7.4
gives for .
- (b) Solve , column
by column.
- (c) Compute and , and check
the bound. Hence decide whether the bound is attained
here.
Solution.
(a) , so , and
.
By Lemma 13.5.2, for unit , with equality
at an eigenvector, so is the largest constant with ;
likewise .
The corollary gives .
(b) Since is diagonal, column
of is times column of . So column of the equation is
. For : , and works, since and . For : , and works. The solution is unique by Corollary 20.7.4, so
(c) Both matrices
have rank one: with , , and
with . For a
rank-one matrix , the
spectral norm equals the Frobenius norm (Proposition 16.3.4), which
is
by the computation in Proposition 20.7.1
(c). So and . The bound reads , which holds. It is not attained. Each
column of lies
along the eigenvector of
for , but
the second column is paired with rather than
, so the
second column of
is ,
not .
Exercise
(B2: Separations of four pairs)
For each pair, compute and decide whether it equals . Justify your answer.
- (a) , .
- (b) , .
- (c) , .
- (d) , .
Solution.
(a) is real symmetric with
eigenvalues ,
and . So by Proposition 20.7.1
(b), which equals the minimum distance .
(b) Both matrices
are real symmetric, hence normal. The eigenvalues of
are and that of is , so Theorem 20.7.2 gives
. It equals the minimum
distance.
(c) , so is normal, with and
eigenvalues .
is diagonal. The
distances all equal , so by Theorem 20.7.2, equal
to the minimum distance.
(d) This is Example (Separation Far Below the Gap)
with : ,
while the spectra and are at distance
. They are not
equal. The theorem does not apply because is not normal: .
Exercise
(B3: A symmetric Sylvester equation)
Let be Hermitian with , and let
.
- (a) Prove that has
exactly one solution, and that it satisfies .
- (b) Prove that if
is Hermitian,
then so is .
Solution.
(a) Apply Corollary 20.7.4 with
and
.
Since , the equation has exactly one solution,
and .
(b) Take the
adjoint of . Since and , we get , so is also a
solution. By the uniqueness in (a), .
C. Going deeper
Exercise
(C1: The separation is stable, and it measures a
distance)
Let , , , and .
- (a) Prove that and for every .
- (b) Prove that .
- (c) Now let and . Prove that
there is with
such that is an eigenvalue of
.
- (d) Hence, for in Example (Separation Far Below the Gap),
exhibit the size of a perturbation of that makes an eigenvalue, and
explain why the eigenvalue gap is a poor guide to how
close the pair is to having a common eigenvalue.
Hint for (c): use a singular value decomposition
of .
Solution.
(a) Let be the columns of . The columns of are , so by Theorem 16.3.2 (a) For the second, ,
since conjugate transposition does not change the moduli
of the entries. By the first part this is at most . Finally : if is a singular value
decomposition, then is one for , with the same
diagonal, so by Theorem 13.9.2 and Theorem 16.3.3 (c).
(b) Let . By the
triangle inequality (Corollary 11.1.6,
the Frobenius norm being induced by an inner product)
and (a), Taking the minimum over gives . Applying this to the pair with
the perturbations gives the reverse inequality, and together
they are the claim.
(c) By Proposition 20.7.1
(f), . Let be a singular value
decomposition (Theorem 13.9.1), with
last columns of and of . Then , comparing column of . Put . Then with ,
so is an
eigenvalue of . Also by Cauchy–Schwarz, with
equality at , so .
(d) With and , part (c) gives a perturbation of spectral
norm after
which is an
eigenvalue of , so and
share an eigenvalue. The eigenvalues and are at distance , but a perturbation ten
times smaller than that distance destroys the
solvability of the equation. By (b) with , no perturbation
of spectral norm less than can do it, since it
leaves the separation positive. So the separation, not
the eigenvalue gap, is the distance to a shared
eigenvalue here.
Exercise
(C2: Interlaced spectra break the spectral-norm
bound)
Let , , and .
- (a) Show that every
eigenvalue of is
at distance at least from every eigenvalue
of , and explain
why Theorem 20.7.3 does
not apply with .
- (b) Solve .
- (c) Show that .
- (d) Verify directly
that , as Theorem 20.7.2
requires.
Hint for (c): compute , and test on the vector .
Solution.
(a) The
eigenvalues are and , and the four differences are
, all
of modulus at least . The theorem needs
and with , that is, every eigenvalue of above every eigenvalue
of , or, applying
it to ,
every one below. Neither holds, since
interlace. Applied honestly, the best one-sided
constants are and , and fails.
(b) As in the
diagonal example after Definition 20.7.1,
, so :
(c) , so both
singular values of are and (Theorem 16.3.3 (c)). For
, a unit vector, , so Hence .
(d) and , so
, in agreement with Theorem 20.7.2, which
gives . So the Frobenius bound with constant survives
interlacing, while the spectral-norm bound with the same
constant does not.