Deleting bridge from graph gives 2 components

Dependencies:

  1. Path in Graph
  2. Bridge in graph

Let G=(V,E) be a connected undirected graph where the edge (u,v) is a bridge. Let the result of deleting (u,v) from G be G. Then G contains 2 connected components G1 and G2.

Proof

Assume that deleting (u,v) does not disconnect u and v, i.e. there is still a path p from u to v. Then no pair of vertices would get disconnected on deleting (u,v), because all paths through (u,v) could be re-routed through p. But this contradicts the fact that (u,v) is a bridge, i.e. deleting (u,v) disconnects G. Therefore, deleting (u,v) disconnects u and v. This also means that [u,v] is the only simple path from u to v.

Since G is connected, there is a simple path from u to every other vertex. We can partition the set of vertices V into 2 parts: V1 and V2=VV1, where wV1 iff some path from u to w does not contain (u,v) and wV2 if all paths from u to w contain (u,v).

uV1, since there is a path of length 0 from u to u. vV2, since [u,v] is the only simple path from u to v.

For all w in V1, there is a simple path to u in G which does not contain (u,v). Therefore, there is a simple path from w to u in G. Therefore, all vertices in V1 are connected to each other in G.

Let w be a vertex in V2. Since all simple paths from w to u contain (u,v), there is a simple path from w to v which does not contain (u,v). Therefore, w is connected to v in G. Therefore, all vertices in V2 are connected to each other in G.

Let p be a walk in T from a vertex w1 in V1 to a vertex w2 in V2. Since w1 is connected to u and w2 is connected to v, we can construct a walk from u to v in G by going from u to w1, then going from w1 to w2 via p and then going from w2 to v. This is a contradiction, which means that there cannot be a walk from a vertex in V1 to a vertex in V2.

Therefore, G has 2 connected components, corresponding to V1 and V2.

Dependency for:

  1. Deleting edge from tree gives 2 trees

Info:

Transitive dependencies:

  1. /sets-and-relations/equivalence-classes
  2. /sets-and-relations/relation-composition-is-associative
  3. /sets-and-relations/equivalence-relation
  4. Graph
  5. Path in Graph
  6. Bridge in graph