17.1  The Rayleigh Quotient

Chapter 13 used the number ⟨Ax,x⟩ as a test: positive for every nonzero x means positive definite, nonnegative means positive semidefinite, and that was the end of it. Chapter 13 §05 then noticed that the test carries more information than the verdict — normalized, it ranges over the interval between the smallest and largest eigenvalues — and stopped there. This section makes the normalized quantity an object with a name, finds its range exactly, finds the vectors where it is flat, and extracts a first description of every eigenvalue as a maximum. The description is correct and unsatisfying, and saying precisely why is the business of §02.

Throughout, F is R or C, every matrix is Hermitian, and its eigenvalues are indexed decreasingly, λ1(A)≥⋯≥λn(A), repeated according to multiplicity. The indexing presupposes that the eigenvalues are real, which is Theorem 12.2.1. Inner products are the standard ones of Fn, linear in the first slot.

17.1.1. From a test to an object

Look at what Lemma 13.5.2 actually says. For a unit vector x, the number ⟨Ax,x⟩ lies between λn(A) and λ1(A), and it reaches both ends. The restriction to unit vectors is a nuisance: doubling x quadruples ⟨Ax,x⟩, so for A≠O the raw quantity has no bounded range at all and every statement about it must carry the clause “for ‖x‖=1” along. Dividing by ‖x‖2 removes the nuisance permanently, and the resulting expression occurs often enough in what follows to deserve a name of its own.

The Rayleigh quotient measures how much a Hermitian matrix stretches a vector along its own direction, on a scale where the vector’s length has been divided out.

Definition 17.1.1 (Rayleigh Quotient)

Let F be R or C and let A∈Mn(F) be Hermitian. The Rayleigh quotient of A is the function RA(x):=⟨Ax,x⟩⟨x,x⟩, defined at every x∈Fn with x≠0, and at no other vector.

For a self-adjoint operator T on a finite-dimensional inner product space V over F, the same formula RT(v)=⟨Tv,v⟩/⟨v,v⟩, for v≠0, defines the Rayleigh quotient of T.

Clause by clause. The word Hermitian is what makes the values real, and so what makes it sensible to ask for a maximum: by Proposition 11.6.7 (a), ⟨Ax,x⟩∈R for every x, even over C. The condition x≠0 is what makes the fraction mean anything: ⟨x,x⟩=‖x‖2>0 exactly for x≠0, by positive definiteness of the inner product (Definition 11.1.1), and there is no value to assign at 0 — the numerator vanishes there too, and the quotient 0/0 would have to be given a value by hand, which no theorem below would thank us for. So RA is a real-valued function on Fn∖{0}.

Well-definedness has a second half, and it is the useful one. For a scalar c≠0, ⟨A(cx),cx⟩=cc―⟨Ax,x⟩=|c|2⟨Ax,x⟩,⟨cx,cx⟩=|c|2⟨x,x⟩, so the factor |c|2 cancels and RA(cx)=RA(x)for every c≠0. The Rayleigh quotient is therefore constant on each line through the origin with the origin removed. It is really a function on the set of lines, and the cheapest way to evaluate it is to normalize: for a unit vector x, RA(x)=⟨Ax,x⟩. Every statement below may be read either way — over all nonzero vectors, or over the unit sphere — and we shall move between the two without comment.

Example (A diagonal matrix, and the whole chapter in miniature)

Let A=diag(d1,…,dn) with real di. Compute RA.

Solution. For x=(x1,…,xn)≠0 we have Ax=(d1x1,…,dnxn), so RA(x)=∑idi|xi|2∑i|xi|2=∑iwidi,wi=|xi|2‖x‖2. The weights wi are nonnegative and sum to 1. So RA(x) is a weighted average of the diagonal entries, and x is nothing but the recipe for the weights.

That one line is the entire chapter in miniature, and it is worth pausing on. A weighted average of d1,…,dn can be any number between the smallest and the largest, and nothing else; it equals the largest only when all the weight sits on the largest entries; and to force it down to the second largest one must forbid the weight from sitting on the first. Every theorem in this chapter is one of those three sentences, stated for a general Hermitian matrix, where the diagonal entries are replaced by the eigenvalues and the coordinates xi by the coefficients of x in an orthonormal eigenbasis. The spectral theorem is what turns the general case into this one.

Example (A symmetric matrix on the unit circle)

Let A=(3113)∈M2(R). Describe RA on the unit circle, and find its largest and smallest values.

