Books
Theme
Text size
Width

[ and ] go to the previous and next page.

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 dim𝑉≥1, and 𝑇∈L(𝑉). 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 [𝑇∗]𝒪︀=([𝑇]𝒪︀)∗ (Theorem 6.6.15) and [𝑆𝑇]𝒪︀=[𝑆]𝒪︀[𝑇]𝒪︀ (Theorem 2.4.2).

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 𝑈∗=𝑈−1 for unitary 𝑈 (Definition 6.3.33), 𝐴=𝑈𝐷𝑈∗ is a diagonalization 𝐴=𝑆𝐷𝑆−1 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 𝑇.

  1. (a)𝑇 is normal: 𝑇∗𝑇=𝑇𝑇∗.
  2. (b)If every eigenvalue of 𝑇 is real (in particular, if 𝔽=ℝ), then 𝑇 is self-adjoint.

Proof.routine

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)

Hint 1. Write down [𝑇]𝒪︀ for the orthonormal eigenbasis 𝒪︀. What is [𝑇∗]𝒪︀?
Hint 2. Diagonal matrices commute with each other, and 𝐷∗=𝐷 for a real diagonal 𝐷.
Sketch. In the eigenbasis 𝒪︀, [𝑇]𝒪︀=𝐷 is diagonal, so [𝑇∗]𝒪︀=𝐷∗ is diagonal too. Diagonal matrices commute, so [𝑇∗𝑇]𝒪︀=𝐷∗𝐷=𝐷𝐷∗=[𝑇𝑇∗]𝒪︀. If the eigenvalues are real, 𝐷∗=𝐷, so 𝑇∗=𝑇.

Let 𝒪︀ be an orthonormal eigenbasis, with 𝑇𝐮𝑗=𝜆𝑗𝐮𝑗. By Theorem 7.4.2, [𝑇]𝒪︀=𝐷=diag(𝜆1,…,𝜆𝑛), and by Theorem 6.6.15, [𝑇∗]𝒪︀=𝐷∗=diag(𝜆1,…,𝜆𝑛).

(a) Products of diagonal matrices are computed entry by entry, so 𝐷∗𝐷=diag(|𝜆1|2,…,|𝜆𝑛|2)=𝐷𝐷∗. By Theorem 2.4.2, [𝑇∗𝑇]𝒪︀=𝐷∗𝐷=𝐷𝐷∗=[𝑇𝑇∗]𝒪︀, and maps with the same matrix are equal (Theorem 2.3.20). 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.

Example 8.2.3 (Which matrices have orthonormal eigenbases).
  1. (a)𝐴=(1102)∈ℝ2×2 has the distinct eigenvalues 1 and 2, so it is diagonalizable (Corollary 7.4.5), with eigenvectors (1,0) and (1,1). These are not orthogonal, and each eigenspace is a line, so no choice of eigenvectors is orthogonal. Correspondingly 𝐴 is not normal: (𝐴∗𝐴)11=1 while (𝐴𝐴∗)11=2. Diagonalizable and unitarily diagonalizable are different conditions.
  2. (b)The rotation 𝐽=(0−110) satisfies 𝐽𝖳𝐽=𝐼2=𝐽𝐽𝖳, so 𝑇𝐽 is normal on ℝ2 and on ℂ2. Over ℝ it has no eigenvector at all (Example 7.2.18). Over ℂ,

    𝐽(1−𝑖)=(𝑖1)=𝑖(1−𝑖),𝐽(1𝑖)=(−𝑖1)=−𝑖(1𝑖),

    and 12(1,−𝑖), 12(1,𝑖) is an orthonormal eigenbasis of ℂ2, since (1,−𝑖)⋅(1,𝑖)=1+(−𝑖)𝑖=1−1=0. 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, 𝑟11, while the first row is 𝑟11,𝑟12,…,𝑟1𝑛. 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 𝑊=span(𝐮)⟂. 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.

Lemma 8.2.4 (Triangular and normal means diagonal). Let 𝑅∈𝔽𝑛×𝑛 be upper triangular with 𝑅∗𝑅=𝑅𝑅∗. Then 𝑅 is diagonal.

Proof.standard

Hint 1. Compute the diagonal entries (𝑅∗𝑅)𝑘𝑘 and (𝑅𝑅∗)𝑘𝑘 as sums of |𝑟𝑖𝑗|2. Which entries of 𝑅 appear in each?
Hint 2. (𝑅∗𝑅)𝑘𝑘 is the squared norm of column 𝑘 and (𝑅𝑅∗)𝑘𝑘 that of row 𝑘. Start with 𝑘=1, where the column has a single possibly nonzero entry.
Hint 3. Prove by strong induction on 𝑘 that row 𝑘 has no nonzero entries to the right of the diagonal. When you reach row 𝑘, the entries of column 𝑘 above the diagonal lie in earlier rows.
Sketch. (𝑅∗𝑅)𝑘𝑘=∑𝑖|𝑟𝑖𝑘|2 is the squared norm of column 𝑘, and (𝑅𝑅∗)𝑘𝑘=∑𝑗|𝑟𝑘𝑗|2 that of row 𝑘. By strong induction on 𝑘: if rows 1,…,𝑘−1 vanish off the diagonal, then column 𝑘 has only the entry 𝑟𝑘𝑘, so equating the two norms gives ∑𝑗>𝑘|𝑟𝑘𝑗|2=0, and row 𝑘 vanishes off the diagonal too.

For each 𝑘, the definitions of the product and of 𝑅∗ give

(𝑅∗𝑅)𝑘𝑘=∑𝑖=1𝑛𝑟𝑖𝑘𝑟𝑖𝑘=∑𝑖=1𝑛|𝑟𝑖𝑘|2,(𝑅𝑅∗)𝑘𝑘=∑𝑗=1𝑛𝑟𝑘𝑗𝑟𝑘𝑗=∑𝑗=1𝑛|𝑟𝑘𝑗|2,

the squared norms of column 𝑘 and of row 𝑘. We prove by strong induction on 𝑘 that 𝑟𝑘𝑗=0 for all 𝑗>𝑘. Let 1≤𝑘≤𝑛 and suppose this holds for every row 𝑖<𝑘. Then 𝑟𝑖𝑘=0 for 𝑖<𝑘 by the hypothesis (as 𝑘>𝑖), and 𝑟𝑖𝑘=0 for 𝑖>𝑘 because 𝑅 is upper triangular. So column 𝑘 has the single entry 𝑟𝑘𝑘, and (𝑅∗𝑅)𝑘𝑘=(𝑅𝑅∗)𝑘𝑘 reads

|𝑟𝑘𝑘|2=|𝑟𝑘𝑘|2+∑𝑗>𝑘|𝑟𝑘𝑗|2.

Hence ∑𝑗>𝑘|𝑟𝑘𝑗|2=0. A sum of nonnegative reals vanishes only if every term does, so 𝑟𝑘𝑗=0 for all 𝑗>𝑘. (For 𝑘=1 the hypothesis is empty and the same argument applies.) So every entry above the diagonal is 0, and 𝑅 is diagonal. □

Theorem 8.2.5 (Complex spectral theorem). Let 𝑉 be a finite-dimensional complex inner product space with dim𝑉≥1, and let 𝑇∈L(𝑉). The following are equivalent:

  1. (I)𝑇 is normal;
  2. (II)𝑉 has an orthonormal basis consisting of eigenvectors of 𝑇;
  3. (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).routine

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)

Hint 1. Start from a Schur basis: an orthonormal 𝒪︀ with 𝑅=[𝑇]𝒪︀ upper triangular. What does normality of 𝑇 say about 𝑅?
Hint 2. Since 𝒪︀ is orthonormal, [𝑇∗]𝒪︀=𝑅∗. Apply Lemma 8.2.4.
Sketch. (II) ⇔ (III) is Theorem 7.4.2, and (II) ⇒ (I) is Proposition 8.2.2. For (I) ⇒ (III), Schur gives an orthonormal 𝒪︀ with 𝑅=[𝑇]𝒪︀ upper triangular, and 𝑅∗𝑅=[𝑇∗𝑇]𝒪︀=[𝑇𝑇∗]𝒪︀=𝑅𝑅∗. By Lemma 8.2.4, 𝑅 is diagonal. For matrices, apply this to 𝑇𝐴 on ℂ𝑛 and use that the columns of an orthonormal basis form a unitary matrix.

(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 𝐴∗𝐴=𝑈𝐷∗𝐷𝑈∗=𝑈𝐷𝐷∗𝑈∗=𝐴𝐴∗. Conversely, if 𝐴∗𝐴=𝐴𝐴∗, then 𝑇𝐴 is normal on ℂ𝑛 with the dot product (Example 6.6.10), so by (II) there is an orthonormal eigenbasis 𝐮1,…,𝐮𝑛 of ℂ𝑛. The matrix 𝑈 with these columns is unitary (Definition 6.3.33), and by Theorem 4.5.17, 𝑈∗𝐴𝑈=𝑈−1𝐴𝑈=[𝑇𝐴]𝒪︀=𝐷 is diagonal. Hence 𝐴=𝑈𝐷𝑈∗. □

Intuition (What the second proof needs from normality). The induction runs on 𝑊=span(𝐮)⟂, 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 𝑇−𝜆id, this says that 𝑇𝐮=𝜆𝐮 implies 𝑇∗𝐮=𝜆𝐮.
  • Restrictions stay normal: if 𝑊 is invariant under both 𝑇 and 𝑇∗, then the adjoint of 𝑇↾𝑊 is 𝑇∗↾𝑊.

Proof (induction with invariant complements).standard

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)

Hint 1. Induct on 𝑛=dim𝑉. Take a unit eigenvector 𝐮 with 𝑇𝐮=𝜆𝐮, and let 𝑊=span(𝐮)⟂. You want 𝑊 to be 𝑇-invariant. By Exercise 6.6.38, what would suffice?
Hint 2. It suffices that span(𝐮) is 𝑇∗-invariant, that is, that 𝐮 is an eigenvector of 𝑇∗. Show ‖𝑇𝐯‖=‖𝑇∗𝐯‖ for normal 𝑇, and apply it to 𝑇−𝜆id.
Hint 3. To apply the induction hypothesis to 𝑆=𝑇↾𝑊, check that 𝑊 is also 𝑇∗-invariant and that 𝑆∗=𝑇∗↾𝑊. Then 𝑆 is normal.
Sketch. For normal 𝑇, ‖𝑇𝐯‖2=⟨𝑇∗𝑇𝐯,𝐯⟩=⟨𝑇𝑇∗𝐯,𝐯⟩=‖𝑇∗𝐯‖2; since 𝑇−𝜆id is normal, 𝑇𝐮=𝜆𝐮 gives 𝑇∗𝐮=𝜆𝐮. Take a unit eigenvector 𝐮 (it exists over ℂ). Then span(𝐮) is invariant under 𝑇 and 𝑇∗, so 𝑊=span(𝐮)⟂ is too (Exercise 6.6.38). On 𝑊, 𝑇↾𝑊 has adjoint 𝑇∗↾𝑊, so it is normal, and by induction 𝑊 has an orthonormal eigenbasis. Add 𝐮.

We prove (I) ⇒ (II) by induction on 𝑛=dim𝑉; the rest is as in the first proof. First, two facts about a normal operator 𝑁 on an inner product space.

  • For every 𝐯, ‖𝑁𝐯‖=‖𝑁∗𝐯‖, because

    ‖𝑁𝐯‖2=⟨𝑁𝐯,𝑁𝐯⟩=⟨𝑁∗𝑁𝐯,𝐯⟩=⟨𝑁𝑁∗𝐯,𝐯⟩=⟨𝑁∗𝐯,𝑁∗𝐯⟩=‖𝑁∗𝐯‖2.
  • For every 𝜆∈ℂ, 𝑁−𝜆id is normal. Indeed (𝑁−𝜆id)∗=𝑁∗−𝜆id by Proposition 6.6.18, and expanding,

    (𝑁−𝜆id)(𝑁∗−𝜆id)=𝑁𝑁∗−𝜆𝑁−𝜆𝑁∗+|𝜆|2id=(𝑁∗−𝜆id)(𝑁−𝜆id),

    using 𝑁𝑁∗=𝑁∗𝑁. So if 𝑁𝐮=𝜆𝐮, the first fact applied to 𝑁−𝜆id gives ‖(𝑁∗−𝜆id)𝐮‖=‖(𝑁−𝜆id)𝐮‖=0, that is, 𝑁∗𝐮=𝜆𝐮.

Now let 𝑇 be normal. If 𝑛=1, any unit vector 𝐮 spans 𝑉, so 𝑇𝐮∈span(𝐮), and 𝐮 alone is an orthonormal eigenbasis. Let 𝑛≥2, and assume (I) ⇒ (II) for complex inner product spaces of dimension 𝑛−1. By Theorem 7.3.27, 𝑇 has an eigenvector; dividing by its norm, we get 𝐮 with ‖𝐮‖=1 and 𝑇𝐮=𝜆𝐮. By the facts above, 𝑇∗𝐮=𝜆𝐮. Let 𝑈=span(𝐮) 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 𝑆=𝑇↾𝑊∈L(𝑊), where 𝑊 carries the inner product of 𝑉. For 𝐰,𝐰′∈𝑊 we have 𝑇∗↾𝑊𝐰′=𝑇∗𝐰′∈𝑊 and

⟨𝑆𝐰,𝐰′⟩=⟨𝑇𝐰,𝐰′⟩=⟨𝐰,𝑇∗𝐰′⟩,

so 𝑇∗↾𝑊 is the adjoint of 𝑆 (Definition 6.6.8, Proposition 6.6.9). Hence 𝑆∗𝑆=(𝑇∗𝑇)↾𝑊=(𝑇𝑇∗)↾𝑊=𝑆𝑆∗, and 𝑆 is normal. By Theorem 6.4.24 and Corollary 6.4.25, 𝑉=𝑈⊕𝑊 and dim𝑊=𝑛−1. By the induction hypothesis, 𝑊 has an orthonormal basis 𝐮2,…,𝐮𝑛 of eigenvectors of 𝑆, which are eigenvectors of 𝑇. Each 𝐮𝑗 lies in 𝑊=𝑈⟂, so 𝐮,𝐮2,…,𝐮𝑛 is orthonormal (Definition 6.3.15), and it is a basis of 𝑉=𝑈⊕𝑊 by Theorem 4.4.13. It consists of eigenvectors of 𝑇. □

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).standard

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)

Hint 1. Let 𝐸=𝐸𝜆1+⋯+𝐸𝜆𝑘 be the sum of the eigenspaces. Use, as in the second proof, that 𝑇𝐮=𝜆𝐮 implies 𝑇∗𝐮=𝜆𝐮. Which subspaces does 𝑇∗ preserve?
Hint 2. 𝑇∗ maps each 𝐸𝜆 into itself, so 𝐸 is 𝑇∗-invariant, and 𝐸⟂ is 𝑇-invariant. What would an eigenvector of 𝑇↾𝐸⟂ be?
Hint 3. For orthogonality, compute ⟨𝑇𝐮,𝐯⟩ in two ways for 𝐮∈𝐸𝜆 and 𝐯∈𝐸𝜇.
Sketch. Every eigenvector of 𝑇 is one of 𝑇∗ (second proof), so 𝑇∗ preserves each eigenspace and hence 𝐸=∑𝑗𝐸𝜆𝑗; by Exercise 6.6.38, 𝑇 preserves 𝐸⟂. If 𝐸⟂≠{𝟎}, then 𝑇↾𝐸⟂ has an eigenvector, which lies in 𝐸∩𝐸⟂={𝟎}, a contradiction. So 𝐸=𝑉. Eigenspaces for 𝜆≠𝜇 are orthogonal since 𝜆⟨𝐮,𝐯⟩=⟨𝑇𝐮,𝐯⟩=⟨𝐮,𝑇∗𝐯⟩=𝜇⟨𝐮,𝐯⟩. Concatenate orthonormal bases of the eigenspaces.

Let 𝑇 be normal, let 𝜆1,…,𝜆𝑘 be its distinct eigenvalues (there is at least one, by Theorem 7.3.27), and let 𝐸=𝐸𝜆1+⋯+𝐸𝜆𝑘. 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 ⟨𝐰,𝐰⟩=0 and 𝐰=𝟎, a contradiction. Hence 𝐸⟂={𝟎}, and 𝐸=𝑉 by Corollary 6.4.27.

Next, eigenspaces for different eigenvalues are orthogonal. Let 𝐮∈𝐸𝜆 and 𝐯∈𝐸𝜇 with 𝜆≠𝜇. Then 𝑇∗𝐯=𝜇𝐯, and

