Diagonalising a Matrix and Finding Powers with PDⁿP⁻¹ | Applications and Interpretation IB Maths notes
Free preview: Diagonalising a Matrix and Finding Powers with PDⁿP⁻¹
Writing M as PDP⁻¹
Applications and interpretation: HL only (AHL 1.15), the tool behind Markov chains (AHL 4.19)
Here's a challenge: find for . 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 .
- Diagonal matrices are easy to power: . 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 , with D diagonal.
P is the usual IB letter for the matrix of eigenvectors (some books call it U). Use whichever letter the question uses. In the AI course M is always 2×2 with two different real eigenvalues.
Building P and D
- Find the eigenvalues and eigenvectors (from your matrices work, AHL 1.15).
- Make P by putting the eigenvectors in as columns: .
- Make D by putting the eigenvalues on the diagonal, in the same order: .
- Find and check that .
Why it works
- M times a column of P is . So .
- And too.
- So . If P has an inverse, multiply on the right by :
💡 In plain words
- P: eigenvectors as columns. D: matching eigenvalues on the diagonal.
- M is "change to eigenvector directions, stretch, change back".
- Why must P have an inverse? The last step multiplies by . That only works if , which means the eigenvector columns point in genuinely different directions.
👀 Watch me do it: diagonalise
| What I write | Why I do it |
|---|---|
| λ = 5 with ; λ = 2 with | Step 1: from the previous note. |
| Steps 2 and 3: the eigenvector for 5 goes first, so 5 goes first in D. | |
| ad − bc. | |
| Swap a and d, negate b and c, divide by the determinant. | |
| Step 4: each column of P times its eigenvalue. | |
| It works. |
✏️ YOUR TURN 1
Try this first:
The matrix has eigenvalue 4 with eigenvector and eigenvalue −1 with eigenvector . Find P, D and , and check that .
Answer:
- . The eigenvector for 4 is the first column, so 4 is first in D.
- , so .
- Check: and .
Powers of M
👀 Watch me do it: show that
| What I write | Why I do it |
|---|---|
| Write M twice. | |
| Matrix multiplication is associative, so regroup the middle. | |
| The in the middle is I, so it disappears. | |
| Every extra factor of M does the same. |
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.
All notes in HL: Markov chains (AHL 4.19, with AHL 1.15)
- Diagonalising a Matrix and Finding Powers with PDⁿP⁻¹
- Markov Chains: Transition Matrices and State Vectors
- Steady States and Long-Term Behaviour of Markov Chains
What's inside for this topic
3 teacher notes, 57 practice questions, 28 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Next note: Markov Chains: Transition Matrices and State Vectors
All Applications and Interpretation IB Maths topics · IB Maths