Solution. The eigenvalues are 4 and 2, with orthogonal eigenvectors q1=12(1,1) and q2=12(1,−1): indeed A(1,1)=(4,4) and A(1,−1)=(2,−2). Writing a unit vector as x=(cos⁡θ,sin⁡θ), RA(x)=⟨Ax,x⟩=3cos2⁡θ+2cos⁡θsin⁡θ+3sin2⁡θ=3+sin⁡2θ. So the values run over [2,4]; the maximum 4 occurs at θ=π/4 and θ=5π/4, that is along the line through q1, and the minimum 2 at θ=3π/4 and 7π/4, along the line through q2. At θ=0 and θ=π/2 the value is 3, the average of the two eigenvalues, which is also a11=a22.

Diagram. Labels: x_1, x_2, 4, 2, 3, mathbf q_1, mathbf q_2, The values of R_mathbf A at four points of the unit circle, for\\ the symmetric matrix with diagonal entries 3 and off-diagonal\\ entries 1. It is largest along the eigenline through mathbf q_1, smallest\\ along the one through mathbf q_2, and takes every value in between
Example (Two matrices whose quotient is forced)

Two further cases, at opposite extremes.

  • (a) The identity. RI(x)=⟨x,x⟩/⟨x,x⟩=1 for every x≠0. The quotient is constant, and the constant is the only eigenvalue. More generally RcI≡c for real c.
  • (b) An orthogonal projection. Let P∈Mn(F) be the matrix of the orthogonal projection onto a subspace U, so P2=P and P∗=P (Theorem 13.13.1). Then ⟨Px,x⟩=⟨P2x,x⟩=⟨Px,Px⟩=‖Px‖2, so RP(x)=‖Px‖2‖x‖2∈[0,1], the fraction of x that survives the projection. Since ‖x‖2=‖Px‖2+‖x−Px‖2 by Theorem 11.1.3, it equals 1 exactly when Px=x, that is on U∖{0}, and 0 exactly when Px=0, that is on U⊥∖{0} — matching the eigenvalues 1 and 0 of P.

Case (a) is the degenerate one, and it earns its place: when all the eigenvalues coincide the interval of values collapses to a point, every nonzero vector is an eigenvector, and every theorem below becomes an equality between two copies of the same number. A statement that fails to survive A=cI has been stated wrongly.

Example (Change one word: drop Hermitian)

Take A=(0100)∈M2(C), which is not Hermitian, and form ⟨Ax,x⟩/⟨x,x⟩ anyway. At x=(1,i) the numerator is ⟨(i,0),(1,i)⟩=i⋅1―=i and the denominator is 2, so the quotient is i/2, which is not real. The clause that fails is the word Hermitian in Definition 17.1.1, and it fails at the first step: Proposition 11.6.7 (a) is what made the numerator real, and its hypothesis is gone.

Over R the failure is quieter and worse. For A=(0−110)∈M2(R) and real x=(x1,x2), ⟨Ax,x⟩=−x2x1+x1x2=0, so the quotient is real, and identically 0. It is perfectly well behaved and tells us nothing: A has no real eigenvalue at all, and there is no interval [λn,λ1] for the quotient to describe.

Why this definition, then. Dropping “Hermitian” costs the reality of the values, hence any notion of largest; the real 2×2 example above shows that it also destroys the link with the spectrum even when the values happen to stay real. Dropping the denominator costs scale invariance, and with it the possibility of writing max without a side condition. Keeping the denominator but allowing x=0 costs nothing but sense.

Warning. RA(x) and ⟨Ax,x⟩ are the same number only for unit x. The bound ⟨Ax,x⟩≤λ1(A) of Lemma 13.5.2 is stated for unit vectors and is false without that hypothesis: for A=I2 and x=(10,0) it would read 100≤1. The bound RA(x)≤λ1(A), by contrast, holds for every x≠0. Whenever a maximum over “all x” appears below, it is a maximum of the quotient; the un-normalized form of the same statement always carries ‖x‖=1 with it.

17.1.2. What values it takes

Lemma 13.5.2 gives the two ends of the range. The following proposition adds that nothing in between is missing, which is a smaller statement than it looks and is worth proving explicitly rather than quoting a continuity argument.

Proposition 17.1.1 (The Range of the Rayleigh Quotient)

Let A∈Mn(F) be Hermitian, n≥1. Then {RA(x):x∈Fn, x≠0}=[λn(A), λ1(A)], the whole closed interval. In particular λ1(A)=maxx≠0RA(x),λn(A)=minx≠0RA(x), and both are attained, at unit eigenvectors for λ1(A) and λn(A).

