James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AI HL › Number & algebra › Eigenvalues & eigenvectors

Eigenvalues & eigenvectors

Most vectors change direction when a matrix acts on them, but a few special ones, the eigenvectors, are only stretched. The stretch factors are the eigenvalues. They let you write a matrix as PDP−1, find any power Mn by formula, and predict the long-term behaviour of Markov chains and population models.

AHL 1.15HL onlyPaper 1Paper 2GDC allowed≈ 55 min to work through
Before you start: determinants, inverses and matrix multiplication (Matrices).

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Find the characteristic polynomial det(M−λI) of a 2 × 2 matrixAHL 1.15
  • Find the eigenvalues and corresponding eigenvectors of a 2 × 2 matrixAHL 1.15
  • Diagonalise a matrix as M=PDP−1AHL 1.15
  • Use Mn=PDnP−1 to find powers and long-term behaviourAHL 1.15
  • Apply eigenvalues to population and transition modelsAHL 1.15

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

For a matrix M, an eigenvector is a non-zero vector 𝐯 whose direction is unchanged by M: M𝐯=λ𝐯. The number λ is its eigenvalue, the factor by which it is stretched. If you describe everything in terms of eigenvectors, the matrix just multiplies each direction by a number, which makes repeated multiplication easy.

2.1 Finding eigenvalues

M𝐯=λ𝐯 means (M−λI)𝐯=0. For a non-zero solution, M−λI must be singular, so its determinant is zero.

Characteristic equation Not in booklet: learn it
det(M−λI)=0

For M=(abcd): (a−λ)(d−λ)−bc=0, that is λ2−(a+d)λ+(ad−bc)=0.

Worked example 1Paper 1
Find the eigenvalues of M=(4123).
det(4−λ123−λ)=(4−λ)(3−λ)−2=0
λ2−7λ+10=0⇒(λ−5)(λ−2)=0
λ=5 or λ=2

2.2 Finding eigenvectors

For each eigenvalue, solve (M−λI)𝐯=0. The two equations will be multiples of each other, so you get a whole line of solutions: any non-zero multiple of an eigenvector is also an eigenvector. Give a simple one.

Worked example 2Paper 1
Find an eigenvector of M=(4123) for each eigenvalue.
λ=5: (−112−2)(xy)=0⇒−x+y=0
Both rows give y=x.
Eigenvector (11)
λ=2: (2121)(xy)=0⇒2x+y=0, eigenvector (1−2)
Check: M(1−2)=(2−4)=2(1−2).

2.3 Diagonalising and powers

Put the eigenvectors as the columns of P and the eigenvalues, in the same order, on the diagonal of D. Then M=PDP−1. Because the P−1P pairs cancel, Mn=PDnP−1, and Dn just raises each diagonal entry to the power n.

Diagonalisation Not in booklet: learn it
M=PDP−1,Mn=PDnP−1,Dn=(λ1n00λ2n)
Worked example 3Paper 2
For M=(4123), find an expression for Mn.
P=(111−2), D=(5002), P−1=13(211−1)
Mn=(111−2)(5n002n)13(211−1)
=13(2·5n+2n5n−2n2·5n−2·2n5n+2·2n)
Check with n=3: 13(250+8)=86, which matches the GDC value of M3.

2.4 The long term

In Mn𝐱0, the term with the largest eigenvalue (in size) eventually dominates. For a transition matrix whose columns add to 1, one eigenvalue is always 1, and its eigenvector, scaled so its entries add to 1, gives the steady state. The other eigenvalue tells you how quickly the system settles.

Worked example 4Paper 2
Each year 10% of the people in town A move to town B, and 15% of the people in B move to A. Initially each town has 5000 people. Use T=(0.90.150.10.85) to find the long-term populations.
Eigenvalues: λ2−1.75λ+0.75=0⇒λ=1 or 0.75
For λ=1: −0.1x+0.15y=0⇒ eigenvector (32)
Scale it to add to 1: (0.60.4).
Long term: 0.6×10000=6000 in A and 4000 in B.
The total of 10 000 stays fixed.
After n years the population of A is 6000−1000(0.75)n: the gap shrinks by a factor 0.75 each year.
Worked example 5 (faded)Paper 1
Find the eigenvalues of (3214).
λ2−7λ+(12−2)=0
λ2−7λ+10=0⇒λ= 2 or 5  ← you work this out
On your TI-Nspire Calculator tricks →

