Photo AI
Last Updated Sep 27, 2025
Revision notes with simplified explanations to understand Kruskal's Algorithm quickly and effectively.
424+ students studying
Kruskal's algorithm is a method to find a minimum spanning tree (MST) of a connected, weighted graph. The MST is a subset of edges that connects all vertices in the graph without forming cycles and has the minimum total weight.
Problem:
Find the minimum spanning tree for the following graph:
Edge | ABAB | ACAC | ADAD | BCBC | BDBD | CDCD |
---|---|---|---|---|---|---|
Weight | 5 | 7 | 6 | 9 | 8 | 7 |
Step 1: Sort the Edges by Weight
List edges in ascending order:
Step 2: Initialise the MST
Start with an empty MST.
Step 3: Iterate Through the Edges
Add
No cycle.
MST = Add
No cycle.
MST = Add
No cycle.
MST = Skip
Adding would form a cycle. Add
No cycle.
MST =
Step 4: Check the MST
The MST includes edges.
Result:
The minimum spanning tree is:
Minimum Spanning Tree: A subset of edges connecting all vertices with no cycles and minimum total weight.
Number of Edges in MST: For vertices: edges.
Cycle Checking: Use disjoint sets (union-find) to ensure no cycles are formed while adding edges.
Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!
30 flashcards
Flashcards on Kruskal's Algorithm
Revise key concepts with interactive flashcards.
Try Further Maths Core Pure Flashcards3 quizzes
Quizzes on Kruskal's Algorithm
Test your knowledge with fun and engaging quizzes.
Try Further Maths Core Pure Quizzes29 questions
Exam questions on Kruskal's Algorithm
Boost your confidence with real exam questions.
Try Further Maths Core Pure Questions27 exams created
Exam Builder on Kruskal's Algorithm
Create custom exams across topics for better practice!
Try Further Maths Core Pure exam builder50 papers
Past Papers on Kruskal's Algorithm
Practice past papers to reinforce exam experience.
Try Further Maths Core Pure Past PapersDiscover More Revision Notes Related to Kruskal's Algorithm to Deepen Your Understanding and Improve Your Mastery
Join 500,000+ A-Level students using SimpleStudy...
Join Thousands of A-Level Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!
Report Improved Results
Recommend to friends
Students Supported
Questions answered