Unit 5, lesson 25

The Spectral Theorem for Normal Operators

Why a complex operator has an orthonormal eigenbasis exactly when it is normal, how unitary diagonalization works, and why Hermitian eigenvalues are real and unitary eigenvalues have modulus one.

  • Video 25
  • Normal Operators and Simultaneous Diagonalization

The shear with rows (1,1)(1, 1) and (0,1)(0, 1) has a single eigenline, so it has no basis of eigenvectors at all. The quarter turn with rows (0,−1)(0, -1) and (1,0)(1, 0) has no real eigenvector, yet over C\mathbb{C} its eigenvectors (1,−i)(1, -i) and (1,i)(1, i) are orthogonal. Which complex square matrices have an orthonormal basis of eigenvectors? This lesson proves that they are exactly the normal matrices, the ones that commute with their own conjugate transpose, and then shows what the Hermitian and unitary conditions add to the eigenvalues.

Key terms

Normal operator

Definition Let VV be a finite-dimensional inner product space over F\mathbb{F}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, and let T:V→VT: V \to V be linear with adjoint T∗T^{*}, defined by ⟨Tv,w⟩=⟨v,T∗w⟩\langle Tv, w \rangle = \langle v, T^{*}w \rangle for all v,w∈Vv, w \in V. The operator TT is normal if

TT∗=T∗T.TT^{*} = T^{*}T.

A square matrix A∈Cn×nA \in \mathbb{C}^{n \times n} is normal if AA∗=A∗AAA^{*} = A^{*}A, where A∗=A‾TA^{*} = \overline{A}^{\mathsf{T}}. For a real matrix this reads AAT=ATAAA^{\mathsf{T}} = A^{\mathsf{T}}A. In an orthonormal basis the matrix of T∗T^{*} is the conjugate transpose of the matrix of TT, so TT is normal exactly when its matrix in an orthonormal basis is a normal matrix. The adjoint depends on the inner product, and so does normality. In a basis that is not orthonormal, the conjugate transpose of the matrix need not represent T∗T^{*}, and the matrix test can give the wrong answer. Hermitian operators, with T∗=TT^{*} = T, and unitary operators, with T∗T=IT^{*}T = I, are normal, but the normal operators form a larger class.

In plain words Applying a normal operator and then its adjoint gives the same map as applying them in the other order. That balance between the operator and its adjoint is what makes an orthonormal eigenbasis possible over C\mathbb{C}.

Example For the shear NN with rows (1,1)(1, 1) and (0,1)(0, 1),

NN∗=[2111],N∗N=[1112],\begin{gathered} NN^{*} = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix}, \\[0.4em] N^{*}N = \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix}, \end{gathered}

so NN is not normal. The matrix AA with rows (1,−1)(1, -1) and (1,1)(1, 1) satisfies AA∗=A∗A=2IAA^{*} = A^{*}A = 2I, so it is normal. It is not Hermitian, since A∗≠AA^{*} \ne A, and it is not unitary, since A∗A=2I≠IA^{*}A = 2I \ne I. Its eigenvalues are 1+i1 + i and 1−i1 - i, which are neither real nor of modulus one.

Complex spectral theorem

Definition Let VV be a finite-dimensional complex inner product space and let T:V→VT: V \to V be linear. Then VV has an orthonormal basis consisting of eigenvectors of TT if and only if TT is normal. In matrix form, a matrix A∈Cn×nA \in \mathbb{C}^{n \times n} is normal if and only if

A=QΛQ∗A = Q \Lambda Q^{*}

for some unitary QQ and some diagonal Λ\Lambda. The proof rests on a lemma. An upper triangular normal matrix R∈Cn×nR \in \mathbb{C}^{n \times n} is diagonal. To see this, compare the first diagonal entries of RR∗RR^{*} and R∗RR^{*}R. The first is the squared length of the first row of RR. The second is the squared length of the first column, which is only ∣r11∣2\lvert r_{11} \rvert^2 because RR is upper triangular. Equality leaves

