STEMviz
Mathematics · Linear and Abstract Algebra

Diagonalisation of Matrices and Symmetric Matrices

Diagonal matrices are the simplest possible matrices to compute with: powers, inverses and determinants are read off entrywise. This chapter asks exactly which matrices are similar to a diagonal one, answers it completely in terms of eigenspaces, and then proves the single most important special case in applied mathematics: every real symmetric matrix is diagonalisable, and can be diagonalised by an orthogonal change of basis — the spectral theorem.

Have to hand: eigenvalues, eigenvectors, algebraic/geometric multiplicity (Chapter 7), and change of basis/similarity (Chapter 5).

1. Diagonalisability

Definition. T:V→VT:V\to V (equivalently, a matrix AA) is diagonalisable if there is a basis of VV consisting entirely of eigenvectors of TT — equivalently, if AA is similar to a diagonal matrix: A=PDP−1A=PDP^{-1} for some invertible PP and diagonal DD.

Theorem. A∈Mn(F)A\in M_n(\mathbb{F}) is diagonalisable if and only if Fn\mathbb{F}^n has a basis of eigenvectors of AA.

Proof. (⇐\Leftarrow) Let v1,…,vnv_1,\dots,v_n be a basis of eigenvectors, Avi=λiviAv_i=\lambda_iv_i. Let P=[v1 ⋯ vn]P=[v_1\ \cdots\ v_n] (columns the viv_i); PP is invertible since its columns are a basis (Chapter 3). Then AP=[Av1 ⋯ Avn]=[λ1v1 ⋯ λnvn]=PDAP = [Av_1\ \cdots\ Av_n] = [\lambda_1v_1\ \cdots\ \lambda_nv_n] = PD where D=diag⁡(λ1,…,λn)D=\operatorname{diag}(\lambda_1,\dots,\lambda_n) (check columnwise: column ii of PDPD is λi\lambda_i times column ii of PP, i.e. λivi\lambda_iv_i). So AP=PDAP=PD, giving A=PDP−1A=PDP^{-1}. (⇒\Rightarrow) If A=PDP−1A=PDP^{-1}, then AP=PDAP=PD; reading off column ii: A(coli(P))=λi(coli(P))A(\text{col}_i(P)) = \lambda_i(\text{col}_i(P)) (since column ii of PDPD is λi\lambda_i times column ii of PP, by the same computation as above), so each column of PP is an eigenvector of AA, and they form a basis since PP is invertible. ■\blacksquare

Theorem (diagonalisability criterion). A∈Mn(F)A\in M_n(\mathbb{F}) is diagonalisable if and only if (i) pAp_A splits completely into linear factors over F\mathbb{F}, and (ii) for every eigenvalue, geometric multiplicity equals algebraic multiplicity.

Proof sketch. If both conditions hold, choosing a basis of each eigenspace EλiE_{\lambda_i} and combining them gives a list of length ∑i(geometric mult. of λi)=∑i(algebraic mult. of λi)=n\sum_i(\text{geometric mult. of }\lambda_i) = \sum_i(\text{algebraic mult. of }\lambda_i) = n (condition (i): the algebraic multiplicities sum to the degree nn, since pAp_A splits completely); this combined list is independent, because eigenvectors from different eigenspaces are independent of one another (an extension, by induction, of Chapter 7's distinct-eigenvalue independence theorem to whole eigenspaces, not just single eigenvectors) and each individual eigenspace's basis is already independent. Length nn and independent ⇒\Rightarrow a basis (Chapter 3), so AA is diagonalisable. Conversely, if AA is diagonalisable, a basis of eigenvectors exists; grouping it by eigenvalue exhibits, for each λi\lambda_i, at least (algebraic multiplicity) many independent eigenvectors inside EλiE_{\lambda_i} — combined with Chapter 7's upper bound (geometric ≤\le algebraic), this forces equality; and having nn eigenvectors total (with multiplicity) forces pAp_A to split completely. ■\blacksquare

Corollary (sufficient condition). If A∈Mn(F)A\in M_n(\mathbb{F}) has nn distinct eigenvalues, AA is diagonalisable (Chapter 7).

Non-example. A=(1101)A=\begin{pmatrix}1&1\\0&1\end{pmatrix} (Chapter 7's standard example) has pA(λ)=(1−λ)2p_A(\lambda)=(1-\lambda)^2 splitting completely, but geometric multiplicity 1<1 < algebraic multiplicity 22 for λ=1\lambda=1 — condition (ii) fails, so AA is not diagonalisable. No invertible PP can make P−1APP^{-1}AP diagonal.

Worked example. A=(2013)A=\begin{pmatrix}2&0\\1&3\end{pmatrix}: triangular, so eigenvalues 2,32,3 (distinct) — diagonalisable by the corollary. Eigenvector for 22: (A−2I)v=0⇒(0011)v=0⇒v=(1,−1)(A-2I)v=0 \Rightarrow \begin{pmatrix}0&0\\1&1\end{pmatrix}v=0 \Rightarrow v=(1,-1). Eigenvector for 33: (A−3I)v=0⇒(−1010)v=0⇒v=(0,1)(A-3I)v=0\Rightarrow\begin{pmatrix}-1&0\\1&0\end{pmatrix}v=0\Rightarrow v=(0,1). So P=(10−11)P=\begin{pmatrix}1&0\\-1&1\end{pmatrix}, D=(2003)D=\begin{pmatrix}2&0\\0&3\end{pmatrix}, and one checks directly AP=PDAP=PD.

Keep reading: Diagonalisation of Matrices and Symmetric Matrices

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.