Date | November 2016 | Marks available | 5 | Reference code | 16N.3dm.hl.TZ0.4 |
Level | HL only | Paper | Paper 3 Discrete mathematics | Time zone | TZ0 |
Command term | Find | Question number | 4 | Adapted from | N/A |
Question
The simple, complete graph κn(n>2) has vertices A1, A2, A3, …, An. The weight of the edge from Ai to Aj is given by the number i+j.
Consider the general graph κn.
(i) Draw the graph κ4 including the weights of all the edges.
(ii) Use the nearest-neighbour algorithm, starting at vertex A1, to find a Hamiltonian cycle.
(iii) Hence, find an upper bound to the travelling salesman problem for this weighted graph.
Consider the graph κ5. Use the deleted vertex algorithm, with A5 as the deleted vertex, to find a lower bound to the travelling salesman problem for this weighted graph.
(i) Use the nearest-neighbour algorithm, starting at vertex A1, to find a Hamiltonian cycle.
(ii) Hence find and simplify an expression in n, for an upper bound to the travelling salesman problem for this weighted graph.
By splitting the weight of the edge AiAj into two parts or otherwise, show that all Hamiltonian cycles of κn have the same total weight, equal to the answer found in (c)(ii).
Markscheme
(i) A1A1
Note: A1 for the graph, A1 for the weights.
(ii) cycle is A1A2A3A4A1 A1
(iii) upper bound is 3+5+7+5=20 A1
[4 marks]
with A5 deleted, (applying Kruskal’s Algorithm) the minimum spanning tree will consist of the edges A1A2, A1A3, A1A4, of weights 3, 4, 5 (M1)A1
the two edges of smallest weight from A5 are A5A1 and A5A2 of weights 6 and 7 (M1)A1
so lower bound is 3+4+5+6+7=25 A1
[5 marks]
(i) starting at A1 we go A2, A3 … An
we now have to take AnA1
thus the cycle is A1A2A3…An−1AnA1 A1A1
Note: Final A1 is for AnA1.
(ii) smallest edge from A1 is A1A2 of weight 3, smallest edge from A2 (to a new vertex) is A2A3 of weight 5, smallest edge from An−1 (to a new vertex) is An−1An of weight 2n−1 (M1)
weight of AnA1 is n+1
weight is 3+5+7+…+(2n−1)+(n+1) A1
=(n−1)2(2n+2)+(n+1) M1A1
=n(n+1) (which is an upper bound) A1
Note: Follow through is not applicable.
[7 marks]
put a marker on each edge AiAj so that i of the weight belongs to vertex Ai and j of the weight belongs to vertex Aj M1
the Hamiltonian cycle visits each vertex once and only once and for vertex Ai there will be weight i (belonging to vertex Ai) both going in and coming out R1
so the total weight will be n∑i=12i=2n2(n+1)=n(n+1) A1AG
Note: Accept other methods for example induction.
[3 marks]