Deleting bridge from graph gives 2 components
Dependencies:
-
Path in Graph
-
Bridge in graph
Let be a connected undirected graph where the edge is a bridge.
Let the result of deleting from be .
Then contains 2 connected components and .
Proof
Assume that deleting does not disconnect and ,
i.e. there is still a path from to .
Then no pair of vertices would get disconnected on deleting ,
because all paths through could be re-routed through .
But this contradicts the fact that is a bridge,
i.e. deleting disconnects .
Therefore, deleting disconnects and .
This also means that is the only simple path from to .
Since is connected, there is a simple path from to every other vertex.
We can partition the set of vertices into 2 parts: and , where
iff some path from to does not contain
and if all paths from to contain .
, since there is a path of length 0 from to .
, since is the only simple path from to .
For all in , there is a simple path to in which does not contain .
Therefore, there is a simple path from to in .
Therefore, all vertices in are connected to each other in .
Let be a vertex in .
Since all simple paths from to contain ,
there is a simple path from to which does not contain .
Therefore, is connected to in .
Therefore, all vertices in are connected to each other in .
Let be a walk in from a vertex in to a vertex in .
Since is connected to and is connected to ,
we can construct a walk from to in by going from to ,
then going from to via and then going from to .
This is a contradiction, which means that there cannot be a walk from a vertex in to a vertex in .
Therefore, has 2 connected components, corresponding to and .
Dependency for:
-
Deleting edge from tree gives 2 trees
Info:
- Depth: 3
- Number of transitive dependencies: 6
Transitive dependencies:
-
/sets-and-relations/equivalence-classes
-
/sets-and-relations/relation-composition-is-associative
-
/sets-and-relations/equivalence-relation
-
Graph
-
Path in Graph
-
Bridge in graph