The TI-Nspire finds eigenvalues and eigenvectors: store the matrix as m, then use menu → Matrix & Vector → Eigenvalues to get eigVl(m) and Eigenvectors to get eigVc(m). The eigenvectors come out as unit-length columns, for example (0.7070.707): divide by one entry to get a simple version such as (11). Check Mn results with m^n.

3Explore it

Choose a matrix: A = (4 1; 2 3), B = (3 2; 1 4) or the transition matrix T = (0.9 0.15; 0.1 0.85). Rotate the vector v (navy) and watch Mv (red). Most of the time they point in different directions. When they line up, v is an eigenvector and the ratio of lengths is the eigenvalue.

4Common mistakes & exam tips

Common mistakes

  • Writing det(M)−λ instead of det(M−λI): λ is subtracted from the diagonal entries only.
  • Giving the zero vector as an eigenvector. Eigenvectors must be non-zero.
  • Putting the eigenvalues in D in a different order from the eigenvectors in P.
  • Multiplying in the wrong order: Mn=PDnP−1, not P−1DnP.
  • Using a transition matrix whose columns do not add to 1 (or rows, if the question uses that convention).

Exam tips

  • Check an eigenvector by multiplying: M𝐯 should be a multiple of 𝐯.
  • The sum of the eigenvalues equals a+d and their product equals detM: a quick check.
  • For "long-term" questions, say which eigenvalue dominates and why the other term tends to 0.
  • Simplify GDC eigenvectors to integers where possible: examiners expect (11), not (0.7070.707), though both are correct.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Find the characteristic equation of (2314).
λ2−6λ+5=0
FluencyP2
Find the eigenvalues of (2314).
λ=1 and λ=5
FluencyP3
Find an eigenvector of (2314) for λ=5.
−3x+3y=0⇒(11)
FluencyP4
Write down D4 for D=(300−1).
(81001)
Problem solvingP5
Show that (0.70.20.30.8) has eigenvalue 1 and find its steady state.
λ=1 and 0.5. For λ=1: −0.3x+0.2y=0⇒(23); steady state (0.40.6).
Problem solvingP6
A matrix has eigenvalues 2 and 0.5. Describe what happens to Mn𝐱 for large n, when 𝐱 is not an eigenvector.
It grows like 2n and its direction approaches the eigenvector for λ=2; the 0.5 part dies away.

6Exam-style questions

Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.

Question 1Paper 1[7 marks]

Let M=(1423).

  • (a)Find the eigenvalues of M.[3]
  • (b)Find an eigenvector for each eigenvalue.[4]
(a)
(1−λ)(3−λ)−8=0M1
λ2−4λ−5=0(A1)
λ=5, λ=−1A1
(b)
λ=5: −4x+4y=0(M1)
(11)A1
λ=−1: 2x+4y=0(M1)
(2−1)A1
Accept any non-zero multiples.
Question 2Paper 1[5 marks]

The matrix M=(4123) has eigenvalues 5 and 2, with eigenvectors (11) and (1−2).

  • (a)Write down matrices P and D such that M=PDP−1.[2]
  • (b)Hence find an expression for the top-left element of Mn.[3]
(a)
P=(111−2)A1
D=(5002)A1
Columns of P must match the order of D.
(b)
Mn=PDnP−1, P−1=13(211−1)(M1)(A1)
2·5n+2n3A1
Question 3Paper 2[10 marks]

Each year, 10% of the residents of town A move to town B, and 15% of the residents of town B move to town A. Nobody else moves in or out. At the start, each town has 5000 residents.

  • (a)Write down a transition matrix T such that (an+1bn+1)=T(anbn).[2]
  • (b)Find the number of residents in town A after 3 years.[2]
  • (c)Find the eigenvalues of T and a corresponding eigenvector for each.[4]
  • (d)Find the long-term number of residents in each town.[2]
(a)
T=(0.90.150.10.85)A2
A1 for each correct column.
(b)
T3(50005000)(M1)
5578A1
(c)
λ=1A1
λ=0.75A1
(32)A1
(1−1)A1
(d)
35×10000(M1)
A: 6000, B: 4000A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.

PaperQuestionFocusDifficulty
Nov 2024 · Paper 1Q11Eigenvalues and diagonalisation as PDP⁻¹★★☆
May 2025 · TZ3 · Paper 1Q15Eigenvalues of a Markov transition matrix★★☆
May 2024 · TZ2 · Paper 2Q5Transition matrix, eigenvectors and the steady state★★☆
Nov 2025 · Paper 2Q7Fibonacci numbers from matrix powers and eigenvalues★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake