Maths topics › A level Further Maths › D1, algorithms and graphs
Find a minimum spanning tree using Prim's algorithm on a network
A question
Free worksheet
10 questions on this objective, ready to print.
Download the worksheet (PDF)Worked solution
The working
- Tree: A. Edges from the tree to other vertices: DA (16), AE (18), AB (29). The smallest is DA (16), so add DA.
- Tree: A, D. Edges from the tree to other vertices: DE (9), AE (18), CD (26), AB (29). The smallest is DE (9), so add DE.
- The second edge added is DE.
- Answer: DE
Mathster is maths homework, practice and assessment for schools, with animated worked solutions. Try Mathster free for 60 days →
Objectives from the AS and A level subject content for further mathematics (Department for Education). Contains public sector information licensed under the Open Government Licence v3.0.