IB Maths AI HL · Unit 4: Statistics and Probability
IB Maths AI HL Markov Chains and Transition Matrices Questions
Updated October 2026
Exam-style IB Maths AI HL Markov chains and transition matrices questions with worked solutions. Start with the 3 fully worked examples below — each is solved step by step, showing the working that earns the marks — then try the practice questions and check your working against the mark scheme.
Start with one question on markov chains. Stuck? Take a hint. No sign-in needed.
A Markov chain has states A and B and transition matrix (each column is the state it moves FROM). Today . Find in two days' time.
A Markov chain has states A and B and transition matrix (each column is the state it moves FROM). Today . Find in two days' time.
A Markov chain has states A and B and transition matrix (each column is the state it moves FROM). In the long run, what proportion of the time is spent in state A?
A Markov chain has states A and B and transition matrix (each column is the state it moves FROM). In the long run, what proportion of the time is spent in state A?
A Markov chain has states A and B and transition matrix (each column is the state it moves FROM). In the long run, what proportion of the time is spent in state A?
Weather forecasting, consumer brand-switching, disease spread. HL AI's Markov questions ask for the state after n steps and the steady-state distribution: the eigenvector of the transition matrix for eigenvalue 1. Markov chains and transition matrices overview →
What's examined in AI HL Markov chains and transition matrices
The question bank covers these Markov chains and transition matrices question types (number of questions in brackets):
Where students lose marks on Markov chains and transition matrices
Examiner's noteMarkov chains: columns, the initial state, the right power of T
Where marks are lost: Candidates built transition matrices whose columns did not sum to 1 or whose entries were inconsistent, did not know the initial state vector, used the wrong power of T (counting days wrongly), multiplied two powers of T when a two-stage path was needed, left a steady state as a matrix instead of a vector, and used a transition matrix where simple probability was enough. "To which percentage" was read as a change in percentage points.
Examiners flagged this in 4 exam series (May 2024, November 2024, May 2025, November 2025). Summarised in our own words from IB subject reports, IB Programme Resource Centre. Read the full note →
Markov Chains and Transition Matrices worked examples
Worked example 1: Constructing a Transition Matrix · easy
The transition between two states, A and B, is represented by a directed network. The probability of moving from A to B is , and A to A is . The probability of moving from B to A is , and B to B is . Write down the transition matrix for this Markov chain, ensuring the states are mapped alphabetically.
Solution
1. Recall the structure of a transition matrix: columns represent the 'initial state' (From) and rows represent the 'final state' (To).
2. Construct the first column (From A): Top row (To A) is , bottom row (To B) is . Note that .
3. Construct the second column (From B): Top row (To A) is , bottom row (To B) is . Note that .
4. Write the final matrix: .
3. Construct the second column (From B): Top row (To A) is , bottom row (To B) is . Note that .
4 steps · 1 to fill in
Examiner tip: In the IB AI syllabus, transition matrices are set up so that the columns sum to . If you set it up such that the rows sum to , you will get incorrect state vectors upon multiplication.
Worked example 2: Finding the State Vector after Transitions · medium
Using the transition matrix , assume the system initially starts in state A with certainty. Find the probability that the system is in state B after exactly 2 transitions.
Solution
1. Define the initial state vector . Since the system is definitively in state A, .
2. Apply the transition rule for steps: .
3. Set up the calculation for : .
4. Compute using the GDC: .
5. Multiply by : .
6. The bottom element represents state B. The probability is .
6 steps
Examiner tip: You can simply look at the first column of to find the probabilities after 2 steps originating entirely from State A. The matrix power contains all paths of length .
Worked example 3: Calculating Steady State Probabilities · hard
For the transition matrix , find the exact steady state probability vector .
Solution
1. State the steady state condition: multiplying the transition matrix by the steady state vector yields the exact same vector ().
2. Set up the matrix equation: .
3. Extract the top row into a linear equation: .
4. Simplify: .
5. Apply the probabilistic constraint that the states must sum to : .
6. Substitute and solve: .
7. Consequently, . The exact steady state vector is .
6. Substitute and solve: .
7 steps · 1 to fill in
Examiner tip: If you try to solve the system using both rows of the matrix equation, you will get infinite solutions because the equations are linearly dependent. You must always swap out one row for the sum constraint .
Try these IB Maths AI HL Markov chains and transition matrices questions
Three questions from the bank, easiest first. Mark schemes and AI marking of your written working are in the practice area. One of them has its full worked solution here, open to everyone.
Question 1 · easy · 4 marks · Paper 1
A system is modelled by the transition matrix .
The initial state of the system is given by the column vector .
Calculate the exact state vector after one transition, .
A car rental company operates in two cities, City X and City Y.
- A car rented in City X has a chance of being returned to City X, and a chance of being returned to City Y.
- A car rented in City Y has a chance of being returned to City Y, and a chance of being returned to City X.
Currently, there are cars in City X and cars in City Y.
Using your GDC, find the number of cars expected to be in City X after 5 rental cycles (transitions). Round your answer to the nearest whole car.
Full worked solution Free, no sign-in
Transition matrix (columns = from X, Y): . [A1]
Initial state . [A1]
We need . [M1]
Using GDC: . [M1]
Number of cars in City X cars. [A1]
Every question here has a full worked solution.See them all →
Question 3 · hard · 7 marks · Paper 1
Consider the transition matrix .
In linear algebra, a scalar is an eigenvalue of a matrix if , where is the identity matrix.
Prove algebraically that is an eigenvalue of , and find the other eigenvalue.
How many IB Maths AI HL Markov chains and transition matrices questions are there?
There are 13 exam-style Markov chains and transition matrices questions in the AI HL question bank (Paper 1: 13), graded 4 easy, 4 medium, 5 hard. Every question has a full IB-style mark scheme (M, A and R marks).
Is Markov chains and transition matrices on Paper 1 or Paper 2?
In the question bank these questions are set as Paper 1 questions.
Where can I get the mark schemes?
Open the AI HL Unit 4 practice page: every question has a step-by-step IB-style mark scheme, and you can photograph your working for instant AI marking. The worked examples on this page are free.