12.5  The Real Spectral Theorem

Over C the answer was clean: an orthonormal basis of eigenvectors exists exactly for the normal operators. Over R the same question has a different answer, and a smaller one. The class shrinks from normal to self-adjoint, and the reason is a single example that we have met since Chapter 9 and can finally name as the obstruction: a rotation of the plane is as normal as an operator can be and has no eigenvector at all. This section proves the real theorem, examines that obstruction, and then rescues what can be rescued for real normal operators. It ends with the application that made the theorem famous outside linear algebra: the axes of a conic.

Throughout, V is a finite-dimensional inner product space over R unless stated otherwise, and “symmetric” means A⊤=A.

12.5.1. One eigenvector, then its orthogonal complement

The proof is the signature move of the chapter, run as an induction. Section 2 did all the work: it produced an eigenvector, and it showed that the orthogonal complement of an invariant subspace is again invariant with a self-adjoint restriction. Those two facts fit together into an induction on dimension with nothing left over.

Theorem 12.5.1 (Real Spectral Theorem)

Let V be a finite-dimensional inner product space over R and let T∈L(V). The following are equivalent.

  • (a) T is self-adjoint.
  • (b) V has an orthonormal basis consisting of eigenvectors of T.

Idea. (⇐) In such a basis the matrix is diagonal, and a real diagonal matrix is its own transpose. (⇒) Induct on dim⁡V. Peel off one unit eigenvector e1, which exists by Theorem 12.2.2; the line U=span(e1) is invariant, so Theorem 12.2.4 makes U⊥ invariant with a self-adjoint restriction. That restriction lives on a space of dimension dim⁡V−1, so the inductive hypothesis applies to it, and the basis it returns is already orthogonal to e1.

Proof. (⇐) Let B be an orthonormal basis of eigenvectors, so D:=[T]BB is diagonal with real entries. Since B is orthonormal, [T∗]BB=D∗=D⊤=D by Theorem 11.6.3, the last equality because a diagonal matrix equals its transpose. Two operators with the same matrix in one basis are equal (Theorem 4.1.4), so T∗=T.

(⇒) Induct on n=dim⁡V. If n=0 the empty list is an orthonormal basis and there is nothing to prove. Let n≥1 and suppose the statement holds for every real inner product space of dimension n−1.

Since V≠{0} and T is self-adjoint, T has an eigenvalue λ∈R by Theorem 12.2.2, say Tv=λv with v≠0. Put e1=v/‖v‖, a unit eigenvector, and U=span(e1). Then U is T-invariant, because T(ce1)=cλe1∈U.

By Theorem 12.2.4, U⊥ is T-invariant and the restriction T|U⊥ is a self-adjoint operator on U⊥, which is an inner product space in its own right under the restricted inner product. Its dimension is n−1 by Theorem 11.3.2 (c). By the inductive hypothesis, U⊥ has an orthonormal basis (e2,…,en) of eigenvectors of T|U⊥; each ej satisfies Tej=μjej in V as well, since the restriction is the same map.

Finally (e1,…,en) is orthonormal: the last n−1 vectors are orthonormal among themselves and each lies in U⊥, hence is orthogonal to e1, which has norm 1. An orthonormal list is linearly independent (Theorem 11.1.4), and it has n=dim⁡V members, so it is a basis (Theorem 1.6.4). Every member is an eigenvector of T. This proves the theorem.

Remark. No complexification appears anywhere in that induction, which is worth noticing: the argument is entirely real. The one place where complex numbers were needed is inside Theorem 12.2.2, whose proof complexifies once to borrow an eigenvalue from the Fundamental Theorem of Algebra (Theorem 6.5.1) and then observes that the eigenvalue is real. So C is used exactly once, to start the machine, and never again.

Corollary 12.5.2 (Orthogonal Diagonalization)

Let A∈Mn(R). Then A is symmetric if and only if there are an orthogonal Q∈O(n) and a real diagonal D with A=QDQ⊤. The diagonal of D is the eigenvalue list of A with multiplicity, in any prescribed order, and the columns of Q are a corresponding orthonormal basis of eigenvectors.

Proof. Apply Theorem 12.5.1 to TA on Rn with the standard inner product, for which the standard basis is orthonormal, so that A⊤=A is exactly self-adjointness (Theorem 11.6.3).

