In
graph theory
In mathematics, graph theory is the study of '' graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
, the weak components of a
directed graph
In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph that is made up of a set of vertices connected by directed edges, often called arcs.
Definition
In formal terms, a directed graph is an ordered pai ...
partition the vertices of the graph into subsets that are
totally ordered
In mathematics, a total or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X:
# a \leq a ( reflexiv ...
by
reachability
In graph theory, reachability refers to the ability to get from one vertex to another within a graph. A vertex s can reach a vertex t (and t is reachable from s) if there exists a sequence of adjacent vertices (i.e. a walk) which starts with s ...
. They form the finest
partition of the set of vertices that is totally ordered in this way.
Definition
The weak components were defined in a 1972 paper by
Ronald Graham
Ronald Lewis Graham (October 31, 1935July 6, 2020) was an American mathematician credited by the American Mathematical Society as "one of the principal architects of the rapid development worldwide of discrete mathematics in recent years". He ...
,
Donald Knuth
Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist, mathematician, and professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer ...
, and (posthumously)
Theodore Motzkin
Theodore Samuel Motzkin (26 March 1908 – 15 December 1970) was an Israeli- American mathematician.
Biography
Motzkin's father Leo Motzkin, a Ukrainian Jew, went to Berlin at the age of thirteen to study mathematics. He pursued university st ...
, by analogy to the
strongly connected component
In the mathematical theory of directed graphs, a graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of an arbitrary directed graph form a partition into subgraphs that ...
s of a directed graph, which form the finest possible partition of the graph's vertices into subsets that are
partially ordered
In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binary ...
by reachability. Instead, they defined the weak components to be the finest partition of the vertices into subsets that are totally ordered by
In more detail, defines the weak components through a combination of four
symmetric relation
A symmetric relation is a type of binary relation. An example is the relation "is equal to", because if ''a'' = ''b'' is true then ''b'' = ''a'' is also true. Formally, a binary relation ''R'' over a set ''X'' is symmetric if:
:\forall a, b \in X ...
s on the vertices of any directed graph, denoted here as
*For any two vertices
and
of the graph,
if and only if each vertex is reachable from the other: there exist paths in the graph from
to
and from
The
relation is an
equivalence relation
In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation.
Each equivalence relatio ...
, and its
equivalence class
In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements ...
es are used to define the strongly connected components of the graph.
*For any two vertices
and
of the graph,
if and only if neither vertex is reachable from the other: there do not exist paths in the graph in either direction between
*For any two vertices
and
of the graph,
if and only if either
That is, there may be a two-way connection between these vertices, or they may be mutually unreachable, but they may not have a one-way connection.
*The relation
is defined as the
transitive closure
In mathematics, the transitive closure of a binary relation on a set is the smallest relation on that contains and is transitive. For finite sets, "smallest" can be taken in its usual sense, of having the fewest related pairs; for infinit ...
That is,
when there is a sequence
of vertices, starting with
and ending such that each consecutive pair in the sequence is related
Then
is an
equivalence relation
In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation.
Each equivalence relatio ...
: every vertex is related to itself by
(because it can reach itself in both directions by paths of length zero), any two vertices that are related by
can be swapped for each other without changing this relation (because
is built out of the symmetric relations
and
is a
transitive relation
In mathematics, a relation on a set is transitive if, for all elements , , in , whenever relates to and to , then also relates to . Each partial order as well as each equivalence relation needs to be transitive.
Definition
A hom ...
(because it is a transitive closure of another relation). As with any equivalence relation, it can be used to partition the vertices of the graph into
equivalence class
In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements ...
es, subsets of the vertices such that two vertices are related by
if and only if they belong to the same equivalence class. These equivalence classes are the weak components of the given
The original definition by Graham, Knuth, and Motzkin is equivalent but formulated somewhat differently. Given a directed they first construct another graph
as the
complement graph
In the mathematical field of graph theory, the complement or inverse of a graph is a graph on the same vertices such that two distinct vertices of are adjacent if and only if they are not adjacent in . That is, to generate the complement ...
of the
transitive closure
In mathematics, the transitive closure of a binary relation on a set is the smallest relation on that contains and is transitive. For finite sets, "smallest" can be taken in its usual sense, of having the fewest related pairs; for infinit ...
As describes, the edges in
represent , pairs of vertices that are not connected by a path Then, two vertices belong to the same weak component when either they belong to the same strongly connected component of
or As Graham, Knuth, and Motzkin prove, this condition defines an equivalence the same one defined above
Corresponding to these definitions, a directed graph is called weakly connected if it has exactly one weak component. This means that its vertices cannot be partitioned into two subsets, such that all of the vertices in the first subset can reach all of the vertices in the second subset, but such that none of the vertices in the second subset can reach any of the vertices in the first subset. It differs from other notions of weak connectivity in the literature, such as connectivity and
components
Circuit Component may refer to:
•Are devices that perform functions when they are connected in a circuit.
In engineering, science, and technology Generic systems
* System components, an entity with discrete structure, such as an assem ...
in the underlying unconnected graph, for which Knuth suggests the alternative terminology
Properties
If
and
are two weak components of a directed graph,
then either all vertices in
can reach all vertices in
by paths in the graph, or all vertices in
can reach all vertices However, there cannot exist reachability relations in both directions between these two components. Therefore, we can define an ordering on the weak components, according to which