𝜆⟨𝐮,𝐯⟩=⟨𝑇𝐮,𝐯⟩=⟨𝐮,𝑇∗𝐯⟩=⟨𝐮,𝜇𝐯⟩=𝜇⟨𝐮,𝐯⟩.

Since 𝜆≠𝜇, ⟨𝐮,𝐯⟩=0.

Finally, choose an orthonormal basis 𝒪︀𝑗 of each 𝐸𝜆𝑗 (Theorem 6.4.20), and let 𝒪︀ be the concatenation 𝒪︀1,…,𝒪︀𝑘. 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 𝐸𝜆1+⋯+𝐸𝜆𝑘=𝑉. So 𝒪︀ is an orthonormal eigenbasis. □

Remark 8.2.6 (Comparing the three proofs). The first proof is the shortest, because Schur’s theorem has already done the work of finding a basis, and it isolates the role of normality in a single matrix lemma. The second is self-contained apart from the existence of one eigenvalue, and it is the template for the real theorem below, where Schur’s theorem is not available in the same form. The third proves more than it states: it shows directly that 𝑉 is the orthogonal direct sum of the eigenspaces, which is the spectral decomposition of Section 8.2.4. It also shows a pattern worth remembering: to prove that some subspace 𝐸 is everything, show that 𝐸⟂ is invariant and that any eigenvector in it would have to lie in 𝐸.

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.

Corollary 8.2.7 (Hermitian matrices). Let 𝑉 be a finite-dimensional complex inner product space with dim𝑉≥1, and 𝑇∈L(𝑉). Then 𝑇 is self-adjoint if and only if 𝑉 has an orthonormal eigenbasis for 𝑇 and every eigenvalue of 𝑇 is real. In matrix form: 𝐴∈ℂ𝑛×𝑛 is Hermitian if and only if 𝐴=𝑈𝐷𝑈∗ with 𝑈 unitary and 𝐷 diagonal with real entries.

Proof (from the complex spectral theorem).routine

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)

Hint 1. A self-adjoint operator is normal.
Hint 2. Which result says the eigenvalues of a self-adjoint operator are real?
Sketch. If 𝑇∗=𝑇 then 𝑇∗𝑇=𝑇2=𝑇𝑇∗, so Theorem 8.2.5 gives an orthonormal eigenbasis, and the eigenvalues are real by Proposition 8.1.1. The converse is Proposition 8.2.2(b).
If 𝑇 is self-adjoint, then 𝑇∗𝑇=𝑇𝑇=𝑇𝑇∗, so 𝑇 is normal and has an orthonormal eigenbasis by Theorem 8.2.5; its eigenvalues are real by Proposition 8.1.1. The converse is Proposition 8.2.2(b). The matrix form follows as in the first proof of Theorem 8.2.5: 𝐴 is Hermitian if and only if 𝑇𝐴 is self-adjoint (Example 6.6.10), and 𝑈∗𝐴𝑈=𝐷 is real diagonal exactly when the columns of 𝑈 form an orthonormal eigenbasis with real eigenvalues. □

Proof (directly from Schur, as in lecture).routine

Uses. Theorem 7.5.18 (Schur’s theorem), Corollary 6.6.28 (Self-adjointness in an orthonormal basis), Proposition 8.2.2 (Necessary conditions)

Hint 1. Take a Schur basis 𝒪︀. If 𝑇 is self-adjoint, what is the relation between [𝑇]𝒪︀ and its conjugate transpose?
Hint 2. A matrix that equals its conjugate transpose and is upper triangular is also lower triangular.
Sketch. For a Schur basis, 𝑅=[𝑇]𝒪︀ is upper triangular and 𝑅∗=𝑅 (Corollary 6.6.28). So 𝑅 is also lower triangular, hence diagonal, and 𝑟𝑗𝑗=𝑟𝑗𝑗 is real.
Let 𝑇 be self-adjoint, and let 𝒪︀ be an orthonormal basis with 𝑅=[𝑇]𝒪︀ upper triangular (Theorem 7.5.18). By Corollary 6.6.28, 𝑅∗=𝑅, that is, 𝑟𝑖𝑗=𝑟𝑗𝑖 for all 𝑖,𝑗. For 𝑖>𝑗 we have 𝑟𝑖𝑗=0, so 𝑟𝑗𝑖=𝑟𝑖𝑗=0: the entries above the diagonal vanish too, and 𝑅 is diagonal. Its diagonal entries satisfy 𝑟𝑗𝑗=𝑟𝑗𝑗, so they are real, and they are the eigenvalues of the vectors of 𝒪︀. The converse is Proposition 8.2.2(b). □
Example 8.2.8 (Two unitary diagonalizations).
  1. (a)The real matrix 𝑁=(1−111)=𝐼2+𝐽 is normal, since 𝐽 commutes with 𝐽𝖳=−𝐽. It is not symmetric, so it is not orthogonally diagonalizable over ℝ (and indeed 𝑝𝑁=(𝑥−1)2+1 has no real root). Over ℂ its eigenvectors are those of 𝐽 from Example 8.2.3, with eigenvalues 1+𝑖 and 1−𝑖:

    𝑁=𝑈(1+𝑖001−𝑖)𝑈∗,𝑈=12(11−𝑖𝑖).
  2. (b)The Hermitian matrix 𝐻=(21−𝑖1+𝑖3) of Example 6.6.27 has 𝑝𝐻=(𝑥−2)(𝑥−3)−(1−𝑖)(1+𝑖)=𝑥2−5𝑥+4=(𝑥−1)(𝑥−4). Row reducing 𝐻−𝐼2 and 𝐻−4𝐼2 gives the eigenvectors (−1+𝑖,1) for 1 and (1,1+𝑖) for 4. Each has squared norm 3, and they are orthogonal, as Corollary 8.2.7 predicts: (−1+𝑖)⋅1+1⋅1+𝑖=−1+𝑖+1−𝑖=0. So

    𝐻=𝑈(1004)𝑈∗,𝑈=13(−1+𝑖111+𝑖).

Exercise 8.2.9.routine For each matrix, decide whether it is unitarily diagonalizable (over ℂ), and for the real ones also whether it is orthogonally diagonalizable (over ℝ).

  1. (a)(1203)
  2. (b)(0−220)
  3. (c)(1𝑖𝑖1)
  4. (d)(1221)
  5. (e)(110011101)

Solution.

Uses. Theorem 8.2.5 (Complex spectral theorem), Proposition 8.2.2 (Necessary conditions)

Hint 1. By Theorem 8.2.5, check 𝐴∗𝐴=𝐴𝐴∗ for the first question. For the second, an orthogonally diagonalizable real matrix must be symmetric (Proposition 8.2.2).
Hint 2. In (e), the matrix is 𝐼3+𝑃 for a permutation matrix 𝑃 with 𝑃𝖳=𝑃−1.
Sketch. (a) Not normal: neither. (b) Normal, not symmetric: unitarily only. (c) 𝐴∗𝐴=2𝐼2=𝐴𝐴∗: unitarily. (d) Both: (1,1) and (1,−1) are orthogonal eigenvectors. (e) 𝐼+𝑃 with 𝑃𝖳𝑃=𝑃𝑃𝖳=𝐼 is normal but not symmetric: unitarily only.

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 𝐴=(1203), (𝐴∗𝐴)11=1 but (𝐴𝐴∗)11=1+4=5. Not normal, so neither.

(b) 𝐴=2𝐽 with 𝐽𝖳𝐽=𝐽𝐽𝖳=𝐼2, so 𝐴𝖳𝐴=4𝐼2=𝐴𝐴𝖳 and 𝐴 is normal: unitarily diagonalizable. It is not symmetric, so not orthogonally diagonalizable.

(c) 𝐴∗=(1−𝑖−𝑖1), and 𝐴∗𝐴=(1+1𝑖−𝑖−𝑖+𝑖1+1)=2𝐼2; similarly 𝐴𝐴∗=2𝐼2. Normal, so unitarily diagonalizable (although 𝐴∗≠𝐴). It is not real.

(d) 𝐴(1,1)=3(1,1) and 𝐴(1,−1)=−(1,−1), and these eigenvectors are orthogonal. So 𝐴=𝑄diag(3,−1)𝑄𝖳 with 𝑄=12(111−1): orthogonally, and in particular unitarily, diagonalizable.

(e) 𝐴=𝐼3+𝑃 where 𝑃 is the permutation matrix with 𝑃𝐞1=𝐞3, 𝑃𝐞2=𝐞1, 𝑃𝐞3=𝐞2. Its columns are orthonormal, so 𝑃𝖳𝑃=𝐼3, hence 𝑃𝖳=𝑃−1 and 𝑃𝑃𝖳=𝐼3 as well. Then 𝐴𝖳𝐴=𝐼+𝑃+𝑃𝖳+𝐼=𝐴𝐴𝖳, so 𝐴 is normal: unitarily diagonalizable. It is not symmetric (𝑎12=1≠0=𝑎21), so not orthogonally diagonalizable.

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.

Lemma 8.2.10 (Self-adjoint operators have eigenvalues). Let 𝑉 be a finite-dimensional real inner product space with dim𝑉≥1, and let 𝑇∈L(𝑉) be self-adjoint. Then 𝑇 has an eigenvalue. In fact every complex root of 𝑝𝑇 is real, so 𝑝𝑇 splits over ℝ.

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).standard

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)

Hint 1. Choose an orthonormal basis and let 𝐴=[𝑇]𝒪︀∈ℝ𝑛×𝑛. What do you know about 𝐴?
Hint 2. 𝐴 is symmetric, so as a complex matrix it is Hermitian. Where are the complex roots of 𝑝𝐴?
Sketch. 𝐴=[𝑇]𝒪︀ is real symmetric, hence Hermitian as a complex matrix. Over ℂ, 𝑝𝐴 factors into linear factors, and each root is an eigenvalue of the self-adjoint 𝑇𝐴 on ℂ𝑛, hence real. So 𝑝𝑇=𝑝𝐴 splits over ℝ, and any of its roots is an eigenvalue of 𝑇.
Let 𝒪︀ be an orthonormal basis of 𝑉 (Theorem 6.4.20) and 𝐴=[𝑇]𝒪︀∈ℝ𝑛×𝑛, 𝑛=dim𝑉. By Corollary 6.6.28, 𝐴𝖳=𝐴. Regard 𝐴 as a matrix in ℂ𝑛×𝑛. Its entries are real, so 𝐴∗=𝐴𝖳=𝐴𝖳=𝐴, and 𝑇𝐴 is a self-adjoint operator on ℂ𝑛 with the dot product (Example 6.6.10). By Corollary 7.1.35, 𝑝𝐴=(𝑥−𝜆1)⋯(𝑥−𝜆𝑛) for some 𝜆𝑖∈ℂ. Each 𝜆𝑖 is an eigenvalue of 𝐴∈ℂ𝑛×𝑛 (Theorem 7.3.6), that is, of 𝑇𝐴, so 𝜆𝑖∈ℝ by Proposition 8.1.1. Hence 𝑝𝐴 splits over ℝ. (The determinant det(𝑥𝐼𝑛−𝐴) is the same polynomial whether 𝐴 is viewed as real or complex.) Since 𝑝𝑇=𝑝𝐴 (Definition 7.3.12), the real number 𝜆1 is a root of 𝑝𝑇, hence an eigenvalue of 𝑇 by Corollary 7.3.13. □

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 𝜋/2 shows that a quadratic factor such as 𝑥2+1 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).hard

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)

Hint 1. Take 𝐯≠𝟎. Some monic 𝑝 of degree 𝑑≥1 has 𝑝(𝑇)𝐯=𝟎 (Proposition 7.2.35). Factor 𝑝 over ℝ.
Hint 2. Show that 𝑞(𝑇)=𝑇2+𝑏𝑇+𝑐id is injective when 𝑏2<4𝑐: for 𝐯≠𝟎, show ⟨𝑞(𝑇)𝐯,𝐯⟩>0. Use ⟨𝑇2𝐯,𝐯⟩=‖𝑇𝐯‖2 and Cauchy–Schwarz on ⟨𝑇𝐯,𝐯⟩.
Hint 3. Complete the square: ‖𝑇𝐯‖2−|𝑏|‖𝑇𝐯‖‖𝐯‖+𝑐‖𝐯‖2=(‖𝑇𝐯‖−|𝑏|2‖𝐯‖)2+(𝑐−𝑏24)‖𝐯‖2. Then 𝑝(𝑇) is a product of injective quadratic factors and factors 𝑇−𝜆𝑖id, and it is not injective.
Sketch. For 𝑏2<4𝑐 and 𝐯≠𝟎, self-adjointness and Cauchy–Schwarz give ⟨(𝑇2+𝑏𝑇+𝑐id)𝐯,𝐯⟩≥(‖𝑇𝐯‖−|𝑏|2‖𝐯‖)2+(𝑐−𝑏24)‖𝐯‖2>0, so 𝑇2+𝑏𝑇+𝑐id is injective. Pick a monic 𝑝 of degree ≥1 with 𝑝(𝑇)𝐯=𝟎 for some 𝐯≠𝟎 and factor it over ℝ. The product 𝑝(𝑇) of the factors is not injective, so some factor is not; it cannot be a quadratic one, so it is some 𝑇−𝜆id, and 𝜆 is an eigenvalue.

We prove that 𝑇 has an eigenvalue. First let 𝑏,𝑐∈ℝ with 𝑏2<4𝑐; we show that 𝑞(𝑇)=𝑇2+𝑏𝑇+𝑐id is injective. Let 𝐯≠𝟎. Since 𝑇 is self-adjoint, ⟨𝑇2𝐯,𝐯⟩=⟨𝑇𝐯,𝑇𝐯⟩=‖𝑇𝐯‖2, and by Cauchy–Schwarz, 𝑏⟨𝑇𝐯,𝐯⟩≥−|𝑏|‖𝑇𝐯‖‖𝐯‖. Hence

⟨𝑞(𝑇)𝐯,𝐯⟩=‖𝑇𝐯‖2+𝑏⟨𝑇𝐯,𝐯⟩+𝑐‖𝐯‖2≥‖𝑇𝐯‖2−|𝑏|‖𝑇𝐯‖‖𝐯‖+𝑐‖𝐯‖2=(‖𝑇𝐯‖−|𝑏|2‖𝐯‖)2+(𝑐−𝑏24)‖𝐯‖2>0,

because 𝑐−𝑏2/4>0 and ‖𝐯‖>0. So 𝑞(𝑇)𝐯≠𝟎.

Now fix 𝐯≠𝟎. By Proposition 7.2.35 there is a monic 𝑝∈ℝ[𝑥] of degree 𝑑≥1 with 𝑝(𝑇)𝐯=𝟎. By Theorem 7.1.39,

𝑝=(𝑥−𝜆1)⋯(𝑥−𝜆𝑘)𝑞1⋯𝑞𝑙,𝑞𝑗=𝑥2+𝑏𝑗𝑥+𝑐𝑗,𝑏𝑗2<4𝑐𝑗,

and by Proposition 7.2.27,

𝑝(𝑇)=(𝑇−𝜆1id)⋯(𝑇−𝜆𝑘id)𝑞1(𝑇)⋯𝑞𝑙(𝑇).

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 𝑇−𝜆𝑖id is not injective (in particular 𝑘≥1), 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, [𝑇]𝒪︀=diag(𝜇1,…,𝜇𝑛) with real 𝜇𝑗, so 𝑝𝑇=(𝑥−𝜇1)⋯(𝑥−𝜇𝑛). □

Remark 8.2.11 (A third proof, by maximizing). There is a third proof, which finds the eigenvector as the solution of an optimization problem. On the unit sphere 𝑆={𝐯∈𝑉|‖𝐯‖=1}, the function 𝐯↦⟨𝑇𝐯,𝐯⟩ is continuous, and 𝑆 is closed and bounded, so the function attains a maximum at some 𝐮∈𝑆. Perturbing a maximizer (Technique 6.5.6) along any direction 𝐰⟂𝐮 shows that ⟨𝑇𝐮,𝐰⟩=0 (the derivative of the perturbed value is 2⟨𝑇𝐮,𝐰⟩ because ⟨𝑇𝐰,𝐮⟩=⟨𝐰,𝑇𝐮⟩, which is where self-adjointness enters), that is, 𝑇𝐮∈span(𝐮), so 𝐮 is an eigenvector, and its eigenvalue is the maximum value. The existence of the maximum is a fact from analysis, which is why this book postpones the argument to Section 12.3. That section also explains what the other eigenvalues maximize (the Courant–Fischer theorem).

Theorem 8.2.12 (Real spectral theorem). Let 𝑉 be a finite-dimensional real inner product space with dim𝑉≥1, and let 𝑇∈L(𝑉). The following are equivalent:

  1. (I)𝑇 is self-adjoint;
  2. (II)𝑉 has an orthonormal basis consisting of eigenvectors of 𝑇;
  3. (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).standard

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)