(⇒) Let (q1,…,qn) be an orthonormal basis with Aqj=λjqj, and let Q have these columns; it is orthogonal by Theorem 11.7.3 (f). Column j of AQ is λjqj, which is column j of QD for D=diag(λ1,…,λn). So AQ=QD and A=QDQ−1=QDQ⊤. The eigenvalues are real because A is self-adjoint (Theorem 12.2.1), so D is a real matrix.

(⇐) If A=QDQ⊤ with D real diagonal, then A⊤=(QDQ⊤)⊤=QD⊤Q⊤=QDQ⊤=A. The claims about the order and the columns are as in Corollary 12.4.3.

12.5.2. The negative result: normal is not enough over the reals

Over C the class with an orthonormal eigenbasis was the normal operators. Over R Theorem 12.5.1 says it is the self-adjoint ones, which is a strictly smaller class: every self-adjoint operator is normal, and the converse now fails. It is worth seeing exactly how it fails, because the failure is not a technicality about multiplicities or about a badly chosen basis. It is the complete absence of an eigenvector.

Example (A normal real operator with no eigenvector)

Let T∈L(R2) be the quarter turn, with matrix R=(0−110) in the standard basis. Show that T is normal, and that T has no eigenvalue and no eigenvector in R2.

Solution. Normality: R⊤R=RR⊤=I, so T is even orthogonal, hence normal. (One may also read it off the shape: R=Λ(i) is the rotation-scaling block of Definition 10.4.1.)

No eigenvalue: pR(x)=x2+1, which has no root in R. So R−λI is invertible for every real λ, and ker(T−λid)={0} (Theorem 9.2.1). Geometrically, T turns every non-zero vector by a right angle, so Tv is never a real multiple of v; the operator maps no line to itself.

That example rules out every possible improvement of Theorem 12.5.1 to normal operators over R, and not by a narrow margin. An orthonormal basis of eigenvectors needs n eigenvectors; the quarter turn supplies none. So the two spectral theorems are not two versions of one statement with a technical difference: the real one has a genuinely smaller hypothesis, and the only reason it is not smaller still is Theorem 12.2.2, which manufactures the eigenvector that the rotation lacks.

Two further remarks keep the picture honest. First, the quarter turn is not exceptional. Over R, every normal operator that is not self-adjoint fails to have an orthonormal eigenbasis, because Theorem 12.5.1 is an equivalence: having such a basis and being self-adjoint are the same condition. Second, nothing is wrong with the operator; what is missing is the field. Regard R as a complex matrix and it is unitarily diagonalizable, with eigenvalues ±i and eigenvectors (1,∓i) in C2 (the sign of the eigenvalue and of the entry being opposite). The complex spectral theorem never fails; it simply answers a question about Cn.

Quick check. Is R=(0−110) orthogonally diagonalizable over R? Is it unitarily diagonalizable over C? Are the two answers consistent?

Solution. Not over R: an orthogonal diagonalization R=QDQ⊤ would make R symmetric by Corollary 12.5.2, and R⊤=−R≠R. Over C it is unitarily diagonalizable, because it is normal (Corollary 12.4.3); explicitly U∗RU=diag(i,−i) for U=12(11−ii). There is no conflict: the two statements concern different spaces, R2 and C2, and the diagonalizing basis of the second one is not real.

12.5.3. What a real normal operator does look like

The rotation is not a defect to be apologized for; it is a building block. Chapter 10 already promoted it to one when it built the real Jordan form, and the same 2×2 block returns here as the only thing that can obstruct a real diagonalization of a normal operator.

Theorem 12.5.3 (Real Normal Form of a Normal Operator)

Let V be a finite-dimensional inner product space over R and let T∈L(V) be normal. Then V has an orthonormal basis in which the matrix of T is block diagonal, (c1)⊕⋯⊕(cp)⊕Λ(λ1)⊕⋯⊕Λ(λq), with c1,…,cp∈R and, for each j, λj=aj+bji with bj>0 and Λ(λj)=(aj−bjbjaj) the rotation-scaling block of Definition 10.4.1. In matrix form: A∈Mn(R) is normal if and only if A=QBQ⊤ with Q∈O(n) and B of the displayed shape.

