Chapter 8: The spectral theorems
8.2The spectral theorems
An operator is easiest to understand when it is diagonal in some basis. On an inner product space we want more: a basis that is diagonal for and orthonormal, so that stretches by scalar factors along mutually perpendicular axes, and coordinates are computed by inner products instead of linear systems. This section answers the question of which operators have such a basis. Over the answer is the normal operators (Definition 8.1.8), and over it is the self-adjoint ones. Both answers come from the same short computation, which shows that these conditions are necessary; the work is in showing that they suffice.
Throughout, is a finite-dimensional inner product space over , with , and . As in Section 6.6, inner products are linear in the first slot. For an orthonormal basis we write for , and we use freely that
8.2.1Orthonormal eigenbases
An orthonormal eigenbasis for is an orthonormal basis of consisting of eigenvectors of . By Theorem 7.4.2, an orthonormal basis is an eigenbasis exactly when is diagonal. For matrices, the change-of-basis matrix is then unitary.
Definition 8.2.1 (Unitarily and orthogonally diagonalizable). A matrix is unitarily diagonalizable if
for some unitary and some diagonal . When , is then an orthogonal matrix and ; we say is orthogonally diagonalizable.
Since for unitary (Definition 6.3.33), is a diagonalization with . By the last part of Theorem 7.4.2, it says that the columns of are eigenvectors of with eigenvalues the diagonal entries of ; and by Theorem 6.3.29, is unitary exactly when its columns are orthonormal. So is unitarily diagonalizable if and only if , with the dot product, has an orthonormal eigenbasis for .
We start with the easy direction of both spectral theorems, because its proof shows where the conditions “normal” and “self-adjoint” come from.
Proposition 8.2.2 (Necessary conditions). Suppose has an orthonormal eigenbasis for .
- (a) is normal: .
- (b)If every eigenvalue of is real (in particular, if ), then is self-adjoint.
Uses. Theorem 7.4.2 (Diagonalizable means an eigenbasis), Theorem 6.6.15 (Existence of adjoints), Theorem 2.4.2 (The matrix of a composite), Theorem 2.3.20 (Linear maps correspond to matrices), Definition 8.1.8 (Normal operator, normal matrix), Definition 6.6.26 (Self-adjoint operator)
Techniques. Choose a convenient basis (Technique 4.5.33)
Let be an orthonormal eigenbasis, with . By Theorem 7.4.2,
(a) Products of diagonal matrices are computed entry by entry, so
(b) If every is real, then , so and by Theorem 2.3.20. □
So normality is what remains of “diagonal in an orthonormal basis” once the basis is forgotten: a diagonal matrix commutes with its conjugate transpose. The spectral theorems say that nothing else is needed. Before proving them, here are the examples that show which hypothesis goes with which field.
- (a) has the distinct eigenvalues and , so it is diagonalizable (Corollary 7.4.5), with eigenvectors and . These are not orthogonal, and each eigenspace is a line, so no choice of eigenvectors is orthogonal. Correspondingly is not normal: while . Diagonalizable and unitarily diagonalizable are different conditions.
(b)The rotation satisfies , so is normal on and on . Over it has no eigenvector at all (Example 7.2.18). Over ,
and , is an orthonormal eigenbasis of , since
. So over normality is the right condition, while over we will need the stronger condition .
Intuition (Two ways to build the basis). Suppose we want an orthonormal eigenbasis for a normal on a complex space. There are two natural plans, and both work.
The first plan starts from something we already have. Schur’s theorem (Theorem 7.5.18) gives an orthonormal basis in which is upper triangular, so it remains to show that normality kills everything above the diagonal. For an upper-triangular , the first column has only one nonzero entry, , while the first row is . The diagonal entries of and are the squared norms of the columns and of the rows, so forces the first row to have no more mass than the first column. Then the same comparison works for the second row, and so on down the diagonal.
The second plan builds the basis one vector at a time (Technique 7.5.12). Take a unit eigenvector and try to recurse on . In the second proof of Schur’s theorem this required compressing to , because need not be -invariant, and the compression produced the entries above the diagonal. For a normal , is also an eigenvector of , and this is exactly what makes invariant (Exercise 6.6.38). The compression is then a restriction, and nothing appears above the diagonal.
8.2.2The complex spectral theorem
We start with the matrix fact behind the first plan.
Uses. Definition 2.4.1 (Matrix product), Definition 6.3.26 (Conjugate transpose)
Techniques. A sum of nonnegative terms (Technique 6.1.9), Strong induction and well-ordering (Technique 5.2.12)
For each , the definitions of the product and of give
the squared norms of column and of row . We prove by strong induction on that for all . Let and suppose this holds for every row . Then for by the hypothesis (as ), and for because is upper triangular. So column has the single entry , and
Hence . A sum of nonnegative reals vanishes only if every term does, so for all . (For the hypothesis is empty and the same argument applies.) So every entry above the diagonal is , and is diagonal. □
Theorem 8.2.5 (Complex spectral theorem). Let be a finite-dimensional complex inner product space with , and let . The following are equivalent:
- (I) is normal;
- (II) has an orthonormal basis consisting of eigenvectors of ;
- (III) is diagonal for some orthonormal basis of .
In matrix form: satisfies if and only if is unitarily diagonalizable.
(II) and (III) say the same thing by Theorem 7.4.2, and (II) (I) is Proposition 8.2.2(a). The content is (I) (III). We give three proofs. The first two carry out the two plans of Intuition (Two ways to build the basis); the third avoids induction altogether.
Proof (Schur, then normality).
Uses. Theorem 7.5.18 (Schur’s theorem), Lemma 8.2.4 (Triangular and normal means diagonal), Theorem 6.6.15 (Existence of adjoints), Theorem 2.4.2 (The matrix of a composite), Theorem 7.4.2 (Diagonalizable means an eigenbasis), Proposition 8.2.2 (Necessary conditions), Theorem 4.5.17 (Change of basis), Definition 6.3.33 (Unitary and orthogonal matrices)
Techniques. Proving TFAE (Technique 2.7.1), Prove it for triangular matrices first (Technique 7.5.23)
(II) and (III) are equivalent by Theorem 7.4.2, and (II) (I) is Proposition 8.2.2(a). Suppose is normal. By Theorem 7.5.18 there is an orthonormal basis with upper triangular. By Theorem 6.6.15 and Theorem 2.4.2,
By Lemma 8.2.4, is diagonal, which is (III).
For the matrix form, if with unitary and diagonal, then
Intuition (What the second proof needs from normality). The induction runs on , and two facts about normal operators make it work. Both have one-line proofs, given inside the proof below; Section 8.1 treats them properly.
- and stretch every vector equally: for every . Applied to the normal operator , this says that implies .
- Restrictions stay normal: if is invariant under both and , then the adjoint of is .
Proof (induction with invariant complements).
Uses. Theorem 7.3.27 (Existence of eigenvalues over ), Definition 8.1.8 (Normal operator, normal matrix), Definition 6.6.8 (Adjoint), Proposition 6.6.18 (Properties of the adjoint), Proposition 6.6.9 (Adjoints are unique and linear), Exercise 6.6.38, Theorem 6.4.24 (Orthogonal decomposition), Corollary 6.4.25 (Dimension of the orthogonal complement), Theorem 4.4.13 (Bases and dimension of a sum), Definition 6.3.15 (Orthonormal list, orthonormal basis)
Techniques. Induction on dimension via an invariant subspace (Technique 7.5.12), Move an operator across the inner product (Technique 6.6.20), Show a vector is zero via its norm (Technique 6.1.36)
We prove (I) (II) by induction on ; the rest is as in the first proof. First, two facts about a normal operator on an inner product space.
For every , , because
For every , is normal. Indeed
by Proposition 6.6.18, and expanding, using . So if , the first fact applied to gives
, that is, .
Now let be normal. If , any unit vector spans , so , and alone is an orthonormal eigenbasis. Let , and assume (I) (II) for complex inner product spaces of dimension . By Theorem 7.3.27, has an eigenvector; dividing by its norm, we get with and . By the facts above, . Let and . Then is invariant under and under . Applying Exercise 6.6.38 to shows that maps into , and applying it to (whose adjoint is , by Proposition 6.6.18(c)) shows that maps into .
Let , where carries the inner product of . For we have
so is the adjoint of (Definition 6.6.8, Proposition 6.6.9). Hence
The third proof looks at all eigenvectors at once. Let be the sum of all the eigenspaces of . If , we look for an eigenvector of in , which is impossible since every eigenvector lies in . Finding one needs to be -invariant, and once again that comes from preserving eigenspaces.
Proof (the sum of the eigenspaces is everything).
Uses. Definition 7.2.13 (Eigenspace), Theorem 7.3.27 (Existence of eigenvalues over ), Exercise 6.6.38, Corollary 6.4.27 (Testing whether a subspace is everything), Theorem 6.4.20 (Orthonormal bases exist), Definition 6.3.15 (Orthonormal list, orthonormal basis), Proposition 6.3.13 (Orthogonal lists are independent)
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9), Move an operator across the inner product (Technique 6.6.20)
Let be normal, let be its distinct eigenvalues (there is at least one, by Theorem 7.3.27), and let . As shown in the second proof, implies . So maps each into itself, and therefore maps into . By Exercise 6.6.38 applied to , the operator maps into .
Suppose . Then is an operator on a nonzero finite-dimensional complex space, so it has an eigenvector (Theorem 7.3.27). This is an eigenvector of , so . Then , so and , a contradiction. Hence , and by Corollary 6.4.27.
Next, eigenspaces for different eigenvalues are orthogonal. Let and with . Then , and
Since , .
Finally, choose an orthonormal basis of each (Theorem 6.4.20), and let be the concatenation . Vectors within one are orthonormal, and vectors from different are orthogonal by the previous paragraph, so is orthonormal (Definition 6.3.15), hence linearly independent (Proposition 6.3.13). It spans . So is an orthonormal eigenbasis. □
The lecture states the spectral theorem for self-adjoint operators on complex spaces. It is a special case, and Schur’s theorem proves it without the lemma.
Proof (from the complex spectral theorem).
Uses. Theorem 8.2.5 (Complex spectral theorem), Proposition 8.1.1 (Eigenvalues and eigenvectors of self-adjoint operators), Proposition 8.2.2 (Necessary conditions)
Proof (directly from Schur, as in lecture).
Uses. Theorem 7.5.18 (Schur’s theorem), Corollary 6.6.28 (Self-adjointness in an orthonormal basis), Proposition 8.2.2 (Necessary conditions)
(a)The real matrix is normal, since commutes with . It is not symmetric, so it is not orthogonally diagonalizable over (and indeed has no real root). Over its eigenvectors are those of from Example 8.2.3, with eigenvalues and :
(b)The Hermitian matrix of Example 6.6.27 has
. Row reducing and gives the eigenvectors for and for . Each has squared norm , and they are orthogonal, as Corollary 8.2.7 predicts: . So
Exercise 8.2.9. For each matrix, decide whether it is unitarily diagonalizable (over ), and for the real ones also whether it is orthogonally diagonalizable (over ).
- (a)
- (b)
- (c)
- (d)
- (e)
Uses. Theorem 8.2.5 (Complex spectral theorem), Proposition 8.2.2 (Necessary conditions)
By Theorem 8.2.5 a complex matrix is unitarily diagonalizable if and only if it is normal. A real orthogonally diagonalizable matrix is symmetric by Proposition 8.2.2(b), since its eigenvalues are real. (The converse is Theorem 8.2.12 below.)
(a) With , but . Not normal, so neither.
(b) with , so
(c) , and
(d) and , and these eigenvectors are orthogonal. So
(e) where is the permutation matrix with , , . Its columns are orthonormal, so , hence and as well. Then
8.2.3The real spectral theorem
Over , Example 8.2.3(b) shows that normality is not enough, and Proposition 8.2.2(b) shows that self-adjointness is necessary. To prove it is sufficient, we want to run the second proof of Theorem 8.2.5 again. Self-adjointness takes care of the invariance of for free (Exercise 6.6.38), so the only step that used is the existence of an eigenvector. That is the content of the next lemma.
The first proof borrows the eigenvalue from . It turns into a real symmetric matrix, regards that matrix as a complex Hermitian matrix, and uses that Hermitian matrices have only real eigenvalues.
Proof (via a Hermitian matrix).
Uses. Theorem 6.4.20 (Orthonormal bases exist), Corollary 6.6.28 (Self-adjointness in an orthonormal basis), Example 6.6.10 (The adjoint of a matrix), Corollary 7.1.35 (Factorization over ), Theorem 7.3.6 (Eigenvalues are the roots of the characteristic polynomial), Proposition 8.1.1 (Eigenvalues and eigenvectors of self-adjoint operators), Definition 7.3.12 (Characteristic polynomial of an operator), Corollary 7.3.13 (Eigenvalues of an operator)
The second proof stays inside . The idea comes from factoring polynomials over : some nonzero polynomial satisfies , and factors into linear factors and irreducible quadratics (Theorem 7.1.39). The rotation by shows that a quadratic factor such as can be what kills . Self-adjointness rules this out: for self-adjoint , an irreducible quadratic gives an invertible , because is bounded below by a quadratic in with negative discriminant.
Proof (without complex numbers).
Uses. Proposition 7.2.35 (A basis of a Krylov subspace), Theorem 7.1.39 (Factorization over ), Proposition 7.2.27 (Evaluating polynomials at an operator), Theorem 6.2.1 (Cauchy–Schwarz inequality), Definition 6.6.26 (Self-adjoint operator), Theorem 7.2.9 (Eigenvalues and invertibility)
Techniques. A nonnegative quadratic has nonpositive discriminant (Technique 6.2.7), Move an operator across the inner product (Technique 6.6.20)
We prove that has an eigenvalue. First let with ; we show that
because and . So .
Now fix . By Proposition 7.2.35 there is a monic of degree with . By Theorem 7.1.39,
and by Proposition 7.2.27,
A composition of injective maps is injective, and is not injective since it kills . So at least one factor is not injective. The factors are injective by the first paragraph, so some is not injective (in particular ), and is an eigenvalue of by Theorem 7.2.9.
The second statement of the lemma (all complex roots of are real) follows from the first proof of Theorem 8.2.12 below, which uses only the first statement: in an orthonormal eigenbasis,
Theorem 8.2.12 (Real spectral theorem). Let be a finite-dimensional real inner product space with , and let . The following are equivalent:
- (I) is self-adjoint;
- (II) has an orthonormal basis consisting of eigenvectors of ;
- (III) is diagonal for some orthonormal basis of .
In matrix form: is symmetric if and only if for some orthogonal and some diagonal , that is, if and only if is orthogonally diagonalizable.
Again (II) (III) is Theorem 7.4.2 and (II) (I) is Proposition 8.2.2(b), so we prove (I) (II).
Proof (induction with invariant complements).
Uses. Lemma 8.2.10 (Self-adjoint operators have eigenvalues), Exercise 6.6.38, Definition 6.6.26 (Self-adjoint operator), Theorem 6.4.24 (Orthogonal decomposition), Corollary 6.4.25 (Dimension of the orthogonal complement), Theorem 4.4.13 (Bases and dimension of a sum), Definition 6.3.15 (Orthonormal list, orthonormal basis), Proposition 8.2.2 (Necessary conditions), Theorem 4.5.17 (Change of basis), Definition 6.3.33 (Unitary and orthogonal matrices)
Techniques. Induction on dimension via an invariant subspace (Technique 7.5.12), Proving TFAE (Technique 2.7.1)
We prove (I) (II) by induction on . If , any unit vector is an orthonormal eigenbasis, as in the complex case. Let , assume the claim in dimension , and let be self-adjoint. By Lemma 8.2.10, has an eigenvector, and dividing by its norm gives with and . Let and . Since maps into , Exercise 6.6.38 (applied to , whose adjoint is ) shows that maps into . The operator is self-adjoint for the inner product of restricted to , since
For the matrix form,
The second proof follows the first proof of the complex theorem instead, with a real Schur basis.
Proof (triangularize, then use symmetry).
Uses. Lemma 8.2.10 (Self-adjoint operators have eigenvalues), Theorem 7.5.17 (Triangularizable means the characteristic polynomial splits), Proposition 7.5.2 (Upper-triangular matrices and invariant subspaces), Theorem 6.4.15 (Gram–Schmidt is correct), Corollary 6.6.28 (Self-adjointness in an orthonormal basis)
Techniques. Build a flag of invariant subspaces (Technique 7.5.4), Prove it for triangular matrices first (Technique 7.5.23)
- (a) satisfies , and
. So is nilpotent and nonzero, and is not diagonalizable (its only eigenvalue is , and ). Over , the right condition is , not . - (b) is symmetric with in . Again a nonzero nilpotent matrix, so not diagonalizable.
Computing an orthogonal diagonalization
The proofs suggest the computation. Eigenspaces for different eigenvalues are automatically orthogonal (third proof of Theorem 8.2.5, which applies verbatim to self-adjoint operators on real spaces), so orthogonality only has to be arranged inside each eigenspace.
Algorithm 8.2.14 (Orthogonal diagonalization)
- Input
- A symmetric .
- Output
- An orthogonal and a diagonal with .
The columns found in step 3 are orthonormal within each eigenspace, and orthogonal across eigenspaces by the computation in the third proof of Theorem 8.2.5. There are of them, since is diagonalizable and so the eigenspace dimensions add up to (Theorem 7.4.16). Only step 3 is new compared with Algorithm 7.4.18. For a simple eigenvalue it just normalizes the eigenvector; Gram–Schmidt does real work only for repeated eigenvalues.
Example 8.2.15 (A repeated eigenvalue). Let
The basis of from row reduction is not orthogonal. Gram–Schmidt replaces by
Any orthonormal basis of the plane would do in the last two columns; step 3 only picks one. The first column is orthogonal to the plane automatically.
Uses. Algorithm 8.2.14 (Orthogonal diagonalization)
Techniques. Diagonalize, solve, conjugate back (Technique 7.4.22)
and one checks
Symmetric matrices and ellipses
Geometrically, the real spectral theorem says that a real symmetric matrix stretches by the factors along perpendicular axes, with a flip when . In the plane, this is visible on the unit circle.
Example 8.2.17 (The image of the unit circle). Let be symmetric and invertible, and write with orthogonal and . A unit vector is with (Proposition 6.3.18, Theorem 6.3.22), and
an ellipse whose axes point along the eigenvectors, with semi-axes and .
For instance, has
and the image of the unit circle is an ellipse with semi-axis along and along . A non-symmetric matrix also maps the circle to an ellipse, but its axes are generally not along its eigenvectors; that is the subject of Section 9.1.
8.2.4The spectral decomposition
An orthonormal eigenbasis is not unique: in Example 8.2.15 any orthonormal basis of the plane would do. What is unique is the splitting of into eigenspaces, and the orthogonal projections onto them. Writing in terms of these projections gives a basis-free form of the spectral theorems.
For the rest of the section, we say that satisfies the spectral hypothesis if is normal and , or is self-adjoint and . By Theorem 8.2.5 and Theorem 8.2.12, these are exactly the cases in which has an orthonormal eigenbasis. (Self-adjoint operators on complex spaces are included, being normal.)
Theorem 8.2.18 (Spectral decomposition). Let satisfy the spectral hypothesis, let be the distinct eigenvalues of , and let be the orthogonal projection onto .
- (a)The eigenspaces are pairwise orthogonal, and .
- (b) for , and .
- (c)
.
In matrix form: if with unitary (orthogonal, if ) with columns and
and grouping the terms with equal gives , where is the matrix of .
Uses. Theorem 8.2.5 (Complex spectral theorem), Theorem 8.2.12 (Real spectral theorem), Proposition 6.3.18 (Coordinates in an orthonormal basis), Definition 6.4.11 (Orthogonal projection), Proposition 6.4.29 (The orthogonal projection as a linear map), Theorem 4.4.13 (Bases and dimension of a sum), Theorem 6.4.31 (The matrix of an orthogonal projection), Proposition 2.4.8 (Four views of the product)
Techniques. Pass to orthonormal coordinates (Technique 6.7.2)
By Theorem 8.2.5 or Theorem 8.2.12, has an orthonormal basis with , and every is one of . For each , let be the list of those with .
We claim
so for every , by uniqueness of coordinates. Hence unless , and .
(a) For , and have no vector in common, so every vector of is orthogonal to every vector of , and hence every vector of
(b) Since is an orthonormal basis of , Definition 6.4.11 gives
Summing over gives
(c) By Proposition 6.3.18 and linearity,
by (8.2.1).
For the matrix form,
So a normal operator is a linear combination of orthogonal projections onto mutually perpendicular subspaces that fill . The converse also holds, and the decomposition is unique, which is what makes it useful for defining things.
Proposition 8.2.19 (Uniqueness of the spectral decomposition). Let be distinct, and let be nonzero orthogonal projections with for and . Let
- (a) is normal, and self-adjoint if every is real;
- (b)the eigenvalues of are exactly , and for every .
Uses. Corollary 6.6.29 (Orthogonal projections are the self-adjoint idempotents), Proposition 6.6.18 (Properties of the adjoint), Definition 7.2.13 (Eigenspace), Proposition 6.4.29 (The orthogonal projection as a linear map)
Each is an orthogonal projection, so (Corollary 6.6.29).
(a) By Proposition 6.6.18, . Expanding the products and using for and ,
If every is real, then .
(b) Let , say . Then and
Conversely, let with . For each ,
The projections can be computed without finding any eigenvectors. On , a polynomial acts as the scalar (Proposition 7.2.28), so a polynomial that is at and at the other eigenvalues acts as . These are the Lagrange polynomials.
Proposition 8.2.20 (Spectral projections are polynomials in ). Let satisfy the spectral hypothesis, with distinct eigenvalues and . Then
Consequently:
- (a)every operator with commutes with every and maps every eigenspace into itself;
- (b)if , then for the polynomial .
Uses. Theorem 8.2.18 (Spectral decomposition), Proposition 7.1.29 (Lagrange polynomials in closed form), Proposition 7.2.28 (Polynomials act on eigenvectors by their values), Proposition 7.2.27 (Evaluating polynomials at an operator), Corollary 6.6.29 (Orthogonal projections are the self-adjoint idempotents), Proposition 6.6.18 (Properties of the adjoint)
Techniques. Test an identity on eigenvectors (Technique 7.4.25)
The formula for is the Lagrange polynomial for the points (Proposition 7.1.29), so and for . (If , and the claim is .) Let . By Proposition 7.2.28,
(a) If , then for every by induction on , and so for every polynomial . In particular , and for we get
(b) By Theorem 8.2.18(c), Proposition 6.6.18, and (Corollary 6.6.29),
Part (b) gives another description of normality: on a finite-dimensional complex space, is normal if and only if is a polynomial in . (The converse holds because polynomials in commute with .)
Example 8.2.21 (A spectral decomposition). For of Example 8.2.15, the eigenvalues are and , so
Indeed for , as Theorem 6.4.31 predicts, and is the projection onto the plane . The decomposition reads
We found without choosing a basis of the plane, which is exactly the choice that was not unique.
Uses. Proposition 8.2.20 (Spectral projections are polynomials in ), Theorem 8.2.18 (Spectral decomposition), Theorem 6.4.31 (The matrix of an orthogonal projection)
8.2.5Functions of an operator
On an eigenspace , the operator is just multiplication by , so is multiplication by , by , and so on. The spectral decomposition lets us do this with any function of , not only with powers.
Definition 8.2.23 (Functions of an operator). Let satisfy the spectral hypothesis, with distinct eigenvalues and . For a function
For a matrix as in Theorem 8.2.18, with
The two formulas agree by the matrix form of Theorem 8.2.18, grouping equal . In particular, does not depend on the choice of , because the projections do not. Note also that only needs to be defined on the eigenvalues. When , is real-valued and is an operator on the real space .
Proposition 8.2.24 (Properties of ). Let satisfy the spectral hypothesis, with distinct eigenvalues , and let be functions from to , and .
- (a)
for every . - (b)If and for every , then . In particular, for the interpolating polynomial
of Proposition 8.2.20, and commutes with every operator that commutes with . - (c)
, , and . - (d), where . So is normal, and it is self-adjoint if and only if every is real.
- (e)The eigenvalues of are the values
.
Uses. Definition 8.2.23 (Functions of an operator), Theorem 8.2.18 (Spectral decomposition), Proposition 7.2.28 (Polynomials act on eigenvectors by their values), Proposition 8.2.20 (Spectral projections are polynomials in ), Proposition 6.6.18 (Properties of the adjoint), Corollary 6.6.29 (Orthogonal projections are the self-adjoint idempotents), Proposition 8.2.19 (Uniqueness of the spectral decomposition)
Techniques. Test an identity on eigenvectors (Technique 7.4.25)
By Theorem 8.2.18(a), , so two linear maps on are equal as soon as they agree on each .
(a) Let . Then , and for since . So
(b) On , acts as (Proposition 7.2.28) and as by (a). These agree, so . The interpolating polynomial satisfies
(c) On , and act as and . For ,
(d) By Proposition 6.6.18 and (Corollary 6.6.29),
(e) Let be the distinct values among
Technique 8.2.25 (Apply a function to the eigenvalues). To build an operator that does to what a scalar function does to a number (a square root, an inverse, an exponential, the sign, a cutoff that keeps only large eigenvalues), keep the eigenspaces of and apply the function to the eigenvalues:
Reach for it when the hypothesis says normal or self-adjoint and the problem asks for an operator with prescribed algebraic behavior: “find with ”, “show that has a self-adjoint inverse square root”, “solve ”. For a diagonalizable but not normal operator the same recipe works with in place of (Technique 7.4.22), but the result is not normal in general. The canonical example is the square root (Example 8.2.26); Section 8.3 shows that this square root is the only self-adjoint square root with nonnegative eigenvalues.
Used in 10 places and 7 practice exercises
Exercise 8.2.33, Exercise 8.2.34, Exercise 8.2.38, Exercise 8.2.39, Exercise 8.2.40, Exercise 8.2.47, Notation 8.3.10, Exercise 8.3.12, Exercise 8.3.37, Exercise 8.4.38; 7 practice exercises.
Example 8.2.26 (A square root). Let be self-adjoint with every eigenvalue , and let . By Proposition 8.2.24, is self-adjoint, its eigenvalues are nonnegative, and
For , the eigenvalues are and , with and , so
Check: . The choice of and was ours; is another symmetric square root of , with eigenvalues and .
Similarly, if no eigenvalue is , then gives
Beyond 21-242 The matrix exponential is not covered in 21-242.
Example 8.2.27 (The exponential). For a real symmetric with , define
satisfies
8.2.6Quadratic forms and principal axes
The historical origin of the spectral theorem is the problem of finding the axes of an ellipse or ellipsoid given by an equation such as
Corollary 8.2.28 (Principal axes). Let be symmetric, and write with orthogonal with columns and
Uses. Theorem 8.2.12 (Real spectral theorem), Proposition 2.4.23 (Transpose of a product), Definition 6.3.33 (Unitary and orthogonal matrices), Theorem 6.3.22 (Parseval’s identity)
Techniques. Choose a convenient basis (Technique 4.5.33)
By Proposition 2.4.23,
The -th entry of is
In the coordinates along the eigenvectors, the cross terms disappear. The lines are the principal axes of the quadratic form.
Example 8.2.29 (An ellipse). The equation
This is an ellipse with semi-axis along and semi-axis along . Its vertices are and ; for instance gives
Remark 8.2.30 (Classifying conics). The same computation classifies every curve
- If , it is an ellipse with semi-axes and along and (a circle if ).
- If , it is a hyperbola whose vertices lie on the axis of the positive eigenvalue.
- If , it is the pair of parallel lines .
- If , the left side is never positive and the curve is empty.
Since
Beyond 21-242 Infinite-dimensional spaces are not covered in 21-242.
Exercises
Exercise 8.2.32. Find an orthogonal and a diagonal with
Uses. Algorithm 8.2.14 (Orthogonal diagonalization), Theorem 6.4.15 (Gram–Schmidt is correct), Theorem 7.5.22 (Trace and determinant from eigenvalues)
Techniques. Diagonalize, solve, conjugate back (Technique 7.4.22)
Let be the matrix. We have
whose rows are all multiples of . So and
For , take the basis (both satisfy ). Gram–Schmidt: , and
which normalizes to . With ,
The columns are orthonormal: automatically, and by construction.
Exercise 8.2.33. Let be a finite-dimensional complex inner product space and normal. Show:
- (a) is self-adjoint if and only if every eigenvalue of is real;
- (b) if and only if every eigenvalue of is purely imaginary (in );
- (c) is an orthogonal projection if and only if every eigenvalue of is or ;
- (d) if and only if every eigenvalue of has absolute value .
Then show by an example that (a) fails for operators that are not normal.
Uses. Theorem 8.2.18 (Spectral decomposition), Proposition 8.2.19 (Uniqueness of the spectral decomposition), Proposition 8.2.24 (Properties of ), Corollary 6.6.29 (Orthogonal projections are the self-adjoint idempotents)
Techniques. Apply a function to the eigenvalues (Technique 8.2.25), Test an identity on eigenvectors (Technique 7.4.25)
Write
(a) if and only if for all , that is, every is real.
(b) if and only if for all , that is, .
(c) By Corollary 6.6.29, is an orthogonal projection if and only if , that is, for all . The first equation says , and then the second holds automatically.
(d) if and only if for all .
For the example, has only the real eigenvalue , but .
Exercise 8.2.34. Prove or disprove each statement. Throughout, is a finite-dimensional inner product space.
- (a)If is complex, is normal, and for some , then .
- (b)If is real, is self-adjoint, and , then .
- (c)The statement in (b) remains true without the hypothesis that is self-adjoint.
- (d)If is symmetric, then every basis of consisting of eigenvectors of is orthogonal.
- (e)If is diagonalizable over and its eigenspaces are pairwise orthogonal, then is symmetric.
Uses. Theorem 8.2.5 (Complex spectral theorem), Theorem 8.2.12 (Real spectral theorem), Proposition 8.2.24 (Properties of ), Theorem 7.3.24 (Every monic polynomial is a characteristic polynomial), Proposition 8.2.2 (Necessary conditions)
Techniques. Apply a function to the eigenvalues (Technique 8.2.25), Finding counterexamples and minimal examples (Technique 1.4.18)
(a) True. By Theorem 8.2.5, . If is nonzero, then
(b) True. By Theorem 8.2.12, has an orthonormal eigenbasis , with and . Applying to gives . Since
(c) False. Let , the companion matrix of (Theorem 7.3.24); directly,
(d) False. is symmetric, and every nonzero vector is an eigenvector, so is an eigenbasis. It is not orthogonal. (What is true: eigenvectors for different eigenvalues are orthogonal.)
(e) True. Choose an orthonormal basis of each eigenspace (Theorem 6.4.20). Since is diagonalizable, the eigenspaces together contain a basis, so their dimensions add up to (Theorem 7.4.16), and the concatenation is an orthonormal list of eigenvectors, because vectors from different eigenspaces are orthogonal. It is an orthonormal eigenbasis, so is symmetric by Proposition 8.2.2(b) (or Theorem 8.2.12).
Exercise 8.2.35. Find the error in the following “proof” that every normal operator on a finite-dimensional real inner product space with has an orthonormal eigenbasis. Then give a counterexample to the claim, and name a hypothesis on that repairs the proof.
“Proof.” Induct on ; the case is clear. Let , and let be a unit eigenvector of , with . Since is normal,
Uses. Example 8.2.3 (Which matrices have orthonormal eigenbases), Lemma 8.2.10 (Self-adjoint operators have eigenvalues), Theorem 8.2.12 (Real spectral theorem)
Techniques. Induction on dimension via an invariant subspace (Technique 7.5.12)
The error is in the second sentence: “let be a unit eigenvector of ”. Over an operator need not have any eigenvector. The rest of the argument is correct over : the computation
Counterexample: satisfies , so is normal on , but has no real root, so has no eigenvector, let alone an orthonormal eigenbasis (Example 8.2.3).
Repair: assume is self-adjoint. Then Lemma 8.2.10 provides the eigenvector at every stage (restrictions of self-adjoint operators to invariant subspaces are self-adjoint), and the argument becomes the first proof of Theorem 8.2.12.
Uses. Theorem 8.2.18 (Spectral decomposition), Proposition 8.2.20 (Spectral projections are polynomials in ), Theorem 8.2.12 (Real spectral theorem), Corollary 8.2.7 (Hermitian matrices), Definition 6.6.26 (Self-adjoint operator)
Techniques. Look for invariant subspaces among kernels and images of commuting operators (Technique 7.2.31), Glue bases of the summands (Technique 4.4.14)
If is an orthonormal basis of common eigenvectors, then and are diagonal, so they commute, and
Conversely, suppose . A self-adjoint operator satisfies the spectral hypothesis (over it is normal), so by Theorem 8.2.18, with pairwise orthogonal eigenspaces of . By Proposition 8.2.20(a), maps each into itself. The restriction
Exercise 8.2.37. Let be a finite-dimensional complex inner product space, normal, and with .
- (a)Show that .
- (b)Show by an example that (a) can fail if is not normal.
- (c)Suppose that is normal as well. Show that , , , pairwise commute, and deduce that and are normal.
Uses. Proposition 8.2.20 (Spectral projections are polynomials in ), Proposition 7.2.27 (Evaluating polynomials at an operator), Proposition 6.6.18 (Properties of the adjoint), Definition 8.1.8 (Normal operator, normal matrix)
(a) By Proposition 8.2.20(b), for some . Since commutes with , it commutes with for every (induction on ), hence with .
(b) Let , which commute. Then , and
(This is not normal, since by the same computation.)
(c) By (a), commutes with ; by (a) with the roles of and exchanged (now is normal and commutes with it), commutes with . Taking adjoints of gives (Proposition 6.6.18(d)). Finally and by normality. So the four operators pairwise commute. Then
are products of the same four pairwise commuting operators, so they are equal, and is normal. Similarly
- (a)Find the symmetric with eigenvalues and such that is an eigenvector for , and show that it is unique.
- (b)Find a matrix , not symmetric, with eigenvalues and such that is an eigenvector for .
Uses. Theorem 8.2.18 (Spectral decomposition), Theorem 6.4.31 (The matrix of an orthogonal projection), Proposition 7.4.23 (Powers and polynomials of a diagonalizable matrix)
Techniques. Apply a function to the eigenvalues (Technique 8.2.25)
(a) Let be such a matrix. By Theorem 8.2.18, with . Each eigenspace is at least a line, so both are lines; and
It is symmetric, and
(b) Take as eigenvector for , and let (columns: the eigenvectors for and ) and . Then and
Then and , and is not symmetric. Uniqueness in (a) came from the orthogonality of eigenspaces, which only symmetric matrices guarantee.
Exercise 8.2.39. Let .
- (a)Find the symmetric with nonnegative eigenvalues such that .
- (b)Find all with .
- (c)Explain why , in contrast, has infinitely many square roots in .
Uses. Proposition 8.2.24 (Properties of ), Proposition 7.2.30 (Kernels and images of commuting operators are invariant), Proposition 7.2.7 (Invariant lines are spanned by eigenvectors), Theorem 8.2.18 (Spectral decomposition)
Techniques. Apply a function to the eigenvalues (Technique 8.2.25)
(a)
Check: .
(b) Suppose . Then , so maps
(c) For there is a single eigenspace, itself, and the argument of (b) gives no information. Every reflection
Uses. Definition 8.2.23 (Functions of an operator), Example 8.2.27 (The exponential), Example 8.2.3 (Which matrices have orthonormal eigenbases), Theorem 6.4.31 (The matrix of an orthogonal projection)
Techniques. Apply a function to the eigenvalues (Technique 8.2.25)
For : and , so and , and
For : by Example 8.2.3,
using
Exercise 8.2.41. Identify each curve in (ellipse, hyperbola, pair of lines, or empty), and find its principal axes.
- (a)
- (b)
- (c)
Uses. Corollary 8.2.28 (Principal axes), Remark 8.2.30 (Classifying conics)
In each case let and , and , . Every symmetric matrix has and , so Corollary 8.2.28 applies with these coordinates. The principal axes are the lines and in all three cases.
(a) , eigenvalues and . The curve is : a hyperbola, with vertices at , , that is, at on the line .
(b) , eigenvalues and . The curve is , that is, : an ellipse with semi-axis along and semi-axis along .
(c) , eigenvalues and . The curve is , that is, : the two parallel lines . (Directly: .)
Exercise 8.2.42. Let be self-adjoint, and let and be its smallest and largest eigenvalues.
- (a)Show that
for every , with equality on the right if and only if . - (b)Deduce that for a real symmetric ,
for every . - (c)Show that has an eigenvalue greater than .
Uses. Theorem 8.2.12 (Real spectral theorem), Corollary 8.2.7 (Hermitian matrices), Proposition 6.3.18 (Coordinates in an orthonormal basis), Theorem 6.3.22 (Parseval’s identity)
Techniques. Pass to orthonormal coordinates (Technique 6.7.2)
(a) Let be an orthonormal eigenbasis with (Theorem 8.2.12 or Corollary 8.2.7), and write . Then
(Theorem 6.3.22). Since and ,
Equality on the right means
(b) Apply (a) to on with the dot product and :
(c) With , , so while . By (a), . (Part (b) alone gives only . In fact .)
Exercise 8.2.43. Let be symmetric and nonzero. Show that
and determine when equality holds.
Uses. Theorem 8.2.12 (Real spectral theorem), Proposition 4.5.27 (Similarity invariants), Proposition 6.2.22 (The square of a sum), Proposition 7.4.23 (Powers and polynomials of a diagonalizable matrix)
Techniques. Apply Cauchy–Schwarz to a well-chosen inner product (Technique 6.2.21)
By Theorem 8.2.12, with orthogonal and
Since , , so and . The sum only involves the nonzero eigenvalues, and by Proposition 6.2.22 (Cauchy–Schwarz for the vectors and in ),
Dividing by gives the inequality. Equality holds in Cauchy–Schwarz if and only if is a multiple of , that is, if and only if all nonzero eigenvalues of are equal. Equivalently, for a scalar and an orthogonal projection (by Theorem 8.2.18).
Uses. Theorem 8.2.5 (Complex spectral theorem), Exercise 6.6.38, Theorem 7.3.27 (Existence of eigenvalues over ), Corollary 6.4.27 (Testing whether a subspace is everything)
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9), Move an operator across the inner product (Technique 6.6.20)
() If is normal and , then , as shown in the second proof of Theorem 8.2.5.
() Let with . By hypothesis for some , and
so . Thus for every (including ). This is the only property of normal operators used in the third proof of Theorem 8.2.5, so that proof applies verbatim: is -invariant, so is -invariant (Exercise 6.6.38); an eigenvector of would lie in , so and (Theorem 7.3.27, Corollary 6.4.27); and
- (a)Show that satisfies if and only if is symmetric or for some .
- (b)Deduce that a real normal matrix that is not symmetric has no real eigenvalue, and interpret geometrically.
Uses. Definition 8.1.8 (Normal operator, normal matrix), Theorem 7.3.6 (Eigenvalues are the roots of the characteristic polynomial)
Techniques. Compute entry by entry (Technique 2.4.15)
(a) Let . Then
So is normal if and only if and
(b) If is normal and not symmetric, then with , and
Uses. Lemma 8.2.10 (Self-adjoint operators have eigenvalues), Exercise 6.6.38, Corollary 6.4.27 (Testing whether a subspace is everything), Theorem 6.4.20 (Orthonormal bases exist), Definition 6.6.26 (Self-adjoint operator)
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9)
Let be self-adjoint, let be its distinct eigenvalues ( by Lemma 8.2.10), and let . Each is -invariant, so is -invariant. Since , Exercise 6.6.38 shows that is -invariant, that is, -invariant. (This is the first use of self-adjointness; in the complex case we needed the fact that eigenvectors of are eigenvectors of .)
Suppose . The restriction is self-adjoint, since
For and with ,
Exercise 8.2.47. Let be Hermitian.
- (a)Show that is invertible.
- (b)Show that
is unitary, and that is not an eigenvalue of . - (c)Conversely, show that every unitary without the eigenvalue arises in this way from a unique Hermitian .
Uses. Corollary 8.2.7 (Hermitian matrices), Theorem 8.2.5 (Complex spectral theorem), Proposition 8.2.24 (Properties of ), Exercise 8.2.33
Techniques. Apply a function to the eigenvalues (Technique 8.2.25)
By Corollary 8.2.7, with unitary and
(a)
(b) Let
(c) Let be unitary with no eigenvalue . Then , so is normal, and by Theorem 8.2.5, with unitary and
and is real. Solving
Uses. Theorem 8.2.5 (Complex spectral theorem), Exercise 8.2.45, Proposition 7.3.34 (Eigenvalues of a complexification), Exercise 6.6.38, Theorem 6.4.20 (Orthonormal bases exist), Theorem 4.5.17 (Change of basis)
Techniques. Complexify, then take real and imaginary parts (Technique 7.3.35), Induction on dimension via an invariant subspace (Technique 7.5.12)
We prove the statement for normal operators on finite-dimensional real inner product spaces (with “orthonormal basis” in place of ), by strong induction on ; for apply it to on and let have the basis as columns (Theorem 4.5.17). Dimension is trivial. Suppose . It suffices to find a subspace of dimension or that is invariant under and , and an orthonormal basis of in which has a block of the required form. Indeed, then is invariant under and (Exercise 6.6.38 applied to and to ), is normal with adjoint (as in the second proof of Theorem 8.2.5), and the induction hypothesis applies to it; the two orthonormal bases together give the required basis of .
Case 1: has a real eigenvalue . Let be a unit eigenvector. The computation
Case 2: has no real eigenvalue. Choose an orthonormal basis of and let ; then and is normal. As a complex matrix, , so is normal in , and it has an eigenvalue with eigenvector , ; by assumption. By the second proof of Theorem 8.2.5, . Comparing real and imaginary parts of and (as in Proposition 7.3.34),
So is invariant under and , and it has dimension by Proposition 7.3.34(c). Let be the corresponding subspace (the vectors whose -coordinates lie in ); it is invariant under and . Let be an orthonormal basis of and
More practice
The practice bank has 20 exercises on this section’s topics.