Hint 1. Follow the second proof of Theorem 8.2.5. Which step used ℂ, and what replaces it?
Hint 2. Lemma 8.2.10 provides a unit eigenvector 𝐮. Why is 𝑊=span(𝐮)⟂ invariant this time, and why is 𝑇↾𝑊 self-adjoint?
Sketch. Induct on dim𝑉. By Lemma 8.2.10, 𝑇 has a unit eigenvector 𝐮. Since 𝑇∗=𝑇 maps span(𝐮) into itself, 𝑇 maps 𝑊=span(𝐮)⟂ into itself (Exercise 6.6.38), and 𝑇↾𝑊 is self-adjoint because ⟨𝑇𝐰,𝐰′⟩=⟨𝐰,𝑇𝐰′⟩ for 𝐰,𝐰′∈𝑊. By induction 𝑊 has an orthonormal eigenbasis; add 𝐮. For matrices, put the eigenbasis of 𝑇𝐴 into the columns of 𝑄.

We prove (I) ⇒ (II) by induction on 𝑛=dim𝑉. If 𝑛=1, any unit vector is an orthonormal eigenbasis, as in the complex case. Let 𝑛≥2, assume the claim in dimension 𝑛−1, and let 𝑇 be self-adjoint. By Lemma 8.2.10, 𝑇 has an eigenvector, and dividing by its norm gives 𝐮 with ‖𝐮‖=1 and 𝑇𝐮=𝜆𝐮. Let 𝑈=span(𝐮) and 𝑊=𝑈⟂. Since 𝑇∗=𝑇 maps 𝑈 into 𝑈, Exercise 6.6.38 (applied to 𝑇∗, whose adjoint is 𝑇) shows that 𝑇 maps 𝑊 into 𝑊. The operator 𝑆=𝑇↾𝑊∈L(𝑊) is self-adjoint for the inner product of 𝑉 restricted to 𝑊, since ⟨𝑆𝐰,𝐰′⟩=⟨𝑇𝐰,𝐰′⟩=⟨𝐰,𝑇𝐰′⟩=⟨𝐰,𝑆𝐰′⟩ for 𝐰,𝐰′∈𝑊 (Definition 6.6.26). By Theorem 6.4.24 and Corollary 6.4.25, 𝑉=𝑈⊕𝑊 with dim𝑊=𝑛−1≥1. By the induction hypothesis, 𝑊 has an orthonormal basis 𝐮2,…,𝐮𝑛 of eigenvectors of 𝑆, hence of 𝑇. As in the complex case, 𝐮,𝐮2,…,𝐮𝑛 is an orthonormal basis of 𝑉 (Definition 6.3.15, Theorem 4.4.13) consisting of eigenvectors of 𝑇.

For the matrix form, (𝑄𝐷𝑄𝖳)𝖳=𝑄𝐷𝖳𝑄𝖳=𝑄𝐷𝑄𝖳, so orthogonally diagonalizable matrices are symmetric. Conversely, if 𝐴 is symmetric, 𝑇𝐴 is self-adjoint on ℝ𝑛 with the dot product, so ℝ𝑛 has an orthonormal eigenbasis 𝐪1,…,𝐪𝑛. The matrix 𝑄 with these columns is orthogonal (Definition 6.3.33), and 𝑄𝖳𝐴𝑄=𝑄−1𝐴𝑄=𝐷 is diagonal by Theorem 4.5.17. Hence 𝐴=𝑄𝐷𝑄𝖳. □

The second proof follows the first proof of the complex theorem instead, with a real Schur basis.

Proof (triangularize, then use symmetry).standard

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)

Hint 1. By Lemma 8.2.10, 𝑝𝑇 splits over ℝ. What does Theorem 7.5.17 give?
Hint 2. Gram–Schmidt preserves the flag of a triangularizing basis, exactly as in the first proof of Theorem 7.5.18. Then compare [𝑇]𝒪︀ with its transpose.
Sketch. 𝑝𝑇 splits over ℝ (Lemma 8.2.10), so some basis ℬ︀ triangularizes 𝑇; Gram–Schmidt turns it into an orthonormal 𝒪︀ with the same invariant flag, so 𝑅=[𝑇]𝒪︀ is upper triangular. It is also symmetric (Corollary 6.6.28), hence diagonal.
By Lemma 8.2.10, 𝑝𝑇 splits over ℝ, so by Theorem 7.5.17 there is a basis ℬ︀=𝐛1,…,𝐛𝑛 of 𝑉 with [𝑇]ℬ︀ upper triangular; by Proposition 7.5.2, every 𝑉𝑗=span(𝐛1,…,𝐛𝑗) is 𝑇-invariant. Gram–Schmidt applied to ℬ︀ gives an orthonormal basis 𝒪︀=𝐮1,…,𝐮𝑛 with span(𝐮1,…,𝐮𝑗)=𝑉𝑗 for every 𝑗 (Theorem 6.4.15(d)), so 𝑅=[𝑇]𝒪︀ is upper triangular by Proposition 7.5.2. (This is the first proof of Theorem 7.5.18, which used nothing about ℂ beyond the triangularizing basis.) By Corollary 6.6.28, 𝑅𝖳=𝑅. For 𝑖<𝑗, 𝑟𝑖𝑗=𝑟𝑗𝑖=0, so 𝑅 is diagonal, and 𝒪︀ is an orthonormal eigenbasis. □
Non-example 8.2.13 (Symmetric matrices over other fields). The real spectral theorem is about real symmetric matrices, and the inner product on ℝ𝑛 is what makes it work. Over other fields the transpose still exists, but symmetric matrices need not be diagonalizable.
  1. (a)𝐴=(1𝑖𝑖−1)∈ℂ2×2 satisfies 𝐴𝖳=𝐴, and 𝐴2=(1+𝑖2𝑖−𝑖𝑖−𝑖𝑖2+1)=0. So 𝐴 is nilpotent and nonzero, and is not diagonalizable (its only eigenvalue is 0, and 𝐴≠0). Over ℂ, the right condition is 𝐴∗=𝐴, not 𝐴𝖳=𝐴.
  2. (b)𝐴=(1111)∈𝔽22×2 is symmetric with 𝐴2=(2222)=0 in 𝔽2. Again a nonzero nilpotent matrix, so not diagonalizable.
In both cases the proofs above fail at the same point: the “inner product” 𝐱𝖳𝐲 has nonzero vectors with 𝐱𝖳𝐱=0, such as (1,𝑖) and (1,1), and every argument above that divided by ‖𝐮‖ or used ‖𝐰‖=0⇒𝐰=𝟎 breaks. Section 12.4 studies what survives.

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 𝐴=𝑄𝐷𝑄𝖳.

1.

Compute 𝑝𝐴 and its roots 𝜆1,…,𝜆𝑘 (all real, by Lemma 8.2.10).

2.

For each 𝜆𝑗, find a basis of 𝐸𝜆𝑗=ker(𝐴−𝜆𝑗𝐼𝑛) by row reduction.

3.

Apply Gram–Schmidt to each of these bases separately, to get an orthonormal basis of each 𝐸𝜆𝑗.

4.

Let 𝑄 have these orthonormal bases as its columns, and let 𝐷 be diagonal with the eigenvalue of each column in the matching position.

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 𝐴=(211121112)=𝐼3+𝐽3, where 𝐽3 is the all-ones matrix. Since 𝐽3𝐱=(𝑥1+𝑥2+𝑥3)(1,1,1), the eigenvalues of 𝐽3 are 3 (on span((1,1,1))) and 0 (on the plane 𝑥1+𝑥2+𝑥3=0), so 𝐴 has eigenvalues 4 and 1, with

𝐸4=span((1,1,1)),𝐸1={𝐱|𝑥1+𝑥2+𝑥3=0}=span((1,−1,0),(1,0,−1)).

The basis of 𝐸1 from row reduction is not orthogonal. Gram–Schmidt replaces (1,0,−1) by (1,0,−1)−12(1,−1,0)=12(1,1,−2). Normalizing,

𝑄=(13121613−1216130−26),𝐷=(400010001),𝐴=𝑄𝐷𝑄𝖳.

Any orthonormal basis of the plane 𝐸1 would do in the last two columns; step 3 only picks one. The first column is orthogonal to the plane 𝐸1 automatically.

Exercise 8.2.16.routine Find an orthogonal 𝑄 and a diagonal 𝐷 with (7−2−24)=𝑄𝐷𝑄𝖳.

Solution.

Uses. Algorithm 8.2.14 (Orthogonal diagonalization)

Techniques. Diagonalize, solve, conjugate back (Technique 7.4.22)

Hint 1. The trace is 11 and the determinant is 24.
Hint 2. The eigenvalues are 3 and 8. Find one eigenvector for each and normalize; they are automatically orthogonal.
Sketch. 𝑝=𝑥2−11𝑥+24=(𝑥−3)(𝑥−8). 𝐸8=span((2,−1)) and 𝐸3=span((1,2)). 𝑄=15(21−12), 𝐷=diag(8,3).

𝑝𝐴=(𝑥−7)(𝑥−4)−4=𝑥2−11𝑥+24=(𝑥−3)(𝑥−8). From 𝐴−8𝐼2=(−1−2−2−4) we get 𝐸8=span((2,−1)), and from 𝐴−3𝐼2=(4−2−21) we get 𝐸3=span((1,2)). These are orthogonal, as they must be. Normalizing,

𝑄=15(21−12),𝐷=(8003),

and one checks 𝐴𝑄=15(163−86)=𝑄𝐷.

Symmetric matrices and ellipses

Geometrically, the real spectral theorem says that a real symmetric matrix stretches ℝ𝑛 by the factors 𝜆1,…,𝜆𝑛 along 𝑛 perpendicular axes, with a flip when 𝜆𝑗<0. In the plane, this is visible on the unit circle.

Example 8.2.17 (The image of the unit circle). Let 𝐴∈ℝ2×2 be symmetric and invertible, and write 𝐴=𝑄𝐷𝑄𝖳 with 𝑄=(𝐪1|𝐪2) orthogonal and 𝐷=diag(𝜆1,𝜆2). A unit vector is 𝐱=𝑦1𝐪1+𝑦2𝐪2 with 𝑦12+𝑦22=1 (Proposition 6.3.18, Theorem 6.3.22), and 𝐴𝐱=𝜆1𝑦1𝐪1+𝜆2𝑦2𝐪2. So the image of the unit circle is

{𝑧1𝐪1+𝑧2𝐪2|𝑧12𝜆12+𝑧22𝜆22=1},

an ellipse whose axes point along the eigenvectors, with semi-axes |𝜆1| and |𝜆2|.

For instance, 𝐴=(122−2) has 𝑝𝐴=𝑥2+𝑥−6=(𝑥−2)(𝑥+3), with 𝐸2=span((2,1)) and 𝐸−3=span((−1,2)). So 𝐴=𝑄𝐷𝑄𝖳 with

𝑄=15(2−112),𝐷=(200−3),

and the image of the unit circle is an ellipse with semi-axis 2 along (2,1) and 3 along (−1,2). 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.

The unit circle and its image under the symmetric matrix 𝐴=(122−2). The eigenvectors 𝐪1,𝐪2 are perpendicular, and 𝐴 scales them by 2 and −3; the images lie along the axes of the ellipse. In the interactive version the two off-diagonal entries move together, so 𝐴 stays symmetric. Move the point 𝐱 around the circle: 𝐴𝐱 is farthest from 𝟎 when 𝐱=±𝐪 for the eigenvalue of largest absolute value. Make an eigenvalue 0 to flatten the ellipse to a segment, and make 𝐴 a multiple of 𝐼, where every direction is an eigenvector.

8.2.4The spectral decomposition

An orthonormal eigenbasis is not unique: in Example 8.2.15 any orthonormal basis of the plane 𝐸1 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 𝜆1,…,𝜆𝑘 be the distinct eigenvalues of 𝑇, and let 𝑃𝑗=Pr𝐸𝜆𝑗 be the orthogonal projection onto 𝐸𝜆𝑗.

  1. (a)The eigenspaces are pairwise orthogonal, and 𝑉=𝐸𝜆1⊕⋯⊕𝐸𝜆𝑘.
  2. (b)𝑃𝑖𝑃𝑗=0 for 𝑖≠𝑗, and 𝑃1+⋯+𝑃𝑘=id𝑉.
  3. (c)𝑇=𝜆1𝑃1+⋯+𝜆𝑘𝑃𝑘.

In matrix form: if 𝐴=𝑈𝐷𝑈∗ with 𝑈 unitary (orthogonal, if 𝔽=ℝ) with columns 𝐮1,…,𝐮𝑛 and 𝐷=diag(𝜇1,…,𝜇𝑛), then

𝐴=𝜇1𝐮1𝐮1∗+⋯+𝜇𝑛𝐮𝑛𝐮𝑛∗,

and grouping the terms with equal 𝜇𝑖 gives 𝐴=∑𝑗𝜆𝑗𝑃𝑗, where 𝑃𝑗 is the matrix of Pr𝐸𝜆𝑗.

Proof.standard

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)

Hint 1. Take an orthonormal eigenbasis 𝐮1,…,𝐮𝑛 and group its vectors by eigenvalue. Show that the group belonging to 𝜆𝑗 spans 𝐸𝜆𝑗.
Hint 2. If 𝐯=∑𝑐𝑖𝐮𝑖 is in 𝐸𝜆𝑗, compare the coordinates of 𝑇𝐯 and 𝜆𝑗𝐯.
Hint 3. With an orthonormal basis of 𝐸𝜆𝑗 in hand, 𝑃𝑗𝐯 is the part of the expansion 𝐯=∑⟨𝐯,𝐮𝑖⟩𝐮𝑖 coming from that group.
Sketch. Let 𝐮1,…,𝐮𝑛 be an orthonormal eigenbasis with 𝑇𝐮𝑖=𝜇𝑖𝐮𝑖, and let 𝒪︀𝑗 consist of the 𝐮𝑖 with 𝜇𝑖=𝜆𝑗. Comparing coordinates shows 𝐸𝜆𝑗=span(𝒪︀𝑗). So the eigenspaces are spanned by disjoint pieces of one orthonormal basis, which gives (a), and 𝑃𝑗𝐯=∑𝐮𝑖∈𝒪︀𝑗⟨𝐯,𝐮𝑖⟩𝐮𝑖. Summing over 𝑗 gives 𝐯, and applying 𝑇 to the expansion of 𝐯 gives ∑𝑗𝜆𝑗𝑃𝑗𝐯.

By Theorem 8.2.5 or Theorem 8.2.12, 𝑉 has an orthonormal basis 𝐮1,…,𝐮𝑛 with 𝑇𝐮𝑖=𝜇𝑖𝐮𝑖, and every 𝜇𝑖 is one of 𝜆1,…,𝜆𝑘. For each 𝑗, let 𝒪︀𝑗 be the list of those 𝐮𝑖 with 𝜇𝑖=𝜆𝑗.

We claim 𝐸𝜆𝑗=span(𝒪︀𝑗). Each vector of 𝒪︀𝑗 lies in 𝐸𝜆𝑗, which gives ⊇. Conversely, let 𝐯∈𝐸𝜆𝑗 and write 𝐯=∑𝑖𝑐𝑖𝐮𝑖. Then

∑𝑖𝑐𝑖𝜇𝑖𝐮𝑖=𝑇𝐯=𝜆𝑗𝐯=∑𝑖𝑐𝑖𝜆𝑗𝐮𝑖,

so 𝑐𝑖(𝜇𝑖−𝜆𝑗)=0 for every 𝑖, by uniqueness of coordinates. Hence 𝑐𝑖=0 unless 𝜇𝑖=𝜆𝑗, and 𝐯∈span(𝒪︀𝑗).

(a) For 𝑖≠𝑗, 𝒪︀𝑖 and 𝒪︀𝑗 have no vector in common, so every vector of 𝒪︀𝑖 is orthogonal to every vector of 𝒪︀𝑗, and hence every vector of span(𝒪︀𝑖)=𝐸𝜆𝑖 is orthogonal to every vector of 𝐸𝜆𝑗. The lists 𝒪︀1,…,𝒪︀𝑘 together are a reordering of a basis of 𝑉, so 𝑉=𝐸𝜆1⊕⋯⊕𝐸𝜆𝑘 by Theorem 4.4.13.

(b) Since 𝒪︀𝑗 is an orthonormal basis of 𝐸𝜆𝑗, Definition 6.4.11 gives

𝑃𝑗𝐯=∑𝐮𝑖∈𝒪︀𝑗⟨𝐯,𝐮𝑖⟩𝐮𝑖.
(8.2.1)

