Recent from talks
Nothing was collected or created yet.
Bridge (graph theory)
View on Wikipedia

In graph theory, a bridge, isthmus, cut-edge, or cut arc is an edge of a graph whose deletion increases the graph's number of connected components.[1] Equivalently, an edge is a bridge if and only if it is not contained in any cycle. For a connected graph, a bridge can uniquely determine a cut. A graph is said to be bridgeless or isthmus-free if it contains no bridges.
This type of bridge should be distinguished from an unrelated meaning of "bridge" in graph theory, a subgraph separated from the rest of the graph by a specified subset of vertices; see bridge in the Glossary of graph theory.
Trees and forests
[edit]A graph with nodes can contain at most bridges, since adding additional edges must create a cycle. The graphs with exactly bridges are exactly the trees, and the graphs in which every edge is a bridge are exactly the forests.
In every undirected graph, there is an equivalence relation on the vertices according to which two vertices are related to each other whenever there are two edge-disjoint paths connecting them. (Every vertex is related to itself via two length-zero paths, which are identical but nevertheless edge-disjoint.) The equivalence classes of this relation are called 2-edge-connected components, and the bridges of the graph are exactly the edges whose endpoints belong to different components. The bridge-block tree of the graph has a vertex for every nontrivial component and an edge for every bridge.[2]
Relation to vertex connectivity
[edit]Bridges are closely related to the concept of articulation vertices, vertices that belong to every path between some pair of other vertices. The two endpoints of a bridge are articulation vertices unless they have a degree of 1, although it may also be possible for a non-bridge edge to have two articulation vertices as endpoints. Analogously to bridgeless graphs being 2-edge-connected, graphs without articulation vertices are 2-vertex-connected.
In a cubic graph, every cut vertex is an endpoint of at least one bridge.
Bridgeless graphs
[edit]A bridgeless graph is a graph that does not have any bridges. Equivalent conditions are that each connected component of the graph has an open ear decomposition,[3] that each connected component is 2-edge-connected, or (by Robbins' theorem) that every connected component has a strong orientation.[3]
An important open problem involving bridges is the cycle double cover conjecture, due to Seymour and Szekeres (1978 and 1979, independently), which states that every bridgeless graph admits a multi-set of simple cycles which contains each edge exactly twice.[4]
Tarjan's bridge-finding algorithm
[edit]The first linear time algorithm (linear in the number of edges) for finding the bridges in a graph was described by Robert Tarjan in 1974.[5] It performs the following steps:
- Find a spanning forest of
- Create a Rooted forest from the spanning forest
- Traverse the forest in preorder and number the nodes. Parent nodes in the forest now have lower numbers than child nodes.
- For each node in preorder (denoting each node using its preorder number), do:
- Compute the number of forest descendants for this node, by adding one to the sum of its children's descendants.
- Compute , the lowest preorder label reachable from by a path for which all but the last edge stays within the subtree rooted at . This is the minimum of the set consisting of the preorder label of , of the values of at child nodes of and of the preorder labels of nodes reachable from by edges that do not belong to .
- Similarly, compute , the highest preorder label reachable by a path for which all but the last edge stays within the subtree rooted at . This is the maximum of the set consisting of the preorder label of , of the values of at child nodes of and of the preorder labels of nodes reachable from by edges that do not belong to .
- For each node with parent node , if and then the edge from to is a bridge.
Bridge-finding with chain decompositions
[edit]A very simple bridge-finding algorithm[6] uses chain decompositions. Chain decompositions do not only allow to compute all bridges of a graph, they also allow to read off every cut vertex of G (and the block-cut tree of G), giving a general framework for testing 2-edge- and 2-vertex-connectivity (which extends to linear-time 3-edge- and 3-vertex-connectivity tests).
Chain decompositions are special ear decompositions depending on a DFS-tree T of G and can be computed very simply: Let every vertex be marked as unvisited. For each vertex v in ascending DFS-numbers 1...n, traverse every backedge (i.e. every edge not in the DFS tree) that is incident to v and follow the path of tree-edges back to the root of T, stopping at the first vertex that is marked as visited. During such a traversal, every traversed vertex is marked as visited. Thus, a traversal stops at the latest at v and forms either a directed path or cycle, beginning with v; we call this path or cycle a chain. The ith chain found by this procedure is referred to as Ci. C=C1,C2,... is then a chain decomposition of G.
The following characterizations then allow to read off several properties of G from C efficiently, including all bridges of G.[6] Let C be a chain decomposition of a simple connected graph G=(V,E).
- G is 2-edge-connected if and only if the chains in C partition E.
- An edge e in G is a bridge if and only if e is not contained in any chain in C.
- If G is 2-edge-connected, C is an ear decomposition.
- G is 2-vertex-connected if and only if G has minimum degree 2 and C1 is the only cycle in C.
- A vertex v in a 2-edge-connected graph G is a cut vertex if and only if v is the first vertex of a cycle in C - C1.
- If G is 2-vertex-connected, C is an open ear decomposition.
Bridges and Eulerian cycles
[edit]Define an Eulerian graph as a graph with an Eulerian cycle. Every Eulerian graph is bridgeless. This is because in an Eulerian graph every edge is a part of an Eulerian cycle. Hence, if the edge is deleted, then its endpoints remain connected through the rest of the cycle. But the opposite is not true.
Define an almost Eulerian graph as a graph that can be made Eulerian by adding a single edge (equivalently, a graph that contains an Eulerian trail). Every almost-Eulerian graph is almost-bridgeless, but the opposite is not true.
The classes of bridgeless graphs and almost-Eulerian graphs have a non-empty intersection (the Eulerian graphs are both bridgeless and almost-Eulerian), but they do not contain each other.[7]: Appendix.B
See also
[edit]Notes
[edit]- ^ Bollobás, Béla (1998), Modern Graph Theory, Graduate Texts in Mathematics, vol. 184, New York: Springer-Verlag, p. 6, doi:10.1007/978-1-4612-0619-4, ISBN 0-387-98488-7, MR 1633290.
- ^ Westbrook, Jeffery; Tarjan, Robert E. (1992), "Maintaining bridge-connected and biconnected components on-line", Algorithmica, 7 (5–6): 433–464, doi:10.1007/BF01758773, MR 1154584.
- ^ a b Robbins, H. E. (1939), "A theorem on graphs, with an application to a problem of traffic control", The American Mathematical Monthly, 46 (5): 281–283, doi:10.2307/2303897, hdl:10338.dmlcz/101517, JSTOR 2303897.
- ^ Jaeger, F. (1985), "A survey of the cycle double cover conjecture", Annals of Discrete Mathematics 27 – Cycles in Graphs, North-Holland Mathematics Studies, vol. 27, pp. 1–12, doi:10.1016/S0304-0208(08)72993-1, ISBN 978-0-444-87803-8.
- ^ Tarjan, R. Endre (1974), "A note on finding the bridges of a graph", Information Processing Letters, 2 (6): 160–161, doi:10.1016/0020-0190(74)90003-9, MR 0349483.
- ^ a b Schmidt, Jens M. (2013), "A Simple Test on 2-Vertex- and 2-Edge-Connectivity", Information Processing Letters, 113 (7): 241–244, arXiv:1209.0700, doi:10.1016/j.ipl.2013.01.016.
- ^ Bei, Xiaohui; Elkind, Edith; Segal-Halevi, Erel; Suksompong, Warut (2025-03-31). "Dividing a Graphical Cake". SIAM Journal on Discrete Mathematics. 39 (1): 19–54. arXiv:1910.14129. doi:10.1137/22M1500502. ISSN 0895-4801.
Bridge (graph theory)
View on GrokipediaFundamentals
Definition
In graph theory, consider an undirected graph . An edge is defined as a bridge if its removal from increases the number of connected components in the resulting graph .[1] This definition captures edges that are critical to the graph's connectivity, as their absence disconnects previously connected vertices. Equivalent characterizations of a bridge provide deeper insight into its structural role. Specifically, an edge is a bridge if and only if it is not contained in any cycle of ; alternatively, there exists no path from to in . The set of all bridges in is denoted by . The term "bridge" for such edges was introduced by J. A. Bondy and U. S. R. Murty in their 1976 textbook Graph Theory with Applications.[4] To illustrate, consider simple examples: in the graph consisting of a single edge connecting two vertices, that edge is a bridge, as its removal yields two isolated vertices and thus two components. In a path graph with vertices (and edges), every edge is a bridge, since removing any disconnects the path into two components. Conversely, in a cycle graph with vertices, no edge is a bridge, as the remaining cycle path connects all vertices after removal.[1]Basic Properties
A bridge in a graph is precisely an edge that does not lie on any simple cycle.[5] This property follows directly from the definition, as the absence of an alternative path between its endpoints ensures that removing the edge disconnects the graph.[5] Removing all bridges from a connected graph decomposes it into its 2-edge-connected components, which are maximal subgraphs with no bridges of their own.[5] These components are connected by the bridges, forming a tree-like structure in the block-bridge graph. In a connected graph with vertices, the number of bridges is at most , with equality holding when the graph is a tree.[6] Bridges exhibit invariance under certain graph modifications: specifically, adding edges within the same 2-edge-connected component does not create a cycle through an existing bridge, preserving its status as a bridge.[5] For example, consider a graph formed by two disjoint cycles joined by a single edge; this connecting edge is a bridge, as its removal separates the cycles into distinct components, while the cycle edges are not bridges.[5]Structural Aspects
Bridges in Trees and Forests
In trees, which are connected acyclic graphs, every edge qualifies as a bridge because trees are minimally connected structures with no redundant paths.[7][4] Removing any edge from a tree disconnects it, splitting the graph into exactly two connected components, as there exists a unique path between any pair of vertices and no cycles to provide alternative connections.[7][4] To see this formally, suppose is a tree with vertices and consider an arbitrary edge . The removal of yields two components: one containing and the other containing . If remained connected, there would exist a path from to avoiding , which together with would form a cycle, contradicting the acyclicity of . Thus, every edge in a tree is indeed a bridge.[7][4] A forest generalizes this to disconnected acyclic graphs, where each connected component is a tree. In such a structure, every edge is a bridge, as all edges lie within individual tree components and satisfy the bridge property therein; there are no edges between components by definition.[7][4] For a forest with vertices and components, the total number of edges is exactly , and thus the number of bridges equals , comprising all edges in the graph.[7][4] For example, consider a forest consisting of isolated trees on vertices total. This structure has precisely edges, each of which is a bridge, underscoring the minimal connectivity inherent to acyclic graphs.[7][4]Relation to Connectivity
In graph theory, the presence of a bridge in a connected graph fundamentally affects its edge connectivity , which is the size of the minimum edge cut. Specifically, if contains at least one bridge, then , as removing that single edge disconnects the graph.[8] Conversely, a connected graph has no bridges if and only if it is 2-edge-connected, meaning .[8] This equivalence highlights bridges as the critical edges that limit edge connectivity to its lowest non-trivial value. Whitney's theorem provides a broader framework for understanding these relations in connected graphs: the vertex connectivity satisfies , where is the minimum degree.[9] Thus, bridges not only force but also imply , since the graph can be disconnected by removing a single edge and, consequently, by removing vertices incident to it. This follows from Menger's theorem, which equates the minimum size of a vertex separator between non-adjacent vertices and to the maximum number of internally vertex-disjoint paths between them; a bridge partitions the graph into components where such paths between vertices on opposite sides number at most one, yielding a vertex separator of size 1.[10] However, the absence of bridges guarantees only and does not ensure or high vertex connectivity. For instance, may still equal 1 if articulation points exist, even without bridges, as vertex cuts can be smaller than edge cuts in non-2-vertex-connected graphs. Consider a graph consisting of two complete graphs connected by a single edge (a bridge): here, in the cycles but , demonstrating that bridges override degree considerations to cap connectivity at 1, regardless of local vertex degrees.[8]Algorithms
Depth-First Search Approaches
Depth-first search (DFS) provides a foundational framework for detecting bridges in an undirected graph by constructing a spanning tree and examining the connectivity of subtrees through back edges. The approach begins with a DFS traversal starting from an arbitrary vertex, which builds a DFS tree where tree edges represent the paths taken during exploration, and back edges connect a vertex to one of its ancestors in the tree. This classification of edges is essential, as bridges can only occur among tree edges, while back edges indicate alternative paths that preserve connectivity.[11] To identify potential bridges, each vertex receives a discovery time , assigned as a unique timestamp incremented sequentially upon first visiting during the traversal. Complementing this, a low value is computed for each vertex, defined as the smallest discovery time reachable from or any descendant in its subtree, accounting for both tree edges and back edges from those descendants. The low value thus captures the earliest ancestor accessible from the subtree without relying solely on the parent edge.[11] A tree edge , where is a child of in the DFS tree, qualifies as a bridge if . This condition signifies that no vertex in the subtree rooted at has a back edge to an ancestor of , implying that removing would disconnect the subtree from the rest of the graph. By checking this inequality after recursing on each child, all bridges are identified during the single DFS pass.[11] The entire process operates in linear time, specifically , where is the number of vertices and is the number of edges, as it requires only one traversal to visit all vertices and examine all edges. This efficiency stems from the constant-time operations per edge and vertex in updating timestamps and low values.[11] The algorithm is typically implemented via a recursive DFS procedure that tracks the parent to prevent immediate backtracking and initializes arrays for discovery times, low values, and parent pointers, all set to -1 or infinity as appropriate before starting. Here is an outline of the core pseudocode:time = 0
disc = [array](/page/Array) of size |V| initialized to -1
low = array of size |V| initialized to -1
parent = [array](/page/Parent) of size |V| initialized to -1
procedure DFS(u):
disc[u] = low[u] = time
time += 1
for each neighbor v of u:
if disc[v] == -1: // v is unvisited
parent[v] = u
DFS(v)
low[u] = min(low[u], low[v])
if low[v] > disc[u]:
mark edge (u, v) as a bridge
elif v != parent[u]: // back edge
low[u] = min(low[u], disc[v])
// Call DFS(start) for each unvisited start vertex to handle disconnected graphs
time = 0
disc = [array](/page/Array) of size |V| initialized to -1
low = array of size |V| initialized to -1
parent = [array](/page/Parent) of size |V| initialized to -1
procedure DFS(u):
disc[u] = low[u] = time
time += 1
for each neighbor v of u:
if disc[v] == -1: // v is unvisited
parent[v] = u
DFS(v)
low[u] = min(low[u], low[v])
if low[v] > disc[u]:
mark edge (u, v) as a bridge
elif v != parent[u]: // back edge
low[u] = min(low[u], disc[v])
// Call DFS(start) for each unvisited start vertex to handle disconnected graphs
Tarjan's Algorithm
Tarjan's algorithm for finding bridges in an undirected graph is a depth-first search (DFS)-based method that identifies all bridges in linear time, O(V + E), where V is the number of vertices and E is the number of edges.[12] It extends the basic DFS traversal by maintaining two key values for each vertex: the discovery time, which records the order in which vertices are first visited, and the low value, which represents the smallest discovery time reachable from that vertex, including itself and its descendants in the DFS tree, considering back edges.[12] This approach allows direct detection of bridges during a single DFS pass over the graph, handling disconnected components by initiating DFS from each unvisited vertex to form a DFS forest.[12] The key innovation of Tarjan's algorithm lies in its use of the low and discovery values to pinpoint bridges without needing additional structures like stacks for path tracking, distinguishing it from earlier DFS variants by enabling efficient identification in one traversal.[12] To implement it, initialize two arrays, disc[] and low[], to -1 (indicating unvisited), along with a global timer set to 0 and a parent array for tracking the DFS tree. For each unvisited vertex u, call the DFS procedure on u. In the DFS(u) procedure:- Set disc = low = timer and increment timer.
- For each adjacent vertex v of u:
- If v is unvisited (disc == -1), set parent = u, recursively call DFS(v), then update low = min(low, low).
- If low > disc after the recursion, mark the edge (u, v) as a bridge, as no path exists from v's subtree back to u or its ancestors without this edge.
- Else if v != parent (indicating a back edge), update low = min(low, disc).