Paths

Let be a non-negative integer and an undirected graph. A path of length from to in is a sequence of edges of for which there exists a sequence of vertices such that has, for , the endpoints and . When the graph is simple, we denote this path by its vertex sequence (because listing these vertices uniquely determines the path).

Tip

Here the length is the number of edges, i.e., the number of vertices minus one.

The path is a circuit if it begins and ends at the same vertex, that is, if , and has length greater than zero. The path or circuit is said to pass through the vertices or traverse the edges . Path or circuit is simple if it does not contain the same edge more than once.

Let be a nonnegative integer and a directed graph. A path of length from to in is a sequence of edges of such that is associated with , is associated with , and so on, with associated with , where and .

When there are no multiple edges in the directed graph, this path is denoted by its vertex sequence . A path of length greater than zero that begins and ends at the same vertex is called a circuit or cycle. A path or circuit is called simple if it does not contain the same edge more than once.

Connectedness in Undirected Graphs

An undirected graph is called connected if there is a path between every pair of distinct vertices of the graph. An undirected graph that is not connected is called disconnected. We say that we disconnect a graph when we remove vertices or edges, or both, to produce a disconnected subgraph.

There is a simple path between every pair of distinct vertices of a connected undirected graph.

A connected component of a graph is a connected subgraph of that is not a proper subgraph of another connected subgraph of . That is, a connected component of a graph is a maximal connected subgraph of . A graph that is not connected has two or more connected components that are disjoint and have as their union.

Note

An isolated vertex itself can be a connected component

Connectedness in Undirected Graphs

Cut Vertices and Cut Edges

Sometimes the removal from a graph of a vertex and all incident edges produces a subgraph with more connected components. Such vertices are called cut vertices (or articulation points). The removal of a cut vertex from a connected graph produces a subgraph that is not connected.

Analogously, an edge whose removal produces a graph with more connected components than in the original graph is called a cut edge or bridge. Note that in a graph representing a computer network, a cut vertex and a cut edge represent an essential router and an essential link that cannot fail for all computers to be able to communicate

Vertex Connectivity

A subset of the vertex set of is a vertex cut, or separating set, if is disconnected. We define the vertex connectivity of a non-complete graph (since complete graphs have no cut vertices), denoted by , as the minimum number of vertices in a vertex cut, i.e., the the minimum number of vertex to remove in order to disconnect the graph.

The larger is, the more connected we consider to be. We say that a graph is -connected if . A graph G is -connected if it is connected and not a graph containing a single vertex (otherwise we can not say that a graph with no vertices is disconnected); a graph is -connected, or biconnected, if it is non-separable and has at least three vertices. Note that if is a -connected graph, then is a -connected graph for all with .

Edge Connectivity

A set of edges is called an edge cut of is the subgraph is disconnected. The edge connectivity of a graph , denoted by , is the minimum number of edges in an edge cut of . This defines for all connected graphs with more than one vertex because it is always possible to disconnect such a graph by removing all edges incident of one of its vertices.

Inequality for Vertex Connectivity and Edge Connectivity

Connectedness in Directed Graphs

A directed graph is strongly connected if there is a path from to and from to whenever and are vertices in the graph.

A directed graph is weakly connected if there is a path between every two vertices in the underlying undirected graph.

The subgraphs of a directed graph that are strongly connected but not contained in larger connected subgraphs, that is, the maximal strongly connected subgraphs, are called the strongly connected components or strong components of . Note that if and are two vertices in a directed graph, their strong components are either the same or disjoint.

Counting Paths Between Vertices

Let be a graph with adjacency matrix with respect to the ordering of the vertices of the graph (with directed or undirected edges, with multiple edges and loops allowed). The number of different paths of length from to , where is a positive integer, equals the -th entry of