Summing over 𝑗 gives ∑𝑗𝑃𝑗𝐯=∑𝑖=1𝑛⟨𝐯,𝐮𝑖⟩𝐮𝑖=𝐯 by Proposition 6.3.18, so ∑𝑗𝑃𝑗=id𝑉. For 𝑖≠𝑗, 𝑃𝑗𝐯∈𝐸𝜆𝑗⊆𝐸𝜆𝑖⟂=ker𝑃𝑖 by (a) and Proposition 6.4.29(a), so 𝑃𝑖𝑃𝑗=0.

(c) By Proposition 6.3.18 and linearity,

𝑇𝐯=∑𝑖=1𝑛⟨𝐯,𝐮𝑖⟩𝑇𝐮𝑖=∑𝑖=1𝑛𝜇𝑖⟨𝐯,𝐮𝑖⟩𝐮𝑖=∑𝑗=1𝑘𝜆𝑗∑𝐮𝑖∈𝒪︀𝑗⟨𝐯,𝐮𝑖⟩𝐮𝑖=∑𝑗=1𝑘𝜆𝑗𝑃𝑗𝐯,

by (8.2.1).

For the matrix form, 𝐴=𝑈𝐷𝑈∗=(𝑈𝐷)𝑈∗, and the column–row expansion of a product (Proposition 2.4.8) gives ∑𝑖(𝜇𝑖𝐮𝑖)𝐮𝑖∗. By Theorem 6.4.31, ∑𝐮𝑖∈𝒪︀𝑗𝐮𝑖𝐮𝑖∗ is the matrix of Pr𝐸𝜆𝑗, where 𝐸𝜆𝑗 is now the eigenspace of 𝐴 in 𝔽𝑛. □

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 𝜇1,…,𝜇𝑚∈𝔽 be distinct, and let 𝑄1,…,𝑄𝑚∈L(𝑉) be nonzero orthogonal projections with 𝑄𝑖𝑄𝑗=0 for 𝑖≠𝑗 and 𝑄1+⋯+𝑄𝑚=id𝑉. Let 𝑇=𝜇1𝑄1+⋯+𝜇𝑚𝑄𝑚. Then:

  1. (a)𝑇 is normal, and self-adjoint if every 𝜇𝑗 is real;
  2. (b)the eigenvalues of 𝑇 are exactly 𝜇1,…,𝜇𝑚, and 𝑄𝑗=Pr𝐸𝜇𝑗 for every 𝑗.

Proof.standard

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)

Hint 1. Each 𝑄𝑗 is self-adjoint (Corollary 6.6.29). Compute 𝑇∗.
Hint 2. For (b), first show that 𝑇 acts as 𝜇𝑗 on im𝑄𝑗. Then take an eigenvector 𝐯 with eigenvalue 𝜆, apply 𝑄𝑖 to 𝑇𝐯=𝜆𝐯, and use 𝑄𝑖𝑄𝑗=0.
Sketch. (a) 𝑇∗=∑𝜇𝑗𝑄𝑗, and 𝑇𝑇∗=∑𝑗|𝜇𝑗|2𝑄𝑗=𝑇∗𝑇 because 𝑄𝑖𝑄𝑗=0 for 𝑖≠𝑗 and 𝑄𝑗2=𝑄𝑗. (b) If 𝐯∈im𝑄𝑗 then 𝑄𝑖𝐯=𝑄𝑖𝑄𝑗𝐯=0 for 𝑖≠𝑗, so 𝑇𝐯=𝜇𝑗𝐯: im𝑄𝑗⊆𝐸𝜇𝑗. If 𝑇𝐯=𝜆𝐯, applying 𝑄𝑖 gives 𝜇𝑖𝑄𝑖𝐯=𝜆𝑄𝑖𝐯, so 𝑄𝑖𝐯=𝟎 unless 𝜇𝑖=𝜆; as 𝐯=∑𝑄𝑖𝐯≠𝟎, 𝜆 is some 𝜇𝑗 and 𝐯=𝑄𝑗𝐯∈im𝑄𝑗.

Each 𝑄𝑗 is an orthogonal projection, so 𝑄𝑗2=𝑄𝑗=𝑄𝑗∗ (Corollary 6.6.29).

(a) By Proposition 6.6.18, 𝑇∗=∑𝑗𝜇𝑗𝑄𝑗. Expanding the products and using 𝑄𝑖𝑄𝑗=0 for 𝑖≠𝑗 and 𝑄𝑗2=𝑄𝑗,

𝑇𝑇∗=∑𝑖,𝑗𝜇𝑖𝜇𝑗𝑄𝑖𝑄𝑗=∑𝑗|𝜇𝑗|2𝑄𝑗=∑𝑖,𝑗𝜇𝑗𝜇𝑖𝑄𝑗𝑄𝑖=𝑇∗𝑇.

If every 𝜇𝑗 is real, then 𝑇∗=𝑇.

(b) Let 𝐯∈im𝑄𝑗, say 𝐯=𝑄𝑗𝐱. Then 𝑄𝑗𝐯=𝑄𝑗2𝐱=𝐯 and 𝑄𝑖𝐯=𝑄𝑖𝑄𝑗𝐱=𝟎 for 𝑖≠𝑗, so 𝑇𝐯=𝜇𝑗𝐯. Hence im𝑄𝑗⊆𝐸𝜇𝑗, and since 𝑄𝑗≠0, 𝜇𝑗 is an eigenvalue.

Conversely, let 𝑇𝐯=𝜆𝐯 with 𝐯≠𝟎. For each 𝑖, 𝑄𝑖𝑇=∑𝑗𝜇𝑗𝑄𝑖𝑄𝑗=𝜇𝑖𝑄𝑖, so applying 𝑄𝑖 to 𝑇𝐯=𝜆𝐯 gives 𝜇𝑖𝑄𝑖𝐯=𝜆𝑄𝑖𝐯, that is, (𝜇𝑖−𝜆)𝑄𝑖𝐯=𝟎. Since 𝐯=∑𝑖𝑄𝑖𝐯≠𝟎, some 𝑄𝑗𝐯≠𝟎, and then 𝜆=𝜇𝑗. Moreover 𝑄𝑖𝐯=𝟎 for all 𝑖≠𝑗 (as 𝜇𝑖≠𝜇𝑗=𝜆), so 𝐯=𝑄𝑗𝐯∈im𝑄𝑗. This shows that the eigenvalues are exactly the 𝜇𝑗 and that 𝐸𝜇𝑗=im𝑄𝑗. Finally, an orthogonal projection is the orthogonal projection onto its image (Corollary 6.6.29), so 𝑄𝑗=Prim𝑄𝑗=Pr𝐸𝜇𝑗. □

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 1 at 𝜆𝑗 and 0 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 𝜆1,…,𝜆𝑘 and 𝑃𝑗=Pr𝐸𝜆𝑗. Then

𝑃𝑗=𝐿𝑗(𝑇),where𝐿𝑗=∏𝑖≠𝑗𝑥−𝜆𝑖𝜆𝑗−𝜆𝑖.

Consequently:

  1. (a)every operator 𝑆∈L(𝑉) with 𝑆𝑇=𝑇𝑆 commutes with every 𝑃𝑗 and maps every eigenspace 𝐸𝜆𝑗 into itself;
  2. (b)if 𝔽=ℂ, then 𝑇∗=𝑝(𝑇) for the polynomial 𝑝=∑𝑗𝜆𝑗𝐿𝑗.

Proof.standard

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)

Hint 1. Both 𝑃𝑗 and 𝐿𝑗(𝑇) are linear, and 𝑉 is the sum of the eigenspaces. Compare them on a vector of 𝐸𝜆𝑖.
Hint 2. For (a), 𝑆 commutes with 𝑇, hence with every polynomial in 𝑇.
Hint 3. For (b), take adjoints in 𝑇=∑𝑗𝜆𝑗𝑃𝑗.
Sketch. On 𝐮∈𝐸𝜆𝑖, 𝐿𝑗(𝑇)𝐮=𝐿𝑗(𝜆𝑖)𝐮, which is 𝐮 if 𝑖=𝑗 and 𝟎 otherwise, and 𝑃𝑗 does the same. Since 𝑉=⊕𝑖𝐸𝜆𝑖, 𝑃𝑗=𝐿𝑗(𝑇). Then (a): 𝑆 commutes with 𝑇𝑚 for all 𝑚, hence with 𝐿𝑗(𝑇)=𝑃𝑗, and 𝑆𝑃𝑗𝐯=𝑃𝑗𝑆𝐯∈im𝑃𝑗. (b) 𝑇∗=∑𝜆𝑗𝑃𝑗∗=∑𝜆𝑗𝐿𝑗(𝑇).

The formula for 𝐿𝑗 is the Lagrange polynomial for the points 𝜆1,…,𝜆𝑘 (Proposition 7.1.29), so 𝐿𝑗(𝜆𝑗)=1 and 𝐿𝑗(𝜆𝑖)=0 for 𝑖≠𝑗. (If 𝑘=1, 𝐿1=1 and the claim is 𝑃1=id𝑉.) Let 𝐮∈𝐸𝜆𝑖. By Proposition 7.2.28, 𝐿𝑗(𝑇)𝐮=𝐿𝑗(𝜆𝑖)𝐮. On the other hand, 𝑃𝑗𝐮=𝐮 if 𝑖=𝑗, and 𝑃𝑗𝐮=𝟎 if 𝑖≠𝑗, since then 𝐮∈𝐸𝜆𝑗⟂=ker𝑃𝑗 by Theorem 8.2.18(a). So 𝑃𝑗 and 𝐿𝑗(𝑇) agree on every eigenspace. Every 𝐯∈𝑉 is a sum of vectors from the eigenspaces (Theorem 8.2.18(a)), so 𝑃𝑗=𝐿𝑗(𝑇) by linearity.

(a) If 𝑆𝑇=𝑇𝑆, then 𝑆𝑇𝑚=𝑇𝑚𝑆 for every 𝑚≥0 by induction on 𝑚, and so 𝑆𝑞(𝑇)=𝑞(𝑇)𝑆 for every polynomial 𝑞. In particular 𝑆𝑃𝑗=𝑃𝑗𝑆, and for 𝐯∈𝐸𝜆𝑗=im𝑃𝑗 we get 𝑆𝐯=𝑆𝑃𝑗𝐯=𝑃𝑗𝑆𝐯∈im𝑃𝑗=𝐸𝜆𝑗.

(b) By Theorem 8.2.18(c), Proposition 6.6.18, and 𝑃𝑗∗=𝑃𝑗 (Corollary 6.6.29), 𝑇∗=∑𝑗𝜆𝑗𝑃𝑗=∑𝑗𝜆𝑗𝐿𝑗(𝑇)=𝑝(𝑇) by Proposition 7.2.27. □

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 𝐴=𝐼3+𝐽3 of Example 8.2.15, the eigenvalues are 4 and 1, so

𝑃4=𝐿4(𝐴)=𝐴−𝐼34−1=13𝐽3,𝑃1=𝐿1(𝐴)=𝐴−4𝐼31−4=𝐼3−13𝐽3.

Indeed 13𝐽3=𝐪1𝐪1𝖳 for 𝐪1=13(1,1,1), as Theorem 6.4.31 predicts, and 𝑃1 is the projection onto the plane 𝑥1+𝑥2+𝑥3=0. The decomposition reads

𝐴=4⋅13𝐽3+1⋅(𝐼3−13𝐽3).

We found 𝑃1 without choosing a basis of the plane, which is exactly the choice that was not unique.

Exercise 8.2.22.routine Let 𝐻=(3𝑖−𝑖3). Find the spectral decomposition 𝐻=𝜆1𝑃1+𝜆2𝑃2, once with Lagrange polynomials and once from unit eigenvectors, and check that 𝑃1𝑃2=0.

Solution.

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)

Hint 1. 𝑝𝐻=(𝑥−3)2−1.
Hint 2. With eigenvalues 2 and 4, 𝑃4=(𝐻−2𝐼2)/2 and 𝑃2=(𝐻−4𝐼2)/(−2).
Sketch. Eigenvalues 2,4. 𝑃4=12(1𝑖−𝑖1)=𝐮𝐮∗ with 𝐮=12(𝑖,1), and 𝑃2=12(1−𝑖𝑖1). 𝑃4𝑃2=14(1+𝑖2−𝑖+𝑖−𝑖+𝑖𝑖2+1)=0.

𝑝𝐻=(𝑥−3)2−𝑖(−𝑖)=(𝑥−3)2−1=(𝑥−2)(𝑥−4). By Proposition 8.2.20,

𝑃4=𝐻−2𝐼24−2=12(1𝑖−𝑖1),𝑃2=𝐻−4𝐼22−4=12(1−𝑖𝑖1).

From eigenvectors: 𝐻(𝑖,1)=(3𝑖+𝑖,1+3)=4(𝑖,1) and 𝐻(−𝑖,1)=(−3𝑖+𝑖,−1+3)=2(−𝑖,1). With 𝐮1=12(𝑖,1) and 𝐮2=12(−𝑖,1), Theorem 6.4.31 gives

𝐮1𝐮1∗=12(𝑖1)(−𝑖1)=12(1𝑖−𝑖1)=𝑃4,𝐮2𝐮2∗=12(−𝑖1)(𝑖1)=12(1−𝑖𝑖1)=𝑃2.

So 𝐻=4𝑃4+2𝑃2. Finally

𝑃4𝑃2=14(1⋅1+𝑖⋅𝑖1⋅(−𝑖)+𝑖⋅1−𝑖⋅1+1⋅𝑖(−𝑖)(−𝑖)+1⋅1)=14(0000).

8.2.5Functions of an operator

On an eigenspace 𝐸𝜆, the operator 𝑇 is just multiplication by 𝜆, so 𝑇2 is multiplication by 𝜆2, 𝑇−1 by 𝜆−1, 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 𝜆1,…,𝜆𝑘 and 𝑃𝑗=Pr𝐸𝜆𝑗. For a function 𝑓:{𝜆1,…,𝜆𝑘}→𝔽, define

𝑓(𝑇)=𝑓(𝜆1)𝑃1+⋯+𝑓(𝜆𝑘)𝑃𝑘.

For a matrix 𝐴=𝑈𝐷𝑈∗ as in Theorem 8.2.18, with 𝐷=diag(𝜇1,…,𝜇𝑛), this is

𝑓(𝐴)=𝑈diag(𝑓(𝜇1),…,𝑓(𝜇𝑛))𝑈∗.

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 𝜆1,…,𝜆𝑘, and let 𝑓,𝑔 be functions from {𝜆1,…,𝜆𝑘} to 𝔽, and 𝑐∈𝔽.

  1. (a)𝑓(𝑇)𝐯=𝑓(𝜆𝑗)𝐯 for every 𝐯∈𝐸𝜆𝑗.
  2. (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 𝑇.
  3. (c)(𝑓+𝑔)(𝑇)=𝑓(𝑇)+𝑔(𝑇), (𝑐𝑓)(𝑇)=𝑐𝑓(𝑇), and (𝑓𝑔)(𝑇)=𝑓(𝑇)𝑔(𝑇).
  4. (d)𝑓(𝑇)∗=𝑓(𝑇), where 𝑓(𝜆)=𝑓(𝜆). So 𝑓(𝑇) is normal, and it is self-adjoint if and only if every 𝑓(𝜆𝑗) is real.
  5. (e)The eigenvalues of 𝑓(𝑇) are the values 𝑓(𝜆1),…,𝑓(𝜆𝑘).

Proof.standard

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)

Hint 1. Prove (a) first, from 𝑃𝑖𝐯=𝟎 for 𝑖≠𝑗 and 𝑃𝑗𝐯=𝐯.
Hint 2. Then every identity between operators built from 𝑇 can be tested on each eigenspace, where everything is a scalar. 𝑉 is the sum of the eigenspaces.
Hint 3. For (d), take adjoints term by term. For (e), use Proposition 8.2.19, after grouping equal values of 𝑓.
Sketch. (a) is immediate from 𝑃𝑖𝑃𝑗=0 and 𝑃𝑗𝐯=𝐯 on 𝐸𝜆𝑗. Since 𝑉=⊕𝐸𝜆𝑗, two operators agree as soon as they agree on each 𝐸𝜆𝑗; on 𝐸𝜆𝑗, 𝑝(𝑇), 𝑓(𝑇)+𝑔(𝑇), and 𝑓(𝑇)𝑔(𝑇) act as 𝑝(𝜆𝑗), 𝑓(𝜆𝑗)+𝑔(𝜆𝑗), and 𝑓(𝜆𝑗)𝑔(𝜆𝑗), which gives (b) and (c). (d) 𝑓(𝑇)∗=∑𝑓(𝜆𝑗)𝑃𝑗, and 𝑓(𝑇) commutes with 𝑓(𝑇) by (c). (e) Group the 𝑃𝑗 by the value of 𝑓 and apply Proposition 8.2.19.

