Minimum spanning treesEdexcel A-Level Further Maths: Flashcards
Card 1 of 130 of 13 known
Question
What is a minimum spanning tree?
Tap or press Space to reveal
Tap card or press Space to flip
See all 13 cards
- What is a minimum spanning tree?
- A spanning tree with the smallest possible total weight.
- How many edges does a spanning tree of a network with vertices have?
- Outline Kruskal's algorithm.
- Sort edges in increasing weight; accept each unless it forms a cycle; stop at edges.
- Why does Kruskal's algorithm reject an edge?
- Its two ends are already connected, so it would form a cycle.
- Outline Prim's algorithm.
- Start at any vertex; repeatedly add the shortest edge joining the tree to a new vertex.
- Can Prim's algorithm form a cycle?
- No: it only ever adds an edge to a vertex not yet in the tree.
- In matrix Prim's, what do you do with the start vertex's row?
- Delete the row and number its column 1.
- In matrix Prim's, what do you circle each time?
- The smallest entry in the numbered columns, in a row not yet deleted.
- What does a dash mean in a distance matrix?
- There is no direct edge between those vertices.
- What is special about the matrix of an undirected network?
- It is symmetric about the leading diagonal.
- Is the minimum spanning tree unique?
- Yes if all the edge weights are different.
- Does a minimum spanning tree give the shortest route between two vertices?
- Not necessarily. It minimises total weight only.
- If an edge in the tree is removed from the network, what do you do?
- Re-find the tree: join the vertex by its cheapest remaining edge.
Exam questions on Minimum spanning trees
- A network has six vertices , , , , and . Its edges and weights are , , , , , , , and .Explain why Kruskal's algorithm rejects the edge .2 marks
- Five towns , , , , are linked by roads. The distance matrix (in km) is given row by row, with columns in the order to and a dash meaning no direct road.
Row : , , , ,
Row : , , , ,
Row : , , , ,
Row : , , , ,
Row : , , , , The road is closed for repairs. Find the total length of the minimum spanning tree of the remaining roads.2 marks
- A company must connect six villages , , , , and with cable. The possible links and their costs, in thousands of pounds, are , , , , , , , and .Use Kruskal's algorithm to find a minimum spanning tree, listing the edges in the order they are considered and stating which are accepted and which rejected.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).