D1 June 2013 (R) Q7

EdexcelOld spec7 marksShortest Path

7.

Figure 5: network of roads C1, C2, D, E, F, G, H, I, J with lengths in miles
Figure 5

Figure 5 represents a network of roads. The number on each arc represents the length, in miles, of the corresponding road. A large crane is required at J and it may be transported from either C1 or C2. A route of minimum length is required.

It is decided to use Dijkstra’s algorithm to find the shortest routes between C1 and J and between C2 and J.

(a) Explain why J, rather than C1 or C2, should be chosen as the starting vertex. (1)
(b) Use Dijkstra’s algorithm to find the shortest route needed to transport the crane. State your route and its length. (6)