DM - Graph Connectivity: NGUYEN Hoang Thach
DM - Graph Connectivity: NGUYEN Hoang Thach
29/05/2020
Outline
1 Undirected graph
Path and connectedness
Vertex connectivity and edge connectivity
2 Directed graph
1 Undirected graph
Path and connectedness
Vertex connectivity and edge connectivity
2 Directed graph
Example:
e1 e2 e4 e6 or v4 v1 v5 v2 v3 is a path of
length 4 from v4 to v3 .
e4 e5 e6 is a circuit of length 3.
Definition
Let G = (V , E ) be a graph.
1 The distance d(u, v ) between two vertices u and v is the length of the
shortest simple path between them. If no such path exists, the distance is
infinite.
2 The diameter of G is the greatest distance between any pair of its vertices.
Example:
d(v1 , v2 ) = 2 , d(v3 , v5 ) = 1.
The diameter of the graph is 2.
Theorem
There exists a simple path between every pair of vertices of a connected graph.
Definition
Let G be a graph. A connected component of G is a maximal connected subgraph
of G, ie. it is not a proper subgraph of another connected subgraph of G.
Theorem
Let G be a graph with adjacency matrix A. For all positive integer k, the number
of different paths of length k from u to v is the (u, v )-th entry of Ak .
Corollary
Let G be a graph with adjacency matrix A. The graph G is conneced if and only if
there exists a positive integer k such that every entry of Ak is positive.
1 Undirected graph
Path and connectedness
Vertex connectivity and edge connectivity
2 Directed graph
Definition
Let G be a graph.
1 A vertex v is a cut vertex (or articulation point) if G − v has more connected
components than G.
2 An edge e is a bridge if G − e has more connected components than G.
Examples: The vertex c is a cut vertex, the edge {c, e} is a bridge. The vertex a
is not a cut vertex.
Definition
Let G = (V , E ) be a graph.
1 A set W ⊂ V is a vertex cut if G − W is disconnected.
2 The vertex connectivity of G, denoted by κ(G), is the size of the smallest
vertex cut of G.
By convention, κ(Kn ) = n − 1.
3 The graph G is k-(vertex-)connected if κ(G) ≥ k.
Definition
Let G = (V , E ) be a graph.
1 A set F ⊂ E is a edge cut if G − F is disconnected.
2 The edge connectivity of G, denoted by λ(G), is the size of the smallest edge
cut of G.
By convention, κ(K1 ) = 0.
Theorem
If G = (V , E ) is a non-complete connected graph with at least three vertices, then
Definition
Let G = (V , A) be a directed graph. A path of length n from a vertex u to a
vertex v is defined by a sequence of arcs a1 , a2 , . . . , an such that ai = (xi−1 , xi )
and x0 = u, xn = v .
When the directed graph is simple, this path can be identified with the vertex
sequence u = x0 , x1 , x2 , . . . , xn = v .
If u = v and n > 0, then the path is a circuit (or cycle).
A path or circuit is simple if it does not pass by the same edge more than once.
Example:
The graph G has one strongly connected component which is itself.
The graph H has three strongly connected components, which are the
subgraphs induced by the sets of vertices {a} , {e} , {b, c, d}.