jmaths
IB Mathematics: Applications and Interpretation HL · AHL 1: Graph Theory · AHL 1.13
Name Date
Exam practice: the whole unit Problem set B
Set out every algorithm. Marks are shown for the long questions.
Each question matches the question with the same number in set A. Do the ones you got wrong there.
Difficulty: first skills applying them stretch
Skills
-
The graph shows the ferry routes between six islands. Is it possible to start on one island, finish on a different island, and sail along every route exactly once? Give a reason.
-
The graph shows the roads between seven towns, with lengths in km. Find the shortest distance between:
- (a) A and F
- (b) A and G
- (c) C and G
- (d) C and F
-
The table shows the shortest distances, in minutes, between six places. Use the nearest neighbour algorithm, starting at E, to find an upper bound for the travelling salesman problem.
-
Use the graph. Sketch a minimum spanning tree for the subgraph with vertices A, B, C, E, F, G, then write down its total weight.
- (a) Write down the edges of the minimum spanning tree of the subgraph without D.
- (b) Write down its total weight.
In context
-
The vertices in the graph represent seven depots of a delivery company. The edges represent the roads between them. The weight on each edge is the driving time in minutes. It is found that the optimum solution starting at G is G-F-C-A-B-D-E-G. [17 marks]
- (a) Determine whether it is possible to complete a journey that starts and finishes at different towns and uses each road exactly once. Give a reason for your answer. [2 marks]
- (b) The table of shortest distances between the towns is built from the graph. Find the shortest distance between (i) C and E; (ii) B and F; (iii) E and F; (iv) D and G. [2 marks]
- (c) Use the nearest neighbour algorithm on the table of shortest distances, starting at G, to find an upper bound for the travelling salesman problem. [3 marks]
- (d) Sketch a minimum spanning tree for the subgraph with vertices A, B, C, D, E, F, and write down its total weight. [4 marks]
- (e) Hence find a lower bound for the travelling salesman problem. [2 marks]
- (f) Explain one way in which a better lower bound could be found. [1 mark]
- (g) Given that the length of each road shown on the graph is given to the nearest minute, find the lower bound for the total distance in the optimal solution. [3 marks]
Stretch
-
The table shows the shortest distances, in minutes, between six places. A route is needed that visits every place and returns to the start.
- (a) Use the nearest neighbour algorithm, starting at F, to find an upper bound.
- (b) Delete A and find a lower bound.
- (c) Explain how a better lower bound could be found. Then delete D and state the better of the two lower bounds.
jmaths.xyz · AI HL · AHL 1.13 Exam practice: the whole unit