Walks, Paths, and Connectivity
The structure of connections within a graph determines its connectivity properties and provides the foundation for understanding graph traversal, reachability, and component structure.
Let be a graph.
- A walk of length is a sequence where
- A trail is a walk with distinct edges
- A path is a walk with distinct vertices (except possibly )
- A cycle is a closed path with length at least 3
The distance between vertices and is the length of the shortest path connecting them, or if no path exists.
A graph is connected if every pair of vertices has a path connecting them. Otherwise, is disconnected. A maximal connected subgraph is a connected component.
The connectivity is the minimum number of vertices whose removal disconnects or reduces it to a single vertex. A graph is -connected if .
In the cycle graph with vertices , the sequence forms a cycle of length 6. The distance , achieved by the shortest path or .
The diameter measures the maximum distance between any two vertices in a connected graph. The girth is the length of the shortest cycle in , or if is acyclic.
- A cut vertex (or articulation point) is a vertex whose removal increases the number of connected components
- A bridge (or cut edge) is an edge whose removal increases the number of connected components
A connected graph with no cut vertices is 2-connected or biconnected.
For any connected graph , we have , where is the edge connectivity (minimum edges to remove to disconnect) and is the minimum degree. This inequality chain shows that vertex connectivity is the strictest measure of robustness.
Connectivity concepts extend naturally to directed graphs (digraphs), where we distinguish between strongly connected (every ordered pair reachable) and weakly connected (underlying undirected graph is connected). Understanding connectivity is essential for network reliability analysis, algorithm design, and structural graph theory.