Idea. Two inclusions of quite different weights. (⊆) is Lemma 13.5.2 with the normalization divided out, and costs one line. (⊇) asks for a vector realizing each intermediate value; the natural instinct is to move continuously along the sphere from a top eigenvector to a bottom one and quote the intermediate value theorem, but there is no need to import anything. Mixing a top eigenvector and a bottom eigenvector in the proportion t:1−t puts weight t on λ1 and 1−t on λn, and the weighted average of Example (A diagonal matrix, and the whole chapter in miniature) sweeps the interval as t does.

Proof. By the spectral theorem for matrices — Corollary 12.4.3 over C, Corollary 12.5.2 over R — there is an orthonormal basis (q1,…,qn) of Fn with Aqi=λi(A)qi for every i.

(⊆) Let x≠0 and put u=x/‖x‖, a unit vector. By the scale invariance established above, RA(x)=RA(u)=⟨Au,u⟩, which lies in [λn(A),λ1(A)] by Lemma 13.5.2.

(⊇) Let μ∈[λn(A),λ1(A)]. If λ1(A)=λn(A) the interval is the single point μ=λ1(A)=RA(q1), and we are done. Otherwise put t=μ−λn(A)λ1(A)−λn(A)∈[0,1],x=tq1+1−tqn, which is legitimate because the denominator is nonzero and both square roots are of nonnegative reals. Note n≥2 here, since λ1≠λn, so q1 and qn are distinct members of an orthonormal list. By Theorem 11.2.1 (c), ‖x‖2=t+(1−t)=1, so in particular x≠0. Since Ax=tλ1(A)q1+1−tλn(A)qn, Theorem 11.2.1 (b) gives RA(x)=⟨Ax,x⟩=tλ1(A)+(1−t)λn(A)=μ, the last equality by the choice of t. So every point of the interval is a value.

For the attainment, RA(q1)=λ1(A) and RA(qn)=λn(A). This proves the proposition.

So the range is an interval, not a finite set, even though A has at most n eigenvalues. That single fact is responsible for most of the confusion this chapter has to clear up, and the warning below spells out why.

Quick check. For A=diag(6,3,0), write down two unit vectors with Rayleigh quotient 4, each having one zero coordinate, in different positions.

Solution. Mixing e1 and e3 as in the proof: 4=6t+0(1−t) gives t=2/3 and x=(2/3,0,1/3), for which RA(x)=6⋅23+0⋅13=4. Mixing e1 and e2 instead: 4=6t+3(1−t) gives t=1/3 and y=(1/3,2/3,0), for which RA(y)=6⋅13+3⋅23=4. A value of RA is realized by many vectors, and they need not resemble each other.

17.1.3. Where the quotient is flat

The maximum and the minimum are attained at eigenvectors. There is a converse, and it identifies the eigenvectors among all vectors by a condition that does not mention eigenvalues: they are the places where RA does not move to first order. Everything needed is one algebraic identity, exact for every t, so no calculus enters.

Proposition 17.1.2 (Critical Points of the Rayleigh Quotient)

Let A∈Mn(F) be Hermitian, let x∈Fn be a unit vector, and put μ=RA(x)=⟨Ax,x⟩. For every v∈Fn and every t∈R with x+tv≠0,

RA(x+tv)−μ=2tRe⟨Ax−μx,v⟩+t2(⟨Av,v⟩−μ‖v‖2)‖x+tv‖2.
(17.1.1)

Moreover:

  • (a) Re⟨Ax−μx,v⟩=0 for every v∈Fn if and only if Ax=μx; that is, if and only if x is an eigenvector of A, necessarily for the eigenvalue μ.
  • (b) If RA(x)≥RA(y) for every y≠0, then the condition in (a) holds. The same is true if RA(x)≤RA(y) for every y≠0.

Idea. Expand the numerator and the denominator of RA(x+tv) in powers of t and subtract μ times the denominator from the numerator. The constant terms cancel by the definition of μ, and what is left is exactly Eq. 17.1.1. The coefficient of t is the object of interest: (a) says it vanishes in every direction precisely at eigenvectors, and (b) says that at a maximum it must vanish, since otherwise a small step in the right direction would increase the quotient — the t2 term cannot interfere, because for small t it is smaller than the t term.

