ConceptComplete

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.

DefinitionWalks and Paths

Let G=(V,E)G = (V, E) be a graph.

  • A walk of length kk is a sequence v0,e1,v1,e2,
,ek,vkv_0, e_1, v_1, e_2, \ldots, e_k, v_k where ei={vi−1,vi}∈Ee_i = \{v_{i-1}, v_i\} \in E
  • A trail is a walk with distinct edges
  • A path is a walk with distinct vertices (except possibly v0=vkv_0 = v_k)
  • A cycle is a closed path with length at least 3

The distance d(u,v)d(u,v) between vertices uu and vv is the length of the shortest path connecting them, or ∞\infty if no path exists.

DefinitionConnectivity

A graph GG is connected if every pair of vertices has a path connecting them. Otherwise, GG is disconnected. A maximal connected subgraph is a connected component.

The connectivity Îș(G)\kappa(G) is the minimum number of vertices whose removal disconnects GG or reduces it to a single vertex. A graph is kk-connected if Îș(G)≄k\kappa(G) \geq k.

ExamplePath Properties

In the cycle graph C6C_6 with vertices {v0,v1,v2,v3,v4,v5}\{v_0, v_1, v_2, v_3, v_4, v_5\}, the sequence v0,v1,v2,v3,v4,v5,v0v_0, v_1, v_2, v_3, v_4, v_5, v_0 forms a cycle of length 6. The distance d(v0,v3)=3d(v_0, v_3) = 3, achieved by the shortest path v0,v1,v2,v3v_0, v_1, v_2, v_3 or v0,v5,v4,v3v_0, v_5, v_4, v_3.

The diameter diam(G)=max⁡u,v∈Vd(u,v)\text{diam}(G) = \max_{u,v \in V} d(u,v) measures the maximum distance between any two vertices in a connected graph. The girth is the length of the shortest cycle in GG, or ∞\infty if GG is acyclic.

DefinitionCut Vertices and Bridges
  • 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.

Remark

For any connected graph GG, we have Îș(G)≀λ(G)≀Ύ(G)\kappa(G) \leq \lambda(G) \leq \delta(G), where λ(G)\lambda(G) is the edge connectivity (minimum edges to remove to disconnect) and ÎŽ(G)\delta(G) 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.