∣r12∣2+⋯+∣r1n∣2=0,\lvert r_{12} \rvert^2 + \cdots + \lvert r_{1n} \rvert^2 = 0,

and a sum of nonnegative real numbers is zero only when every term is zero. So the first row has no entries off the diagonal, RR splits into the 1×11 \times 1 block r11r_{11} and an upper triangular block R2R_2 of size n−1n - 1, and comparing the lower blocks of RR∗RR^{*} and R∗RR^{*}R shows that R2R_2 is normal. Induction on nn finishes the lemma, since every 1×11 \times 1 matrix is diagonal. For the theorem, Schur decomposition gives A=QRQ∗A = QRQ^{*} with QQ unitary and RR upper triangular. Then RR∗=Q∗AA∗QRR^{*} = Q^{*}AA^{*}Q and R∗R=Q∗A∗AQR^{*}R = Q^{*}A^{*}AQ, so RR is normal when AA is, and the lemma makes RR diagonal. Conversely, if A=QΛQ∗A = Q\Lambda Q^{*}, then AA∗=QΛΛ∗Q∗AA^{*} = Q\Lambda\Lambda^{*}Q^{*} and A∗A=QΛ∗ΛQ∗A^{*}A = Q\Lambda^{*}\Lambda Q^{*}, and these agree because both diagonal products have entries ∣λj∣2\lvert \lambda_j \rvert^2. The field matters. Schur decomposition needs the complex eigenvalues that the fundamental theorem of algebra supplies, and over R\mathbb{R} the quarter turn is normal but has no real eigenvector.

In plain words Over C\mathbb{C} every square matrix becomes upper triangular in a suitable orthonormal basis. Normality forces each row to have the same length as the matching column, and in triangular form that leaves no room for entries above the diagonal.

Example For an upper triangular 2×22 \times 2 matrix

R=[ab0d],R = \begin{bmatrix} a & b \\ 0 & d \end{bmatrix},

the first diagonal entries of RR∗RR^{*} and R∗RR^{*}R are ∣a∣2+∣b∣2\lvert a \rvert^2 + \lvert b \rvert^2 and ∣a∣2\lvert a \rvert^2. So RR can be normal only if b=0b = 0, and then it is diagonal. The shear fails exactly here, with b=1b = 1. The normal matrix AA with rows (1,−1)(1, -1) and (1,1)(1, 1) has the orthonormal eigenvectors

q1=12[1−i],q2=12[1i],q_1 = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ -i \end{bmatrix}, \quad q_2 = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ i \end{bmatrix},

with Aq1=(1+i)q1Aq_1 = (1 + i)q_1 and Aq2=(1−i)q2Aq_2 = (1 - i)q_2, as the theorem promises. Over R\mathbb{R} the same matrix has no eigenvector, because its eigenvalues are not real.

Unitary diagonalization

Definition A matrix A∈Cn×nA \in \mathbb{C}^{n \times n} is unitarily diagonalizable if A=QΛQ∗A = Q\Lambda Q^{*}, or equivalently Q∗AQ=ΛQ^{*}AQ = \Lambda, for some unitary QQ and some diagonal Λ=diag⁡(λ1,…,λn)\Lambda = \operatorname{diag}(\lambda_1, \dots, \lambda_n). Writing q1,…,qnq_1, \dots, q_n for the columns of QQ, this says exactly that the qjq_j are orthonormal and Aqj=λjqjAq_j = \lambda_j q_j. It also gives the spectral decomposition

A=∑j=1nλj qjqj∗,A = \sum_{j=1}^{n} \lambda_j\, q_j q_j^{*},

in which each qjqj∗q_j q_j^{*} is the orthogonal projection onto the line spanned by qjq_j. The diagonal entries of Λ\Lambda are the eigenvalues of AA repeated according to algebraic multiplicity, so Λ\Lambda is unique up to the order of its entries. The matrix QQ is not unique. Each column can be multiplied by a complex number of modulus one, and the columns that belong to an eigenspace of dimension two or more can be replaced by any other orthonormal basis of that eigenspace. Since A−λI=Q(Λ−λI)Q∗A - \lambda I = Q(\Lambda - \lambda I)Q^{*}, the eigenspace for λ\lambda is spanned by the columns qjq_j with λj=λ\lambda_j = \lambda. Hence eigenvectors of a normal matrix for distinct eigenvalues are automatically orthogonal, and a unitary diagonalization is found by choosing an orthonormal basis of each eigenspace and putting these bases together. Ordinary diagonalization A=PΛP−1A = P\Lambda P^{-1} with an invertible PP is weaker. By the spectral theorem, PP can be chosen unitary only when AA is normal.

