Question 3
Edexcel Further Maths June 2025 9FM0-3D A Level Decision Mathematics 1A level10 marks
On the specification
- (a)
- 3D 2.1 Minimum spanning tree (minimum connector)
- (b)
- 3D 2.2 Dijkstra's and Floyd's algorithms
Question text
3. G 12 F 11 47 24 14 A 35 E 9 35 31 25 11 8 B 40 17 D C Figure 1 Direct roads between seven villages, A, B, C, D, E, F and G, are represented in Figure 1. The weight on each arc is the time, in minutes, taken to travel along the corresponding road. Three roads, AB, AD and GE, are one-way, as indicated by the arrow on the corresponding arc. Floyd’s algorithm is to be used to find the complete network of shortest times between the seven villages. (a) Set up an initial time matrix for this network. (2) The time matrix after three iterations of Floyd’s algorithm is shown below. A B C D E F G A – 9 49 17 35 44 11 B ∞ – 40 8 ∞ 35 87 C ∞ 40 – 17 ∞ 75 47 D ∞ 8 17 – 11 31 64 E 35 44 84 11 – 14 46 F ∞ 35 75 31 14 – 12 G 11 20 47 28 24 12 – (b) Perform the next two iterations of Floyd’s algorithm that follow from the table above. You should show only the time matrix after each iteration. (5) The final time matrix after completion of Floyd’s algorithm is shown below. A B C D E F G A – 9 34 17 28 23 11 B 54 – 25 8 19 33 45 C 58 25 – 17 28 42 47 D 46 8 17 – 11 25 37 E 35 19 28 11 – 14 26 F 23 32 42 25 14 – 12 G 11 20 45 28 24 12 – Albert must visit each village. He will start and finish at B and wishes to minimise the total time taken to visit each village. (c) (i) Use the nearest neighbour algorithm, starting at B, to find a Hamiltonian cycle in the complete network of shortest times shown above. (ii) Find the total travel time for this cycle. (iii) Given that he travels the Hamiltonian cycle found in (c)(i), interpret this cycle in terms of the actual villages visited by Albert. (3) (Total for Question 3 is 10 marks)