Connected graphs and bridges
A graph is connected when every vertex can be reached from every other vertex. A bridge is an edge whose removal increases the number of connected components
- Test reachability Start at one vertex and follow edges to see whether every vertex can be reached \(\displaystyle \text{one component}\;\Rightarrow\;\text{connected}\)
- Remove the edge Remove a possible bridge and compare the component count before and after \(\displaystyle \#\text{components after}>\#\text{components before}\;\Rightarrow\;\text{bridge}\)
- Reject cycle edges An edge on a cycle has another route between its endpoints \(\displaystyle A\!-!B\!-!C\!-!A\;\Rightarrow\;AB\text{ is not a bridge}\)
- Check pendant edges The only edge at a degree-one vertex is a bridge \(\displaystyle \deg(A)=1,\;AB\text{ only at }A\;\Rightarrow\;AB\text{ is a bridge}\)
Worked example
A connected graph has one component. Removing AB gives 2 components, removing CD gives 2 components, and removing every other edge leaves 1 component. Find the number of bridges
- \(\displaystyle c(G-AB)-c(G)=2-1=1\)Removing AB increases the component count, so AB is a bridge
- \(\displaystyle c(G-CD)-c(G)=2-1=1\)Removing CD also increases the component count, so CD is a bridge
- \(\displaystyle 1+1=2\)The two tested edges that increase the component count give 2 bridges
- \(\displaystyle \text{number of bridges}=2\)Every other edge leaves one component, so no further edge is a bridge
Common mistakes
Difficulty levels
Questions about this topic
How do you decide whether a graph is connected?+
Start at one vertex and follow all available edges. The graph is connected if every vertex can be reached from the starting vertex
Why is an edge on a cycle not a bridge?+
The other edges of the cycle provide an alternative route between the edge's endpoints, so removing that edge does not increase the number of connected components
Why is a pendant edge always a bridge?+
A pendant edge is the only edge at a degree-one vertex. Removing it leaves that vertex in a separate component
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, General Mathematics, chapter 13: Graphs and networks