Home › IB Maths AI HL › Questions by topic › Markov Chains and Transition Matrices

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.

Practise Markov Chains and Transition Matrices questions →

🖩 How do I do this on my calculator? Keystrokes for the Casio fx-CG50, TI-84 Plus CE and TI-Nspire.

Try it first

1 of 5

  1. Question 1 of 5
  2. Question 2 of 5
  3. Question 3 of 5
  4. Question 4 of 5
  5. Question 5 of 5

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 T=(0.90.40.10.6) (each column is the state it moves FROM). Today P(A)=0. Find P(A) in two days' time.
Choose your answer · keys 1–4

What you need to know

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):

Key formulas

Transition matrix (Markov chain)
s→n+1=Ts→n

In the same notation as the IB formula booklet. All AI HL formulas →

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 0.4, and A to A is 0.6. The probability of moving from B to A is 0.15, and B to B is 0.85. Write down the 2×2 transition matrix T for this Markov chain, ensuring the states are mapped alphabetically.

Solution

4 steps · 1 to fill in
Examiner tip: In the IB AI syllabus, transition matrices are set up so that the columns sum to 1. If you set it up such that the rows sum to 1, you will get incorrect state vectors upon multiplication.

Worked example 2: Finding the State Vector after n Transitions · medium

Using the transition matrix T=(0.60.150.40.85), assume the system initially starts in state A with 100% certainty. Find the probability that the system is in state B after exactly 2 transitions.

Solution

6 steps
Examiner tip: You can simply look at the first column of T2 to find the probabilities after 2 steps originating entirely from State A. The matrix power Tn contains all paths of length n.

Worked example 3: Calculating Steady State Probabilities · hard

For the transition matrix T=(0.60.150.40.85), find the exact steady state probability vector s=(xy).

Solution

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 x+y=1.

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 T=(0.70.20.30.8).
The initial state of the system is given by the column vector s0=(10050).
Calculate the exact state vector after one transition, s1.

Attempt it and see the mark scheme →

Question 2 · medium · 5 marks · Paper 1

A car rental company operates in two cities, City X and City Y. - A car rented in City X has a 70% chance of being returned to City X, and a 30% chance of being returned to City Y. - A car rented in City Y has a 90% chance of being returned to City Y, and a 10% chance of being returned to City X.
Currently, there are 400 cars in City X and 200 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): T=(0.70.10.30.9). [A1]
Initial state s0=(400200). [A1]
We need s5=T5s0. [M1]
Using GDC: (0.70.10.30.9)5(400200)=(169.44430.56). [M1]
Number of cars in City X ≈169 cars. [A1]

Every question here has a full worked solution. See them all →

Question 3 · hard · 7 marks · Paper 1

Consider the transition matrix T=(0.80.40.20.6).
In linear algebra, a scalar λ is an eigenvalue of a matrix T if det(T−λI)=0, where I is the identity matrix.
Prove algebraically that λ=1 is an eigenvalue of T, and find the other eigenvalue.

Attempt it and see the mark scheme →

Free account — sign in to download Topic PDF: 7 questions with worked answers · 5 pages · 257 KB

All 13 Markov chains and transition matrices questions with mark schemes →

Save your progress and get 5 more questions on every topic, checked instantly. Free account, no card. Join free

Revise Markov chains and transition matrices for the exam

FAQ

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.

What else is free here

Save your answers and track your progressA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in

More AI HL Unit 4 topics

Keep revising AI HL: AI HL revision notes · IB Maths AI HL past papers · AI HL common exam mistakes · AI HL syllabus checklist · AI HL statistics and probability knowledge organiser

← All IB Maths AI HL topics