Proof. The identity. Expanding by sesquilinearity, ⟨A(x+tv),x+tv⟩=⟨Ax,x⟩+t⟨Ax,v⟩+t⟨Av,x⟩+t2⟨Av,v⟩=μ+2tRe⟨Ax,v⟩+t2⟨Av,v⟩, where the second line used ⟨Av,x⟩=⟨v,Ax⟩=⟨Ax,v⟩―, the first equality because A is Hermitian and the second by conjugate symmetry (Definition 11.1.1), together with ⟨Ax,x⟩=μ for the unit vector x. The same computation with A replaced by I, where the constant term is ‖x‖2=1, gives ‖x+tv‖2=1+2tRe⟨x,v⟩+t2‖v‖2. Since μ is real, μRe⟨x,v⟩=Re⟨μx,v⟩. Subtracting μ‖x+tv‖2 from the first display therefore leaves 2tRe⟨Ax−μx,v⟩+t2(⟨Av,v⟩−μ‖v‖2), and dividing by ‖x+tv‖2≠0 gives Eq. 17.1.1.

  • (a) Put w=Ax−μx. (⇐) If Ax=μx then w=0 and every ⟨w,v⟩ vanishes. (⇒) Take v=w: the hypothesis gives Re⟨w,w⟩=‖w‖2=0, so w=0 by positive definiteness, that is Ax=μx. Since x≠0, this exhibits x as an eigenvector for the eigenvalue μ.

  • (b) Suppose x maximizes RA and, for a contradiction, that c:=2Re⟨Ax−μx,v⟩≠0 for some v; then v≠0. Put d=⟨Av,v⟩−μ‖v‖2, and let t be any real number with 0<|t|<12‖v‖,|t||d|<12|c|,t of the same sign as c, which is possible because the two upper bounds are positive. The first bound gives ‖x+tv‖≥‖x‖−|t|‖v‖>1−12>0, by the triangle inequality (Corollary 11.1.6), so x+tv≠0 and the identity applies. The second gives |td|<|c|/2, so c+td has the same sign as c, and hence t(c+td)>0. By Eq. 17.1.1, RA(x+tv)−μ=t(c+td)‖x+tv‖2>0, contradicting the maximality of RA(x). So c=0 for every v. For a minimizer, apply what has just been proved to −A, whose Rayleigh quotient is −RA, so that a minimizer of RA is a maximizer of R−A; the condition in (a) for −A and −μ is the same condition. This proves the proposition.

Call a unit vector x a critical point of RA when the condition in (a) holds, that is, when the coefficient of t in Eq. 17.1.1 vanishes in every direction v — when RA moves away from RA(x) only at second order. Parts (a) and (b) then say: the critical points of RA on the unit sphere are exactly the unit eigenvectors of A, the critical values are exactly the eigenvalues, and every maximizer and every minimizer is among them. That the eigenvalues are all realized as critical values is a direct computation: RA(qi)=⟨λiqi,qi⟩=λi, and each qi is a unit eigenvector, hence a critical point by (b).

Remark. A reader who knows calculus will recognize Eq. 17.1.1 as saying that the directional derivative of RA at a unit vector x in the direction v is 2Re⟨Ax−μx,v⟩, so that “critical point” has its usual meaning of a vanishing gradient. Nothing above uses derivatives: the identity Eq. 17.1.1 is exact for every t, not an approximation, and the argument in (b) compares two explicit numbers. This matters for the accounting in the next remark.

Remark. The promise from Chapter 12 §02, and what it cost. Chapter 12 §02 proved that a real self-adjoint operator has an eigenvalue by an algebraic route, and then described the alternative it was declining: “the function v↦⟨Tv,v⟩ is real-valued and continuous on the unit sphere of V, which is closed and bounded, so it attains a maximum, and a vector where it does so turns out to be an eigenvector for the largest eigenvalue. That argument is shorter to state but it is analysis, not algebra, and it needs the extreme value theorem; we keep to the algebraic route so that nothing in this chapter depends on it. The maximization picture returns in Chapter 17, where the Rayleigh quotient and the Courant–Fischer theorem describe every eigenvalue of a self-adjoint operator by optimization.”

The picture has now returned, and the account can be settled exactly. The clause “a vector where it does so turns out to be an eigenvector” is Proposition 17.1.2 (b) and (a), and that the eigenvalue is the largest one is Proposition 17.1.1; neither invokes an analytic fact. What Chapter 12 would have had to import is only the existence of the maximizer, which is the extreme value theorem — fact (A4) of Chapter 16’s introduction — applied to a continuous function on the unit sphere, compact by fact (A3). This chapter does not import it, because it does not have to: the spectral theorem is available here and it hands over the maximizer by name, namely q1, in Proposition 17.1.1. So the optimization description of eigenvalues in this chapter is a consequence of the spectral theorem, not an independent proof of it. One honest qualification: the spectral theorem itself rests on the fundamental theorem of algebra (Theorem 6.5.1), which Chapter 6 §05 proved with the extreme value theorem on a disc. So the analysis is not absent from the foundations — it was spent once, there, and nothing here spends it again. Section 2 completes the promise for the intermediate eigenvalues, on the same terms.