In plain words A unitary diagonalization writes every input in coordinates along perpendicular unit eigenvectors, and the matrix multiplies each coordinate by the matching eigenvalue. The change of coordinates keeps all lengths and angles, so nothing is distorted along the way.

Example The Hermitian matrix

H=[31−i1+i2]H = \begin{bmatrix} 3 & 1 - i \\ 1 + i & 2 \end{bmatrix}

has trace 55 and determinant 6−(1−i)(1+i)=46 - (1 - i)(1 + i) = 4, so

χH(t)=t2−5t+4=(t−1)(t−4).\begin{aligned} \chi_H(t) &= t^2 - 5t + 4 \\[0.4em] &= (t - 1)(t - 4). \end{aligned}

Solving (H−4I)v=0(H - 4I)v = 0 and (H−I)v=0(H - I)v = 0 gives the eigenvectors (1−i,1)(1 - i, 1) for 44 and (1,−1−i)(1, -1 - i) for 11. Their inner product, with the first vector conjugated, is (1+i)⋅1+1⋅(−1−i)=0(1 + i) \cdot 1 + 1 \cdot (-1 - i) = 0, and each has squared length 33. So H=QΛQ∗H = Q\Lambda Q^{*} with

Q=13[1−i11−1−i],Λ=[4001].\begin{gathered} Q = \frac{1}{\sqrt{3}} \begin{bmatrix} 1 - i & 1 \\ 1 & -1 - i \end{bmatrix}, \\[0.4em] \Lambda = \begin{bmatrix} 4 & 0 \\ 0 & 1 \end{bmatrix}. \end{gathered}

The spectral decomposition reads

H=43[21−i1+i1]+13[1−1+i−1−i2],\begin{aligned} H &= \frac{4}{3}\begin{bmatrix} 2 & 1 - i \\ 1 + i & 1 \end{bmatrix} \\[0.4em] &\quad + \frac{1}{3}\begin{bmatrix} 1 & -1 + i \\ -1 - i & 2 \end{bmatrix}, \end{aligned}

and adding entries returns HH, for example 83+13=3\frac{8}{3} + \frac{1}{3} = 3 in the top left corner.

Hermitian operator

Definition Let VV be a finite-dimensional complex inner product space. A linear operator T:V→VT: V \to V is Hermitian, or self-adjoint, if T∗=TT^{*} = T, that is, if ⟨Tv,w⟩=⟨v,Tw⟩\langle Tv, w \rangle = \langle v, Tw \rangle for all v,w∈Vv, w \in V. A matrix A∈Cn×nA \in \mathbb{C}^{n \times n} is Hermitian if A∗=AA^{*} = A, so its diagonal entries are real and aji=aij‾a_{ji} = \overline{a_{ij}}. Every eigenvalue of a Hermitian operator is real. If Tv=λvTv = \lambda v with v≠0v \ne 0, then

λ∥v∥2=⟨v,Tv⟩=⟨Tv,v⟩=λ‾ ∥v∥2,\begin{aligned} \lambda \lVert v \rVert^2 &= \langle v, Tv \rangle = \langle Tv, v \rangle \\[0.4em] &= \overline{\lambda}\, \lVert v \rVert^2, \end{aligned}

