Home / IB Mathematics AHL 4.19: Transition matrices AI HL Paper 2- Exam Style Questions

IB Mathematics AHL 4.19: Transition matrices AI HL Paper 2- Exam Style Questions- New Syllabus

Question

The three countries of Belgium, Germany and The Netherlands meet at a single point called Vaalserberg. To support future transport planning, a \(10\) km circle was drawn around Vaalserberg on a map. A study was carried out over five years to determine what percentage of people living in each of these countries (within the \(10\) km circular region) either stayed in their own country or moved to another country within the circle. From this study, the following movements were observed during the five years:
  • From Belgium, \(5\%\) moved to Germany, and \(0.5\%\) moved to The Netherlands.
  • From Germany, \(2\%\) moved to The Netherlands, and \(1.5\%\) moved to Belgium.
  • From The Netherlands, \(3\%\) moved to Germany, and \(2\%\) moved to Belgium.

All additional population changes within the circular region may be ignored.

(a) Represent the above information in a transition matrix \(\mathbf{T}\).
At the end of the study, the population of the Belgian side was \(26,000\), the population of the German side was \(240,000\), and the population of The Netherlands side was \(50,000\).
(b) By using \(\mathbf{T}\), find the expected population of the German side of Vaalserberg \(30\) years after the end of the study.
For matrix \(\mathbf{T}\) there exists a steady state vector \(\mathbf{u} = \begin{pmatrix} u_1 \\ u_2 \\ u_3 \end{pmatrix}\) where \(u_1, u_2\) and \(u_3\) are the proportions of the total population on the Belgian side, the German side and The Netherlands side respectively.
(c) (i) Determine the equations that are to be solved to find the steady state vector.
(ii) By solving your system of equations, find the steady state vector.
(d) Use your answer to part (c)(ii) to determine the long-term expected population of the German side.
(e) Suggest two reasons why your answer to part (d) is not likely to be accurate.

Most-appropriate topic codes:

• AHL 4.19: Transition matrices, powers of transition matrices, and Markov chains — all parts
▶️ Answer/Explanation
Detailed solution

(a)
The transition matrix \(\mathbf{T}\) where \(T_{ij}\) represents the probability of moving from state \(j\) to state \(i\):
\[ \mathbf{T} = \begin{pmatrix} 0.945 & 0.015 & 0.02 \\ 0.05 & 0.965 & 0.03 \\ 0.005 & 0.02 & 0.95 \end{pmatrix} \]

(b)
The population after 30 years (6 five-year cycles) is \(\mathbf{s}_6 = \mathbf{T}^6 \mathbf{s}_0\).
Using \(\mathbf{s}_0 = \begin{pmatrix} 26000 \\ 240000 \\ 50000 \end{pmatrix}\), the second element (Germany) is approximately \(212,000\).

(c)
(i) Equations satisfying \(\mathbf{T}\mathbf{u} = \mathbf{u}\) and \(\sum u_i = 1\):
\(0.945u_1 + 0.015u_2 + 0.02u_3 = u_1\)
\(0.05u_1 + 0.965u_2 + 0.03u_3 = u_2\)
\(0.005u_1 + 0.02u_2 + 0.95u_3 = u_3\)
\(u_1 + u_2 + u_3 = 1\)
(ii) Solving the system: \(\mathbf{u} \approx \begin{pmatrix} 0.231 \\ 0.533 \\ 0.236 \end{pmatrix}\).

(d)
Long-term German population \(\approx 0.533 \times (\text{derived factor})\).
Expected population \(\approx\) \(168,000\).

(e)
1. Movement probabilities are unlikely to remain constant over long periods.
2. Total population within the region is likely to grow rather than stay closed.

Markscheme:

5. (a) Matrix T shown correctly. [A2]

5. (b) 212000 (or 212205). [A2]

5. (c) (i) At least two equations of T u = u and sum=1. [M1] (ii) u = [0.231, 0.533, 0.236]. [A2]

5. (d) 168000. [A1]

5. (e) Award R1 for reasons like: rates change, population growth, external migration. [R2]

Question

The probability that Kyth charges his mobile phone on any particular day is determined solely by his charging behavior on the preceding day.
If the phone was charged the previous day, the probability it is charged today is \(0.4\).
If the phone was not charged the previous day, the probability it is charged today is \(p\).
The state of the system on day \(n\) is represented by the probability vector \(\mathbf{v}_n\), where:
\( \mathbf{v}_n = \begin{pmatrix} P(\text{Charged on day } n) \\ P(\text{Not charged on day } n) \end{pmatrix} \)
A Markov chain is established such that:
\( \mathbf{v}_{n+1} = \mathbf{M} \mathbf{v}_n \)
where the transition matrix \(\mathbf{M}\) takes the form \(\begin{pmatrix} a & p \\ b & 1-p \end{pmatrix}\).
(a) State the values of:
 (i) \(a\)
 (ii) \(b\)
