Diagonalising a Matrix and Finding Powers with QDⁿQ⁻¹ | Cambridge A Level Maths notes

Free preview: Diagonalising a Matrix and Finding Powers with QDⁿQ⁻¹

Writing M as QDQ⁻¹

9231 Paper 2: Further Pure Mathematics 2 (A Level)

Here's a challenge: find M20 for M=(4123). Multiplying M by itself twenty times is slow and error-prone. But there are matrices whose powers are trivial to write down. The trick of this note is to rewrite M in terms of one of those.

Let's start with the easiest matrices of all. A diagonal matrix has zeros everywhere except the leading diagonal, like D=(5002).

  • Diagonal matrices are easy to power: Dn=(5n002n). Just power each diagonal entry.
  • Most matrices aren't diagonal. But if we look at them along their eigenvectors, they act just like a diagonal matrix: they only stretch.
  • Diagonalising M means writing it as M=QDQ−1, with D diagonal.

Building Q and D

  1. Find the eigenvalues λ1,λ2 and eigenvectors 𝐯1,𝐯2 (previous note).
  2. Make Q by putting the eigenvectors in as columns: Q=(𝐯1  𝐯2).
  3. Make D by putting the eigenvalues on the diagonal, in the same order: D=(λ100λ2).
  4. Find Q−1 and check that QDQ−1=M.

Why it works

  • M times a column of Q is M𝐯1=λ1𝐯1. So MQ=(λ1𝐯1  λ2𝐯2).
  • And QD=(𝐯1  𝐯2)(λ100λ2)=(λ1𝐯1  λ2𝐯2) too.
  • So MQ=QD. If Q has an inverse, multiply on the right by Q−1:

M=QDQ−1⟺Q−1MQ=D

💡 In plain words

  • Q: eigenvectors as columns. D: matching eigenvalues on the diagonal.
  • M is "change to eigenvector directions, stretch, change back".
  • Some textbooks call the eigenvector matrix P and write P−1MP=D. It is the same thing with a different letter.
  • Why must Q have an inverse? The last step multiplies by Q−1. That only works if detQ≠0, which means the eigenvector columns point in genuinely different directions.

👀 Watch me do it: diagonalise M=(4123)

What I writeWhy I do it
λ = 5 with (11); λ = 2 with (1−2)Step 1: from the previous note.
Q=(111−2), D=(5002)Steps 2 and 3: the eigenvector for 5 goes first, so 5 goes first in D.
detQ=−2−1=−3ad − bc.
Q−1=−13(−2−1−11)=13(211−1)Swap a and d, negate b and c, divide by the determinant.
QD=(525−4)Step 4: each column of Q times its eigenvalue.
QDQ−1=13(12369)=(4123)It works.

✏️ YOUR TURN 1

Try this first:

The matrix M=(1232) has eigenvalue 4 with eigenvector (23) and eigenvalue −1 with eigenvector (1−1). Find Q, D and Q−1, and check that QDQ−1=M.

Answer:

  • Q=(213−1), D=(400−1). The eigenvector for 4 is the first column, so 4 is first in D.
  • detQ=−2−3=−5, so Q−1=−15(−1−1−32)=15(113−2).
  • Check: QD=(8−1121) and QDQ−1=15(5101510)=(1232).

Powers of M

👀 Watch me do it: show that Mn=QDnQ−1

What I writeWhy I do it
M2=(QDQ−1)(QDQ−1)Write M twice.
=QD(Q−1Q)DQ−1Matrix multiplication is associative, so regroup the middle.
=QD2Q−1The Q−1Q in the middle is I, so it disappears.
Mn=QDnQ−1Every extra factor of M does the same.

Mn=QDnQ−1

💡 In plain words

  • To power M, power the eigenvalues, then sandwich between Q and Q−1.
  • You get a formula for every n, not just one answer.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Matrices (2.2)

  1. Three Equations in Three Unknowns: Matrices and Intersecting Planes
  2. Eigenvalues and Eigenvectors of 2×2 and 3×3 Matrices
  3. Diagonalising a Matrix and Finding Powers with QDⁿQ⁻¹
  4. The Cayley–Hamilton Theorem: Matrix Powers and Inverses

What's inside for this topic

4 teacher notes, 137 practice questions, 39 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Eigenvalues and Eigenvectors of 2×2 and 3×3 Matrices Next note: The Cayley–Hamilton Theorem: Matrix Powers and Inverses

All Cambridge A Level Maths topics · A Level Maths