All revision notes topics

Diagonalisation and the Cayley-Hamilton theoremEdexcel A-Level Further Maths: Revision notes

Section 1

Diagonalising a matrix

If A\mathbf{A} (2×22\times2) has eigenvalues λ1,λ2\lambda_1,\lambda_2 with independent eigenvectors v1,v2\mathbf{v}_1,\mathbf{v}_2, form P\mathbf{P} with the eigenvectors as columns. Then P−1AP=D=(λ100λ2).\mathbf{P}^{-1}\mathbf{A}\mathbf{P}=\mathbf{D}=\begin{pmatrix} \lambda_1 & 0 \\ 0 & \lambda_2 \end{pmatrix}. The order of the eigenvalues in D\mathbf{D} must match the order of the eigenvectors in P\mathbf{P}. Example: A=(4123)\mathbf{A}=\begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} has λ=2\lambda=2 with (1−2)\begin{pmatrix} 1 \\ -2 \end{pmatrix} and λ=5\lambda=5 with (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix}, so P=(11−21)\mathbf{P}=\begin{pmatrix} 1 & 1 \\ -2 & 1 \end{pmatrix} and D=(2005)\mathbf{D}=\begin{pmatrix} 2 & 0 \\ 0 & 5 \end{pmatrix}. Swapping the columns of P\mathbf{P} swaps the diagonal entries of D\mathbf{D}.

Key termsdiagonal matrixdiagonalisable
Common mistake

Putting the eigenvalues in D\mathbf{D} in a different order from the eigenvectors in P\mathbf{P}.

Exam tip

Check AP=PD\mathbf{A}\mathbf{P}=\mathbf{P}\mathbf{D} to avoid finding P−1\mathbf{P}^{-1}.

Section 2

Powers of a matrix

Since A=PDP−1\mathbf{A}=\mathbf{P}\mathbf{D}\mathbf{P}^{-1}, the inner factors cancel in powers: An=PDnP−1,Dn=(λ1n00λ2n).\mathbf{A}^n=\mathbf{P}\mathbf{D}^n\mathbf{P}^{-1},\qquad \mathbf{D}^n=\begin{pmatrix} \lambda_1^n & 0 \\ 0 & \lambda_2^n \end{pmatrix}. Example: M=(2103)\mathbf{M}=\begin{pmatrix} 2 & 1 \\ 0 & 3 \end{pmatrix} has P=(1101)\mathbf{P}=\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} and D=diag(2,3)\mathbf{D}=\mathrm{diag}(2,3), giving Mn=(2n3n−2n03n)\mathbf{M}^n=\begin{pmatrix} 2^n & 3^n-2^n \\ 0 & 3^n \end{pmatrix}. Check n=1n=1 returns M\mathbf{M}.

Common mistake

Writing P−1DnP\mathbf{P}^{-1}\mathbf{D}^n\mathbf{P}: the order is PDnP−1\mathbf{P}\mathbf{D}^n\mathbf{P}^{-1}.

Section 3

Symmetric matrices and orthogonal diagonalisation

A real symmetric matrix (S=ST\mathbf{S}=\mathbf{S}^{\mathrm{T}}) always has real eigenvalues, and eigenvectors for distinct eigenvalues are perpendicular. If the eigenvectors are normalised, Q\mathbf{Q} (with them as columns) is an orthogonal matrix: QTQ=I\mathbf{Q}^{\mathrm{T}}\mathbf{Q}=\mathbf{I}, so Q−1=QT\mathbf{Q}^{-1}=\mathbf{Q}^{\mathrm{T}}. Then QTSQ=D.\mathbf{Q}^{\mathrm{T}}\mathbf{S}\mathbf{Q}=\mathbf{D}. Example: S=(5222)\mathbf{S}=\begin{pmatrix} 5 & 2 \\ 2 & 2 \end{pmatrix} has λ=6\lambda=6 with (21)\begin{pmatrix} 2 \\ 1 \end{pmatrix} and λ=1\lambda=1 with (1−2)\begin{pmatrix} 1 \\ -2 \end{pmatrix}. Their scalar product is 00. Normalised: Q=15(211−2)\mathbf{Q}=\frac{1}{\sqrt5}\begin{pmatrix} 2 & 1 \\ 1 & -2 \end{pmatrix}.

Key termssymmetric matrixorthogonal matrix
Common mistake

Forgetting to normalise: perpendicular columns are not enough for an orthogonal matrix, each must have length 11.

