BREAKING
Imaginary number feels seen, refuses to be real★Matrices multiplied in wrong order, student loses faith★Proof by induction ends, nobody knows why it worked★
  1. Home
  2. A Level
  3. Further Mathematics
  4. Edexcel
  5. Shortest path

Edexcel A Level Further Maths

Topic questions Decision mathematics Shortest path

Shortest path

9 questions · 102 marks · about 2 hours

Shortest path questions

Edexcel 9FM0 Shortest path 9 questions

Paper 3D: Decision Mathematics 1 June 2024, Question 3 13 marks

Figure for question 3

[ The total weight of the network is 413]

Figure 1 represents a network of cycle tracks between ten towns, A, B, C, D, E, F, G, H, J and K. The number on each arc represents the length, in kilometres, of the corresponding track.

(a)

Use Dijkstra’s algorithm to find the shortest path from A to J.

[5]
Reveal mark scheme Mark scheme for question 3(a)
(b)

Abi needs to travel along every track shown in Figure 1 to check that they are all in good repair. She needs to start her inspection route at town G and finish her route at either town J or town K.

Abi wishes to minimise the total distance required to traverse every track.

By considering all relevant pairings of vertices, determine whether Abi should finish her inspection route at town J or town K. You must

• state which tracks she will repeat in her route

• state the total length of her route

[6]
Reveal mark scheme Mark scheme for question 3(b)
(c)

The direct track between town B and town C and the direct track between town H and town K are now closed to all users. A second person, Tarig, is asked to check all the remaining tracks starting at G and finishing at H.

Tarig wishes to minimise the total length of his inspection route.

Determine which route, Abi’s or Tarig’s, is shorter. You must make your working clear.

[2]
Reveal mark scheme Mark scheme for question 3(c)

Paper 3D: Decision Mathematics 1 June 2022, Question 2 13 marks

Figure for question 2

[ The total weight of the network is 299]

Figure 1 represents a network of cycle tracks between 10 landmarks, A, B, C, D, E, F, G, H, J and K. The number on each edge represents the length, in kilometres, of the corresponding track.

One day, Blanche wishes to cycle from A to K. She wishes to minimise the distance she travels.

(a)(i)

Use Dijkstra’s algorithm to find the shortest path from A to K.

(a)(ii)

State the length of the shortest path from A to K.

[6]
(b)(i)

The cycle tracks between the landmarks now need to be inspected. Blanche must travel along each track at least once. She wishes to minimise the length of her inspection route. Blanche will start her inspection route at D and finish at E.

State the edges that will need to be traversed twice.

(b)(ii)

Find the length of Blanche’s route.

[2]
Reveal mark scheme Mark scheme for question 2(b)(ii)
(c)

It is now decided to start the inspection route at A and finish at K. Blanche must minimise the length of her route and travel along each track at least once.

By considering the pairings of all relevant nodes, find the length of Blanche’s new route. You must make your method and working clear.

[5]
Reveal mark scheme Mark scheme for question 2(c)

Paper 3D: Decision Mathematics 1 June 2022, Question 3 10 marks

The initial distance matrix (Table 1) shows the lengths, in metres, of the corridors connecting six classrooms, A, B, C, D, E and F, in a school. For safety reasons, some of the corridors are one‑way only.

Figure for question 3
(a)

By adding the arcs from vertex A, along with their weights, complete the drawing of this network on Diagram 1 in the answer book.

[2]
Reveal mark scheme Mark scheme for question 3(a)
(b)

Floyd’s algorithm is to be used to find the complete network of shortest distances between the six classrooms.

The distance matrix after two iterations of Floyd’s algorithm is shown in Table 2.

Figure for question 3

Perform the next two iterations of Floyd’s algorithm that follow from Table 2. You should show the distance matrix after each iteration.

[4]
Reveal mark scheme Mark scheme for question 3(b)
(c)(i)

The final distance matrix after completion of Floyd’s algorithm is shown in Table 3.

Figure for question 3

Yinka must visit each classroom. He will start and finish at E and wishes to minimise the total distance travelled.

Use the nearest neighbour algorithm, starting at E, to find two Hamiltonian cycles in the completed network of shortest distances.

(c)(ii)

Find the length of each of the two cycles.