17.1.4. Why the second eigenvalue is not a second maximum

Warning. λ2(A) is not “the second largest value of RA”, and there is no sense in which it could be. Take A=diag(3,1,−1), so λ1=3, λ2=1, λ3=−1. By Proposition 17.1.1 the set of values of RA is the whole interval [−1,3]. Three things go wrong at once.

  • There is no second largest value. The values below 3 form the interval [−1,3), which has no largest element. So the phrase does not describe a number.
  • The value λ2 is attained, but so is every other value, and not only at eigenvectors. At x=12(1,0,1) the quotient is 12(3)+12(−1)=1=λ2(A), and x is not an eigenvector of A: it mixes the eigenvectors e1 and e3 of the first and the third eigenvalues, and λ2 plays no part in it.
  • Removing a direction does not help by itself. At y=12(1,1,0), which is orthogonal to the eigenvector e3 of λ3, the quotient is 12(3)+12(1)=2, strictly between λ1 and λ2. Constraining x to a subspace changes the answer, and which subspace is everything.

Whatever describes λ2 must be a maximum over something smaller than the sphere.

The last bullet says what to try. Cutting the sphere down by orthogonality to the top eigenvector does work, and the proof is Example (A diagonal matrix, and the whole chapter in miniature) again, with the top entry removed from the average.

Proposition 17.1.3 (Eigenvalues by Deflation)

Let A∈Mn(F) be Hermitian and let (q1,…,qn) be an orthonormal basis of Fn with Aqi=λi(A)qi for every i. Then for every k with 1≤k≤n, λk(A)=max{RA(x):x≠0, x⊥q1,…,qk−1}, the maximum being attained at x=qk. For k=1 the list of constraints is empty and the statement is Proposition 17.1.1.

Idea. The constraints do one thing: they delete the first k−1 coordinates in the eigenbasis. What is left is the weighted average of Example (A diagonal matrix, and the whole chapter in miniature) over the remaining eigenvalues λk≥⋯≥λn, whose largest member is λk.

Proof. Let W={x∈Fn:⟨x,qi⟩=0 for 1≤i≤k−1}. By Theorem 11.2.1 (a) every x∈Fn satisfies x=∑i=1n⟨x,qi⟩qi, so x∈W exactly when x∈span(qk,…,qn).

Let x∈W with x≠0, and write ci=⟨x,qi⟩, so that x=∑i≥kciqi. Then Ax=∑i≥kλi(A)ciqi, and Theorem 11.2.1 (b), (c) give ⟨Ax,x⟩=∑i≥kλi(A)|ci|2,‖x‖2=∑i≥k|ci|2>0. Hence RA(x) is a weighted average of λk(A),…,λn(A) with nonnegative weights |ci|2/‖x‖2 summing to 1. The largest of those eigenvalues is λk(A), because the list is indexed decreasingly, so RA(x)≤λk(A).

Finally qk∈W, since the qi are orthonormal, and RA(qk)=⟨λk(A)qk,qk⟩=λk(A). So the bound is attained and the supremum is a maximum. This proves the proposition.

Quick check. In Proposition 17.1.3, does the value of the maximum depend on which orthonormal eigenbasis (q1,…,qn) is chosen? Does the maximizing vector?

Solution. The value does not: it is λk(A), a number attached to A alone. The maximizing vector generally does, and so does the constraint set W. For A=diag(1,1,0) and k=2, one admissible eigenbasis is (e1,e2,e3), giving W=span(e2,e3) and maximizer e2; another is (12(1,1,0),12(1,−1,0),e3), giving a different W and the maximizer 12(1,−1,0). Both maxima equal λ2(A)=1.

17.1.5. What is still wrong

Proposition 17.1.3 is a complete answer to the question “what is λk(A), as an optimization?” and it is nearly useless. The reason is visible in its statement: the constraint set is built from q1,…,qk−1, which are eigenvectors of A. To use the formula one must already know the eigenvectors, and to know the eigenvectors one must already have solved the problem the formula claims to describe. It is a description of λk(A) in terms of A’s own answer.