Exam tip

For orthogonal diagonalisation, Q−1=QT\mathbf{Q}^{-1}=\mathbf{Q}^{\mathrm{T}} saves finding an inverse.

Section 4

When diagonalisation is not possible

A 2×22\times2 matrix with a repeated eigenvalue that has only one eigenvector direction cannot be diagonalised, since P\mathbf{P} would not be invertible. For example (3−111)\begin{pmatrix} 3 & -1 \\ 1 & 1 \end{pmatrix} has λ=2\lambda=2 twice and only the eigenvector (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix}. With complex eigenvalues a real P\mathbf{P} does not exist, though a complex one does. Always check that the two eigenvectors are independent (not multiples) before forming P\mathbf{P}.

Key termsindependent eigenvectors
Exam tip

det⁡P≠0\det\mathbf{P}\neq0 is the quick test that your eigenvectors are independent.

Section 5

The Cayley-Hamilton theorem

Every square matrix satisfies its own characteristic equation. For a 2×22\times2 matrix with λ2−tλ+d=0\lambda^2-t\lambda+d=0 (trace tt, determinant dd): A2−tA+dI=0.\mathbf{A}^2-t\mathbf{A}+d\mathbf{I}=\mathbf{0}. The constant term becomes dId\mathbf{I}, not just dd. For C=(2134)\mathbf{C}=\begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix}: λ2−6λ+5=0\lambda^2-6\lambda+5=0, so C2=6C−5I=(761819)\mathbf{C}^2=6\mathbf{C}-5\mathbf{I}=\begin{pmatrix} 7 & 6 \\ 18 & 19 \end{pmatrix}. This reduces any power of A\mathbf{A} to a combination of A\mathbf{A} and I\mathbf{I}. The same holds for 3×33\times3 matrices with a cubic (the AS course uses 2×22\times2 only).

Key termsCayley-Hamilton theorem
Common mistake

Writing A2−tA+d=0\mathbf{A}^2-t\mathbf{A}+d=\mathbf{0} and forgetting I\mathbf{I} on the constant.

Section 6

Using Cayley-Hamilton for inverses and powers

Rearrange C2−6C+5I=0\mathbf{C}^2-6\mathbf{C}+5\mathbf{I}=\mathbf{0} as C(6I−C)=5I\mathbf{C}(6\mathbf{I}-\mathbf{C})=5\mathbf{I}. Then C−1=15(6I−C)=15(4−1−32)\mathbf{C}^{-1}=\frac15(6\mathbf{I}-\mathbf{C})=\frac15\begin{pmatrix} 4 & -1 \\ -3 & 2 \end{pmatrix}. For higher powers multiply the relation by C\mathbf{C} and substitute repeatedly: C3=6C2−5C=31C−30I\mathbf{C}^3=6\mathbf{C}^2-5\mathbf{C}=31\mathbf{C}-30\mathbf{I}. These give the same results as diagonalisation, so use whichever the question hints at.

Exam tip

Show the rearrangement to C×(…)=kI\mathbf{C}\times(\ldots)=k\mathbf{I} clearly; it is where the marks are.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Diagonalisation and the Cayley-Hamilton theorem

  1. The matrix A=(4123)\mathbf{A}=\begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} has eigenvalues 22 and 55, with eigenvectors (1−2)\begin{pmatrix} 1 \\ -2 \end{pmatrix} and (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix} respectively. Let P=(11−21)\mathbf{P}=\begin{pmatrix} 1 & 1 \\ -2 & 1 \end{pmatrix}.
    Write down a matrix Q\mathbf{Q} such that Q−1AQ=(5002)\mathbf{Q}^{-1}\mathbf{A}\mathbf{Q}=\begin{pmatrix} 5 & 0 \\ 0 & 2 \end{pmatrix}.2 marks
  2. The symmetric matrix S=(5222)\mathbf{S}=\begin{pmatrix} 5 & 2 \\ 2 & 2 \end{pmatrix}.
    Find an orthogonal matrix Q\mathbf{Q} and a diagonal matrix D\mathbf{D} such that QTSQ=D\mathbf{Q}^{\mathrm{T}}\mathbf{S}\mathbf{Q}=\mathbf{D}.2 marks
  3. The matrix C=(2134)\mathbf{C}=\begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix}.
    Find the characteristic equation of C\mathbf{C} and hence show that C2=6C−5I\mathbf{C}^2=6\mathbf{C}-5\mathbf{I}.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).