On day zero (\(n=0\)), Kyth charges his phone. Calculate the probability that:
(i) Kyth charges his phone every day from \(n=1\) to \(n=4\).
(ii) Kyth charges his phone specifically on day \(4\), given that \(p=0.7\).
(c) Show that the vector \(\begin{pmatrix} 1 \\ -1 \end{pmatrix}\) is an eigenvector of \(\mathbf{M}\) for all valid values of \(p\), and determine the corresponding eigenvalue.
(d) Determine an expression for the steady-state probability that Kyth charges his phone, in terms of \(p\).
Kyth wishes to ensure that, in the long term, his phone is charged on at least \(60\%\) of days.
(e) Calculate the minimum value of \(p\) necessary to satisfy this long-term requirement.

Most-appropriate topic codes:

• AHL 4.19: Transition matrices, powers of matrices, Markov chains, and steady state vectors — parts (a), (b), (d), (e)
• AHL 1.15: Eigenvalues and eigenvectors — part (c)
▶️ Answer/Explanation

(a)
From the problem: If charged previous day, probability charges today is \(0.4\), so \(a = 0.4\).
Since rows sum to 1, \(b = 1 – 0.4 = 0.6\).

(i) \(\boxed{0.4}\)
(ii) \(\boxed{0.6}\)

(b)(i)
Initial state: charged on day 0 ⇒ \(v_0 = \begin{pmatrix} 1 \\ 0 \end{pmatrix}\).
To charge on all days 1 to 4 means sequence: C → C → C → C → C.
Probability = \(0.4^4 = 0.0256\).
\(\boxed{0.0256}\)

(b)(ii)
With \(p = 0.7\), \(M = \begin{pmatrix} 0.4 & 0.7 \\ 0.6 & 0.3 \end{pmatrix}\).
We need the first entry of \(v_4 = M^4 v_0\).
Compute \(M^4\) (using calculator):
\(M^4 \approx \begin{pmatrix} 0.5422 & 0.5341 \\ 0.4578 & 0.4659 \end{pmatrix}\).
Then \(v_4 = M^4 \begin{pmatrix} 1 \\ 0 \end{pmatrix} \approx \begin{pmatrix} 0.5422 \\ 0.4578 \end{pmatrix}\).
Probability charges on day 4 ≈ 0.542.
\(\boxed{0.542}\)

(c)
Let \(v = \begin{pmatrix} 1 \\ -1 \end{pmatrix}\).
Compute \(Mv = \begin{pmatrix} 0.4 & p \\ 0.6 & 1-p \end{pmatrix} \begin{pmatrix} 1 \\ -1 \end{pmatrix} = \begin{pmatrix} 0.4 – p \\ 0.6 – (1-p) \end{pmatrix} = \begin{pmatrix} 0.4 – p \\ p – 0.4 \end{pmatrix}\).
This equals \((0.4 – p) \begin{pmatrix} 1 \\ -1 \end{pmatrix}\).
Thus \(v\) is an eigenvector with eigenvalue \(\lambda = 0.4 – p\).
\(\boxed{\text{Eigenvalue } = 0.4 – p}\)

(d)
Steady state vector \(s = \begin{pmatrix} x \\ y \end{pmatrix}\) satisfies \(Ms = s\) and \(x + y = 1\).
From \(Ms = s\):
\(0.4x + py = x\) ⇒ \(py = 0.6x\) ⇒ \(y = \frac{0.6x}{p}\).
Using \(x + y = 1\):
\(x + \frac{0.6x}{p} = 1\) ⇒ \(x\left(1 + \frac{0.6}{p}\right) = 1\) ⇒ \(x = \frac{p}{p + 0.6}\).
\(\boxed{\frac{p}{p + 0.6}}\)

(e)
We require steady state probability \(\frac{p}{p + 0.6} \geq 0.6\).
\(\frac{p}{p + 0.6} \geq 0.6\) ⇒ \(p \geq 0.6(p + 0.6)\) ⇒ \(p \geq 0.6p + 0.36\) ⇒ \(0.4p \geq 0.36\) ⇒ \(p \geq 0.9\).
\(\boxed{p = 0.9}\)

Scroll to Top