By Theorem 8.2.18(a), 𝑉=𝐸𝜆1⊕⋯⊕𝐸𝜆𝑘, 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 𝑝(𝜆𝑖)=∑𝑗𝑓(𝜆𝑗)𝐿𝑗(𝜆𝑖)=𝑓(𝜆𝑖). If 𝑆𝑇=𝑇𝑆, then 𝑆 commutes with 𝑝(𝑇)=𝑓(𝑇), as in the proof of Proposition 8.2.20(a).

(c) On 𝐸𝜆𝑗, 𝑓(𝑇)+𝑔(𝑇) and 𝑐𝑓(𝑇) act as 𝑓(𝜆𝑗)+𝑔(𝜆𝑗) and 𝑐𝑓(𝜆𝑗). For 𝐯∈𝐸𝜆𝑗, 𝑔(𝑇)𝐯=𝑔(𝜆𝑗)𝐯∈𝐸𝜆𝑗, so 𝑓(𝑇)𝑔(𝑇)𝐯=𝑔(𝜆𝑗)𝑓(𝑇)𝐯=𝑓(𝜆𝑗)𝑔(𝜆𝑗)𝐯=(𝑓𝑔)(𝑇)𝐯.

(d) By Proposition 6.6.18 and 𝑃𝑗∗=𝑃𝑗 (Corollary 6.6.29), 𝑓(𝑇)∗=∑𝑗𝑓(𝜆𝑗)𝑃𝑗=𝑓(𝑇). By (c), 𝑓(𝑇)𝑓(𝑇)∗=(𝑓𝑓)(𝑇)=(𝑓𝑓)(𝑇)=𝑓(𝑇)∗𝑓(𝑇). If every 𝑓(𝜆𝑗) is real, 𝑓=𝑓 and 𝑓(𝑇)∗=𝑓(𝑇). Conversely, if 𝑓(𝑇)∗=𝑓(𝑇), then applying both sides to a nonzero 𝐯∈𝐸𝜆𝑗 and using (a) gives 𝑓(𝜆𝑗)=𝑓(𝜆𝑗).

(e) Let 𝜈1,…,𝜈𝑚 be the distinct values among 𝑓(𝜆1),…,𝑓(𝜆𝑘), and let 𝑄𝑖 be the sum of the 𝑃𝑗 with 𝑓(𝜆𝑗)=𝜈𝑖. Then 𝑓(𝑇)=∑𝑖𝜈𝑖𝑄𝑖. Each 𝑄𝑖 is nonzero, and by Theorem 8.2.18(b), 𝑄𝑖2=𝑄𝑖=𝑄𝑖∗, 𝑄𝑖𝑄𝑖′=0 for 𝑖≠𝑖′, and ∑𝑖𝑄𝑖=id𝑉. So by Corollary 6.6.29 the 𝑄𝑖 are orthogonal projections, and Proposition 8.2.19 says that the eigenvalues of 𝑓(𝑇) are 𝜈1,…,𝜈𝑚. □

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: 𝑓(𝑇)=∑𝑗𝑓(𝜆𝑗)Pr𝐸𝜆𝑗, or 𝑓(𝐴)=𝑈𝑓(𝐷)𝑈∗. Identities between such operators reduce to identities between numbers, one eigenvalue at a time (Proposition 8.2.24), which is Technique 7.4.25 in its strongest form.

Reach for it when the hypothesis says normal or self-adjoint and the problem asks for an operator with prescribed algebraic behavior: “find 𝑆 with 𝑆2=𝑇”, “show that 𝑇 has a self-adjoint inverse square root”, “solve 𝐱′=𝐴𝐱”. For a diagonalizable but not normal operator the same recipe works with 𝑆𝐷𝑆−1 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.

Example 8.2.26 (A square root). Let 𝑇 be self-adjoint with every eigenvalue 𝜆𝑗≥0, and let 𝑓(𝜆)=𝜆. By Proposition 8.2.24, 𝑇=∑𝑗𝜆𝑗𝑃𝑗 is self-adjoint, its eigenvalues 𝜆𝑗 are nonnegative, and (𝑇)2=(𝑓2)(𝑇)=𝑇, since 𝑓2(𝜆)=𝜆 on the eigenvalues.

For 𝐴=(5445), the eigenvalues are 9 and 1, with 𝐸9=span((1,1)) and 𝐸1=span((1,−1)), so

𝑃9=12(1111),𝑃1=12(1−1−11),𝐴=3𝑃9+1𝑃1=(2112).

Check: (2112)2=(5445). The choice of 3=9 and 1=1 was ours; 3𝑃9−𝑃1=(1221) is another symmetric square root of 𝐴, with eigenvalues 3 and −1.

Similarly, if no eigenvalue is 0, then 𝑓(𝜆)=1/𝜆 gives 𝑓(𝑇)=∑𝑗𝜆𝑗−1𝑃𝑗 with 𝑇𝑓(𝑇)=(𝜆⋅1/𝜆)(𝑇)=id𝑉, so 𝑇−1=∑𝑗𝜆𝑗−1𝑃𝑗.

Beyond 21-242 The matrix exponential is not covered in 21-242.

Example 8.2.27 (The exponential). For a real symmetric 𝐴 with 𝐴=∑𝑗𝜆𝑗𝑃𝑗, define 𝑒𝑡𝐴=∑𝑗𝑒𝑡𝜆𝑗𝑃𝑗 for 𝑡∈ℝ. By Proposition 8.2.24, 𝑒𝑠𝐴𝑒𝑡𝐴=𝑒(𝑠+𝑡)𝐴, and 𝑒0𝐴=id. For 𝐱0∈ℝ𝑛, the function

𝐱(𝑡)=𝑒𝑡𝐴𝐱0=∑𝑗𝑒𝑡𝜆𝑗𝑃𝑗𝐱0

satisfies 𝐱′(𝑡)=∑𝑗𝜆𝑗𝑒𝑡𝜆𝑗𝑃𝑗𝐱0=𝐴𝐱(𝑡), using 𝐴𝑃𝑗=𝜆𝑗𝑃𝑗, and 𝐱(0)=𝐱0. This is the solution of Proposition 7.4.34 written with orthogonal projections: the component of 𝐱0 in each eigenspace grows or decays at its own rate 𝑒𝑡𝜆𝑗, independently of the others. One can show that 𝑒𝑡𝐴=∑𝑚≥0𝑡𝑚𝐴𝑚/𝑚!, the series that defines 𝑒𝑡𝐴 for every square matrix, but we do not need this.

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 5𝑥2−4𝑥𝑦+8𝑦2=36. A homogeneous quadratic polynomial in 𝑥1,…,𝑥𝑛 can always be written as 𝐱𝖳𝐴𝐱 with 𝐴 symmetric: put the coefficient of 𝑥𝑖2 at 𝑎𝑖𝑖, and split the coefficient of 𝑥𝑖𝑥𝑗 (𝑖≠𝑗) evenly between 𝑎𝑖𝑗 and 𝑎𝑗𝑖. Section 12.2 develops quadratic forms systematically; here is the one fact the spectral theorem gives immediately.

Corollary 8.2.28 (Principal axes). Let 𝐴∈ℝ𝑛×𝑛 be symmetric, and write 𝐴=𝑄𝐷𝑄𝖳 with 𝑄 orthogonal with columns 𝐪1,…,𝐪𝑛 and 𝐷=diag(𝜆1,…,𝜆𝑛) (Theorem 8.2.12). For 𝐱∈ℝ𝑛, let 𝐲=𝑄𝖳𝐱, so that 𝑦𝑖=⟨𝐱,𝐪𝑖⟩. Then

𝐱𝖳𝐴𝐱=𝜆1𝑦12+⋯+𝜆𝑛𝑦𝑛2and‖𝐲‖=‖𝐱‖.

Proof.routine

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)

Hint. Substitute 𝐴=𝑄𝐷𝑄𝖳 and regroup.
Sketch. 𝐱𝖳𝑄𝐷𝑄𝖳𝐱=(𝑄𝖳𝐱)𝖳𝐷(𝑄𝖳𝐱)=𝐲𝖳𝐷𝐲=∑𝜆𝑖𝑦𝑖2. And ‖𝐲‖2=𝐱𝖳𝑄𝑄𝖳𝐱=‖𝐱‖2.

By Proposition 2.4.23, 𝐱𝖳𝑄=(𝑄𝖳𝐱)𝖳=𝐲𝖳, so

𝐱𝖳𝐴𝐱=(𝐱𝖳𝑄)𝐷(𝑄𝖳𝐱)=𝐲𝖳𝐷𝐲=∑𝑖=1𝑛𝜆𝑖𝑦𝑖2.

The 𝑖-th entry of 𝑄𝖳𝐱 is 𝐪𝑖𝖳𝐱=⟨𝐱,𝐪𝑖⟩. Since 𝑄 is orthogonal, 𝑄𝑄𝖳=𝐼𝑛, so ‖𝐲‖2=𝐱𝖳𝑄𝑄𝖳𝐱=‖𝐱‖2 (alternatively, this is Theorem 6.3.22 in the basis 𝐪1,…,𝐪𝑛). □

In the coordinates 𝑦𝑖 along the eigenvectors, the cross terms disappear. The lines span(𝐪𝑖) are the principal axes of the quadratic form.

Example 8.2.29 (An ellipse). The equation 5𝑥2−4𝑥𝑦+8𝑦2=36 is 𝐱𝖳𝐴𝐱=36 with 𝐴=(5−2−28); the cross term −4𝑥𝑦 is split as −2𝑥𝑦−2𝑦𝑥. Here 𝑝𝐴=𝑥2−13𝑥+36=(𝑥−4)(𝑥−9), with 𝐸4=span((2,1)) and 𝐸9=span((−1,2)), so 𝐪1=15(2,1) and 𝐪2=15(−1,2). In the coordinates 𝑦1=(2𝑥+𝑦)/5, 𝑦2=(−𝑥+2𝑦)/5, Corollary 8.2.28 turns the equation into

4𝑦12+9𝑦22=36,that is,𝑦129+𝑦224=1.

This is an ellipse with semi-axis 3 along 𝐪1 and semi-axis 2 along 𝐪2. Its vertices are ±3𝐪1=±35(2,1) and ±2𝐪2=±25(−1,2); for instance 𝐱=35(2,1) gives 15(5⋅36−4⋅18+8⋅9)=36.

Figure 8.2.1. The ellipse 5𝑥2−4𝑥𝑦+8𝑦2=36 and its principal axes (dashed), along the eigenvectors 𝐪1=15(2,1) and 𝐪2=15(−1,2) of 𝐴=(5−2−28). The semi-axes are 36/4=3 and 36/9=2.

Remark 8.2.30 (Classifying conics). The same computation classifies every curve 𝑎𝑥2+2𝑏𝑥𝑦+𝑐𝑦2=1. Let 𝜆1≥𝜆2 be the eigenvalues of 𝐴=(𝑎𝑏𝑏𝑐), so the curve is 𝜆1𝑦12+𝜆2𝑦22=1 in the rotated coordinates of Corollary 8.2.28.

  • If 𝜆1≥𝜆2>0, it is an ellipse with semi-axes 1/𝜆1 and 1/𝜆2 along 𝐪1 and 𝐪2 (a circle if 𝜆1=𝜆2).
  • If 𝜆1>0>𝜆2, it is a hyperbola whose vertices ±𝐪1/𝜆1 lie on the axis of the positive eigenvalue.
  • If 𝜆1>0=𝜆2, it is the pair of parallel lines 𝑦1=±1/𝜆1.
  • If 𝜆1≤0, the left side is never positive and the curve is empty.

Since 𝜆1𝜆2=det𝐴=𝑎𝑐−𝑏2 and 𝜆1+𝜆2=tr𝐴=𝑎+𝑐, the type can be read off without computing eigenvalues: an ellipse when 𝑎𝑐−𝑏2>0 and 𝑎>0, a hyperbola when 𝑎𝑐−𝑏2<0. This is the discriminant test from analytic geometry, now with a proof.

Beyond 21-242 Infinite-dimensional spaces are not covered in 21-242.

Remark 8.2.31 (Infinite dimensions). The spectral theorems need 𝑉 to be finite-dimensional. On 𝐶([0,1],ℂ) with ⟨𝑓,𝑔⟩=∫01𝑓𝑔, the multiplication operator (𝑀𝑓)(𝑡)=𝑡𝑓(𝑡) is self-adjoint (Example 6.6.14), but it has no eigenvalues at all: if 𝑡𝑓(𝑡)=𝜆𝑓(𝑡) for all 𝑡, then 𝑓(𝑡)=0 for every 𝑡≠𝜆, and by continuity 𝑓=0. So no eigenvector exists, let alone an orthonormal eigenbasis. The infinite-dimensional theory replaces the sum ∑𝜆𝑗𝑃𝑗 by an integral over a “continuous spectrum”; Section 15.3 gives a first look.

Exercises

Exercise 8.2.32.standard Find an orthogonal 𝑄 and a diagonal 𝐷 with

(3−24−262423)=𝑄𝐷𝑄𝖳.

Solution.

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)

Hint 1. One eigenvalue is −2, with eigenvector (2,1,−2). Use the trace to find the others.
Hint 2. The other eigenvalue is 7, with a two-dimensional eigenspace: the plane orthogonal to (2,1,−2). Find a basis of it and apply Gram–Schmidt.
Sketch. 𝐴(2,1,−2)=−2(2,1,−2). Since tr𝐴=12 and 𝑝𝐴 splits with real roots, and 𝐴−7𝐼3 has rank 1, the eigenvalues are −2,7,7. 𝐸7=(2,1,−2)⟂ has basis (1,0,1),(1,−2,0); Gram–Schmidt gives 12(1,0,1) and 132(1,−4,−1).

Let 𝐴 be the matrix. We have

𝐴−7𝐼3=(−4−24−2−1242−4),

whose rows are all multiples of (2,1,−2). So rank(𝐴−7𝐼3)=1 and 𝐸7=ker(𝐴−7𝐼3)={𝐱|2𝑥1+𝑥2−2𝑥3=0} is a plane. Since tr𝐴=12 and 𝐴 is diagonalizable with eigenvalue 7 of multiplicity 2 (Theorem 8.2.12), the third eigenvalue is 12−14=−2 (Theorem 7.5.22). Indeed 𝐴(2,1,−2)=(6−2−8,−4+6−4,8+2−6)=(−4,−2,4)=−2(2,1,−2).

For 𝐸7, take the basis (1,0,1),(1,−2,0) (both satisfy 2𝑥1+𝑥2−2𝑥3=0). Gram–Schmidt: 𝐮2=12(1,0,1), and

(1,−2,0)−1⋅1+0+02(1,0,1)=(12,−2,−12)=12(1,−4,−1),

which normalizes to 𝐮3=132(1,−4,−1). With 𝐮1=13(2,1,−2),

𝑄=(2312132130−432−2312−132),𝐷=(−200070007).

The columns are orthonormal: 𝐮1⟂𝐸7 automatically, and 𝐮2⟂𝐮3 by construction.

Exercise 8.2.33.standard Let 𝑉 be a finite-dimensional complex inner product space and 𝑇∈L(𝑉) normal. Show:

  1. (a)𝑇 is self-adjoint if and only if every eigenvalue of 𝑇 is real;
  2. (b)𝑇∗=−𝑇 if and only if every eigenvalue of 𝑇 is purely imaginary (in 𝑖ℝ);
  3. (c)𝑇 is an orthogonal projection if and only if every eigenvalue of 𝑇 is 0 or 1;
  4. (d)𝑇∗𝑇=id𝑉 if and only if every eigenvalue of 𝑇 has absolute value 1.

Then show by an example that (a) fails for operators that are not normal.

Solution.

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)

Hint 1. Write 𝑇=∑𝑗𝜆𝑗𝑃𝑗. Then 𝑇∗=∑𝑗𝜆𝑗𝑃𝑗, 𝑇2=∑𝑗𝜆𝑗2𝑃𝑗, and 𝑇∗𝑇=∑𝑗|𝜆𝑗|2𝑃𝑗.
Hint 2. Two operators ∑𝑎𝑗𝑃𝑗 and ∑𝑏𝑗𝑃𝑗 are equal if and only if 𝑎𝑗=𝑏𝑗 for all 𝑗: apply both to a vector of 𝐸𝜆𝑗.
Sketch. With 𝑇=∑𝜆𝑗𝑃𝑗: 𝑇∗=𝑇 iff 𝜆𝑗=𝜆𝑗; 𝑇∗=−𝑇 iff 𝜆𝑗=−𝜆𝑗; 𝑇2=𝑇=𝑇∗ iff 𝜆𝑗2=𝜆𝑗=𝜆𝑗, i.e. 𝜆𝑗∈{0,1}; 𝑇∗𝑇=id iff |𝜆𝑗|2=1. Counterexample to (a): (1101).