Idea. The real Schur form of Section 1 gets us to a block triangular matrix with 1×1 and 2×2 diagonal blocks, and the corner blocks above the diagonal are the only obstruction left. The argument that killed them in the complex case, comparing a diagonal entry of T⊤T with the same entry of TT⊤, works verbatim on blocks once “entry” is replaced by “trace of a block”: the identity tr(XX⊤)=∑i,jxij2 turns the comparison into a sum of squares that has to vanish. What remains is to see what a 2×2 real normal matrix can be, and there are exactly two answers: symmetric, which splits further, or a rotation-scaling block.

Proof. Fix an orthonormal basis of V and let A∈Mn(R) be the matrix of T in it; then A⊤ is the matrix of T∗ (Theorem 11.6.3), and T normal means A⊤A=AA⊤. Every orthogonal change of orthonormal basis replaces A by Q⊤AQ, which is again normal: (Q⊤AQ)⊤(Q⊤AQ)=Q⊤A⊤AQ=Q⊤AA⊤Q, and the same computation in the other order gives (Q⊤AQ)(Q⊤AQ)⊤. So we may replace A by any orthogonally similar matrix at will.

Step 1: a block triangular form. By the real Schur form (Theorem 12.1.7) there is Q1∈O(n) with T=Q1⊤AQ1 block upper triangular, its diagonal blocks of size 1×1 and 2×2. Write the block partition as T=(Tkl)1≤k,l≤m with Tkl=0 for k>l. By the previous paragraph T is normal.

Step 2: the corners vanish.

Claim. A normal, block upper triangular real matrix is block diagonal.

Proof. Induct on the number m of diagonal blocks; m=1 is trivial. Comparing the (1,1) blocks of the two products (Theorem 8.1.1) and using Tk1=0 for k>1, (T⊤T)11=T11⊤T11,(TT⊤)11=T11T11⊤+∑l>1T1lT1l⊤. Take traces. Since tr(XY)=tr(YX) (Theorem 0.9.6), the two terms tr(T11⊤T11) and tr(T11T11⊤) are equal and cancel, leaving ∑l>1tr(T1lT1l⊤)=0. For a real matrix X, tr(XX⊤)=∑i,jxij2≥0, with equality only for X=0. So T1l=0 for every l>1: the first block row is clear, and T=T11⊕T′ where T′ is the trailing block upper triangular matrix with m−1 diagonal blocks. Then T⊤T=T11⊤T11⊕T′⊤T′,TT⊤=T11T11⊤⊕T′T′⊤, so normality of T gives normality of T′, and the inductive hypothesis applies.

So after Step 2 the matrix is D1⊕⋯⊕Dm with each Dk of size 1 or 2. Both products are now computed blockwise, so normality of the whole reads Dk⊤Dk=DkDk⊤ for each k: every diagonal block is normal.

Step 3: the shape of a 2×2 real normal block. Let D=(pqrs) be real and normal. Expanding both products, DD⊤−D⊤D=(q2−r2(r−q)(p−s)(r−q)(p−s)r2−q2), so normality says q2=r2 and (r−q)(p−s)=0. The first equation gives q=r or q=−r, and when q=−r=0 both hold, so the following two cases are exhaustive.

Case 1: q=r. Then D is symmetric, and Corollary 12.5.2 supplies an orthogonal 2×2 matrix turning it into a real diagonal matrix, which is two 1×1 blocks.

Case 2: q=−r and q≠0. Then r−q=−2q≠0, so p=s and D=(pq−qp). If q<0, this is Λ(p−qi) with −q>0, as required. If q>0, conjugate by the orthogonal matrix diag(1,−1): (100−1)(pq−qp)(100−1)=(p−qqp), which is Λ(p+qi) with q>0.

Step 4: assembling. Apply Step 3 inside each diagonal block, using the direct sum Q2 of the resulting 1×1 and 2×2 orthogonal matrices, which is orthogonal because its columns are orthonormal. Then Q=Q1Q2 is orthogonal and Q⊤AQ has the stated shape; reordering the blocks by a permutation matrix, itself orthogonal, puts the 1×1 blocks first. The columns of Q are the required orthonormal basis.

For the converse, a block diagonal matrix B of the displayed shape is normal, since B⊤B and BB⊤ are computed blockwise and every block is normal: (c)⊤(c)=(c2)=(c)(c)⊤, and Λ(λ)⊤Λ(λ)=|λ|2I2=Λ(λ)Λ(λ)⊤. Then A=QBQ⊤ is normal by the first paragraph. This proves the theorem.

