IB Mathematics AHL 3.16 Walks, trails, paths, circuits, cycles AI HL Paper 2- Exam Style Questions- New Syllabus
Question


(ii) Write down the total weight of the minimum spanning tree.
Given that the length of each road shown on the graph is given to the nearest kilometre,
Most-appropriate topic codes:
• AHL 3.16: Minimum spanning tree (MST) algorithms (Kruskal’s and Prim’s) — part (d)
• AHL 3.16: Travelling salesman problem: nearest neighbour and deleted vertex algorithms — parts (b), (c), (e), (f), and (g)
▶️ Answer/Explanation
(a)
It is not possible because there are more than two vertices with odd degree (specifically, four vertices have odd degrees). An Euler path exists only if exactly zero or two vertices have odd degree.
(b)
By reading the weights directly from the graph: \(a = 11, b = 18, c = 17, d = 15\).
(c)
Nearest Neighbour from \(G\):
\(G \to E\) (11), \(E \to F\) (4), \(F \to B\) (3), \(B \to D\) (5), \(D \to A\) (5), \(A \to C\) (18), \(C \to G\) (8).
Total distance \(= 11 + 4 + 3 + 5 + 5 + 18 + 8 = 54\).
Upper Bound = 54 km.
(d)
(i) MST edges: \(BF\) (3), \(EF\) (4), \(BD\) (5), \(DA\) (5), \(CD\) (15).
(ii) Total weight \(= 3 + 4 + 5 + 5 + 15 = 24\).
Weight = 24 km.
(e)
Lower Bound \(= \text{MST weight} + \text{two shortest edges from deleted vertex } G\).
Shortest edges from \(G\) are \(GE\) (11) and \(GB\) (13).
Lower Bound \(= 24 + 11 + 13 = 48\).
Lower Bound = 48 km.
(f)
An improved lower bound could be found by removing a different vertex (one at a time), calculating the corresponding lower bound for each, and selecting the maximum value obtained.
(g)
There are 7 edges in the optimal route. Since weights are to the nearest km, each edge distance \(L\) satisfies \(w – 0.5 \le L < w + 0.5\).
Using the total rounded distance of 52:
Lower bound \(= 52 – (7 \times 0.5) = 48.5\).
Lower bound = 48.5 km.
Markscheme:
(a) more than two vertices with odd degree, so not possible [R1A1]
(b) a=11, b=18, c=17, d=15 [A2]
(c) path G-E-F-B-D-A-C-G, upper bound = 54 [M1A1A1]
(d) (ii) 24 [A1]
(e) 24 + 11 + 13 = 48 [M1A1]
(f) try removing a different vertex [A1]
(g) 52 – 7 × 0.5 = 48.5 [M1M1A1]