The cost is not merely aesthetic. The whole point of turning an eigenvalue into an optimization is to compare the eigenvalues of different matrices: to say that A⪰B forces λi(A)≥λi(B), or that perturbing A moves λi only a little. A comparison needs the two optimizations to run over the same set. Deflation gives λi(A) as a maximum over the orthogonal complement of A’s top eigenvectors, and λi(B) as a maximum over the orthogonal complement of B’s top eigenvectors, and those two subspaces have nothing to do with each other. Nothing can be concluded.

Chapter 13 §13 promised that “Chapter 17 characterizes the eigenvalues of a Hermitian matrix as maxima and minima of ⟨Ax,x⟩ — at which point the test becomes the theory”. Proposition 17.1.1 and Proposition 17.1.3 are the first installment of that, and they show that the promise can be kept. The test has already become a statement about a single number: A≻O exactly when λn(A)=minx≠0RA(x) is positive, and A⪰O exactly when it is nonnegative, which is the eigenvalue criterion of Theorem 13.1.5 and Theorem 13.1.4 read through Proposition 17.1.1. The rest of it is the removal of the eigenvectors from the statement, which §02 achieves by a device that looks extravagant and is exactly right: keep the maximum over a subspace, but let the subspace vary over all subspaces of the appropriate dimension, and take the minimum of what comes out.

17.1.6. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State Definition 17.1.1, naming both hypotheses, and say what each one is for.
  • (b) Prove that RA(cx)=RA(x) for every scalar c≠0, and explain why this makes RA a function on lines.
  • (c) Determine whether the following is correct, and justify your answer: if A∈M3(R) is symmetric with three distinct eigenvalues, then RA takes exactly three values.
  • (d) State Proposition 17.1.3, and say in one sentence why it is not a satisfactory description of λk(A).
  • (e) Give a Hermitian A and a vector x that is not an eigenvector of A but has RA(x) equal to an eigenvalue of A.

Solution.

  • (a) Let F be R or C and A∈Mn(F) Hermitian. For x≠0, the Rayleigh quotient is RA(x)=⟨Ax,x⟩/⟨x,x⟩. Hermitian makes the numerator real (Proposition 11.6.7 (a)) and ties the values to the spectrum; x≠0 makes the denominator nonzero (Definition 11.1.1).

  • (b) ⟨A(cx),cx⟩=cc―⟨Ax,x⟩=|c|2⟨Ax,x⟩ and likewise ⟨cx,cx⟩=|c|2⟨x,x⟩; the factor |c|2≠0 cancels. So RA is constant on {cx:c≠0}, the punctured line through x, and its value depends only on which line x lies on.

  • (c) Incorrect. By Proposition 17.1.1 the set of values is the whole of the interval [λ3(A),λ1(A)], which is infinite whenever λ1(A)≠λ3(A), and distinct eigenvalues guarantee that.

  • (d) With (q1,…,qn) an orthonormal eigenbasis ordered so that Aqi=λi(A)qi, λk(A) is the maximum of RA over the nonzero vectors orthogonal to q1,…,qk−1. It is unsatisfactory because the constraint set is built from eigenvectors of A, so the formula presupposes the answer and cannot compare two different matrices.

  • (e) A=diag(3,1,−1) and x=(1,0,1): RA(x)=(3−1)/2=1=λ2(A), while Ax=(3,0,−1) is not a multiple of x. (Any mixture of a top and a bottom eigenvector in the right proportion does the same job.)

B. Practice

Exercise (B1: Locating four values)

Let A=(220232024)∈M3(R). Its eigenvalues are 6,3,0, with eigenvectors (1,2,2), (2,1,−2), and (2,−2,1) respectively; you may take this as given. Compute RA(x) for x=e1, x=(1,1,1), x=(1,1,0), and x=(1,0,−1), and check each value against Proposition 17.1.1. Hence exhibit a noneigenvector at which RA equals an eigenvalue.

Solution. The three given vectors are pairwise orthogonal, each of norm 3, so q1=13(1,2,2), q2=13(2,1,−2), q3=13(2,−2,1) is an orthonormal eigenbasis with λ1=6, λ2=3, λ3=0. By Proposition 17.1.1 every value must lie in [0,6].

For x=e1: Ae1=(2,2,0), so ⟨Ax,x⟩=2 and ‖x‖2=1, giving RA(e1)=2. (This is the diagonal entry a11, as it must be for a standard basis vector.)

For x=(1,1,1): Ax=(4,7,6) and ⟨Ax,x⟩=4+7+6=17, while ‖x‖2=3; so RA(x)=17/3≈5.67.