The two theorems now fit together. A real normal operator is self-adjoint exactly when no Λ block occurs, and then Theorem 12.5.3 is Theorem 12.5.1. The eigenvalues of A are the numbers ci together with the conjugate pairs λj,λj―, so the Λ blocks are precisely the non-real part of the spectrum, packaged two real dimensions at a time. Section 6 specializes this to orthogonal operators, where |λ|=1 forces every 2×2 block to be a plane rotation.

12.5.4. A symmetric matrix as a sum of projections

Writing A=QDQ⊤ and expanding the product column by column turns the diagonalization into a sum of very simple matrices.

Corollary 12.5.4 (Spectral Decomposition of a Symmetric Matrix)

Let A∈Mn(R) be symmetric, and let (q1,…,qn) be an orthonormal basis of Rn with Aqi=λiqi. Then A=∑i=1nλiqiqi⊤, and each qiqi⊤ is the matrix of the orthogonal projection of Rn onto the line span(qi).

Proof. Let Q have columns q1,…,qn and D=diag(λ1,…,λn), so A=QDQ⊤ by Corollary 12.5.2. The columns of QD are λiqi, and the rows of Q⊤ are qi⊤, so the column-times-row expansion of the product (Corollary 8.1.3) gives A=∑i(λiqi)qi⊤, which is the stated sum.

For the second claim, qi is a unit vector, so the orthogonal projection onto span(qi) is x↦⟨x,qi⟩qi by Theorem 11.3.3. Since ⟨x,qi⟩=qi⊤x is a scalar, ⟨x,qi⟩qi=qi(qi⊤x)=(qiqi⊤)x.

Example (Orthogonally diagonalizing a 3 by 3 matrix)

Orthogonally diagonalize A=(311131113), and write it as a sum of rank-one orthogonal projections.

Solution. The rows all sum to 5, so A(1,1,1)=5(1,1,1) and 5 is an eigenvalue. Also A=2I+J where J is the all-ones matrix, and Jx=0 exactly when x1+x2+x3=0; on that plane Ax=2x. So E5(A)=span((1,1,1)),E2(A)={x:x1+x2+x3=0}, of dimensions 1 and 2, which already account for all of R3. The two eigenspaces are orthogonal, as Theorem 12.2.3 requires.

Inside E2(A) any orthonormal basis will do. Start from the independent pair (1,−1,0) and (1,0,−1), both in the plane, and run one step of Gram–Schmidt (Theorem 11.2.2): the second vector minus its component along the first is (1,0,−1)−12(1,−1,0)=12(1,1,−2), a multiple of (1,1,−2). Normalizing all three, q1=13(1,1,1),q2=12(1,−1,0),q3=16(1,1,−2). With Q=(q1∣q2∣q3) we get Q⊤Q=I and Q⊤AQ=diag(5,2,2). By Corollary 12.5.4, A=5q1q1⊤+2q2q2⊤+2q3q3⊤. As a check, q2q2⊤+q3q3⊤=I−q1q1⊤ because the three projections sum to the identity, so the right-hand side is 2I+3q1q1⊤=2I+J, which is A. Notice that q2 and q3 were not forced on us, while the two projections q1q1⊤ and q2q2⊤+q3q3⊤ were: they are the projections onto the two eigenspaces. Section 8 makes that observation into a theorem.

12.5.5. The principal axis theorem

Here is the application. A quadratic form on Rn is a function q(x)=x⊤Ax=∑i,jaijxixj for some A∈Mn(R). Only the symmetric part of A matters, since x⊤Ax=x⊤A⊤x for a 1×1 matrix, so we always take A symmetric; then A is determined by q, with aii the coefficient of xi2 and aij half the coefficient of xixj for i≠j. Chapter 14 studies such forms in their own right.

Theorem 12.5.5 (Principal Axis Theorem)

Let A∈Mn(R) be symmetric, let q(x)=x⊤Ax, and let Q∈O(n) with Q⊤AQ=D=diag(λ1,…,λn), the columns q1,…,qn of Q being an orthonormal basis of eigenvectors. Substituting x=Qy, that is, taking yi=⟨x,qi⟩ to be the coordinates of x in that basis, q(x)=∑i=1nλiyi2. In particular, for n=2 with λ1,λ2>0, the level set {q=1} is an ellipse whose axes lie along q1 and q2, with half-lengths 1/λ1 and 1/λ2.