using T∗=TT^{*} = T for the middle equality, linearity of the inner product in the second argument and conjugate-linearity in the first. Since ∥v∥2>0\lVert v \rVert^2 > 0, this gives λ=λ‾\lambda = \overline{\lambda}. Together with the spectral theorem, this shows that TT is Hermitian if and only if it has an orthonormal eigenbasis whose eigenvalues are all real. In matrix form, AA is Hermitian if and only if A=QΛQ∗A = Q\Lambda Q^{*} with QQ unitary and Λ\Lambda real diagonal, where the converse holds because a real Λ\Lambda gives A∗=QΛ∗Q∗=QΛQ∗=AA^{*} = Q\Lambda^{*}Q^{*} = Q\Lambda Q^{*} = A. A real symmetric matrix, meaning A∈Rn×nA \in \mathbb{R}^{n \times n} with AT=AA^{\mathsf{T}} = A, is Hermitian, so its eigenvalues are real, and it even has a real orthonormal eigenbasis, A=QΛQTA = Q\Lambda Q^{\mathsf{T}} with QQ real orthogonal. The reason is that the real and imaginary parts of a complex eigenvector for a real eigenvalue solve the same real equation, and at least one of them is nonzero. If Au=λuAu = \lambda u with uu real, symmetry gives ⟨u,Aw⟩=⟨Au,w⟩=λ⟨u,w⟩\langle u, Aw \rangle = \langle Au, w \rangle = \lambda \langle u, w \rangle, so AA maps the real orthogonal complement of uu into itself, the restriction there is again symmetric, and induction on dimension finishes the proof.

In plain words A Hermitian operator can be moved from one side of the inner product to the other. That forces every eigenvalue to equal its own conjugate, and the spectral theorem then gives perpendicular modes that are scaled by real numbers.

Example The real symmetric matrix JJ whose nine entries all equal 11 sends (1,1,1)(1, 1, 1) to 3(1,1,1)3(1, 1, 1), and Jx=0Jx = 0 for every xx in the plane x1+x2+x3=0x_1 + x_2 + x_3 = 0. So its eigenvalues are 3,0,03, 0, 0. The eigenvalue 00 is repeated, and any orthonormal basis of that plane completes an orthonormal eigenbasis, for instance

12[1−10],16[11−2],\frac{1}{\sqrt{2}}\begin{bmatrix} 1 \\ -1 \\ 0 \end{bmatrix}, \quad \frac{1}{\sqrt{6}}\begin{bmatrix} 1 \\ 1 \\ -2 \end{bmatrix},

or equally well (1,0,−1)/2(1, 0, -1)/\sqrt{2} and (1,−2,1)/6(1, -2, 1)/\sqrt{6}. With (1,1,1)/3(1, 1, 1)/\sqrt{3} as the first column, either pair completes a real orthogonal QQ with QTJQ=diag⁡(3,0,0)Q^{\mathsf{T}}JQ = \operatorname{diag}(3, 0, 0). The eigenvalues are determined, but the eigenvectors inside the repeated eigenspace are a choice.

Unitary operator

Definition Let VV be a finite-dimensional complex inner product space. A linear operator T:V→VT: V \to V is unitary if T∗T=IT^{*}T = I. In finite dimension this makes TT invertible with T−1=T∗T^{-1} = T^{*}, so TT∗=ITT^{*} = I as well, and every unitary operator is normal. The condition T∗T=IT^{*}T = I holds exactly when TT preserves inner products, because

⟨Tv,Tw⟩=⟨v,T∗Tw⟩\langle Tv, Tw \rangle = \langle v, T^{*}Tw \rangle

for all v,w∈Vv, w \in V. In particular ∥Tv∥=∥v∥\lVert Tv \rVert = \lVert v \rVert for every vv. A matrix U∈Cn×nU \in \mathbb{C}^{n \times n} is unitary when U∗U=IU^{*}U = I, which says that its columns are orthonormal, and a real matrix with QTQ=IQ^{\mathsf{T}}Q = I is called orthogonal. Every eigenvalue of a unitary operator has modulus one. If Tv=λvTv = \lambda v with v≠0v \ne 0, then ∥v∥=∥Tv∥=∣λ∣∥v∥\lVert v \rVert = \lVert Tv \rVert = \lvert \lambda \rvert \lVert v \rVert, and dividing by ∥v∥\lVert v \rVert gives ∣λ∣=1\lvert \lambda \rvert = 1. Together with the spectral theorem, this shows that TT is unitary if and only if it has an orthonormal eigenbasis whose eigenvalues all lie on the unit circle. In matrix form the converse holds because Λ∗Λ=I\Lambda^{*}\Lambda = I for such eigenvalues, so A=QΛQ∗A = Q\Lambda Q^{*} with QQ unitary gives A∗A=QΛ∗ΛQ∗=IA^{*}A = Q\Lambda^{*}\Lambda Q^{*} = I.