Write 𝑇=∑𝑗=1𝑘𝜆𝑗𝑃𝑗 as in Theorem 8.2.18. By Proposition 8.2.24, 𝑇∗=∑𝑗𝜆𝑗𝑃𝑗, 𝑇2=∑𝑗𝜆𝑗2𝑃𝑗, and 𝑇∗𝑇=∑𝑗|𝜆𝑗|2𝑃𝑗, while id𝑉=∑𝑗𝑃𝑗. Two operators ∑𝑗𝑎𝑗𝑃𝑗 and ∑𝑗𝑏𝑗𝑃𝑗 are equal if and only if 𝑎𝑗=𝑏𝑗 for every 𝑗: apply both to a nonzero 𝐯∈𝐸𝜆𝑗, on which ∑𝑖𝑎𝑖𝑃𝑖 acts as 𝑎𝑗 (Proposition 8.2.24(a)).

(a) 𝑇∗=𝑇 if and only if 𝜆𝑗=𝜆𝑗 for all 𝑗, that is, every 𝜆𝑗 is real.

(b) 𝑇∗=−𝑇 if and only if 𝜆𝑗=−𝜆𝑗 for all 𝑗, that is, Re𝜆𝑗=0.

(c) By Corollary 6.6.29, 𝑇 is an orthogonal projection if and only if 𝑇2=𝑇=𝑇∗, that is, 𝜆𝑗2=𝜆𝑗=𝜆𝑗 for all 𝑗. The first equation says 𝜆𝑗∈{0,1}, and then the second holds automatically.

(d) 𝑇∗𝑇=id𝑉 if and only if |𝜆𝑗|2=1 for all 𝑗.

For the example, 𝐴=(1101) has only the real eigenvalue 1, but 𝐴∗=(1011)≠𝐴.

Exercise 8.2.34.standard Prove or disprove each statement. Throughout, 𝑉 is a finite-dimensional inner product space.

  1. (a)If 𝑉 is complex, 𝑇∈L(𝑉) is normal, and 𝑇𝑚=0 for some 𝑚≥1, then 𝑇=0.
  2. (b)If 𝑉 is real, 𝑇∈L(𝑉) is self-adjoint, and 𝑇3+𝑇=2id𝑉, then 𝑇=id𝑉.
  3. (c)The statement in (b) remains true without the hypothesis that 𝑇 is self-adjoint.
  4. (d)If 𝐴∈ℝ𝑛×𝑛 is symmetric, then every basis of ℝ𝑛 consisting of eigenvectors of 𝐴 is orthogonal.
  5. (e)If 𝐴∈ℝ𝑛×𝑛 is diagonalizable over ℝ and its eigenspaces are pairwise orthogonal, then 𝐴 is symmetric.

Solution.

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)

Hint 1. For (a) and (b), apply the relation to an eigenvector: what equation does each eigenvalue satisfy?
Hint 2. For (c), look for a real 2×2 matrix whose characteristic polynomial is the other factor of 𝑥3+𝑥−2=(𝑥−1)(𝑥2+𝑥+2).
Hint 3. For (d), think of repeated eigenvalues. For (e), choose an orthonormal basis inside each eigenspace.
Sketch. (a) True: 𝜆𝑚=0 forces every eigenvalue to be 0, and 𝑇=∑𝜆𝑗𝑃𝑗=0. (b) True: real eigenvalues of 𝑇 satisfy 𝜆3+𝜆−2=(𝜆−1)(𝜆2+𝜆+2)=0, so 𝜆=1 and 𝑇=𝑃1=id. (c) False: the companion matrix 𝐶 of 𝑥2+𝑥+2 satisfies 𝐶2=−𝐶−2𝐼, hence 𝐶3+𝐶=2𝐼. (d) False: 𝐼2 with the basis (1,0),(1,1). (e) True: orthonormal bases of the eigenspaces combine into an orthonormal eigenbasis.

(a) True. By Theorem 8.2.5, 𝑇=∑𝑗𝜆𝑗𝑃𝑗. If 𝐯∈𝐸𝜆𝑗 is nonzero, then 𝟎=𝑇𝑚𝐯=𝜆𝑗𝑚𝐯, so 𝜆𝑗=0. Hence the only eigenvalue is 0 and 𝑇=0⋅𝑃1=0.

(b) True. By Theorem 8.2.12, 𝑉 has an orthonormal eigenbasis 𝐮1,…,𝐮𝑛, with 𝑇𝐮𝑖=𝜇𝑖𝐮𝑖 and 𝜇𝑖∈ℝ. Applying 𝑇3+𝑇=2id𝑉 to 𝐮𝑖 gives 𝜇𝑖3+𝜇𝑖−2=0. Since 𝑥3+𝑥−2=(𝑥−1)(𝑥2+𝑥+2) and 𝑥2+𝑥+2 has discriminant 1−8<0, the only real root is 1. So 𝑇𝐮𝑖=𝐮𝑖 for all 𝑖, and 𝑇=id𝑉.

(c) False. Let 𝐶=(0−21−1), the companion matrix of 𝑥2+𝑥+2 (Theorem 7.3.24); directly, 𝐶2=(−22−1−1)=−𝐶−2𝐼2. Then 𝐶3=−𝐶2−2𝐶=𝐶+2𝐼2−2𝐶=2𝐼2−𝐶, so 𝐶3+𝐶=2𝐼2, but 𝐶≠𝐼2. (Here 𝐶 is not symmetric, and its eigenvalues are not real.)

(d) False. 𝐴=𝐼2 is symmetric, and every nonzero vector is an eigenvector, so (1,0),(1,1) 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.standard Find the error in the following “proof” that every normal operator 𝑇 on a finite-dimensional real inner product space 𝑉 with dim𝑉≥1 has an orthonormal eigenbasis. Then give a counterexample to the claim, and name a hypothesis on 𝑇 that repairs the proof.

“Proof.” Induct on 𝑛=dim𝑉; the case 𝑛=1 is clear. Let 𝑛≥2, and let 𝐮 be a unit eigenvector of 𝑇, with 𝑇𝐮=𝜆𝐮. Since 𝑇 is normal, ‖(𝑇∗−𝜆id)𝐮‖=‖(𝑇−𝜆id)𝐮‖=0, so 𝐮 is an eigenvector of 𝑇∗ as well. Hence 𝑊=span(𝐮)⟂ is invariant under 𝑇 and 𝑇∗, and 𝑇↾𝑊 is normal. By the induction hypothesis, 𝑊 has an orthonormal eigenbasis for 𝑇↾𝑊, and adding 𝐮 gives one for 𝑇.

Solution.

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)

Hint 1. Every step after the first one is the second proof of Theorem 8.2.5, which works over ℝ as well. Look at the first step.
Hint 2. Does every operator on ℝ2 have an eigenvector?
Sketch. The proof assumes that 𝑇 has an eigenvector. Over ℝ it need not: the rotation 𝐽 is normal (𝐽𝖳𝐽=𝐼=𝐽𝐽𝖳) and has no real eigenvalue. If 𝑇 is self-adjoint, Lemma 8.2.10 supplies the eigenvector, and the proof becomes that of Theorem 8.2.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 ‖(𝑇−𝜆id)𝐮‖=‖(𝑇∗−𝜆id)𝐮‖ for a real 𝜆, the invariance of 𝑊, and the normality of 𝑇↾𝑊 go through as in the second proof of Theorem 8.2.5.

Counterexample: 𝐽=(0−110) satisfies 𝐽𝖳𝐽=𝐼2=𝐽𝐽𝖳, so 𝑇𝐽 is normal on ℝ2, but 𝑝𝐽=𝑥2+1 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.

Exercise 8.2.36.standard Let 𝑉 be a finite-dimensional inner product space over 𝔽 and let 𝑆,𝑇∈L(𝑉) be self-adjoint. Show that 𝑆𝑇=𝑇𝑆 if and only if 𝑉 has an orthonormal basis consisting of vectors that are eigenvectors of both 𝑆 and 𝑇.

Solution.

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)

Hint 1. The easy direction: in a common orthonormal eigenbasis both matrices are diagonal.
Hint 2. For the other, 𝑆 maps each eigenspace 𝐸𝜆𝑗 of 𝑇 into itself (Proposition 8.2.20(a)). Is 𝑆↾𝐸𝜆𝑗 self-adjoint?
Hint 3. Apply the spectral theorem to 𝑆↾𝐸𝜆𝑗 on each 𝐸𝜆𝑗, and glue the bases.
Sketch. If both are diagonal in an orthonormal basis 𝒪︀, their matrices commute, so 𝑆𝑇=𝑇𝑆. Conversely, 𝑉=⊕𝐸𝜆𝑗 for the eigenvalues of 𝑇, and 𝑆 maps each 𝐸𝜆𝑗 into itself; 𝑆↾𝐸𝜆𝑗 is self-adjoint, so 𝐸𝜆𝑗 has an orthonormal eigenbasis for it. These vectors are eigenvectors of 𝑇 (with eigenvalue 𝜆𝑗) and of 𝑆; the eigenspaces are orthogonal, so the concatenation is orthonormal.

If 𝒪︀ is an orthonormal basis of common eigenvectors, then [𝑆]𝒪︀ and [𝑇]𝒪︀ are diagonal, so they commute, and [𝑆𝑇]𝒪︀=[𝑆]𝒪︀[𝑇]𝒪︀=[𝑇]𝒪︀[𝑆]𝒪︀=[𝑇𝑆]𝒪︀. Hence 𝑆𝑇=𝑇𝑆.

Conversely, suppose 𝑆𝑇=𝑇𝑆. A self-adjoint operator satisfies the spectral hypothesis (over ℂ it is normal), so by Theorem 8.2.18, 𝑉=𝐸𝜆1⊕⋯⊕𝐸𝜆𝑘 with pairwise orthogonal eigenspaces of 𝑇. By Proposition 8.2.20(a), 𝑆 maps each 𝐸𝜆𝑗 into itself. The restriction 𝑆𝑗=𝑆↾𝐸𝜆𝑗∈L(𝐸𝜆𝑗) is self-adjoint, because ⟨𝑆𝑗𝐯,𝐰⟩=⟨𝑆𝐯,𝐰⟩=⟨𝐯,𝑆𝐰⟩=⟨𝐯,𝑆𝑗𝐰⟩ for 𝐯,𝐰∈𝐸𝜆𝑗. By Theorem 8.2.12 or Corollary 8.2.7, 𝐸𝜆𝑗 has an orthonormal basis 𝒪︀𝑗 of eigenvectors of 𝑆𝑗, which are eigenvectors of 𝑆; they lie in 𝐸𝜆𝑗, so they are eigenvectors of 𝑇 too. The concatenation 𝒪︀1,…,𝒪︀𝑘 is orthonormal, since the eigenspaces are pairwise orthogonal, and it has ∑𝑗dim𝐸𝜆𝑗=dim𝑉 vectors. So it is an orthonormal basis of common eigenvectors.

Exercise 8.2.37.standard Let 𝑉 be a finite-dimensional complex inner product space, 𝑇∈L(𝑉) normal, and 𝑆∈L(𝑉) with 𝑆𝑇=𝑇𝑆.

  1. (a)Show that 𝑆𝑇∗=𝑇∗𝑆.
  2. (b)Show by an example that (a) can fail if 𝑇 is not normal.
  3. (c)Suppose that 𝑆 is normal as well. Show that 𝑆, 𝑆∗, 𝑇, 𝑇∗ pairwise commute, and deduce that 𝑆𝑇 and 𝑆+𝑇 are normal.

Solution.

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)

Hint 1. By Proposition 8.2.20(b), 𝑇∗ is a polynomial in 𝑇.
Hint 2. For (b), try 𝑇=𝑆=(0100).
Hint 3. For (c), apply (a) twice, and take adjoints of 𝑆𝑇=𝑇𝑆.
Sketch. (a) 𝑇∗=𝑝(𝑇), and 𝑆 commutes with every polynomial in 𝑇. (b) 𝑇=𝑆=(0100): 𝑆𝑇∗=(1000)≠(0001)=𝑇∗𝑆. (c) 𝑆𝑇∗=𝑇∗𝑆 and (by symmetry) 𝑇𝑆∗=𝑆∗𝑇; taking adjoints of 𝑆𝑇=𝑇𝑆 gives 𝑆∗𝑇∗=𝑇∗𝑆∗; normality gives the rest. Then (𝑆𝑇)(𝑆𝑇)∗=𝑆𝑇𝑇∗𝑆∗ and (𝑆𝑇)∗(𝑆𝑇)=𝑇∗𝑆∗𝑆𝑇 are products of the same commuting operators.

(a) By Proposition 8.2.20(b), 𝑇∗=𝑝(𝑇) for some 𝑝∈ℂ[𝑥]. Since 𝑆 commutes with 𝑇, it commutes with 𝑇𝑚 for every 𝑚 (induction on 𝑚), hence with 𝑝(𝑇)=𝑇∗.

(b) Let 𝑇=𝑆=(0100), which commute. Then 𝑇∗=(0010), and

𝑆𝑇∗=(1000)≠(0001)=𝑇∗𝑆.

(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

(𝑆𝑇)(𝑆𝑇)∗=𝑆𝑇𝑇∗𝑆∗and(𝑆𝑇)∗(𝑆𝑇)=𝑇∗𝑆∗𝑆𝑇

are products of the same four pairwise commuting operators, so they are equal, and 𝑆𝑇 is normal. Similarly (𝑆+𝑇)(𝑆+𝑇)∗=𝑆𝑆∗+𝑆𝑇∗+𝑇𝑆∗+𝑇𝑇∗ and (𝑆+𝑇)∗(𝑆+𝑇)=𝑆∗𝑆+𝑆∗𝑇+𝑇∗𝑆+𝑇∗𝑇 agree term by term.

Exercise 8.2.38.standard
  1. (a)Find the symmetric 𝐴∈ℝ2×2 with eigenvalues 1 and 3 such that (1,2) is an eigenvector for 3, and show that it is unique.
  2. (b)Find a matrix 𝐵∈ℝ2×2, not symmetric, with eigenvalues 1 and 3 such that (1,2) is an eigenvector for 3.

Solution.

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)

Hint 1. For a symmetric 𝐴, the eigenspace for 1 is forced to be (1,2)⟂. So the spectral decomposition is determined.
Hint 2. For (b), drop the orthogonality: choose any other eigenvector for 1, such as (1,0), and compute 𝑆𝐷𝑆−1.
Sketch. (a) 𝐸3=span((1,2)) and 𝐸1=𝐸3⟂ are forced, so 𝐴=3𝑃+(𝐼−𝑃) with 𝑃=15(1224): 𝐴=15(74413). (b) 𝑆=(1120), 𝐷=diag(3,1): 𝐵=𝑆𝐷𝑆−1=(1103).

(a) Let 𝐴 be such a matrix. By Theorem 8.2.18, ℝ2=𝐸3⊕𝐸1 with 𝐸3⟂𝐸1. Each eigenspace is at least a line, so both are lines; 𝐸3=span((1,2)) and 𝐸1=𝐸3⟂=span((2,−1)). So 𝐴=3𝑃3+1𝑃1 with 𝑃3=Pr𝐸3 and 𝑃1=𝐼2−𝑃3. With 𝐮=15(1,2), Theorem 6.4.31 gives 𝑃3=𝐮𝐮𝖳=15(1224), so

𝐴=𝐼2+2𝑃3=(1001)+25(1224)=15(74413).

It is symmetric, and 𝐴(1,2)=15(15,30)=3(1,2), 𝐴(2,−1)=15(10,−5)=(2,−1). The argument shows it is the only one.

(b) Take (1,0) as eigenvector for 1, and let 𝑆=(1120) (columns: the eigenvectors for 3 and 1) and 𝐷=diag(3,1). Then 𝑆−1=(0121−12) and

𝐵=𝑆𝐷𝑆−1=(3160)(0121−12)=(1103).

Then 𝐵(1,2)=(3,6) and 𝐵(1,0)=(1,0), and 𝐵 is not symmetric. Uniqueness in (a) came from the orthogonality of eigenspaces, which only symmetric matrices guarantee.

Exercise 8.2.39.standard Let 𝐴=(106610).

  1. (a)Find the symmetric 𝐵 with nonnegative eigenvalues such that 𝐵2=𝐴.
  2. (b)Find all 𝐵∈ℝ2×2 with 𝐵2=𝐴.
  3. (c)Explain why 𝐼2, in contrast, has infinitely many square roots in ℝ2×2.

Solution.

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)

