IB Maths AI HL · Unit 4
Markov Chains: AI HL exam practice with markscheme
Covers markov chains. 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 · 35 marks · about 42 minutes · 3 Paper 1 style, 7 Paper 2 style
Question 1
3 marks · Paper 1 style · calculator allowed
A Markov chain has the transition matrix . The initial state vector is .
Calculate the state vector after one transition, .
[3]
Show solution
. M1
Row 1: . A1
Row 2: .
. A1
Answer:
Question 2
2 marks · Paper 1 style · calculator allowed
In a Markov chain the probability of moving from state to state is .
Write down the probability of staying in and explain why each column of a transition matrix sums to . [2]
Show solution
A1
from any state the system must move to some state R1
Answer:
Question 3
3 marks · Paper 2 style · calculator allowed
The weather is sunny (S) or rainy (R). After a sunny day the next is sunny with probability ; after a rainy day the next is rainy with probability . Today is sunny.
Find the probability that it is sunny in days' time. [3]
Show solution
A1
M1
A1
Answer:
Question 4
3 marks · Paper 2 style · calculator allowed
With the same weather model :
Find the long-run proportion of sunny days. [3]
Show solution
M1A1
A1
Answer:
Question 5
3 marks · Paper 2 style · calculator allowed
A car hire firm has offices in towns and . Each week of cars at stay at , and of cars at stay at . There are cars at and at .
Find the number of cars at each office after weeks. [3]
Show solution
A1
M1
: , : A1
Answer: at , at
Question 6
3 marks · Paper 1 style · calculator allowed
A transition matrix is .
Find the steady-state vector. [3]
Show solution
, M1A1
A1
Answer:
Question 7
4 marks · Paper 2 style · calculator allowed
A Markov chain has two states, A and B. The transition matrix is . The initial state matrix is .
Find the state matrix after two transitions, .
[4]
Show solution
M1
A1
M1
A1
Answer:
Question 8
3 marks · Paper 2 style · calculator allowed
A mouse moves between rooms , and with transition matrix (columns are the current room) .
Find the long-run proportion of time spent in each room. [3]
Show solution
solve , entries sum to M1
room 1: , room 2: A1
room 3: A1
Answer: , ,
Question 9
5 marks · Paper 2 style · calculator allowed
Find the steady state probability vector for the transition matrix .
[5]
Show solution
Let the steady state vector be .
and M1
A1
Substitute into sum: M1
A1
. Steady state vector is A1
Answer:
Question 10
6 marks · Paper 2 style · calculator allowed
A Markov chain models the choice of gym made each month by members of two gyms, A and B. The transition matrix is , where columns represent the current state and rows represent the next state.
- Find the values of and , given that of members who use gym B this month will use gym A next month.
- Calculate the steady state probability vector for this Markov chain.
[6]
Show solution
- From the prompt, . A1
Columns must sum to 1, so . A1 - Let steady state be . and . M1
. M1
Substitute into sum: . A1
. Steady state vector is . A1
Answer: (a) ; (b) ; (Steady state vector)