Practise › Questions › Diagonalisation and the Cayley-Hamilton theorem
Diagonalisation and the Cayley-Hamilton theorem questions
Change coordinates so the eigenvectors become the axes and the matrix turns diagonal, making high powers trivial. And every matrix, it turns out, satisfies its own characteristic equation.
6 original questions · 23 marks · the diagonalisation and the cayley-hamilton theorem notes · Further Pure 2
Every question here is written for this library rather than taken from a past paper. Write your answer out before opening the worked one: the answers award marks point by point, and the marks are easier to see when you have something of your own to compare against.
The matrix M has rows (4, 1) and (2, 3), with eigenvalues 5 and 2 and corresponding eigenvectors (1, 1) and (1, −2). Write down matrices P and D such that M = PDP−1.
Worked answer
Put the eigenvectors in as the columns of P, so P has rows (1, 1) and (1, −2). Then D is diagonal with the matching eigenvalues in the same order, 5 then 2. B1 for P, B1 for D in the matching order. Swapping the columns of P works provided the entries of D are swapped with them. Mismatching the order is the standard error, and it costs both marks.State the Cayley-Hamilton theorem, and verify it for the matrix M with rows (4, 1) and (2, 3).
Worked answer
Every square matrix satisfies its own characteristic equation. Here det(M − λI) = (4 − λ)(3 − λ) − 2 = λ² − 7λ + 10, so the claim is M² − 7M + 10I = 0.
M² has rows (18, 7) and (14, 11), 7M has rows (28, 7) and (14, 21), and 10I has 10 on the diagonal. Then M² − 7M + 10I has entries 18 − 28 + 10, 7 − 7, 14 − 14 and 11 − 21 + 10, all zero, as required. B1 for the statement of the theorem, M1 for forming M² − 7M + 10I, A1 for the zero matrix. Verifying means reaching the zero matrix; quoting the characteristic equation alone is one mark.The matrix M with rows (4, 1) and (2, 3) has eigenvalues 5 and 2 with eigenvectors (1, 1) and (1, −2). Use a diagonalisation to find M5.
Worked answer
Take P with rows (1, 1) and (1, −2) and D diagonal with 5 and 2, so that M = PDP−1 and M5 = PD5P−1. D5 is diagonal with entries 3125 and 32; only the diagonal entries are ever raised to a power.
Since det P = −3, P−1 is (−1/3) times the matrix with rows (−2, −1) and (−1, 1).
Multiplying the three matrices in the order P, then D5, then P−1 gives M5 with rows (2094, 1031) and (2062, 1063). M1 for using M raised to a power as P times D to that power times P−1, A1 for 3125 and 32, M1 for P−1, M1 for the triple product, A1 for the four entries. Reversing P and P−1 gives a different matrix and loses the accuracy marks, since matrix multiplication does not commute.The matrix M has rows (4, 1) and (2, 3). Use the Cayley-Hamilton theorem to express M−1 in terms of M and I, and hence evaluate M−1.
Worked answer
The characteristic equation is λ² − 7λ + 10 = 0, so M² − 7M + 10I = 0. Multiply throughout by M−1: M − 7I + 10M−1 = 0, so M−1 = (7I − M)/10. That is one tenth of the matrix with rows (3, −1) and (−2, 4). M1 for multiplying the relation through by M−1, A1 for M−1 = (7I − M)/10, M1 for evaluating 7I − M, A1 for the entries. Checking, M times that matrix is 10I, so dividing by 10 gives the identity. The method needs no cofactors.Give a 2 by 2 matrix that cannot be diagonalised, and explain what goes wrong.
Worked answer
Take the matrix with rows (1, 1) and (0, 1). Its characteristic equation is (1 − λ)² = 0, so 1 is a repeated eigenvalue, but solving (M − I)v = 0 gives only multiples of (1, 0). With one independent eigenvector there is no invertible P of eigenvectors, so no diagonalisation exists. B1 for a suitable matrix, M1 for solving for the eigenvectors, A1 for only one independent eigenvector, so no invertible P. A repeated eigenvalue is a warning rather than a verdict, since some repeated cases still supply two independent eigenvectors.The matrix M with rows (4, 1) and (2, 3) has eigenvalues 5 and 2. Show that for every positive integer n, Mn = anM + bnI where an = (5n − 2n)/3, and find bn. Hence evaluate M6.
Worked answer
Cayley-Hamilton gives M² = 7M − 10I, so every power collapses onto M and I, and Mn = anM + bnI for some numbers an and bn.
To find them, use the eigenvalues. If Mv = λv then Mnv = λnv, and applying the relation to that same eigenvector gives λn = anλ + bn. Both eigenvalues obey it, so 5an + bn = 5n and 2an + bn = 2n.
Subtracting, 3an = 5n − 2n, which is the given an, and back-substituting gives bn = (5·2n − 2·5n)/3. Setting up the pair of equations from the two eigenvalues is where the method marks sit; grinding out M³, M⁴, M⁵ one at a time reaches the same place far more slowly.
At n = 6: a = (15625 − 64)/3 = 5187 and b = (320 − 31250)/3 = −10310, so M⁶ = 5187M − 10310I, with rows (10438, 5187) and (10374, 5251). B1 for M² = 7M − 10I, M1 for applying the relation to an eigenvector, A1 for the pair of simultaneous equations, A1 for bn, M1 for substituting n = 6, A1 for the entries of M⁶.
A check at n = 2 gives a = 7 and b = −10, which is the Cayley-Hamilton relation itself.
The same practice on paper: the printable workbook for this topic, questions and a worked answer book.
Practise diagonalisation and the cayley-hamilton theorem one question at a time
The player marks nothing for you. It shows one question, waits, then shows the worked answer so you can mark yourself, and brings a question back sooner when it went badly.