Proof. Since Q is invertible, x=Qy sets up a bijection between x and y=Q−1x=Q⊤x, whose i-th entry is qi⊤x=⟨x,qi⟩. Substituting, q(Qy)=(Qy)⊤A(Qy)=y⊤(Q⊤AQ)y=y⊤Dy=∑iλiyi2, using (Qy)⊤=y⊤Q⊤ (Theorem 0.9.5).

For n=2 with both λi>0, the condition q(x)=1 becomes λ1y12+λ2y22=1, the standard equation of an ellipse in the y coordinates, meeting the y1-axis where y1=±1/λ1 and the y2-axis where y2=±1/λ2. Those axes are the lines span(q1) and span(q2) of the original picture, because y=e1 corresponds to x=Qe1=q1. Since Q is orthogonal, it preserves lengths (Theorem 11.7.3), so the half-lengths are unchanged by the substitution.

Example (Finding the axes of a conic)

Identify the curve 3x2−2xy+3y2=1 in R2, and find its axes and their half-lengths.

Solution. The symmetric matrix of the form is A=(3−1−13), the off-diagonal entries being half of −2. Its characteristic polynomial is x2−6x+8, so the eigenvalues are 2 and 4. For λ=2, A−2I=(1−1−11) gives x=y and the unit eigenvector q1=12(1,1). For λ=4, A−4I=(−1−1−1−1) gives x=−y and q2=12(1,−1).

In the coordinates y1=⟨x,q1⟩, y2=⟨x,q2⟩, the equation is 2y12+4y22=1. Both eigenvalues are positive, so the curve is an ellipse. Its major axis lies along q1, the line y=x, with half-length 1/2; its minor axis lies along q2, the line y=−x, with half-length 1/2. The check is that 12(1,1) scaled to length 1/2 is the point (12,12), and 3⋅14−2⋅14+3⋅14=1.

Diagram. Labels: x, y, tfrac 1sqrt 2q_1, tfrac 12q_2, lambda_1 = 2, lambda_2 = 4, 3x^2-2xy+3y^2=1: the axes lie along the\\ eigenvectors, with half-lengths 1/sqrt lambda_i

Two features of the picture are worth naming. The axes are orthogonal because the eigenvectors are, and that is the whole content of the theorem; a non-symmetric matrix in the same role would produce a pair of distinguished directions that need not be perpendicular. And the bigger eigenvalue gives the shorter axis, since the half-length is 1/λ: a large λ makes q reach the value 1 sooner.

Remark. Chapter 14 will diagonalize quadratic forms again, but by congruence: replacing A by P⊤AP for an arbitrary invertible P, not necessarily orthogonal. That is a weaker relation, and it destroys the eigenvalues while preserving only their signs, which is Sylvester’s law of inertia. What makes the present theorem special is that Q⊤=Q−1, so Q⊤AQ=Q−1AQ and the two relations coincide: an orthogonal change of variables is a similarity and a congruence, so it keeps the eigenvalues and the geometry at once.

Warning. The theorem needs R, and symmetry is not the same as having real eigenvalues. The matrix (1110) is symmetric with rational entries, but its eigenvalues are (1±5)/2, which are irrational; over Q there is no eigenvector at all, and no version of Theorem 12.5.1 survives. Conversely (1102) has the real eigenvalues 1 and 2 and is not symmetric; real eigenvalues alone buy nothing, since they do not make the eigenvectors orthogonal.

12.5.6. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State the real spectral theorem and its matrix form, with every hypothesis.
  • (b) Which two results from Section 2 does the induction use, and what does each one supply?
  • (c) True or false: a normal operator on a real inner product space has an orthonormal basis of eigenvectors. Justify your answer.
  • (d) What are the possible diagonal blocks in the real normal form of a normal operator, and what does the condition b>0 rule out?
  • (e) Given a symmetric A with orthonormal eigenvectors q1,q2 and eigenvalues 9 and 1, describe the curve x⊤Ax=1.
  • (f) True or false: a real matrix with real eigenvalues is symmetric. Justify your answer.

