Skip to content

Edexcel A-level Further Maths revision notes

Algorithms on graphs II

Section D1-3
Both years
Both years: this holds AS subject content and content the exam board adds beyond it for the full A-level.
2 specification points

Notes and three levels of exam-style practice for each registered specification point in this section.

Checked against Edexcel 9FM0 section D1-3

Checked against Edexcel 9FM0 section D1-3. Review basis: the qualification registry sourced from the Pearson Edexcel Level 3 Advanced GCE in Further Mathematics (9FM0) specification; registry verification recorded 17 July 2026.

How this checking works

In the exam: Formulae booklet provided · calculator allowed in every paper

Open the printable pack
D1-3.1

Algorithm for finding the shortest route around a network, travelling along every edge at least once and ending at the start vertex (the Route Inspection Algorithm).

Notes
Evidence from your answers: none yet
Your confidence:

A self-report of how sure you feel. It does not measure mastery. Evidence from your answers reaches secure after the latest Tier 2/3 attempt is correct, with three correct distinct drills across at least two dates and two practice sources.

Explanation

  • The route inspection, or Chinese postman, problem asks for the shortest closed route that uses every arc of a network at least once. If every vertex has even order the network is Eulerian and the answer is simply the total weight of the network.
  • Otherwise the odd vertices must be paired up and the shortest path between each pair repeated, because repeating a path raises the order of its two endpoints by one and leaves every internal vertex even.
  • With four odd vertices there are exactly three pairings to test; with six there are fifteen, which is why the specification limits questions to at most four odd vertices unless extra information restricts the pairings.
  • Work out the shortest path for each pair, total each pairing, choose the smallest total, and add it to the weight of the network.
  • If the route may start and finish at different vertices, leave the two odd vertices with the largest shortest path between them unpaired and repeat the best pairing of the remaining two.
Worked example

A network of total weight 6060 has odd vertices PP, QQ, RR, SS with shortest paths PQ=8PQ=8, PR=13PR=13, PS=10PS=10, QR=9QR=9, QS=15QS=15, RS=6RS=6. Find the length of the shortest closed route covering every arc.

  1. 1.The three pairings are PQ+RSPQ+RS, PR+QSPR+QS and PS+QRPS+QR.
  2. 2.PQ+RS=8+6=14PQ+RS=8+6=14.
  3. 3.PR+QS=13+15=28PR+QS=13+15=28.
  4. 4.PS+QR=10+9=19PS+QR=10+9=19.
  5. 5.The smallest repeat is 1414, so the route length is 60+14=7460+14=74.

Answer: The shortest closed route has length 7474, repeating the shortest paths PQPQ and RSRS.

Common mistakes

  • Don't fall into the trap of pairing the odd vertices using a single direct arc when a shorter indirect path exists.
  • Don't fall into the trap of adding the repeats to the number of arcs rather than to the total weight of the network.
  • Don't fall into the trap of testing only some of the three pairings and assuming the first small total is best.

Exam tip

List all three pairings in full even when one looks obviously best; the marks are for the complete comparison, not just for the final total.

Tier 1 · Easy

ORIGINAL

1.

A connected network has total weight 8484 and every vertex has even order. State the length of the shortest closed route that travels along every arc at least once, and justify your answer.

(3)

(Total for Question 1 is 3 marks)

Tier 2 · Standard

ORIGINAL

1.

A network has vertices AA to FF and arcs AB=7AB=7, AC=9AC=9, AF=12AF=12, BC=5BC=5, BD=8BD=8, CD=6CD=6, CE=10CE=10, DE=4DE=4, DF=14DF=14, EF=11EF=11. Find the odd vertices, the total weight, and the length of the shortest closed route covering every arc.

(7)

(Total for Question 1 is 7 marks)

Tier 3 · Hard

ORIGINAL

1.

For the network with vertices AA to FF and arcs AB=7AB=7, AC=9AC=9, AF=12AF=12, BC=5BC=5, BD=8BD=8, CD=6CD=6, CE=10CE=10, DE=4DE=4, DF=14DF=14, EF=11EF=11, a route must travel along every arc at least once but may start and finish at different vertices. Determine the shortest possible length and the start and finish vertices.

(8)

(Total for Question 1 is 8 marks)

Your progress and exam materials

This section: Evidence from your answers: 0/2 secureYour confidence: 0 self-rated secureTracker status: 0/2 secure, 0 shaky, 2 unseen