(c)(iii)

State, with a reason, which of the two cycles provides the better upper bound for the length of Yinka’s route.

[4]

Paper 3D: Decision Mathematics 1 November 2021, Question 4 8 marks

A 57 B

Figure for question 4

[ The total weight of the network is 1648]

Direct roads between six cities, A, B, C, D, E and F, are represented in Figure 3. The weight on each arc is the time, in minutes, required to travel along the corresponding road.

Floyd’s algorithm is to be used to find the complete network of shortest times between the six cities.

An initial route matrix is given in the answer book.

(a)

Set up the initial time matrix.

[1]
Reveal mark scheme Mark scheme for question 4(a)
(b)

Perform the first iteration of Floyd’s algorithm. You should show the time and route matrices after this iteration.

The final time matrix after completion of Floyd’s algorithm is shown below.

ABCDEF
A–579514763220
B57–72204120197
C9572–242158125
D147204242–84275
E6312015884–191
F220197125275191–
[2]
Reveal mark scheme Mark scheme for question 4(b)
(c)

A route is needed that minimises the total time taken to traverse each road at least once.

The route must start at B and finish at E.

Use an appropriate algorithm to find the roads that will need to be traversed twice. You should make your method and working clear.

[4]
Reveal mark scheme Mark scheme for question 4(c)
(d)

Write down the length of the route.

[1]
Reveal mark scheme Mark scheme for question 4(d)

Paper 3D: Decision Mathematics 1 November 2021, Question 6 10 marks

Figure for question 6

In Figure 4 the weights on the arcs represent distances.

(a)(i)

Use Dijkstra’s algorithm to find the shortest path from A to H.

Reveal mark scheme Mark scheme for question 6(a)(i)
(a)(ii)

State the length of the shortest path from A to H.

[6]
Reveal mark scheme Mark scheme for question 6(a)(ii)
(b)

One application of Dijkstra’s algorithm has order n2, where n is the number of nodes in the network. A computer produces a table of shortest distances between any two different nodes by repeatedly applying Dijkstra’s algorithm from each node of the network.

It takes the computer 0.082 seconds to produce a table of shortest distances for a network of 10 nodes.

Calculate approximately how long it will take, in seconds, for the computer to produce a table of shortest distances for a network with 200 nodes. You must give a reason for your answer.

[3]
Reveal mark scheme Mark scheme for question 6(b)
(c)

Explain why your answer to part (b) can only be an approximation.

[1]
Reveal mark scheme Mark scheme for question 6(c)

Paper 3D: Decision Mathematics 1 October 2020, Question 3 9 marks

Figure for question 3

Direct roads between five villages, A, B, C, D and E, are shown in Figure 2. The weight on each arc is the time, in minutes, it takes to travel along the corresponding road. The road from D to C is 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 five villages.

(a)

Set up initial time and route matrices.

The matrices after two iterations of Floyd’s algorithm are shown below.

Time matrix
Route matrix

ABCDEABCDE
A–84718AABCDB
B8–31510BABCAE
C43–116CABCAE
D7151–1DAACDE
E181061–EBBCDE
[2]
Reveal mark scheme Mark scheme for question 3(a)
(b)

Perform the next two iterations of Floyd’s algorithm that follow from the tables above. You should show the time and route matrices after each iteration.

The final time matrix after completion of Floyd’s algorithm is shown below.

Final time matrix

ABCDE
A–7478
B7–3109
C43–76
D541–1
E6521–
[4]
Reveal mark scheme Mark scheme for question 3(b)
(c)(i)

Use the nearest neighbour algorithm, starting at A, to find a Hamiltonian cycle in the complete network of shortest times.

(c)(ii)

Find the time taken for this cycle.

(c)(iii)

Interpret the cycle in terms of the actual villages visited.

[3]
Reveal mark scheme Mark scheme for question 3(c)(iii)

Paper 3D: Decision Mathematics 1 October 2020, Question 6 11 marks

Figure for question 6

[ The total weight of the network is 320 + x + y ]

(a)

State, with justification, whether the graph in Figure 4 is Eulerian, semi-Eulerian or neither.

[2]
Reveal mark scheme Mark scheme for question 6(a)
(b)