For x=(1,1,0): Ax=(4,5,2) and ⟨Ax,x⟩=9, ‖x‖2=2; so RA(x)=9/2.

For x=(1,0,−1): Ax=(2,0,−4) and ⟨Ax,x⟩=2+4=6, ‖x‖2=2; so RA(x)=3.

All four values lie in [0,6]. The last one equals λ2(A)=3, yet A(1,0,−1)=(2,0,−4) is not a multiple of (1,0,−1), so (1,0,−1) is not an eigenvector. This is the trap of the warning above, in a concrete matrix.

Exercise (B2: A prescribed value)

With A and the orthonormal eigenbasis of Exercise (B1: Locating four values), use the construction in the proof of Proposition 17.1.1 to produce a unit vector x with RA(x)=2. Then find, by mixing q1 and q2 in equal proportion, a vector with integer entries whose Rayleigh quotient is 9/2.

Solution. For the first, μ=2 with λ1=6 and λ3=0 gives t=(2−0)/(6−0)=1/3, so x=13q1+23q3, a unit vector with RA(x)=13⋅6+23⋅0=2.

For the second, y=q1+q2=13((1,2,2)+(2,1,−2))=(1,1,0), whose Rayleigh quotient is the average 12(6)+12(3)=9/2 — matching the direct computation in Exercise (B1: Locating four values). Equal proportions of two orthonormal eigenvectors give the plain average of their eigenvalues.

Exercise (B3: The quotient of a projection)

Let U=span{(1,1,0),(0,0,1)}⊆R3 and let P be the matrix of the orthogonal projection onto U.

  • (a) Compute P, and list the eigenvalues of P with multiplicity.
  • (b) Compute RP(x) for x=e1, x=(1,−1,0), and x=(1,−1,1), and check each against Proposition 17.1.1.

Solution.

  • (a) The two spanning vectors are orthogonal, of norms 2 and 1, so u1=12(1,1,0) and u2=(0,0,1) form an orthonormal basis of U and P=u1u1⊤+u2u2⊤, that is P=(1/21/201/21/20001). Its eigenvalues are 1 with multiplicity 2 (on U) and 0 with multiplicity 1 (on U⊥=span{(1,−1,0)}), so λ1=λ2=1 and λ3=0.

  • (b) By Example (Two matrices whose quotient is forced) (b), RP(x)=‖Px‖2/‖x‖2. For x=e1: Pe1=(12,12,0), so ‖Px‖2=12 and RP(e1)=12. For x=(1,−1,0): Px=0, so RP(x)=0. For x=(1,−1,1): Px=(0,0,1), so ‖Px‖2=1 and ‖x‖2=3, giving RP(x)=1/3. All three lie in [λ3,λ1]=[0,1], and the middle one attains the lower end, as it must, being a nonzero vector of U⊥.

C. Going deeper

Exercise (C1: Why the quotient estimates eigenvalues so well)

Let A∈Mn(F) be Hermitian with orthonormal eigenbasis (q1,…,qn), Aqi=λi(A)qi.

  • (a) Prove that for every unit vector x, λ1(A)−RA(x) ≤ (λ1(A)−λn(A))‖x−q1‖2.
  • (b) Deduce that if ‖x−q1‖≤ε then RA(x) approximates λ1(A) with error at most (λ1−λn)ε2: an error in the eigenvector of size ε costs only ε2 in the eigenvalue.
  • (c) Show that the exponent 2 cannot be improved, by computing both sides for A=diag(1,0) and x=(cos⁡ε,sin⁡ε).

Hint for (a): expand x in the eigenbasis and compare the two sums term by term.

Solution.

  • (a) Write ci=⟨x,qi⟩, so ∑i|ci|2=1 by Theorem 11.2.1 (c). As in Proposition 17.1.3, RA(x)=∑iλi(A)|ci|2, so λ1(A)−RA(x)=∑i=1n(λ1(A)−λi(A))|ci|2≤(λ1(A)−λn(A))∑i≥2|ci|2, where the i=1 term was dropped because it is 0 and each remaining factor λ1−λi was enlarged to λ1−λn, legitimate since |ci|2≥0 and the eigenvalues decrease. On the other side, again by Theorem 11.2.1 (c), ‖x−q1‖2=|c1−1|2+∑i≥2|ci|2 ≥ ∑i≥2|ci|2. Combining the two displays gives the inequality.

  • (b) Immediate from (a), since the right-hand side is increasing in ‖x−q1‖.

  • (c) Here λ1=1, λ2=0, and q1=e1. The vector x=(cos⁡ε,sin⁡ε) is a unit vector with RA(x)=cos2⁡ε,λ1−RA(x)=sin2⁡ε, while ‖x−e1‖2=(cos⁡ε−1)2+sin2⁡ε=2−2cos⁡ε. The bound in (a) reads sin2⁡ε≤2−2cos⁡ε, which is true, and the ratio of the two sides is sin2⁡ε2−2cos⁡ε=(1−cos⁡ε)(1+cos⁡ε)2(1−cos⁡ε)=1+cos⁡ε2, which tends to 1 as ε→0. So the error really is of order ε2, not smaller, and the constant in (a) is sharp in the limit. This second-order accuracy is why the Rayleigh quotient is the standard way to read an eigenvalue off an approximate eigenvector, and Chapter 24 builds an iteration on it.

