Graph Bridge — Definition, Formula & Examples
A graph bridge is an edge in a connected graph that, if removed, causes the graph to become disconnected. In other words, it is the only path between some pair of vertices.
Given a connected graph , an edge is a bridge if the graph is disconnected. Equivalently, is a bridge if and only if does not lie on any cycle in .
How It Works
To determine whether an edge is a bridge, check if removing it splits the graph into two or more components. A practical method is to verify whether the edge belongs to any cycle: if it does not, it is a bridge. Tarjan's bridge-finding algorithm identifies all bridges in time using a depth-first search and tracking discovery times. In a tree, every edge is a bridge because trees contain no cycles.
Worked Example
Problem: Consider a graph with vertices and edges . Identify all bridges.
Step 1: Check edge . Removing it leaves edges . You can still reach from via . The graph stays connected, so is not a bridge.
Step 2: By the same reasoning, and each lie on the cycle , so neither is a bridge.
Step 3: Check edge . Removing it isolates vertex from the rest of the graph because is the only edge incident to . This edge does not belong to any cycle.
Answer: The only bridge is edge .
Why It Matters
Bridges identify critical links in networks — a single failed connection that can partition a communication or transportation network. Network reliability analysis, circuit design, and algorithms on biconnected components all depend on efficiently finding bridges.
Common Mistakes
Mistake: Confusing a bridge (an edge) with a cut vertex (a vertex whose removal disconnects the graph).
Correction: A bridge is always an edge, while a cut vertex is always a vertex. An endpoint of a bridge is not necessarily a cut vertex (for example, if it has degree 1).
