Sections 4 and 5 both consist of multiplying by over and over: the
power method forms and keeps only
the newest vector, and the QR algorithm, by Theorem 24.5.2, does the
same thing to inside its
first column. In both cases everything computed before
the last step is thrown away, and this section keeps it
instead. The span of the vectors produced by matrix-vector products
is a subspace of dimension up to , and the best
approximations it contains are far better than its last
vector alone. That subspace, the process that builds an
orthonormal basis of it, and the eigenvalue estimates it
yields are the subject here.
Throughout, or , and carries the standard
inner product, linear in the first slot, with and .
The space
that k products span
A large matrix is often not available as a table of
numbers at all.
What is available is a rule for computing from — a sparse
pattern of neighbors on a grid, a graph, a differential
operator discretized. For such a matrix, forming is cheap and
forming , or
even looking at an entry of , is not. So the
honest question is: after multiplications, what
do we possess?
We possess , and hence
every linear combination of them. The power method uses
one of these vectors. That is wasteful, and the waste
has a name only because the span deserves one.
The Krylov space is everything that matrix-vector products
can reach.
Definition
24.6.1 (Krylov Subspace)
Let , let , and let
be an
integer. The -th Krylov
subspace of the pair is
In words: we list the first vectors of the sequence
obtained by repeatedly applying to —
starting at itself,
so that the last one is and not
—
and take their span. It is a subspace for the usual
reason, being a span. The index counts
vectors, not powers; the off-by-one is
a convention, and it is the one that makes with
equality in the typical case.
Examples. Take throughout.
- The identity. For and any ,
every equals
, so for every . One product buys
nothing, and neither do a hundred.
- A companion matrix. Let for , as for the
companion matrix of Definition 10.5.3,
and let . Then for , so for , of dimension
exactly . Here
every product buys a new dimension.
- A diagonal matrix. Let
and . Then , and these four vectors for form a
Vandermonde matrix with distinct nodes, hence are
independent (Theorem 7.8.1). So
for
, and .
- Degenerate cases. ; and for every , which is why is
assumed from here on.
Nonexample by minimal change. Drop
the middle vector of the list. Let satisfy
, , ,
and let . The set is a perfectly
good subspace, and it is not for
any , since those
are , ,
and . The
clause that fails is that the powers be
consecutive, and what it costs is
everything: , which meets
only at .
The Krylov spaces, by contrast, are nested and almost
invariant, which is the next proposition.
Why this definition. Chapter 10
already met the union of all of them. The cyclic
subspace of Definition 10.5.1
is the smallest -invariant subspace
containing
(Proposition 10.5.1),
and Theorem 10.5.2
says that the list stops growing exactly at the degree
of the -annihilator . The
Krylov space is that construction truncated at
, and the
truncation is the whole point: is a
theoretical object, while is
what units of
work actually deliver.
Proposition
24.6.1 (Krylov Spaces: Nesting, Dimension,
Invariance)
Let and with ,
and let be the degree of the
-annihilator of
(Definition 10.5.2).
Then, for every :
- (a) , and and ;
- (b) ;
- (c) if and
only if ,
and in that case is -invariant.
Idea. Everything is Theorem 10.5.2
read one index at a time. That theorem says is a basis of ; so the
first vectors of
our list are independent, and from on they
add nothing.
Proof.
(a) A linear
combination is for , and conversely, which is
the first statement. The inclusion
holds because the spanning list of is part of that of
. And
for , so maps a spanning list
of into , hence maps
into .
(b) By Theorem 10.5.2
(a), the list is a basis
of .
If , the
first entries of
that list are a sublist of a basis, hence independent,
so .
If , then
, because every lies there
(Proposition 10.5.1
(a)); and , since already contains a
basis of it. So and . In both
cases .
(c) If , then (b) gives
, and with
from (a) this forces equality; and the common space is
,
-invariant by Proposition 10.5.1
(b).
If , then
(b) gives , so the two differ. This
proves the proposition.
Warning. The list is a basis of and is useless as
one. By Section 4’s reading of the power method
(Theorem 24.4.1), turns
towards the dominant eigenvector as grows, so the later
vectors of the list are nearly parallel to each other.
Even for and ,
with its modest ratio , the angle between consecutive vectors of
the list falls from degrees to degrees across those
four vectors, and the matrix with those four columns has
-norm condition
number about —
for a
problem with one-digit data. Independent they may be; in
the arithmetic of Definition 24.1.1 the
coordinates of a vector in that basis are computed with
errors magnified by that condition number, which grows
quickly with .
A Krylov method never uses this basis.
It builds an orthonormal one instead, and that is the
next subsection.
Quick check. Let be
invertible with , and let be
a vector that is not an eigenvector of . What is
for each ?
Solution. It is for and for every . The polynomial
kills , so divides
it and has degree at most (Definition 10.5.2).
Degree would mean
, that is , making an eigenvector,
which is excluded; and because .
So , and Proposition 24.6.1 (b)
gives .
Arnoldi:
Gram–Schmidt with a purpose
We want an orthonormal basis of , with the nesting
preserved: for every . Running Theorem 11.2.2 on
the list would do
it, and would inherit exactly the defect the warning
describes, since it needs those vectors first.
The repair is one line long, and it is the idea of
the whole subsection. Do not orthogonalize .
Orthogonalize . The vector
lies
in by Proposition 24.6.1 (a),
and subtracting its components along leaves a vector in orthogonal to
— which is
what the next basis vector must be. The powers of are never formed.
Algorithm. The Arnoldi
process. Given and ,
set . For : If the process stops; this is called a
breakdown, and the theorem below says
it is good news.
Write , let have entries for and zeros
elsewhere, and let be with the extra row
appended at the bottom.
Theorem
24.6.2 (The Arnoldi Process)
Let , let be
nonzero, let , and run the Arnoldi process.
Then the Arnoldi relation
(24.6.1)
holds, the last term being when . Moreover:
- (a) For every , the list is an orthonormal basis of ;
moreover for , and , so the process breaks down at step and at no earlier
step.
- (b) For we have
, and is upper
Hessenberg. For , Eq. 24.6.1 can also be
written .
- (c) A breakdown
means an invariant subspace: if , then ,
and every eigenvalue of is an eigenvalue of
.
Idea. Only one thing has to be
checked, and it is the nesting: if is an orthonormal basis of , then lies in
but
generally not in , and what the step
subtracts is exactly its -component. The
matrix identity is then just the definition of rearranged,
column by column, and the Hessenberg shape is the
statement that needs only
— never — because
.
Proof.
- (a) Induction on
. For , is a unit vector
spanning . Let and suppose is an orthonormal basis of . The subtraction in
the process makes orthogonal to
each
with : for
such , using orthonormality. Also by Proposition 24.6.1 (a),
and each , so .
Claim. .
Proof. Both summands
lie in ,
by Proposition 24.6.1 (a).
Since
, it is enough to place
on
the right. Write , possible because and the are a basis of
it. Applying ,
and for we have . So only the term
leaves .
Now if and only if ,
and by the Claim that happens if and only if .
Suppose first that . Then by Proposition 24.6.1 (b), so
and .
Hence , and is a unit vector in orthogonal to
. An orthogonal list of nonzero
vectors is independent, so is an orthonormal list of vectors in the -dimensional space
, hence a
basis of it.
If instead , then by Proposition 24.6.1 (c), so
and .
This gives (a).
(b), and Eq. 24.6.1. The columns of
are
orthonormal by (a), which is .
Rearranging the definition of , for each , where for the last term is . For the right-hand
side is , since
column of has entries
and zeros below and ; for it is . Collecting the columns
gives Eq. 24.6.1, and the form
is the same identity
with the extra column of and the extra
row of
absorbing the last term. The entries with are zero by
definition, which is exactly upper Hessenberg form.
Finally, multiplying Eq. 24.6.1 on the left by
and using
and ,
- (c) If , then Eq. 24.6.1 reads , so
for every and hence .
If with ,
put , which is nonzero because the
columns of are
independent; then . This proves the theorem.
The cost of
steps is
matrix-vector products plus the orthogonalizations,
which use about
flops at step —
inner products
and subtractions,
about flops each
— so in
total; and all
vectors must be stored. Both grow with , which is why Arnoldi
is restarted in practice. For Hermitian neither grows, and
that is the next theorem.
Lanczos:
the recurrence collapses to three terms
Theorem
24.6.3 (The Lanczos Recurrence)
Let be Hermitian, let
, and run the Arnoldi process. Then
is Hermitian
for every ,
hence tridiagonal, with real diagonal
entries; writing and ,
which is for
and for , we have
and
(24.6.2)
with read as
and as
.
Consequently is the real symmetric tridiagonal matrix
with diagonal and off-diagonal , and each step of the process
needs only and .
Idea. Two facts collide. The matrix
is Hermitian because is, and it is upper
Hessenberg by Theorem 24.6.2. A
Hermitian matrix with zeros below the subdiagonal has
zeros above the superdiagonal too, by conjugating.
Everything else is bookkeeping. The reason is worth
naming separately: lets move to the other slot
for free, and lives one
index further along than does.
Proof. By Theorem 24.6.2 (b), , so
and
is Hermitian;
in particular its diagonal entries are real.
Let .
Since
is self-adjoint, Now , so by Proposition 24.6.1 (a) and
,
while is
orthogonal to by Theorem 24.6.2 (a). Hence
whenever
. Together
with for
, this
leaves only , so is tridiagonal.
Being Hermitian, , which is real and
positive. The displayed recurrence Eq. 24.6.2 is then the
expansion of Theorem 24.6.2 (b) with
only three surviving terms; and has real entries, is
symmetric and is tridiagonal, as claimed. Since the step
needs only , , and , this proves the theorem.
This is Chapter 11’s three-term recurrence,
and for the same reason. Chapter 11 §10 built
the monic orthogonal polynomials for an inner product on
and found
(Theorem 11.10.3)
that , with only three terms; the reason
given there was Proposition 11.10.1,
“multiplication by moves from one slot to
the other for free”. The two statements are the same
statement. Given Hermitian and ,
define on
This is symmetric and bilinear, and on it is
positive definite: vanishes only when ,
which by Definition 10.5.2
means , impossible for a nonzero of degree below . Multiplication by
is symmetric for
it, since is
Hermitian: Now Proposition 24.6.1 (a)
says
is
for some of
degree at most ,
and orthogonality to says for every of degree below . So for the polynomial
is a scalar
multiple of the -th monic orthogonal
polynomial for
,
and Eq. 24.6.2, at those
indices, is the recurrence of Theorem 11.10.3
rewritten in terms of the vectors — read,
as that theorem’s node inner product is read, only in
the range of degrees where the form is positive
definite. The last step lies outside that range: there the monic
polynomial of degree orthogonal to
everything of lower degree is itself,
and . A third appearance of the same three terms
is Chapter 7’s: by Theorem 7.8.3, the
characteristic polynomials of the leading blocks satisfy which is Theorem 11.10.3
with and . The Lanczos coefficients, the orthogonal
polynomials, and the determinants of the tridiagonal
blocks are one object seen three ways.
Example
(A breakdown at step two)
Let and .
Run the Lanczos recurrence of Theorem 24.6.3, and
identify what it finds.
Solution. ,
and . So and Next, , so and The process breaks down at step , so and is -invariant, by Theorem 24.6.2 (a), (c).
Then with roots and . And indeed ,
with simple and
of multiplicity
: the two steps
have produced both eigenvalues exactly. This is Theorem 24.6.2 (c) in
action, and it is also Proposition 24.6.1 (b)
with , since and
neither factor alone kills .
Ritz
values
An invariant subspace would give eigenvalues exactly.
A Krylov space is an almost invariant
subspace — by Eq. 24.6.1 it fails to be
invariant only through the single vector —
so it should give almost-eigenvalues, and it should be
possible to say how almost.
Definition
24.6.2 (Ritz Values and Ritz Vectors)
Let , let have orthonormal columns,
and put . The eigenvalues
of are the
Ritz values of from the subspace
,
and for an eigenvector of with and , the
vector is the corresponding Ritz
vector; the pair is a
Ritz pair.
In words: project the problem onto the subspace,
solve the small problem exactly, and lift the answer
back. The Ritz values depend on the subspace and not on
which orthonormal basis of it we chose: replacing by with unitary replaces by , which has
the same eigenvalues. Note that ,
since has
orthonormal columns.
Theorem
24.6.4 (Ritz Values Interlace, and Their
Residual Is One Number)
Let be Hermitian with eigenvalues , let , and let
be the Ritz values from , that
is, the eigenvalues of .
- (a) for .
- (b) If with and
, then where
is the last coordinate of and , with
read as .
Idea. For (a), the obstacle is that
is a compression, not a
principal submatrix, and Chapter 17’s interlacing is
about principal submatrices. The repair is to complete
to a unitary
matrix: then
is the leading principal submatrix of a matrix
unitarily similar to , and Corollary 17.4.3
applies unchanged. For (b), just apply Eq. 24.6.1 to and watch the
two terms
cancel.
Proof.
(a) Extend to an orthonormal basis of , which is possible
by Theorem 11.2.2
applied to any extension of the list to a basis (Theorem 1.6.5), and
let , which is unitary. Then
is
Hermitian and unitarily similar to , so for every . Its entries are , and for these are
exactly the entries of . So
with , a principal submatrix of obtained by deleting
rows and
the same columns. Now Corollary 17.4.3 gives
which is the assertion, since and .
(b) By Eq. 24.6.1, . Applying
both sides to and using and , Subtracting gives the
displayed identity, and taking norms gives the second
form, since
and .
(For the
right-hand side is , and the Ritz
pair is an exact eigenpair, as Theorem 24.6.2 (c) already
said.) This proves the theorem.
Part (b) is where the chapter’s perturbation theory
pays off, and it pays off for free. The residual is the one quantity Chapter 20
§06 asks for, and here it is available without
forming : it
is the product of the number the process has
just computed and one coordinate of the small
eigenvector . So Theorem 20.6.1
applies verbatim, and says that has an eigenvalue
within of . Better still,
is the Rayleigh
quotient of — because — so Theorem 20.6.2
applies too, and turns the same number into a bound of
size divided by the distance to the
rest of the spectrum. Nothing in this section had to be
proved twice.
Warning. A Ritz value that
happens to equal an eigenvalue is not a converged one,
and for a non-Hermitian there is no
interlacing to fall back on. Take Two Arnoldi steps give ,
, and , hence
the Ritz values and ; Exercise (B2: Two Arnoldi steps)
works the details. The second is an exact eigenvalue of
— and its Ritz
vector
is not an eigenvector of , the residual being
, nowhere near zero. What certifies
convergence is the residual, never the agreement of a
number with a number. Part (a) of Theorem 24.6.4 needs Hermitian; without
that hypothesis there is no interlacing and, by Theorem 20.4.4, a
residual bound carries the factor .
Example
(Ritz values closing in on the extremes)
Let and .
Compute the Lanczos coefficients, the Ritz values for
, and
the residual of the largest Ritz pair at .
Solution. Here and , so . Then and . Continuing in
the same way gives as well,
together with and .
The repetition of is a symmetry,
not an accident. Let be the reversal
permutation matrix, , and put . Then is orthogonal with
, and
, . We
show by induction, simultaneously, that with and that . The
first holds at . Given it at , and , so
this number equals its own negative and . The
Lanczos step then reads , and applying with gives , so . The Ritz
values are the eigenvalues of the leading blocks of
:
| 1 |
|
|
| 2 |
|
; |
| 3 |
,
and |
; ; |
| 4 |
|
exact |
Every row obeys Theorem 24.6.4 (a), with
shifting
the index on the right. The extreme Ritz values close in
on and fast, and the interior
ones lag: at
the outer two are within of and , while the single
interior value is half a unit
from each of and
.
The residual at . The eigenvector of for is, normalized, so Theorem 24.6.4 (b) gives
. By Theorem 20.6.1, has an eigenvalue
within of
; the truth
is , at distance
, so the
certificate costs a factor of about . Suppose we also know
that has no
eigenvalue in the open interval . Then Theorem 20.6.2 (b)
with
improves the upper end to and the lower end is itself by
interlacing. The bracket has
width where
the residual bound gave . That is the
quadratic gain of Chapter 20 §06, obtained here from one
number the process had already produced.
How fast
the extreme Ritz values converge
The example suggests the extremes converge quickly.
Here is why, and how much of it we can prove.
Theorem
24.6.5 (A Rate for the Largest Ritz
Value)
Let be Hermitian with eigenvalues and an orthonormal eigenbasis
. Let be a unit vector
with and , and put Then the largest Ritz value from
satisfies, for , and is
nondecreasing in .
Idea. Three moves. ① The largest
Ritz value is the largest Rayleigh quotient over
the Krylov space, by the Rayleigh principle
transported through . ② Every vector of
the Krylov space is for a
polynomial of degree below , so we may choose and get a bound for
free: whichever
makes large at
and small
at the other eigenvalues gives a good one. ③ Take the
simplest such ,
the -st power
of minus the
midpoint of . That is not the best choice, and
the best one is the subject of the next section.
Proof. Step 1.
.
Indeed by Proposition 17.1.1,
and the map is a bijection from
onto ,
because the columns of are a basis of (Theorem 24.6.2 (a)). Under
it, with , so and the two maxima agree.
Monotonicity in
follows at once from (Proposition 24.6.1 (a)),
and from Proposition 17.1.1
applied on all of — which is also Theorem 24.6.4 (a) at
.
Step 2. Let have and , and
put . Then by Proposition 24.6.1 (a),
and since . The list being
orthonormal, Theorem 11.2.1
gives and because its first coefficient is
nonzero. Subtracting from , the term having vanished from the numerator. Every
factor is at most ;
and the denominator is at least its single term , all terms being
nonnegative. Hence By Step 1, .
Step 3. Take , the midpoint of the interval
holding the unwanted eigenvalues, and ,
of degree . For
we have
, so . And using ; in particular . Therefore since .
Substituting into gives the bound,
and
because . This proves the theorem.
For and
the constants are , , and , so the
bound reads : the values for , against the
true gaps ,
, of Example (Ritz values closing in on the extremes).
The bound is correct and loose, and the looseness is in
Step 3.
It is worth naming what is. Assume for the
rest of this subsection that ,
which the theorem does not require; if instead ,
then and
the bound of Theorem 24.6.5 is already
as strong as this route can make it. Put the size of the gap above measured
against the spread of the rest. Then , so (For , and
.)
So Step 3 buys a factor per
unit of , and a
small gap makes it nearly worthless.
What is not proved here. The
polynomial of Step 3 is not the best one. Minimizing
over the
polynomials of degree at most with is a
question about how small a polynomial can be kept on an
interval while staying large at a point outside it, and
its answer is the Chebyshev polynomial , shifted and
scaled to that interval. The resulting estimate, due to
Kaniel, Paige, and Saad, is The next section defines the Chebyshev
polynomials and proves the two facts this bound rests
on: that stays
within on , and that it grows
geometrically just outside it; the substitution into
is then
immediate, but we do not carry it out here, and
nothing in this section depends on it. The
reason it is worth stating is the shape of the
improvement. For small , grows
roughly like , where Step 3 managed only
.
A small gap costs a square root, not a full factor. That
is the same square root that the next section extracts
for conjugate gradients, and it is the reason Krylov
methods are used at all.
Losing
orthogonality
Everything above is exact arithmetic. In the
floating-point model of Definition 24.1.1, one
feature of the Lanczos recurrence fails, and it fails in
a way that is worth describing honestly rather than
proving badly.
The three-term recurrence never re-examines . In exact arithmetic it does not
need to: Theorem 24.6.3 proves that
is
automatically orthogonal to them. In floating-point
arithmetic the computed vectors satisfy the recurrence
to within a small multiple of , and nothing
removes the small components along the earlier vectors
that rounding introduces. Those components do not stay
small.
The mechanism is specific, and it is not random
drift. The component of the computed along a
Ritz vector grows in inverse
proportion to that Ritz pair’s residual .
So orthogonality is lost first, and most, in exactly the
direction of a Ritz pair that has
converged — the better the
approximation, the faster the basis is corrupted in its
direction. The visible symptom is that the computed
acquires a
second copy of a Ritz value that converged several steps
earlier, and later a third: the spurious duplicates,
which correspond to no extra multiplicity in . An algorithm that
counts eigenvalues by counting Ritz values will count
wrong.
This paragraph is a description of observed
behavior, not a theorem, and this book does not prove
it. The analysis that makes it precise — that
the loss of orthogonality is confined to the converged
directions, and that the computed is the exact
tridiagonal matrix of a larger problem — is due to
Paige, and it is outside the scope of this chapter.
Nothing above depends on it. The standard remedies are
to reorthogonalize each new vector against all the
earlier ones, which restores the guarantee and abandons
the three-term economy, or to reorthogonalize only
against the converged Ritz vectors, which is cheaper and
rests on precisely the analysis we are not giving. Both
are engineering, not theorems, and we label them as
such.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define and
state its dimension in terms of .
- (b) State the
Arnoldi identity of Theorem 24.6.2 (b), naming
the shape of every matrix in it.
- (c) True or false:
for Hermitian ,
the Arnoldi process needs all of to produce . Justify
your answer.
- (d) What does a
breakdown mean, and why is it good news?
- (e) Give the formula
for the residual of a Ritz pair, and say why it costs
nothing to evaluate.
Solution.
(a) , and
with (Proposition 24.6.1).
(b) , where
and have orthonormal columns and
is upper Hessenberg;
equivalently
with upper Hessenberg.
(c) False. By Theorem 24.6.3 the
recurrence has three terms, so only and are needed.
The reason is that is both Hermitian
and upper Hessenberg, hence tridiagonal.
(d) It means
is -invariant (Theorem 24.6.2 (c)),
equivalently .
It is good news because every eigenvalue of is then an exact
eigenvalue of :
the method has finished, not failed.
(e) (Theorem 24.6.4 (b)). Both
factors are already known — from the last
step of the process, from the small
eigenvector — so no multiplication by is needed.
B. Practice
Exercise
(B1: Dimensions)
For each pair , determine
for every .
Justify your answer.
- (a) , .
- (b) , .
- (c) , .
- (d) the matrix with
for and ,
.
Solution. By Proposition 24.6.1 (b) the
answer is always with .
(a) has nonzero
components in both eigenspaces, so no single factor of
kills
it, while the product does: , and the dimensions
are .
(b) , so is an
eigenvector and ,
. The
dimensions are : every further product is
wasted.
(c) and , so
and :
dimensions .
(d) for and , so
and :
dimensions . Here the Krylov spaces grow as long as
they possibly can.
Exercise
(B2: Two Arnoldi steps)
Let Carry out two Arnoldi steps. Write down , , and
, verify Eq. 24.6.1, and compute
the two Ritz values with their residuals. Hence say
which, if either, is a converged eigenvalue
estimate.
Solution.
and , so and
Next , so and , and with . Hence Check Eq. 24.6.1 column by
column: , and , both
correct.
is lower
triangular as well as upper Hessenberg, so its
eigenvalues are and . For :
solving gives , so , , and the residual
is . For : , so and the
residual is .
Neither is converged. The eigenvalues of are , so the Ritz
value is exactly
an eigenvalue — yet its residual is , not , and its Ritz vector
is not an
eigenvector: the eigenvectors for are the multiples of
, which is
not in . The agreement is a
coincidence of two numbers, and the residual is what
says so.
Exercise
(B3: Lanczos on a tridiagonal matrix)
Let be symmetric tridiagonal with every
subdiagonal entry nonzero, and let .
Prove that the Lanczos process produces for every , and hence that up to signs.
What does this say about the cost of Lanczos on a matrix
that is already tridiagonal?
Solution. We show by induction on
that for . At the sum is and the
coefficient is the empty product . Suppose it holds at
. Since is tridiagonal, , so applying to lands in ;
and the only term contributing to is ,
whose -coefficient
is , both factors being nonzero. This proves the
induction.
Consequently the change-of-basis matrix from to is triangular with nonzero
diagonal, so for .
By Theorem 24.6.2 (a), is a unit
vector in
orthogonal to , hence a
unit multiple of ; the sign is
fixed by . Therefore ,
and since with ,
with
— a
similarity, so the two have the same eigenvalues.
The cost lesson is that Lanczos does no work at all
here beyond rediscovering the matrix: on a tridiagonal
matrix with it reproduces and finds nothing
early. The method earns its keep when is large and only the
first few extreme eigenvalues are wanted, so that .
C. Going deeper
Exercise
(C1: Ritz values from the other end)
Let be Hermitian and let be the Ritz values from , .
- (a) Prove that is
nonincreasing in
and that .
- (b) Deduce a bound
for from Theorem 24.6.5, with no
new argument.
- (c) Show that at
the Ritz
values are of the
eigenvalues of ,
and say which.
Solution.
(a) The argument
of Step 1 in the proof of Theorem 24.6.5 applies
verbatim with minima in place of maxima, using the
second half of Proposition 17.1.1:
. A minimum over a larger set is
no larger, and , so the sequence is
nonincreasing; and the minimum over all of is , so it is
bounded below by that. (Alternatively, both statements
are Theorem 24.6.4 (a) at
.)
(b) Apply Theorem 24.6.5 to . Its eigenvalues are
, with
the same orthonormal eigenbasis in reversed order. Its
Krylov spaces from are the same
subspaces, because and scaling the vectors
of a list does not change its span. And , so by
Step 1 of the proof the largest Ritz value of from is . The
theorem gives with , provided and .
(c) At the process breaks
down, so is
-invariant and
every Ritz value is an eigenvalue of by Theorem 24.6.2 (c). Which
ones: writing in an orthonormal
eigenbasis and grouping the eigenvectors by eigenvalue,
, so is contained in the
span of those with . The Ritz
values are therefore the distinct eigenvalues of for which has a nonzero
component in , each
occurring once; and is their number, as Example (A breakdown at step two)
illustrates with for a matrix with eigenvalues .
Exercise
(C2: Shift invariance, and what it costs)
Let , , and let with
.
- (a) Prove that for every .
- (b) Deduce that the
Arnoldi vectors are the same
for and for
, up
to a scalar of modulus one, and that the Ritz values
transform by .
- (c) Contrast this
with Section 5: explain in two sentences why shifting
accelerates the QR algorithm but does
not accelerate a Krylov method, and
what one must do instead to get the effect.
Solution.
(a) Put . By
Proposition 24.6.1 (a),
and where has the same degree,
. The map
is a bijection of onto itself, with inverse . So the two sets of vectors
coincide.
(b) The Arnoldi
vectors are determined by the flag alone, up to a scalar of modulus one:
is a
unit vector in orthogonal to (Theorem 24.6.2 (a)), and
the unit vectors of are exactly the
modulus-one multiples of one of them. By (a) the flag is
the same for as
for , so the run
on produces
with and . The scalars need not all be
: each run fixes
its own by , and for , , , and the
two runs give . Consequently whose eigenvalues, being unitary, are
those of , namely .
(c) The QR
algorithm converges at a rate governed by ratios , and
those ratios genuinely change with ; a Krylov space does
not change at all under a shift, by (a), so nothing it
produces can change either. To get the analogous effect
one must change the space, not the matrix: apply the
method to , whose Krylov spaces are different,
which is the Krylov version of the inverse iteration of
Theorem 24.4.3 and costs a
factorization of rather than a matrix-vector
product.
Exercise
(C3: When the Krylov space is everything)
Let .
- (a) Prove that there
exists
with if and only if .
- (b) Prove that in
that case the Arnoldi process run to produces a unitary
with upper
Hessenberg, all of whose subdiagonal entries are
nonzero.
- (c) Hence give a
second proof of Theorem 11.8.5 over
for such , and explain why it
does not replace Chapter 11’s.
Hint for (a): Chapter 10 §05 calls such a a cyclic
vector.
Solution.
(a)
means , which by Proposition 24.6.1 (b)
means , that is, and
is a
cyclic vector for (Definition 10.5.4).
By Theorem 10.5.6,
such a vector exists exactly when .
(b) With , Theorem 24.6.2 (a) says
that for every and that is an orthonormal basis of ; so is unitary, and
is upper Hessenberg by Theorem 24.6.2 (b). Its
subdiagonal entries are the , all nonzero.
(A Hessenberg matrix with this property is called
unreduced, and Proposition 24.5.5 is
about exactly these.)
(c) Part (b)
exhibits a unitary with upper
Hessenberg, which is the conclusion of Theorem 11.8.5. It
does not replace that theorem for two reasons. First, it
needs by (a), while Theorem 11.8.5
holds for every square matrix; when no cyclic vector
exists, the process breaks down at some and delivers an
invariant subspace instead of a full basis. Second, Theorem 11.8.5 is
proved by reflections, each applied to the whole matrix,
and its cost
is what Section 5 assumed; the Arnoldi route needs matrix-vector products
and
orthogonalization work as well, and in floating-point
arithmetic the orthogonality it produces is exactly what
the last subsection says can be lost. The two
constructions agree in exact arithmetic when both apply,
and the reflection route is the one that is
run.