Solution.

  • (a) For a finite-dimensional real inner product space V and T∈L(V): T is self-adjoint if and only if V has an orthonormal basis of eigenvectors (Theorem 12.5.1). Matrix form: A∈Mn(R) is symmetric if and only if A=QDQ⊤ with Q orthogonal and D real diagonal (Corollary 12.5.2).

  • (b) Theorem 12.2.2 supplies one eigenvector to peel off, and Theorem 12.2.4 supplies the smaller object to induct on, namely the self-adjoint restriction to the orthogonal complement.

  • (c) False. The quarter turn of R2 is normal and has no eigenvector at all (Example (A normal real operator with no eigenvector)).

  • (d) Blocks (c) with c∈R, and 2×2 blocks Λ(λ)=(a−bba) with b>0 (Theorem 12.5.3). The condition b>0 rules out the transposed block Λ(λ―), which is orthogonally similar to it via diag(1,−1); fixing the sign is what makes the list of blocks well defined.

  • (e) An ellipse with axes along q1 and q2, of half-lengths 1/3 and 1 (Theorem 12.5.5). The longer axis is along q2, the eigenvector for the smaller eigenvalue.

  • (f) False. (1102) has eigenvalues 1,2 and is not symmetric. The correct statement is the converse: a symmetric real matrix has real eigenvalues.

B. Practice

Exercise (B1: Orthogonally diagonalize)

For each symmetric matrix, find an orthogonal Q and a diagonal D with Q⊤AQ=D.

  • (a) A=(1221).
  • (b) A=(401020104).

Solution.

  • (a) pA(x)=x2−2x−3=(x−3)(x+1), so the eigenvalues are 3 and −1. For λ=3, A−3I=(−222−2) gives x1=x2 and q1=12(1,1); for λ=−1, q2=12(1,−1). Hence Q=12(111−1),D=(300−1).

  • (b) The second coordinate is untouched: Ae2=2e2. On span(e1,e3) the matrix acts as (4114), with eigenvalues 5 and 3 and eigenvectors (1,1) and (1,−1) there. Lifting back, q1=12(1,0,1),q2=12(−1,0,1),q3=(0,1,0), with eigenvalues 5,3,2. These are orthonormal, so Q=(q1∣q2∣q3) is orthogonal and Q⊤AQ=diag(5,3,2). As a check, 5+3+2=10=trA.

Exercise (B2: Identify the conic)

Identify the curve 5x2+4xy+5y2=1: say what kind of conic it is, find its axes, and find their half-lengths.

Solution. The symmetric matrix of the form is A=(5225), the off-diagonal entries being half of 4. Its characteristic polynomial is x2−10x+21=(x−7)(x−3), so the eigenvalues are 7 and 3. For λ=7, A−7I=(−222−2) gives q1=12(1,1); for λ=3, q2=12(1,−1).

By Theorem 12.5.5 the equation becomes 7y12+3y22=1. Both eigenvalues are positive, so the curve is an ellipse. Its axes are the lines y=x and y=−x, with half-lengths 1/7 along q1 and 1/3 along q2; the major axis is the second one. Check: the point 13q2=16(1,−1) gives 56−46+56=1.

Exercise (B3: A sum of rank-one projections)

Using your answer to Exercise (B1: Orthogonally diagonalize) (b), write A=(401020104) as ∑iλiqiqi⊤, with the three matrices qiqi⊤ written out, and verify the identity by adding them.

Solution. With q1=12(1,0,1), q2=12(−1,0,1), q3=(0,1,0) and λ=5,3,2, q1q1⊤=12(101000101),q2q2⊤=12(10−1000−101), and q3q3⊤ is the matrix with a single 1 in position (2,2). Then 5q1q1⊤+3q2q2⊤=(401000104), since 12(5+3)=4 on the diagonal and 12(5−3)=1 off it. Adding 2q3q3⊤ inserts the 2 in position (2,2) and gives A, as Corollary 12.5.4 requires.

C. Going deeper

Exercise (C1: One eigenvalue only)
  • (a) Let A∈Mn(R) be symmetric with every eigenvalue equal to λ. Prove that A=λI.
  • (b) Show that (a) fails without symmetry, by exhibiting a matrix in M2(R) whose only eigenvalue is 0 and which is not 0.
  • (c) Deduce that a symmetric A with A2=A is the matrix of an orthogonal projection.