In plain words A unitary operator keeps every length and every angle. On an eigenvector it can only multiply by a number of modulus one, a pure phase, never a stretch or a shrink.

Example The matrix

U=12[1ii1]U = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 & i \\ i & 1 \end{bmatrix}

has U∗U=IU^{*}U = I. It sends (1,1)(1, 1) to 1+i2(1,1)\frac{1 + i}{\sqrt{2}}(1, 1) and (1,−1)(1, -1) to 1−i2(1,−1)\frac{1 - i}{\sqrt{2}}(1, -1). Both eigenvalues have modulus 2/2=1\sqrt{2}/\sqrt{2} = 1, and they equal eiπ/4e^{i\pi/4} and e−iπ/4e^{-i\pi/4}. The two eigenvectors are orthogonal, so dividing each by 2\sqrt{2} gives an orthonormal eigenbasis. By contrast, a number such as 00 or 22 can never be an eigenvalue of a unitary matrix.

Check yourself

  1. Decide whether the matrix BB with rows (i,1)(i, 1) and (1,i)(1, i) is normal, Hermitian or unitary, and find the moduli of its eigenvalues.
Show the answer

The conjugate transpose B∗B^{*} has rows (−i,1)(-i, 1) and (1,−i)(1, -i). Multiplying gives BB∗=B∗B=2IBB^{*} = B^{*}B = 2I, so BB is normal. It is not Hermitian, because its diagonal entries are not real. It does satisfy BT=BB^{\mathsf{T}} = B, but for a complex matrix being symmetric is not the same as being Hermitian. It is not unitary either, because B∗B=2I≠IB^{*}B = 2I \ne I. The vectors (1,1)(1, 1) and (1,−1)(1, -1) are eigenvectors with eigenvalues 1+i1 + i and −1+i-1 + i, both of modulus 2\sqrt{2}, and they are orthogonal, as the spectral theorem predicts for a normal matrix.

  1. The matrix MM with rows (2,1)(2, 1) and (0,−1)(0, -1) has two distinct eigenvalues, so it is diagonalizable. Does it have an orthonormal eigenbasis?
Show the answer

No. The eigenvalues are 22 and −1-1, with eigenvectors (1,0)(1, 0) and (1,−3)(1, -3). Each eigenspace is a single line, so these are the only eigenvector directions, and their inner product is 1≠01 \ne 0. The spectral theorem explains the failure through normality. The first diagonal entries of MMTMM^{\mathsf{T}} and MTMM^{\mathsf{T}}M are 22+12=52^2 + 1^2 = 5 and 22=42^2 = 4, so MM is not normal. Diagonalizable with some invertible PP is weaker than unitarily diagonalizable.

  1. Suppose U∈Cn×nU \in \mathbb{C}^{n \times n} is both Hermitian and unitary. Show that every eigenvalue of UU is 11 or −1-1 and that U2=IU^2 = I, and give an example other than ±I\pm I.
Show the answer

Because UU is Hermitian, every eigenvalue is real. Because UU is unitary, every eigenvalue has modulus one. The only real numbers of modulus one are 11 and −1-1. For the square, use U=U∗U = U^{*} to get

U2=UU=U∗U=I.U^2 = UU = U^{*}U = I.

An example is the real matrix with rows (0,1)(0, 1) and (1,0)(1, 0), the reflection across the line x1=x2x_1 = x_2. It is symmetric and orthogonal, it fixes (1,1)(1, 1) and it sends (1,−1)(1, -1) to −(1,−1)-(1, -1), so its eigenvalues are 11 and −1-1.

How this lesson connects