Home / IB Mathematics AHL 4.19 Transition matrices AI HL Paper 1 – Exam Style Questions

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

Question

Krauss works at a coffee shop and finds that this month, \(65\%\) of customers ordered regular coffee and \(35\%\) of customers ordered decaf coffee. This information can be displayed as the following column vector: \(C=\begin{pmatrix}0.65\\0.35\end{pmatrix}\).

Krauss believes that customers change their choices each month according to the following transition matrix: \(T=\begin{pmatrix}0.8&0.3\\0.2&0.7\end{pmatrix}\).

(a) Use Krauss’ transition matrix to predict the proportion of customers who ordered regular coffee and decaf coffee in the previous month. \([3]\)

(b) Show that the only steady state vector is \(\begin{pmatrix}0.6\\0.4\end{pmatrix}\). \([4]\)

Total: \([7\text{ marks}]\)

▶️ Answer/Explanation

(a) Undo one transition using \(C_{\mathrm{previous}}=T^{-1}C\). [(M1)]
\(T^{-1}=\begin{pmatrix}1.4&-0.6\\-0.4&1.6\end{pmatrix}\). [(A1)]
Multiplication gives \(\boxed{C_{\mathrm{previous}}=\begin{pmatrix}0.7\\0.3\end{pmatrix}}\): \(70\%\) regular and \(30\%\) decaf. [A1]
Part (a): \(3\) marks.

(b) Let the steady state be \(\mathbf{s}=\begin{pmatrix}r\\d\end{pmatrix}\) and impose \(T\mathbf{s}=\mathbf{s}\). [M1]
This gives \(0.8r+0.3d=r\) and \(0.2r+0.7d=d\). [A1]
Both equations reduce to \(r=\frac32d\). [A1]
Since the proportions sum to \(1\), \(r+d=1\), so \(\frac52d=1\). [A1]
Hence, \(d=0.4\) and \(r=0.6\), uniquely. Therefore, \(\boxed{\mathbf{s}=\begin{pmatrix}0.6\\0.4\end{pmatrix}}\) is the only steady state probability vector. [AG]
Part (b): \(4\) marks.

Total: \(7\) marks.

Topic codes (IB Mathematics AI, first assessment \(2021\)):
AHL \(4.19\) — Transition matrices and steady state probabilities: (a), (b).
AHL \(1.14\) — Matrix inverses and multiplication: (a).

Question

A system is modeled by a two-state Markov chain with the transition matrix \(\mathbf{T} = \begin{pmatrix} p & 1-q \\ 1-p & q \end{pmatrix}\). It is given that \(\lambda = 1\) is an eigenvalue of this matrix.
(a) Determine the eigenvector that corresponds to the eigenvalue \(\lambda = 1\).
(b) Derive a simplified expression, in terms of \(p\) and \(q\), for the steady-state probability of the system being in state \(A\).
(c) Calculate the long-term proportion of time the system remains in state \(A\) when \(p=0.3\) and \(q=0.6\).

Most-appropriate topic codes:

• AHL 1.15: Eigenvalues and eigenvectors — part (a)
• AHL 4.19: Steady state and long-term probabilities in Markov chains — part (b) and Part (c)
▶️ Answer/Explanation
Detailed solution

(a)
To find the eigenvector \(\begin{pmatrix} x \\ y \end{pmatrix}\), we solve \((\mathbf{T} – \mathbf{I})\mathbf{v} = \mathbf{0}\):
\(\begin{pmatrix} p-1 & 1-q \\ 1-p & q-1 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}\).
From the first row: \((p-1)x + (1-q)y = 0\).
Rearranging gives \((1-p)x = (1-q)y\), which implies \(\frac{x}{y} = \frac{1-q}{1-p}\).
A corresponding eigenvector is \(\begin{pmatrix} 1-q \\ 1-p \end{pmatrix}\).

(b)
The steady-state proportion in state \(A\) is the value of \(x\) when the components of the eigenvector are normalized to sum to \(1\).
Proportion in \(A = \frac{x}{x+y} = \frac{1-q}{(1-q)+(1-p)} = \frac{1-q}{2-p-q}\).

(c)
Substituting \(p=0.3\) and \(q=0.6\) into the expression from part (b):
\(\frac{1-0.6}{2-0.3-0.6} = \frac{0.4}{1.1} = \frac{4}{11}\).
Proportion \(\approx 0.364\).

Scroll to Top