Pearson Edexcel · A-Level · Mathematics
Course version: 603/1499/0 · Version from Sept 2017
Decision Mathematics 1: 2.1 The minimum spanning tree
Full specification wording
Algorithms on graphs - Paper 3D: Decision Mathematics 1: 2.1 The minimum spanning tree (minimum connector) problem. Prim’s and Kruskal’s algorithm.
A spanning tree connects every vertex of a connected graph using the fewest edges and contains no cycle; a minimum spanning tree, also called a minimum connector, has the smallest possible total…
- Point 1 of 2
Study notes
From the teaching notes for this specification point.
The idea
A spanning tree connects every vertex of a connected graph using the fewest edges and contains no cycle; a minimum spanning tree, also called a minimum connector, has the smallest possible total weight. Kruskal's algorithm sorts all edges by weight and adds the cheapest edge that does not create a cycle until every vertex is connected. Prim's algorithm starts at a chosen vertex and repeatedly adds the cheapest edge linking the growing tree to a vertex not yet in it. Both produce a minimum spanning tree, though ties may give different but equally weighted trees. Apply each algorithm step by step, recording rejected edges and the reason, and sum the chosen weights to give the total length.
What earns the marks
- States that a spanning tree connects all vertices with no cycle and that the minimum connector minimises total edge weight.
- Applies Kruskal's algorithm by considering edges in increasing weight order and rejecting any edge that would form a cycle.
- Applies Prim's algorithm by repeatedly adding the least-weight edge joining the current tree to a new vertex.
- Sums the weights of the selected edges to give the total weight of the minimum spanning tree.
Common mistakes and how to put them right
Accepts an edge that closes a cycle in Kruskal's algorithm.
Put it right: Reject it and continue to the next cheapest edge.
Stops Prim's algorithm before every vertex is included.
Put it right: Continue until all vertices are connected.
Adds the cheapest edge overall in Prim's algorithm even when it does not touch the current tree.
Put it right: Choose the cheapest edge from the tree to an outside vertex.
Forgets to total the weights.
Put it right: Add the selected edge weights to report the minimum connector length.
Exam tips
- List the edges in weight order for Kruskal and tick or cross each as you decide.
- For Prim, redraw the growing tree after each addition so the boundary edges are clear.
- Record the reason for each rejected edge, especially cycle formation, to secure method marks.
Try the lesson
The start of the Algorithms on graphs - Paper 3D: Decision Mathematics 1: 2.1 The minimum spanning tree (minimum connector) problem. Prim’s and Kruskal’s algorithm. lesson, made from teaching notes for this specification point.
Have a go first
A connected network has 7 vertices. A spanning tree of this network must connect all 7 vertices. How many edges does any spanning tree of this network contain?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
5 free practice questions every day · Free forever · No card required
Test your understanding of Algorithms on graphs - Paper 3D: Decision Mathematics 1: 2.1 The minimum spanning tree (minimum connector) problem. Prim’s and Kruskal’s algorithm.
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
5 free practice questions every day · Free forever · No card required