Overall: Evidence from your answers: 0/116 secureYour confidence: 0 self-rated secureTracker status: 0/116 secure, 0 shaky, 116 unseen

Progress is saved on this device for guests and accounts right now; cross-device account sync is not live yet.

D1-3.2

The practical and classical Travelling Salesman problems. Determination of upper and lower bounds using minimum spanning tree methods. The nearest neighbour algorithm.

Notes
Evidence from your answers: none yet
Your confidence:

A self-report of how sure you feel. It does not measure mastery. Evidence from your answers reaches secure after the latest Tier 2/3 attempt is correct, with three correct distinct drills across at least two dates and two practice sources.

Explanation

  • The travelling salesman problem asks for a tour of minimum length that visits every vertex and returns to the start. In the classical problem each vertex is visited exactly once; in the practical problem a vertex may be revisited.
  • The classical problem is set on a complete network satisfying the triangle inequality, that is, the length of any arc is at most the sum of the lengths of the other two in its triangle. Converting the network into a complete network of shortest distances turns the practical problem into a classical one.
  • Since the problem cannot be solved exactly at this level, the answer is trapped between bounds. The nearest neighbour algorithm gives an upper bound: from the start vertex repeatedly go to the nearest unvisited vertex, then return to the start.
  • Doubling the weight of the minimum spanning tree also gives an upper bound, which short cuts can improve. A lower bound comes from deleting one vertex, finding the residual minimum spanning tree on the remaining vertices, and adding the two shortest arcs at the deleted vertex;
  • repeating this for every vertex and taking the largest result gives the best lower bound. When an upper bound equals a lower bound, that common value is the length of the optimal tour.
Worked example

A complete network on AA, BB, CC, DD has AB=6AB=6, AC=10AC=10, AD=9AD=9, BC=7BC=7, BD=12BD=12, CD=5CD=5. Find the nearest neighbour tour from AA and the lower bound obtained by deleting AA.

  1. 1.From AA the nearest vertex is BB at 66; from BB the nearest unvisited is CC at 77; from CC the only one left is DD at 55; then DD back to AA at 99.
  2. 2.The tour is ABCDAABCDA of length 6+7+5+9=276+7+5+9=27.
  3. 3.Deleting AA leaves BB, CC, DD with arcs BC=7BC=7, BD=12BD=12, CD=5CD=5; the residual minimum spanning tree is CD=5CD=5 and BC=7BC=7, of weight 1212.
  4. 4.The two shortest arcs at AA are AB=6AB=6 and AD=9AD=9.
  5. 5.The lower bound is 12+6+9=2712+6+9=27.

Answer: The upper bound and the lower bound are both 2727, so the optimal tour has length exactly 2727.

Common mistakes

  • Don't fall into the trap of adding the two shortest arcs of the whole network instead of the two shortest at the deleted vertex.
  • Don't fall into the trap of including the deleted vertex when building the residual minimum spanning tree.
  • Don't fall into the trap of quoting the smallest lower bound rather than the largest as the best one.

Exam tip

Always state which vertex you deleted; a lower bound is only worth marks when the examiner can see the residual tree it came from.

Tier 1 · Easy

ORIGINAL

1.

Explain the difference between the classical and the practical travelling salesman problems, and state how the practical problem is converted into a classical one.

(3)

(Total for Question 1 is 3 marks)

Tier 2 · Standard

ORIGINAL

1.

For the complete network on AA to EE with AB=14AB=14, AC=20AC=20, AD=23AD=23, AE=12AE=12, BC=9BC=9, BD=18BD=18, BE=25BE=25, CD=11CD=11, CE=17CE=17, DE=21DE=21, apply the nearest neighbour algorithm starting at AA and comment on the quality of the upper bound it produces.

(5)

(Total for Question 1 is 5 marks)

Tier 3 · Hard

ORIGINAL

1.

For the complete network on AA to EE with AB=14AB=14, AC=20AC=20, AD=23AD=23, AE=12AE=12, BC=9BC=9, BD=18BD=18, BE=25BE=25, CD=11CD=11, CE=17CE=17, DE=21DE=21, calculate the lower bound obtained by deleting each of AA, CC and DD in turn, state the best lower bound, and combine it with the nearest neighbour tour from BB to trap the optimal tour length.

(9)

(Total for Question 1 is 9 marks)

Want help turning these notes into marks?

Bring a tricky specification point or a recent answer, and we can work through the method and exam wording together.