Solution.

  • (a) By Corollary 12.5.2, A=QDQ⊤ with D diagonal carrying the eigenvalues, so D=λI. Hence A=Q(λI)Q⊤=λQQ⊤=λI.

  • (b) J2(0)=(0100) has characteristic polynomial x2, so 0 is its only eigenvalue, and it is not the zero matrix. It is of course not symmetric.

  • (c) If A2=A and Ax=λx with x≠0, then λ2x=A2x=Ax=λx, so λ2=λ and λ∈{0,1}. By Corollary 12.5.2, A=QDQ⊤ with D diagonal of zeros and ones, so A=∑i∈Sqiqi⊤ where S indexes the eigenvalue 1 (Corollary 12.5.4). That is the sum of the projections onto an orthonormal basis of U=E1(A), which is the orthogonal projection PU by Theorem 11.3.3.

Exercise (C2: Diagonalizing two matrices at once)

Let A,B∈Mn(R) be symmetric with AB=BA.

  • (a) Prove that each eigenspace Eλ(A) is B-invariant, and that the restriction of TB to it is self-adjoint.
  • (b) Prove that there is a single Q∈O(n) with Q⊤AQ and Q⊤BQ both diagonal.
  • (c) Show that the conclusion fails without commutativity, using (1000) and (0110).

Hint for (b): apply Theorem 12.5.1 inside each eigenspace of A.

Solution.

  • (a) Invariance is Theorem 9.9.1: if Ax=λx then A(Bx)=B(Ax)=λBx. For self-adjointness of the restriction, take u,v∈Eλ(A); then ⟨Bu,v⟩=⟨u,Bv⟩ because B is symmetric on all of Rn, and both Bu and Bv lie in Eλ(A) by the first part, so the identity holds inside the subspace with its restricted inner product.

  • (b) Let λ1,…,λk be the distinct eigenvalues of A. By Theorem 12.5.1, Rn is the direct sum of the eigenspaces Eλi(A), and these are mutually orthogonal (Theorem 12.2.3). By (a) and Theorem 12.5.1 applied to the self-adjoint operator TB|Eλi(A), each Eλi(A) has an orthonormal basis of eigenvectors of B. Every vector of Eλi(A) is an eigenvector of A, so these basis vectors are common eigenvectors. Stringing the k bases together gives an orthonormal basis of Rn, orthonormal across the blocks because distinct eigenspaces of A are orthogonal. Let Q have those vectors as columns; then Q∈O(n) and both Q⊤AQ and Q⊤BQ are diagonal.

  • (c) These two do not commute: AB=(0100) while BA=(0010). And no common eigenbasis exists: the eigenvectors of A are the multiples of e1 and of e2, while Be1=e2 is not a multiple of e1. Commutativity is necessary as well as sufficient, since two simultaneously diagonalized matrices commute.

Exercise (C3: A rotation-scaling in normal form)

Let A=(34−43)∈M2(R).

  • (a) Verify that A is normal and not symmetric, and find its complex eigenvalues.
  • (b) Find an orthogonal Q with Q⊤AQ=Λ(λ) for the eigenvalue λ with positive imaginary part.
  • (c) Explain why no orthogonal Q makes Q⊤AQ diagonal, and why this does not contradict Theorem 12.4.2.

Solution.

  • (a) A⊤A=AA⊤=25I, so A is normal; A⊤≠A since 4≠−4. Its characteristic polynomial is x2−6x+25=(x−3)2+16, with roots 3±4i.

  • (b) The eigenvalue with positive imaginary part is λ=3+4i, so Λ(λ)=(3−443). Take Q=diag(1,−1), which is orthogonal. Then Q⊤AQ=(100−1)(34−43)(100−1)=(3−443), which is Λ(3+4i). This is Case 2 of the proof of Theorem 12.5.3 with p=3 and q=4.

  • (c) If Q⊤AQ were diagonal for some Q∈O(2), then A=QDQ⊤ would be symmetric by Corollary 12.5.2, and it is not. There is no contradiction with Theorem 12.4.2, which concerns a complex inner product space: over C2 the matrix A is indeed unitarily diagonalizable, to diag(3+4i,3−4i), but the diagonalizing basis 12(1,±i) is not real, so it is unavailable inside R2.

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

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