📖 Connected and bridges
The rule
- A network is connected if you can get from any dot to any other dot along edges.
- If not, it is made of separate pieces. Count the pieces.
- A dot with no lines is a piece on its own.
- To count pieces, start at a dot and follow the lines to every dot you can reach. Then start again at a dot you have not reached.
- A bridge is an edge that splits a piece in two if you remove it.
- An edge on a loop is never a bridge. There is another way round.
- To join n dots into one piece you need at least n − 1 edges.
Examples
How many separate pieces does this network have? → 2
- Start at A: you reach B and C
- Start at D: you reach E and F
- No line joins the groups
- 2 pieces
No line joins the two groups.
How many pieces does this network have? → 2
- A, B and C are joined
- D has no lines, so it is a piece on its own
- 2 pieces
A dot on its own is a piece.
Which edge is a bridge? → C–D
- Remove A–B: you can still go A, C, B
- Remove C–D: the two triangles come apart
- C–D is the bridge
It is the only way between the two triangles.
Towns A, B, C are on a loop of roads. Town D joins only by C–D. Which road, if closed, cuts D off? → C–D
- D has one road, C–D
- Without it D has no way in
- C–D is a bridge
It is the only road into D.
Watch out
- “6 dots means 6 pieces.” No: pieces are groups joined by lines, not single dots.
- “Every edge is a bridge.” No: an edge on a loop has another way round.
- Forgetting a lone dot. A dot with no lines is a piece on its own.