Hint 1. 𝐴 has eigenvalues 16 and 4, with eigenvectors (1,1) and (1,−1).
Hint 2. If 𝐵2=𝐴, then 𝐵 commutes with 𝐴. What does 𝐵 do to the eigenspaces of 𝐴?
Hint 3. Each eigenspace of 𝐴 is a line mapped into itself by 𝐵, so it consists of eigenvectors of 𝐵. For (c), every reflection squares to 𝐼2.
Sketch. (a) 𝑃=12(1111), 𝑄=12(1−1−11), 𝐴=16𝑃+4𝑄, 𝐴=4𝑃+2𝑄=(3113). (b) 𝐵 commutes with 𝐴, so preserves the lines 𝐸16 and 𝐸4, so 𝐵=𝛽1𝑃+𝛽2𝑄 with 𝛽12=16 and 𝛽22=4: four matrices ±(3113), ±(1331). (c) For 𝐼2 the eigenspace is all of ℝ2, which imposes no constraint; any reflection is a square root.

(a) 𝑝𝐴=(𝑥−10)2−36=(𝑥−16)(𝑥−4), with 𝐸16=span((1,1)) and 𝐸4=span((1,−1)). With 𝑃=Pr𝐸16=12(1111) and 𝑄=Pr𝐸4=12(1−1−11), we have 𝐴=16𝑃+4𝑄, and

𝐵=𝐴=4𝑃+2𝑄=(3113).

Check: (3113)2=(106610).

(b) Suppose 𝐵2=𝐴. Then 𝐵𝐴=𝐵3=𝐴𝐵, so 𝐵 maps 𝐸16=ker(𝐴−16𝐼2) and 𝐸4=ker(𝐴−4𝐼2) into themselves (Proposition 7.2.30). These are lines, so by Proposition 7.2.7, 𝐵(1,1)=𝛽1(1,1) and 𝐵(1,−1)=𝛽2(1,−1) for some 𝛽1,𝛽2∈ℝ. Then 𝐴(1,1)=𝐵2(1,1)=𝛽12(1,1), so 𝛽12=16, and similarly 𝛽22=4. Since (1,1),(1,−1) is a basis, 𝐵=𝛽1𝑃+𝛽2𝑄, with 𝛽1=±4 and 𝛽2=±2. Conversely each of these four matrices squares to 16𝑃+4𝑄=𝐴 by Proposition 8.2.24. They are

(3113),(−3−1−1−3),(1331),(−1−3−3−1).

(c) For 𝐼2 there is a single eigenspace, ℝ2 itself, and the argument of (b) gives no information. Every reflection 𝑅𝜃=(cos𝜃sin𝜃sin𝜃−cos𝜃) satisfies 𝑅𝜃2=𝐼2 (it is Prℓ−Prℓ⟂ for a line ℓ), and these are infinitely many distinct square roots. In (b), the distinct eigenvalues of 𝐴 forced every square root to have the same eigenvectors as 𝐴.

Exercise 8.2.40.standardBeyond 21-242 Using Example 8.2.27 (and its analogue 𝑒𝑡𝑁=∑𝑗𝑒𝑡𝜆𝑗𝑃𝑗 for normal 𝑁∈ℂ𝑛×𝑛), compute 𝑒𝑡𝐴 for 𝐴=(0110) and 𝑒𝑡𝐽 for 𝐽=(0−110), where 𝑡∈ℝ. Interpret 𝑒𝑡𝐽 geometrically.

Solution.

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)

Hint 1. 𝐴 has eigenvalues ±1 with eigenvectors (1,±1). Write down 𝑃1 and 𝑃−1.
Hint 2. 𝐽 has eigenvalues ±𝑖 with eigenvectors (1,∓𝑖). Use 𝑒𝑖𝑡+𝑒−𝑖𝑡=2cos𝑡 and 𝑒𝑖𝑡−𝑒−𝑖𝑡=2𝑖sin𝑡.
Sketch. 𝑒𝑡𝐴=𝑒𝑡𝑃1+𝑒−𝑡𝑃−1=(cosh𝑡sinh𝑡sinh𝑡cosh𝑡). 𝑒𝑡𝐽=𝑒𝑖𝑡𝑃𝑖+𝑒−𝑖𝑡𝑃−𝑖 with 𝑃±𝑖=12(1±𝑖∓𝑖1), giving (cos𝑡−sin𝑡sin𝑡cos𝑡): rotation by 𝑡.

For 𝐴: 𝐸1=span((1,1)) and 𝐸−1=span((1,−1)), so 𝑃1=12(1111) and 𝑃−1=12(1−1−11), and

𝑒𝑡𝐴=𝑒𝑡𝑃1+𝑒−𝑡𝑃−1=12(𝑒𝑡+𝑒−𝑡𝑒𝑡−𝑒−𝑡𝑒𝑡−𝑒−𝑡𝑒𝑡+𝑒−𝑡)=(cosh𝑡sinh𝑡sinh𝑡cosh𝑡).

For 𝐽: by Example 8.2.3, 𝐸𝑖=span((1,−𝑖)) and 𝐸−𝑖=span((1,𝑖)). With 𝐮=12(1,−𝑖), 𝑃𝑖=𝐮𝐮∗=12(1−𝑖)(1𝑖)=12(1𝑖−𝑖1), and similarly 𝑃−𝑖=12(1−𝑖𝑖1). So

𝑒𝑡𝐽=𝑒𝑖𝑡𝑃𝑖+𝑒−𝑖𝑡𝑃−𝑖=12(𝑒𝑖𝑡+𝑒−𝑖𝑡𝑖(𝑒𝑖𝑡−𝑒−𝑖𝑡)−𝑖(𝑒𝑖𝑡−𝑒−𝑖𝑡)𝑒𝑖𝑡+𝑒−𝑖𝑡)=(cos𝑡−sin𝑡sin𝑡cos𝑡),

using 𝑒𝑖𝑡+𝑒−𝑖𝑡=2cos𝑡 and 𝑖(𝑒𝑖𝑡−𝑒−𝑖𝑡)=𝑖⋅2𝑖sin𝑡=−2sin𝑡. So 𝑒𝑡𝐽 is the rotation by the angle 𝑡: the solutions of 𝐱′=𝐽𝐱, that is 𝑥1′=−𝑥2 and 𝑥2′=𝑥1, run around circles at unit angular speed. The complex projections were only a tool; the answer is real.

Exercise 8.2.41.standard Identify each curve in ℝ2 (ellipse, hyperbola, pair of lines, or empty), and find its principal axes.

  1. (a)𝑥2+4𝑥𝑦+𝑦2=1
  2. (b)3𝑥2+2𝑥𝑦+3𝑦2=8
  3. (c)2𝑥2+4𝑥𝑦+2𝑦2=1

Solution.

Uses. Corollary 8.2.28 (Principal axes), Remark 8.2.30 (Classifying conics)

Hint 1. Write each left side as 𝐱𝖳𝐴𝐱, splitting the cross term evenly.
Hint 2. All three matrices have eigenvectors (1,1) and (1,−1).
Sketch. (a) 𝐴=(1221), eigenvalues 3,−1: 3𝑦12−𝑦22=1, a hyperbola with vertices on the line 𝑦=𝑥. (b) 𝐴=(3113), eigenvalues 4,2: 𝑦12/2+𝑦22/4=1, an ellipse with semi-axes 2 along (1,1) and 2 along (1,−1). (c) 𝐴=(2222), eigenvalues 4,0: 4𝑦12=1, the lines 𝑥+𝑦=±1/2.

In each case let 𝐪1=12(1,1) and 𝐪2=12(1,−1), and 𝑦1=(𝑥+𝑦)/2, 𝑦2=(𝑥−𝑦)/2. Every symmetric matrix (𝑎𝑏𝑏𝑎) has 𝐴𝐪1=(𝑎+𝑏)𝐪1 and 𝐴𝐪2=(𝑎−𝑏)𝐪2, so Corollary 8.2.28 applies with these coordinates. The principal axes are the lines 𝑦=𝑥 and 𝑦=−𝑥 in all three cases.

(a) 𝐴=(1221), eigenvalues 3 and −1. The curve is 3𝑦12−𝑦22=1: a hyperbola, with vertices at 𝑦1=±1/3, 𝑦2=0, that is, at ±16(1,1) on the line 𝑦=𝑥.

(b) 𝐴=(3113), eigenvalues 4 and 2. The curve is 4𝑦12+2𝑦22=8, that is, 𝑦12/2+𝑦22/4=1: an ellipse with semi-axis 2 along 𝑦=𝑥 and semi-axis 2 along 𝑦=−𝑥.

(c) 𝐴=(2222), eigenvalues 4 and 0. The curve is 4𝑦12=1, that is, 𝑦1=±1/2: the two parallel lines 𝑥+𝑦=±1/2. (Directly: 2(𝑥+𝑦)2=1.)

Exercise 8.2.42.standard Let 𝑇∈L(𝑉) be self-adjoint, and let 𝜆min and 𝜆max be its smallest and largest eigenvalues.

  1. (a)Show that 𝜆min‖𝐯‖2≤⟨𝑇𝐯,𝐯⟩≤𝜆max‖𝐯‖2 for every 𝐯∈𝑉, with equality on the right if and only if 𝐯∈𝐸𝜆max.
  2. (b)Deduce that for a real symmetric 𝐴∈ℝ𝑛×𝑛, 𝜆min≤𝑎𝑖𝑖≤𝜆max for every 𝑖.
  3. (c)Show that (120212021) has an eigenvalue greater than 3.

Solution.

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)

Hint 1. Expand 𝐯=∑𝑐𝑖𝐮𝑖 in an orthonormal eigenbasis. Then ⟨𝑇𝐯,𝐯⟩=∑𝜇𝑖|𝑐𝑖|2 and ‖𝐯‖2=∑|𝑐𝑖|2.
Hint 2. For (b), take 𝐯=𝐞𝑖. For (c), find a vector 𝐯 with ⟨𝐴𝐯,𝐯⟩>3‖𝐯‖2.
Sketch. (a) ⟨𝑇𝐯,𝐯⟩=∑𝑖𝜇𝑖|𝑐𝑖|2 is a weighted average of the eigenvalues times ∑|𝑐𝑖|2=‖𝐯‖2; equality on the right iff 𝑐𝑖=0 whenever 𝜇𝑖<𝜆max. (b) 𝐞𝑖𝖳𝐴𝐞𝑖=𝑎𝑖𝑖. (c) 𝐯=(1,1,1): 𝐯𝖳𝐴𝐯=3+2⋅(2+2)=11>9.

(a) Let 𝐮1,…,𝐮𝑛 be an orthonormal eigenbasis with 𝑇𝐮𝑖=𝜇𝑖𝐮𝑖 (Theorem 8.2.12 or Corollary 8.2.7), and write 𝐯=∑𝑖𝑐𝑖𝐮𝑖. Then 𝑇𝐯=∑𝑖𝜇𝑖𝑐𝑖𝐮𝑖, and by orthonormality

⟨𝑇𝐯,𝐯⟩=∑𝑖𝜇𝑖𝑐𝑖𝑐𝑖=∑𝑖𝜇𝑖|𝑐𝑖|2,‖𝐯‖2=∑𝑖|𝑐𝑖|2

(Theorem 6.3.22). Since 𝜆min≤𝜇𝑖≤𝜆max and |𝑐𝑖|2≥0,

𝜆min∑𝑖|𝑐𝑖|2≤∑𝑖𝜇𝑖|𝑐𝑖|2≤𝜆max∑𝑖|𝑐𝑖|2.

Equality on the right means ∑𝑖(𝜆max−𝜇𝑖)|𝑐𝑖|2=0, a sum of nonnegative terms, so 𝑐𝑖=0 whenever 𝜇𝑖≠𝜆max; that is, 𝐯∈span{𝐮𝑖|𝜇𝑖=𝜆max}=𝐸𝜆max (as in the proof of Theorem 8.2.18). Conversely, 𝐯∈𝐸𝜆max gives ⟨𝑇𝐯,𝐯⟩=𝜆max‖𝐯‖2.

(b) Apply (a) to 𝑇𝐴 on ℝ𝑛 with the dot product and 𝐯=𝐞𝑖: ⟨𝐴𝐞𝑖,𝐞𝑖⟩=𝑎𝑖𝑖 and ‖𝐞𝑖‖=1.

(c) With 𝐯=(1,1,1), 𝐴𝐯=(3,5,3), so ⟨𝐴𝐯,𝐯⟩=11 while ‖𝐯‖2=3. By (a), 𝜆max≥11/3>3. (Part (b) alone gives only 𝜆max≥1. In fact 𝜆max=1+22≈3.83.)

Exercise 8.2.43.hard Let 𝐴∈ℝ𝑛×𝑛 be symmetric and nonzero. Show that

rank𝐴≥(tr𝐴)2tr(𝐴2),

and determine when equality holds.

Solution.

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)

Hint 1. Diagonalize: all three quantities can be read off from the eigenvalues 𝜇1,…,𝜇𝑛.
Hint 2. rank𝐴 is the number of nonzero 𝜇𝑖, tr𝐴=∑𝜇𝑖, and tr(𝐴2)=∑𝜇𝑖2>0. Apply Cauchy–Schwarz to the nonzero 𝜇𝑖.
Sketch. 𝐴=𝑄𝐷𝑄𝖳; rank and trace are similarity invariants, and 𝐴2=𝑄𝐷2𝑄𝖳. With 𝑟 nonzero eigenvalues, (∑𝜇𝑖)2≤𝑟∑𝜇𝑖2 by Cauchy–Schwarz (Proposition 6.2.22), with equality iff the nonzero 𝜇𝑖 are equal. Since 𝐴≠0, tr(𝐴2)>0.

By Theorem 8.2.12, 𝐴=𝑄𝐷𝑄𝖳 with 𝑄 orthogonal and 𝐷=diag(𝜇1,…,𝜇𝑛), and 𝐴2=𝑄𝐷2𝑄𝖳 (Proposition 7.4.23). Rank and trace are invariant under similarity (Proposition 4.5.27), so with 𝑟 the number of nonzero 𝜇𝑖,

rank𝐴=rank𝐷=𝑟,tr𝐴=∑𝑖𝜇𝑖,tr(𝐴2)=∑𝑖𝜇𝑖2.

Since 𝐴≠0, 𝐷≠0, so 𝑟≥1 and tr(𝐴2)>0. The sum ∑𝑖𝜇𝑖 only involves the 𝑟 nonzero eigenvalues, and by Proposition 6.2.22 (Cauchy–Schwarz for the vectors (1,…,1) and (𝜇𝑖)𝜇𝑖≠0 in ℝ𝑟),

(∑𝑖𝜇𝑖)2≤𝑟∑𝜇𝑖≠0𝜇𝑖2=𝑟tr(𝐴2).

Dividing by tr(𝐴2)>0 gives the inequality. Equality holds in Cauchy–Schwarz if and only if (𝜇𝑖)𝜇𝑖≠0 is a multiple of (1,…,1), that is, if and only if all nonzero eigenvalues of 𝐴 are equal. Equivalently, 𝐴=𝑐𝑃 for a scalar 𝑐≠0 and an orthogonal projection 𝑃 (by Theorem 8.2.18).

Exercise 8.2.44.hard Let 𝑉 be a finite-dimensional complex inner product space and 𝑇∈L(𝑉). Show that 𝑇 is normal if and only if every eigenvector of 𝑇 is also an eigenvector of 𝑇∗.

Solution.

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)

Hint 1. One direction was shown inside the second proof of Theorem 8.2.5. For the other, imitate the third proof.
Hint 2. If every vector of 𝐸𝜆 is an eigenvector of 𝑇∗, then 𝑇∗↾𝐸𝜆 is an operator all of whose nonzero vectors are eigenvectors. What kind of operator is that?
Hint 3. Show that 𝑇∗𝐮=𝜆𝐮 for 𝐮∈𝐸𝜆 by comparing ⟨𝑇𝐮,𝐮⟩ and ⟨𝐮,𝑇∗𝐮⟩. Then the third proof of Theorem 8.2.5 runs unchanged.
Sketch. (⇒) shown in the second proof of Theorem 8.2.5. (⟸) For a nonzero 𝐮∈𝐸𝜆, 𝑇∗𝐮=𝜈𝐮, and 𝜆‖𝐮‖2=⟨𝑇𝐮,𝐮⟩=⟨𝐮,𝑇∗𝐮⟩=𝜈‖𝐮‖2, so 𝜈=𝜆. Now the third proof applies: 𝐸=∑𝐸𝜆 is 𝑇∗-invariant, 𝐸⟂ is 𝑇-invariant and contains no eigenvector, so 𝐸=𝑉; eigenspaces are orthogonal. So 𝑇 has an orthonormal eigenbasis and is normal.

(⇒) If 𝑇 is normal and 𝑇𝐮=𝜆𝐮, then 𝑇∗𝐮=𝜆𝐮, as shown in the second proof of Theorem 8.2.5.

(⟸) Let 𝐮≠𝟎 with 𝑇𝐮=𝜆𝐮. By hypothesis 𝑇∗𝐮=𝜈𝐮 for some 𝜈∈ℂ, and

𝜆‖𝐮‖2=⟨𝑇𝐮,𝐮⟩=⟨𝐮,𝑇∗𝐮⟩=⟨𝐮,𝜈𝐮⟩=𝜈‖𝐮‖2,

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 𝜆⟨𝐮,𝐯⟩=⟨𝐮,𝑇∗𝐯⟩=𝜇⟨𝐮,𝐯⟩ for 𝐮∈𝐸𝜆, 𝐯∈𝐸𝜇 shows that the eigenspaces are orthogonal. Concatenating orthonormal bases of the eigenspaces gives an orthonormal eigenbasis, so 𝑇 is normal by Theorem 8.2.5.

Exercise 8.2.45.standard
  1. (a)Show that 𝐴∈ℝ2×2 satisfies 𝐴𝖳𝐴=𝐴𝐴𝖳 if and only if 𝐴 is symmetric or 𝐴=(𝑎−𝑏𝑏𝑎) for some 𝑎,𝑏∈ℝ.
  2. (b)Deduce that a real normal 2×2 matrix that is not symmetric has no real eigenvalue, and interpret (𝑎−𝑏𝑏𝑎) geometrically.

Solution.

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)

Hint 1. Write 𝐴=(𝑎𝑏𝑐𝑑) and compare the entries of 𝐴𝖳𝐴 and 𝐴𝐴𝖳.
Hint 2. The diagonal entries give 𝑏2=𝑐2. Split into the cases 𝑐=𝑏 and 𝑐=−𝑏≠0.
Sketch. 𝐴𝖳𝐴=(𝑎2+𝑐2𝑎𝑏+𝑐𝑑𝑎𝑏+𝑐𝑑𝑏2+𝑑2) and 𝐴𝐴𝖳=(𝑎2+𝑏2𝑎𝑐+𝑏𝑑𝑎𝑐+𝑏𝑑𝑐2+𝑑2). Equality means 𝑏2=𝑐2 and 𝑎𝑏+𝑐𝑑=𝑎𝑐+𝑏𝑑. If 𝑐=𝑏, 𝐴 is symmetric. If 𝑐=−𝑏≠0, the second equation gives 2𝑏(𝑎−𝑑)=0, so 𝑑=𝑎. (b) 𝑝=(𝑥−𝑎)2+𝑏2 has no real root for 𝑏≠0; the matrix is 𝑎2+𝑏2 times a rotation.

(a) Let 𝐴=(𝑎𝑏𝑐𝑑). Then

𝐴𝖳𝐴=(𝑎2+𝑐2𝑎𝑏+𝑐𝑑𝑎𝑏+𝑐𝑑𝑏2+𝑑2),𝐴𝐴𝖳=(𝑎2+𝑏2𝑎𝑐+𝑏𝑑𝑎𝑐+𝑏𝑑𝑐2+𝑑2).

So 𝐴 is normal if and only if 𝑏2=𝑐2 and 𝑎𝑏+𝑐𝑑=𝑎𝑐+𝑏𝑑. If 𝑐=𝑏, the second equation holds and 𝐴 is symmetric. Otherwise 𝑐=−𝑏 with 𝑏≠0, and the second equation becomes 𝑎𝑏−𝑏𝑑=−𝑎𝑏+𝑏𝑑, that is, 2𝑏(𝑎−𝑑)=0, so 𝑑=𝑎 and 𝐴=(𝑎𝑏−𝑏𝑎), which is of the stated form with 𝑏 replaced by −𝑏. Conversely, symmetric matrices are normal, and for 𝐴=(𝑎−𝑏𝑏𝑎) both products equal (𝑎2+𝑏2)𝐼2.

(b) If 𝐴 is normal and not symmetric, then 𝐴=(𝑎−𝑏𝑏𝑎) with 𝑏≠0, and 𝑝𝐴=(𝑥−𝑎)2+𝑏2>0 for every real 𝑥. So 𝐴 has no real eigenvalue (Theorem 7.3.6). Writing 𝑟=𝑎2+𝑏2>0 and (𝑎,𝑏)=𝑟(cos𝜃,sin𝜃), we get 𝐴=𝑟(cos𝜃−sin𝜃sin𝜃cos𝜃): a rotation by 𝜃 followed by scaling by 𝑟. It is multiplication by 𝑎+𝑏𝑖 on ℂ=ℝ2.

Exercise 8.2.46.standard Adapt the third proof of Theorem 8.2.5 (the sum of the eigenspaces is everything) to give another proof of (I) ⇒ (II) in Theorem 8.2.12. Point out exactly where self-adjointness is used.

Solution.

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)

Hint 1. Let 𝐸 be the sum of the eigenspaces of 𝑇. Why is 𝐸⟂ invariant? (This is easier than in the complex case.)
Hint 2. To find an eigenvector in 𝐸⟂, you need 𝑇↾𝐸⟂ to be an operator that has one. Which lemma provides it?
Sketch. 𝐸=∑𝐸𝜆 is 𝑇-invariant, and 𝑇=𝑇∗, so 𝐸⟂ is 𝑇-invariant (Exercise 6.6.38). The restriction 𝑇↾𝐸⟂ is self-adjoint, so if 𝐸⟂≠{𝟎} it has an eigenvector (Lemma 8.2.10), which would lie in 𝐸∩𝐸⟂. So 𝐸=𝑉. Orthogonality: 𝜆⟨𝐮,𝐯⟩=⟨𝑇𝐮,𝐯⟩=⟨𝐮,𝑇𝐯⟩=𝜇⟨𝐮,𝐯⟩.

Let 𝑇 be self-adjoint, let 𝜆1,…,𝜆𝑘 be its distinct eigenvalues (𝑘≥1 by Lemma 8.2.10), and let 𝐸=𝐸𝜆1+⋯+𝐸𝜆𝑘. 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 𝐯,𝐰∈𝐸⟂. By Lemma 8.2.10 (the second use of self-adjointness, replacing the existence of eigenvalues over ℂ), 𝑆 has an eigenvector 𝐰∈𝐸⟂. It is an eigenvector of 𝑇, so 𝐰∈𝐸∩𝐸⟂={𝟎}, a contradiction. So 𝐸⟂={𝟎} and 𝐸=𝑉 by Corollary 6.4.27.

For 𝐮∈𝐸𝜆 and 𝐯∈𝐸𝜇 with 𝜆≠𝜇, 𝜆⟨𝐮,𝐯⟩=⟨𝑇𝐮,𝐯⟩=⟨𝐮,𝑇𝐯⟩=𝜇⟨𝐮,𝐯⟩ (the third use; the eigenvalues are real), so ⟨𝐮,𝐯⟩=0. Concatenating orthonormal bases of the eigenspaces (Theorem 6.4.20) gives an orthonormal list spanning 𝐸=𝑉, which is an orthonormal eigenbasis.

Exercise 8.2.47.hard Let 𝐻∈ℂ𝑛×𝑛 be Hermitian.

  1. (a)Show that 𝐼𝑛+𝑖𝐻 is invertible.
  2. (b)Show that 𝐶=(𝐼𝑛−𝑖𝐻)(𝐼𝑛+𝑖𝐻)−1 is unitary, and that −1 is not an eigenvalue of 𝐶.
  3. (c)Conversely, show that every unitary 𝐶 without the eigenvalue −1 arises in this way from a unique Hermitian 𝐻.

Solution.

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)

Hint 1. Write 𝐻=𝑈𝐷𝑈∗ with 𝐷 real diagonal. What are the eigenvalues of 𝐼+𝑖𝐻?
Hint 2. 𝐶=𝑓(𝐻) for 𝑓(𝜆)=(1−𝑖𝜆)/(1+𝑖𝜆). What is |𝑓(𝜆)| for real 𝜆?
Hint 3. For (c), solve 𝑧=(1−𝑖𝜆)/(1+𝑖𝜆) for 𝜆, and apply that function to 𝐶, which is normal.
Sketch. (a) The eigenvalues of 𝐼+𝑖𝐻 are 1+𝑖𝜆𝑗≠0. (b) 𝐶=𝑈𝑓(𝐷)𝑈∗ with 𝑓(𝜆)=(1−𝑖𝜆)/(1+𝑖𝜆); for real 𝜆, |𝑓(𝜆)|=1 and 𝑓(𝜆)≠−1; so 𝐶∗𝐶=𝐼. (c) 𝐶 is normal with eigenvalues 𝑧 on the unit circle, 𝑧≠−1; 𝑔(𝑧)=𝑖(𝑧−1)/(𝑧+1) is real there and inverts 𝑓, so 𝐻=𝑔(𝐶) is Hermitian with 𝑓(𝐻)=𝐶. Uniqueness: 𝐻=𝑔(𝑓(𝐻)).

By Corollary 8.2.7, 𝐻=𝑈𝐷𝑈∗ with 𝑈 unitary and 𝐷=diag(𝜆1,…,𝜆𝑛) real.

(a) 𝐼𝑛+𝑖𝐻=𝑈(𝐼𝑛+𝑖𝐷)𝑈∗, and 𝐼𝑛+𝑖𝐷 is diagonal with entries 1+𝑖𝜆𝑗, which are nonzero because 𝜆𝑗 is real. So 𝐼𝑛+𝑖𝐻 is a product of invertible matrices.

(b) Let 𝑓(𝜆)=(1−𝑖𝜆)/(1+𝑖𝜆) for 𝜆∈ℝ. With the matrix form of Definition 8.2.23, (𝐼𝑛−𝑖𝐻)(𝐼𝑛+𝑖𝐻)−1=𝑈(𝐼𝑛−𝑖𝐷)(𝐼𝑛+𝑖𝐷)−1𝑈∗=𝑈𝑓(𝐷)𝑈∗=𝑓(𝐻). For real 𝜆, 1−𝑖𝜆=1+𝑖𝜆, so |𝑓(𝜆)|=1; and 𝑓(𝜆)=−1 would mean 1−𝑖𝜆=−1−𝑖𝜆, which is impossible. So 𝐶=𝑈𝑓(𝐷)𝑈∗ with 𝑓(𝐷) diagonal, unimodular entries, and 𝐶∗𝐶=𝑈𝑓(𝐷)𝑓(𝐷)𝑈∗=𝐼𝑛: 𝐶 is unitary, and its eigenvalues 𝑓(𝜆𝑗) are not −1.

(c) Let 𝐶 be unitary with no eigenvalue −1. Then 𝐶∗𝐶=𝐼𝑛=𝐶𝐶∗, so 𝐶 is normal, and by Theorem 8.2.5, 𝐶=𝑉𝑍𝑉∗ with 𝑉 unitary and 𝑍=diag(𝑧1,…,𝑧𝑛); |𝑧𝑗|=1 by Exercise 8.2.33(d), and 𝑧𝑗≠−1. Let 𝑔(𝑧)=𝑖(𝑧−1)/(𝑧+1). For |𝑧|=1, 𝑧=1/𝑧, so

𝑔(𝑧)=−𝑖1/𝑧−11/𝑧+1=−𝑖1−𝑧1+𝑧=𝑔(𝑧),

and 𝑔(𝑧) is real. Solving 𝑧=(1−𝑖𝜆)/(1+𝑖𝜆) for 𝜆 gives 𝑧+𝑖𝜆𝑧=1−𝑖𝜆, so 𝜆=𝑖(𝑧−1)/(𝑧+1)=𝑔(𝑧): thus 𝑓(𝑔(𝑧))=𝑧 and 𝑔(𝑓(𝜆))=𝜆. Let 𝐻=𝑔(𝐶)=𝑉𝑔(𝑍)𝑉∗. It is Hermitian since 𝑔(𝑍) is real diagonal, and 𝑓(𝐻)=𝑉𝑓(𝑔(𝑍))𝑉∗=𝑉𝑍𝑉∗=𝐶. For uniqueness, if 𝑓(𝐻′)=𝐶 with 𝐻′ Hermitian, 𝐻′=𝑈′𝐷′𝑈′∗, then 𝐶=𝑈′𝑓(𝐷′)𝑈′∗, and 𝑔(𝐶)=𝑈′𝑔(𝑓(𝐷′))𝑈′∗=𝐻′ (the matrix 𝑓(𝐷′) is a diagonalization of 𝐶, and 𝑔(𝐶) does not depend on the choice). So 𝐻′=𝑔(𝐶)=𝐻.

Exercise 8.2.48.challengeBeyond 21-242 Let 𝐴∈ℝ𝑛×𝑛 be normal (𝐴𝖳𝐴=𝐴𝐴𝖳). Show that there is an orthogonal 𝑄 such that 𝑄𝖳𝐴𝑄 is block diagonal, with each block either 1×1 or of the form (𝑎−𝑏𝑏𝑎) with 𝑏>0.

Solution.

Hint 1. Induct on 𝑛. If 𝐴 has a real eigenvalue, split off a line as in the second proof of Theorem 8.2.5; it works over ℝ for a real eigenvector.
Hint 2. Otherwise take a complex eigenvector 𝐳=𝐱+𝑖𝐲 of 𝐴 for 𝜆=𝑎+𝑏𝑖, 𝑏≠0. Since 𝐴 is normal as a complex matrix, 𝐴𝖳𝐳=𝐴∗𝐳=𝜆𝐳. Take real and imaginary parts.
Hint 3. 𝑈=span(𝐱,𝐲) is a plane invariant under 𝐴 and 𝐴𝖳, so 𝑈⟂ is too. The restriction of 𝑇𝐴 to 𝑈, in an orthonormal basis of 𝑈, is a real normal 2×2 matrix without real eigenvalues. Use Exercise 8.2.45.
Sketch. Induction on 𝑛, splitting off an invariant subspace 𝑈 of dimension 1 or 2 that is invariant under both 𝐴 and 𝐴𝖳; then 𝑈⟂ is invariant under both, and both restrictions are normal. A real eigenvector gives 𝑈 of dimension 1. Otherwise a complex eigenvector 𝐱+𝑖𝐲 for 𝑎+𝑏𝑖 (𝑏≠0) is also an eigenvector of 𝐴∗=𝐴𝖳 for 𝑎−𝑏𝑖, and comparing real and imaginary parts shows 𝑈=span(𝐱,𝐲) is invariant under 𝐴 and 𝐴𝖳. In an orthonormal basis of 𝑈, the restriction is normal with no real eigenvalue, hence of the form (𝑎′−𝑏′𝑏′𝑎′) (Exercise 8.2.45); replacing the second basis vector by its negative makes 𝑏′>0.

We prove the statement for normal operators 𝑇 on finite-dimensional real inner product spaces 𝑉 (with “orthonormal basis” in place of 𝑄), by strong induction on dim𝑉; for 𝐴 apply it to 𝑇𝐴 on ℝ𝑛 and let 𝑄 have the basis as columns (Theorem 4.5.17). Dimension 0 is trivial. Suppose dim𝑉=𝑛≥1. It suffices to find a subspace 𝑈≠{𝟎} of dimension 1 or 2 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 ‖(𝑇−𝜆id)𝐯‖=‖(𝑇∗−𝜆id)𝐯‖ from the second proof of Theorem 8.2.5 works over ℝ, so 𝑇∗𝐮=𝜆𝐮, and 𝑈=span(𝐮) is invariant under 𝑇 and 𝑇∗, with 1×1 block (𝜆).

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 𝐳=𝐱+𝑖𝐲, 𝐱,𝐲∈ℝ𝑛; 𝑏≠0 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 𝑈0=span(𝐱,𝐲) is invariant under 𝑀 and 𝑀𝖳, and it has dimension 2 by Proposition 7.3.34(c). Let 𝑈⊆𝑉 be the corresponding subspace (the vectors whose 𝒪︀-coordinates lie in 𝑈0); it is invariant under 𝑇 and 𝑇∗. Let 𝐟1,𝐟2 be an orthonormal basis of 𝑈 and 𝑁=[𝑇↾𝑈]𝐟1,𝐟2∈ℝ2×2. Since 𝑇↾𝑈 is normal with adjoint 𝑇∗↾𝑈, 𝑁 is normal (Theorem 6.6.15). It has no real eigenvalue, since 𝑇 has none, so by Exercise 8.2.45, 𝑁=(𝑎′−𝑏′𝑏′𝑎′) with 𝑏′≠0. If 𝑏′<0, replace 𝐟2 by −𝐟2, which changes the signs of the off-diagonal entries. This gives the required block.

More practice

The practice bank has 20 exercises on this section’s topics.