Home › IB Maths AI HL › Exam practice › Eigenvalues, Eigenvectors and Markov Chains

IB Maths AI HL · Unit 1

Eigenvalues, Eigenvectors and Markov Chains: AI HL exam practice with markscheme

Covers markov chains: transition matrices & steady state. Work through the 10 questions on paper as if it were the exam, then open each solution and mark your work against the markscheme.

10 questions · 41 marks · about 49 minutes · 6 Paper 1 style, 4 Paper 2 style

Download the PDF 5 pages, worked solutions after the questions

Question 1

3 marks · Paper 2 style · calculator allowed

Customers choose between three brands X, Y and Z each month with transition matrix (columns are this month) T=(0.80.10.10.10.70.20.10.20.7).

Find the long-term market share of each brand. [3]

Show solution

solve Ts=s with entries summing to 1 M1

X: 13 A1

Y: 13, Z: 13 A1

Answer: each 13

Question 2

3 marks · Paper 1 style · calculator allowed

Let A=(2013) with eigenvalues 2 and 3.

Find an eigenvector for λ=3 and one for λ=2. [3]

Show solution

λ=3: −x=0, so (01) M1A1

λ=2: x+y=0, so (1−1) A1

Answer: a proof: the worked solution above is the full answer

Question 3

4 marks · Paper 1 style · calculator allowed

Find the exact eigenvalues of the matrix M=(4213).

[4]

Show solution

Set up the characteristic equation det(M−λI)=0: |4−λ213−λ|=0 M1
Expand the determinant: (4−λ)(3−λ)−(2)(1)=0 (M1)
λ2−7λ+10=0 A1
Factorise: (λ−5)(λ−2)=0⟹λ=2,5 A1

Answer: 2,5

Question 4

6 marks · Paper 1 style · calculator allowed

A transition matrix is given by T=(0.6k0.41−k), where k is a constant and 0<k<1.

The long-term steady-state probability for the first state is exactly 23.

Calculate the exact value of k.

[6]

Show solution

Set up the steady-state equation Tx=x with x=(pq): (0.6k0.41−k)(pq)=(pq) M1
Use p=23 and p+q=1: q=13 A1
Substitute into the top row: 0.6(23)+k(13)=23 M1
Multiply by 3: 0.6(2)+k=2 M1
1.2+k=2 A1
k=0.8 (=45), which satisfies 0<k<1 A1

Answer: 0.8

Question 5

3 marks · Paper 1 style · calculator allowed

A Markov chain has a transition matrix T=(0.5a0.50.2). State the value of a, and write down the exact dominant eigenvalue for this matrix.

[3]

Show solution

Each column of a transition matrix sums to 1: a+0.2=1 (M1)
a=0.8 A1
A transition matrix always has eigenvalue 1, and this is the dominant eigenvalue: λ=1 A1

Answer: (a) 0.8; (dominant eigenvalue) 1

Question 6

3 marks · Paper 2 style · calculator allowed

A website has two pages. A visitor on page 1 moves to page 2 with probability 0.3; a visitor on page 2 moves to page 1 with probability 0.5. Otherwise they stay.

(a) Write down the transition matrix. [1]

(b) A visitor starts on page 1. Find the probability that after 3 moves they are on page 2. [2]

Show solution

(a)

(0.70.50.30.5) A1

(b)

T3(10) M1

0.372 A1

Answer: (b) 0.372

Question 7

5 marks · Paper 1 style · calculator allowed

Let A=(4123).

(a) Find the eigenvalues of A. [3]

(b) Find an eigenvector for each eigenvalue. [2]

Show solution

(a)

det(A−λI)=(4−λ)(3−λ)−2 M1

λ2−7λ+10=0 A1

λ=2, 5 A1

(b)

λ=5: (11) A1

λ=2: (1−2) A1

Answer: (a) λ=2, λ=5

Question 8

5 marks · Paper 2 style · calculator allowed

Each day a commuter travels by bus (B) or train (T). If she takes the bus one day, the probability she takes the bus the next day is 0.6. If she takes the train, the probability she takes the train the next day is 0.8.

(a) Write down the transition matrix T, with columns for today's choice. [2]

(b) Find the long-term proportion of days she takes the bus. [3]

Show solution

(a)

(0.60.20.40.8) A2

(b)

steady state Ts=s M1

0.4b=0.2(1−b) A1

b=13 A1

Answer: (b) 13

Question 9

5 marks · Paper 2 style · calculator allowed

A transition matrix is T=(0.70.40.30.6) and the initial state is s0=(100200).

(a) Find T3s0. [2]

(b) Find the steady-state vector for this population of 300. [3]

Show solution

(a)

GDC (M1)

(169.5130.5) A1

(b)

0.3x=0.4y, x+y=300 M1A1

(171.4128.6) A1

Answer: (a) (169.5130.5); (b) (171.4128.6)

Question 10

4 marks · Paper 1 style · calculator allowed

Let M=(0.90.20.10.8).

(a) Show that the eigenvalues of M are 1 and 0.7. [2]

(b) Explain what happens to Mn as n→∞, in terms of the eigenvalues. [2]

Show solution

(a)

λ2−1.7λ+0.7=0 M1

(λ−1)(λ−0.7)=0 A1 AG

(b)

0.7n→0 R1

Mn tends to a matrix whose columns are both the steady state (2313) A1

Answer: a proof: the worked solution above is the full answer

How the marks work: M marks are for a correct method, A marks for an accurate answer that follows it, R marks for a reason, and AG means the answer is given in the question. A mark in brackets, like (M1), can be implied by later correct work.

Notes, worked examples and more questions on this topic: AI HL Eigenvalues, Eigenvectors and Markov Chains. Previous topic: Complex Numbers and Argand Diagrams. Next topic: Financial Mathematics. Every AI HL topic.

Revise first with the AI HL revision notes, then finish on real papers: IB Maths AI HL past papers.