IB Mathematics AHL 4.15 A linear combination of n independent normal AI HL Paper 3- Exam Style Questions- New Syllabus
Question
This question is about different routes in a town.
The following graph represents a network of eight roads between five junctions, \(A\), \(B\), \(C\), \(D\), and \(E\), in a town.

(a) (i) Write down the adjacency matrix for this graph. \([2]\)
(ii) Hence find the number of ways to travel from Junction \(A\) to Junction \(D\) using exactly four roads. The roads can be repeated. \([3]\)
On each day when there is snow, Leon drives a vehicle called a gritter to spread grit on the roads. The five junctions \(A\), \(B\), \(C\), \(D\), and \(E\) must be connected by gritted roads, but the connections do not need to be direct. Leon’s gritter dispenses \(30\,\mathrm{kg}\) of grit per minute.
The following table shows the number of minutes it takes Leon to grit each road.
| \(A\) | \(B\) | \(C\) | \(D\) | \(E\) | |
|---|---|---|---|---|---|
| \(A\) | \(-\) | \(5\) | \(-\) | \(4\) | \(9\) |
| \(B\) | \(5\) | \(-\) | \(7\) | \(2\) | \(8\) |
| \(C\) | \(-\) | \(7\) | \(-\) | \(5\) | \(-\) |
| \(D\) | \(4\) | \(2\) | \(5\) | \(-\) | \(6\) |
| \(E\) | \(9\) | \(8\) | \(-\) | \(6\) | \(-\) |
(b) (i) State an appropriate algorithm to find a minimum spanning tree for the road network. \([1]\)
(ii) Use this algorithm to determine which roads should be gritted. \([3]\)
(iii) Find the minimum amount of grit Leon will need to grit these roads. \([2]\)
On each day when there is no snow, Leon drives a street sweeper and must sweep every road in the network. The sweeper travels at the same speed as the gritter.
(c) (i) Find the minimum amount of time it takes Leon to sweep every road, beginning and ending his route at \(A\). Justify your answer. \([4]\)
(ii) State a valid route and justify why it minimizes the time taken. \([1]\)
Leon learns that there will be maintenance work on the roads he must sweep. Each day, exactly one of the eight roads will be affected. The maintenance work doubles the time it takes to drive along that road. He must still begin and end his route at \(A\).
(d) (i) Identify the road on which maintenance work will cause Leon to change his route. \([1]\)
(ii) Determine the maximum amount of time the maintenance work will add to Leon’s minimum route on this day. Justify your answer. \([2]\)
A new school opens in the town, and Leon’s route now passes the school crossing twice each day. Each time Leon passes the crossing, there is a \(25\%\) chance he must stop for children.
If he must stop, the amount of time he waits can be modelled by a normal distribution with a mean of \(3\) minutes and a standard deviation of \(0.8\) minutes.
(e) (i) Show that the probability that Leon will not have to stop is \(0.5625\). \([1]\)
(ii) Find the value of \(p\) and the value of \(q\) to complete the following probability distribution table for the number of times Leon will have to stop. \([2]\)
| Number of stops | \(0\) | \(1\) | \(2\) |
| Probability | \(0.5625\) | \(p\) | \(q\) |
(iii) Find the probability that, on a given day, the total amount of time Leon will wait at the crossing is at least \(4\) minutes. \([7]\)
Relevant formula booklet relationships for independent random variables:
\[ \mathrm{E}(X+Y)=\mathrm{E}(X)+\mathrm{E}(Y),\qquad \mathrm{Var}(X+Y)=\mathrm{Var}(X)+\mathrm{Var}(Y). \]
Useful facts and relationships:
The \((i,j)\) entry of the \(k\)th power of an adjacency matrix gives the number of walks of length \(k\) from vertex \(i\) to vertex \(j\).
A connected graph has an Eulerian circuit when every vertex has even degree. To obtain a minimum closed route covering all edges, connect odd-degree vertices by repeated paths of minimum total weight.
If \(X\) and \(Y\) are independent normal random variables, then \(X+Y\) is normal, with the means and variances added.
\[ P(W\ge4)=\sum_{n=0}^{2}P(N=n)P(W\ge4\mid N=n), \]
where \(N\) is the number of stops and \(W\) is the total waiting time.
Total: \([29\text{ marks}]\)
▶️ Answer/Explanation
(a)(i) Adjacency matrix
Using the vertex order \(A,B,C,D,E\),
\[ \boxed{ M= \begin{pmatrix} 0&1&0&1&1\\ 1&0&1&1&1\\ 0&1&0&1&0\\ 1&1&1&0&1\\ 1&1&0&1&0 \end{pmatrix}. } \] A2
(a)(ii) Walks using exactly four roads
Calculate \(M^4\), since each walk must contain exactly four edges. (M1)
\[ M^4= \begin{pmatrix} 25&26&18&26&24\\ 26&34&17&33&26\\ 18&17&14&17&18\\ 26&33&17&34&26\\ 24&26&18&26&25 \end{pmatrix}. \]
The first row is \((25,26,18,26,24)\). (A1)
The entry in row \(A\), column \(D\), is \(26\). Therefore, there are \(\boxed{26\text{ ways}}\). A1
Part (a): \([5\text{ marks}]\).
(b)(i) Algorithm
Use Kruskal’s algorithm. A1
(b)(ii) Minimum spanning tree
Select the smallest-weight edges without creating a cycle:
First choose \(BD\), with weight \(2\). A1
Next choose \(AD\), with weight \(4\), and \(CD\), with weight \(5\). Reject \(AB\), since it would create a cycle with \(AD\) and \(BD\). A1
Finally choose \(DE\), with weight \(6\), to connect the remaining vertex. A1
The roads to grit are \(\boxed{BD,\ AD,\ CD,\ DE}\).
(b)(iii) Amount of grit
The total gritting time is
\[2+4+5+6=17\text{ minutes}.\] (M1)
At \(30\,\mathrm{kg}\) per minute, the grit required is
\[\boxed{17(30)=510\,\mathrm{kg}.}\] A1
Part (b): \([6\text{ marks}]\).
(c)(i) Minimum sweeping time
A closed route covering every road requires an Eulerian circuit after any necessary repeated roads are included. (M1)
The vertex degrees are \(\deg(A)=3\), \(\deg(B)=4\), \(\deg(C)=2\), \(\deg(D)=4\), and \(\deg(E)=3\). Thus \(A\) and \(E\) are the only odd-degree vertices. (M1)
The shortest connection between them is the direct road \(AE\), with weight \(9\), rather than \(ADE\), with weight \(10\). Therefore, repeat \(AE\). (A1)
The total weight of the eight roads is \(5+4+9+7+2+8+5+6=46\).
Hence the minimum sweeping time is \(\boxed{46+9=55\text{ minutes}}\). A1
(c)(ii) Valid minimum route
\[\boxed{A-B-C-D-B-E-D-A-E-A.}\] A1
This circuit uses every road and repeats only \(AE\), the shortest path joining the two odd-degree vertices.
Part (c): \([5\text{ marks}]\).
(d)(i) Road that changes the optimal route
\(\boxed{AE}\). A1
(d)(ii) Maximum additional time
If maintenance affects \(AE\), its time increases from \(9\) to \(18\) minutes. The shortest path to repeat between \(A\) and \(E\) then becomes \(ADE\), with time \(4+6=10\), rather than the direct road.
This adds \(9\) minutes to the time for covering every road once and a further \(1\) minute to the minimum repeated-path time. R1
The new minimum is \(46+9+10=65\) minutes, so the additional time is
\[\boxed{65-55=10\text{ minutes}.}\] A1
Maintenance on any other single road adds at most \(8\) minutes while the repeated path \(AE\) remains optimal.
Part (d): \([3\text{ marks}]\).
(e)(i) Probability of no stops
Treating the two crossing visits as independent,
\[P(N=0)=(1-0.25)^2=(0.75)^2.\] A1
Therefore, \(\boxed{P(N=0)=0.5625}\). AG
(e)(ii) Missing probabilities
Exactly one stop can occur on either visit:
\[\boxed{p=2(0.25)(0.75)=0.375.}\] A1
For two stops, \(\boxed{q=(0.25)^2=0.0625}\). A1
(e)(iii) Total waiting time of at least \(4\) minutes
If Leon stops once, his waiting time \(X\) has distribution \(N(3,0.8^2)\). A GDC gives
\[P(X\ge4)=0.105649773\ldots.\] (A1)
The contribution from exactly one stop is
\[0.375(0.105649773\ldots)=0.039618665\ldots.\] (A1)
If he stops twice, add two independent waiting times, \(X_1+X_2\). (M1)
Their total has mean \(3+3=6\) and variance \(0.8^2+0.8^2=1.28\). Therefore,
\[X_1+X_2\sim N(6,1.28).\] (A1)
Using standard deviation \(\sqrt{1.28}\),
\[P(X_1+X_2\ge4)=0.961450064\ldots.\] (A1)
Weight this probability by the probability of two stops and add the one-stop contribution. The no-stop case contributes zero. (M1)
\[ \begin{aligned} P(W\ge4) &=0.375(0.105649773\ldots) +0.0625(0.961450064\ldots)\\ &=0.099709294\ldots. \end{aligned} \]
✅ Answer: \(\boxed{P(W\ge4)=0.0997}\). A1
Part (e): \([10\text{ marks}]\). Total: \([29\text{ marks}]\).
AHL 3.15 — Adjacency matrices and counting walks using matrix powers: (a).
AHL 3.16 — Minimum spanning trees, Eulerian circuits, and the Chinese postman problem: (b), (c), (d).
AHL 4.15 — Waiting-time model using sums of independent normal random variables: (e).
Question
\( \begin{array}{|c|c|c|c|c|c|c|c|c|c|} \hline 54.5 & 52.4 & 50.4 & 54.3 & 54.2 & 53.1 & 50.2 & 51.8 & 52.2 & 53.5 \\ \hline \end{array} \)
\( \begin{array}{|c|c|c|c|c|c|c|c|c|} \hline \text{Hen} & \text{A} & \text{B} & \text{C} & \text{D} & \text{E} & \text{F} & \text{G} & \text{H} \\ \hline \text{Mass before (g)} & 53.8 & 51.5 & 49.3 & 52.3 & 46.4 & 55.0 & 51.2 & 52.4 \\ \hline \text{Mass after (g)} & 55.1 & 51.9 & 50.0 & 54.8 & 47.3 & 53.5 & 52.2 & 54.4 \\ \hline \end{array} \)
Most-appropriate topic codes:
• TOPIC AHL 4.15: Central Limit Theorem and sampling distributions — part (b)
• TOPIC AHL 4.16: Confidence intervals for the mean — part (d)
• TOPIC AHL 4.17: Null and alternative hypotheses, p-values, and t-tests — parts (c), (f)
• TOPIC AHL 4.18: F-tests for equality of variance and critical regions — parts (c), (f), (h)
▶️ Answer/Explanation
(a)
First, find the probability that a single egg weighs at least 55.0 g:
\( X \sim N(52.0, 3.7^2) \)
\( P(X \geq 55.0) = P\left(Z \geq \frac{55.0 – 52.0}{3.7}\right) = P(Z \geq 0.8108…) \)
Using normal distribution tables or GDC: \( P(Z \geq 0.8108) = 0.208737… \)
Let \( Y \) be the number of eggs (out of 25) that weigh at least 55.0 g.
Then \( Y \sim B(25, 0.208737…) \)
We want \( P(Y \geq 5) = 1 – P(Y \leq 4) \)
Using binomial cumulative distribution:
\( P(Y \geq 5) = 0.621150… \approx 0.621 \)
\( \boxed{0.621} \)
(b)
Let \( \bar{X} \) be the sample mean weight of 25 eggs.
By Central Limit Theorem: \( \bar{X} \sim N\left(52.0, \frac{3.7^2}{25}\right) \)
So variance = \( \frac{3.7^2}{25} \) and standard deviation = \( \frac{3.7}{5} = 0.74 \)
We want \( P(51 < \bar{X} < 53) \):
Standardize: \( z_1 = \frac{51 – 52.0}{0.74} = -1.3514 \)
\( z_2 = \frac{53 – 52.0}{0.74} = 1.3514 \)
\( P(51 < \bar{X} < 53) = P(-1.3514 < Z < 1.3514) \)
Using normal distribution: \( = 0.823417… \approx 0.823 \)
\( \boxed{0.823} \)
(c)
Step 1: State hypotheses
\( H_0: \mu = 52.0 \) (population mean weight is 52.0 g)
\( H_1: \mu > 52.0 \) (population mean weight has increased)
Step 2: Calculate sample statistics from Table 1
Sample size \( n = 10 \)
Sample mean \( \bar{x} = \frac{54.5 + 52.4 + 50.4 + 54.3 + 54.2 + 53.1 + 50.2 + 51.8 + 52.2 + 53.5}{10} = 52.66 \)
Sample standard deviation \( s = 1.668… \) (using GDC)
Step 3: Perform one-sample t-test
Test statistic: \( t = \frac{\bar{x} – \mu_0}{s/\sqrt{n}} = \frac{52.66 – 52.0}{1.668/\sqrt{10}} = 1.250… \)
Degrees of freedom = \( n – 1 = 9 \)
p-value = \( P(T_9 > 1.250…) = 0.105055… \)
Step 4: Compare p-value with significance level
\( 0.105 > 0.05 \)
Since p-value > 0.05, we fail to reject \( H_0 \)
Step 5: Conclusion
There is insufficient evidence at the 5% significance level to conclude that the mean weight of eggs has increased from 52.0 g.
\( \boxed{\text{Insufficient evidence to reject } H_0} \)
(d)
For 99% confidence interval with \( n = 10 \), \( \bar{x} = 52.66 \), \( s = 1.668 \):
Degrees of freedom = 9, \( t^*_{0.005, 9} = 3.2498 \) (from t-distribution table)
Confidence interval: \( \bar{x} \pm t^* \times \frac{s}{\sqrt{n}} \)
\( = 52.66 \pm 3.2498 \times \frac{1.668}{\sqrt{10}} \)
\( = 52.66 \pm 1.713… \)
\( = (50.95, 54.37) \)
Or using GDC directly: (51.0712…, 54.2488…)
\( \boxed{(51.1, 54.2)} \) (to 3 significant figures)
(e)
(i) Since the same 8 chickens are measured before and after, this is a paired t-test.
\( \boxed{\text{Paired t-test}} \)
(ii) One necessary assumption: The differences in weights are normally distributed.
\( \boxed{\text{Differences are normally distributed}} \)
(f)
Step 1: Calculate differences (after – before)
Differences: 1.3, 0.4, 0.7, 2.5, 0.9, -1.5, 1.0, 2.0
Mean difference \( \bar{d} = 0.9125 \)
Standard deviation of differences \( s_d = 1.093… \)
Step 2: State hypotheses
\( H_0: \mu_d = 0 \) (no change in mean weight)
\( H_1: \mu_d > 0 \) (mean weight has increased)
Step 3: Perform paired t-test
Test statistic: \( t = \frac{\bar{d} – 0}{s_d/\sqrt{n}} = \frac{0.9125}{1.093/\sqrt{8}} = 2.360… \)
Degrees of freedom = 7
p-value = \( P(T_7 > 2.360…) = 0.0250… \)
Step 4: Compare p-value with significance level
\( 0.0250 < 0.05 \)
Since p-value < 0.05, we reject \( H_0 \)
Step 5: Conclusion in context
There is sufficient evidence at the 5% significance level to conclude that the mean weight of the chickens’ eggs has increased following the new feed.
\( \boxed{\text{Reject } H_0 \text{, mean weight has increased}} \)
(g)
From Table 1 data, calculate unbiased variance estimate:
Using GDC or formula: \( s_G^2 = \frac{\sum (x_i – \bar{x})^2}{n-1} \)
With \( n = 10 \), \( \bar{x} = 52.66 \):
\( s_G^2 = 2.391555… \)
\( \boxed{2.39} \) (to 3 significant figures)
(h)
For F-test: \( F = \frac{s_R^2}{s_G^2} \)
Critical value \( F_{\text{crit}} = 3.1789 \) at 5% level
For t-test to be valid (equal variances), we need \( F \leq F_{\text{crit}} \)
So \( \frac{s_R^2}{s_G^2} \leq 3.1789 \)
\( s_R^2 \leq 3.1789 \times s_G^2 \)
\( s_R^2 \leq 3.1789 \times 2.391555… \)
\( s_R^2 \leq 7.602… \)
Maximum value of \( s_R^2 \) = 7.60 (to 3 significant figures)
\( \boxed{7.60} \)
