2.5 Trees and spanning trees — Practise
Work independently. The questions and answers are shown together at the end.
The count is fixed for every spanning tree, so the question is always which edges, never how many.
- A tree has 6 vertices. How many edges has it?
- A tree has 12 edges. How many vertices has it?
- A connected network has 9 vertices and 14 edges. How many edges must be removed to leave a spanning tree?
- State the two conditions that make a connected network a tree.
- A connected network has 10 vertices. How many edges has every spanning tree of it?
- A connected network has 7 vertices and 7 edges. Explain why it is not a tree, and say what it must contain.
Answers and concise solutions
1. Show the answer
1. Number of edges
Answer: A tree on vertices has edges, so .
2. Show the answer
2. Number of vertices
Answer: , so .
3. Show the answer
3. Edges to remove
Answer: A spanning tree on 9 vertices has edges, so edges must be removed. Each removal must not disconnect the network.
4. Show the answer
4. The two conditions
Answer: A tree is a connected network with no cycles. Equivalently, it is a network in which there is exactly one path between every pair of vertices. Adding any edge to a tree creates a cycle; removing any edge disconnects it.
5. Show the answer
5. Edges in a spanning tree
Answer: Every spanning tree on 10 vertices has edges, whatever the network looks like and whatever the weights are. That is why finding a cheapest spanning tree is a matter of choosing which 9 edges, not how many.
6. Show the answer
6. Why it is not a tree
Answer: A tree on 7 vertices has edges. This network has 7, which is one more than a tree. A connected network with more than edges must contain a cycle, because the extra edge must join two vertices that were already connected and close a loop. So the network contains at least one cycle.