The weights on the arcs in Figure 4 represent distances. The weight on arc EF is x where 12 maths symbol x maths symbol 26 and the weight on arc DG is y where 0 maths symbol y maths symbol 10

An inspection route of minimum length that traverses each arc at least once is found. The inspection route starts and finishes at A and has a length of 409

It is also given that the length of the shortest route from F to G via A is 140

Using appropriate algorithms, find the value of x and the value of y.

[9]
Reveal mark scheme Mark scheme for question 6(b)

Paper 3D: Decision Mathematics 1 June 2019, Question 2 14 marks

Figure for question 2

[ The total weight of the network is 370]

Figure 1 represents a network of corridors in a building. The number on each arc represents the length, in metres, of the corresponding corridor.

(a)

Use Dijkstra’s algorithm to find the shortest path from A to D, stating the path and its length.

[6]
Reveal mark scheme Mark scheme for question 2(a)
(b)

On a particular day, Naasir needs to check the paintwork along each corridor. Naasir must find a route of minimum length. It must traverse each corridor at least once, starting at B and finishing at G.

Use an appropriate algorithm to find the arcs that will need to be traversed twice. You must make your method and working clear.

[4]
Reveal mark scheme Mark scheme for question 2(b)
(c)

Find the length of Naasir’s route.

[1]
Reveal mark scheme Mark scheme for question 2(c)
(d)(i)

On a different day, all the corridors that start or finish at B are closed for redecorating. Naasir needs to check all the remaining corridors and may now start at any vertex and finish at any vertex. A route is required that excludes all those corridors that start or finish at B.

Determine the possible starting and finishing points so that the length of Naasir’s route is minimised. You must give reasons for your answer.

Reveal mark scheme Mark scheme for question 2(d)(i)
(d)(ii)

Find the length of Naasir’s new route.

[3]
Reveal mark scheme Mark scheme for question 2(d)(ii)

Paper 3D: Decision Mathematics 1 June 2019, Question 3 14 marks

Figure for question 3

The network in Figure 2 shows the direct roads linking five villages, A, B, C, D and E. The number on each arc represents the length, in miles, of the corresponding road. The roads from A to E and from C to B are one-way, as indicated by the arrows.

(a)

Complete the initial distance and route tables for the network provided in the answer book.

[2]
Reveal mark scheme Mark scheme for question 3(a)
(b)

Perform the first three iterations of Floyd’s algorithm. You should show the distance table and the route table after each of the three iterations.

Figure for question 3
[5]
Reveal mark scheme Mark scheme for question 3(b)
(c)(i)

Explain how the partially completed final route table can be used to find the shortest route from E to A.

Reveal mark scheme Mark scheme for question 3(c)(i)
(c)(ii)

State this route.

[3]
Reveal mark scheme Mark scheme for question 3(c)(ii)
(d)(i)

Mabintou decides to use the distance table to try to find the shortest cycle that passes through each vertex. Starting at D, she applies the nearest neighbour algorithm to the final distance table.

State the cycle obtained using the nearest neighbour algorithm.

(d)(ii)

State the length of this cycle.

Reveal mark scheme Mark scheme for question 3(d)(ii)
(d)(iii)

Interpret the cycle in terms of the actual villages visited.

(d)(iv)

Prove that Mabintou’s cycle is not optimal.

[4]
Reveal mark scheme Mark scheme for question 3(d)(iv)

Report a problem with a question on this page
What is wrong?

Goes to whoever maintains the question split. No account needed and nothing is published on this page.

Memes

Certified Further Maths memes. Peer-reviewed by nobody.

Laugh now. Cry in the exam hall later. Then come back and do a past paper.

Prove it by induction
Write ‘clearly’ and move on
Me on the final ‘show that’
Using the formula booklet
Proving it by induction
Writing ‘by symmetry’ to skip half the work
Writing ‘trivially’ and daring the examiner
Further enlightenment, ranked

Mum 💖

how's further maths going?? 🥰

my answers are all complex rn

keep it simple love 💖

📱 Screen time this week · Spotify4h 59m

The answer was i. Nobody knows why

Further Maths starter pack

Calculator that does matricesProof that’s 3 pages longArgand diagram doodlesThis website
Collect all four. Prove it.