Exercise (C2: The equality case at the top)

Let A∈Mn(F) be Hermitian and let Eλ1(A)=ker(A−λ1(A)I) be the eigenspace of the largest eigenvalue.

  • (a) Prove that if x≠0 and RA(x)=λ1(A), then x∈Eλ1(A).
  • (b) Deduce that {x≠0:RA(x)=λ1(A)}∪{0}=Eλ1(A).
  • (c) Show that the corresponding statement for an intermediate eigenvalue is false, by naming a matrix, an index k with 1<k<n, and a vector.

Solution.

  • (a) We may assume ‖x‖=1, by scale invariance and because Eλ1(A) is a subspace. Write ci=⟨x,qi⟩ for an orthonormal eigenbasis as above, so ∑i|ci|2=1 and RA(x)=∑iλi(A)|ci|2. Then 0=λ1(A)−RA(x)=∑i=1n(λ1(A)−λi(A))|ci|2, a sum of nonnegative terms. Every term is therefore 0, so ci=0 whenever λi(A)<λ1(A). Hence x=∑i:λi=λ1ciqi, a combination of eigenvectors for λ1(A), so x∈Eλ1(A).

  • (b) (⊆) is (a), together with 0∈Eλ1(A). (⊇) If 0≠x∈Eλ1(A) then Ax=λ1(A)x, so RA(x)=λ1(A)⟨x,x⟩/⟨x,x⟩=λ1(A).

  • (c) Take A=diag(3,1,−1), k=2, and x=(1,0,1). Then RA(x)=1=λ2(A), but Ax=(3,0,−1) is not a multiple of x, so x∉Eλ2(A)=span{e2}. The argument in (a) breaks because the terms (λ2−λi)|ci|2 are no longer all of the same sign: the i=1 term is negative and cancels against the i=3 term instead of forcing both to vanish.

Exercise (C3: What the quotient cannot see)

Let M∈Mn(F) be an arbitrary matrix, not assumed Hermitian, and put A=12(M+M∗),B=12(M−M∗), so that M=A+B with A∗=A and B∗=−B.

  • (a) Prove that Re⟨Mx,x⟩=⟨Ax,x⟩ for every x∈Fn.
  • (b) Deduce that over R, the function x↦⟨Mx,x⟩ determines A and nothing whatever about B. Give two distinct real 2×2 matrices with the same such function.
  • (c) Over C, determine whether ⟨Mx,x⟩=0 for all x forces M=O. Justify your answer.

Solution.

  • (a) By conjugate symmetry and the definition of the adjoint, ⟨M∗x,x⟩=⟨x,Mx⟩=⟨Mx,x⟩―. Hence ⟨Ax,x⟩=12(⟨Mx,x⟩+⟨Mx,x⟩―)=Re⟨Mx,x⟩.

  • (b) Over R every inner product value is real, so (a) reads ⟨Mx,x⟩=⟨Ax,x⟩ for all x: the function sees only A. It determines A completely, since two symmetric matrices with the same quadratic form are equal (Theorem 12.2.5 applied to their difference). It sees nothing of B: for M1=(0000),M2=(0−110), both functions are identically 0, since ⟨M2x,x⟩=−x2x1+x1x2=0, yet M1≠M2. This is Exercise (C3: What the real quadratic form does determine) in matrix language.

  • (c) Yes, over C it does force M=O. This is Theorem 12.2.6, and the reason the complex theory is the cleaner one: a complex quadratic form determines its matrix, so nothing is invisible. Concretely, (a) gives A=O, and applying the hypothesis to iM — or expanding ⟨M(x+y),x+y⟩ and ⟨M(x+iy),x+iy⟩ — kills B as well. The real 2×2 matrix M2 of (b) shows that the same statement over R is false, so this is genuinely a fact about the field.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.