HOME

TheInfoList



OR:

In
algebraic topology Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariants that classify topological spaces up to homeomorphism, though usually most classif ...
and
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 ...
, graph homology describes the
homology groups In mathematics, homology is a general way of associating a sequence of algebraic objects, such as abelian groups or modules, with other mathematical objects such as topological spaces. Homology groups were originally defined in algebraic topolo ...
of a
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discre ...
, where the graph is considered as a topological space. It formalizes the idea of the number of "holes" in the graph. It is a special case of a
simplicial homology In algebraic topology, simplicial homology is the sequence of homology groups of a simplicial complex. It formalizes the idea of the number of holes of a given dimension in the complex. This generalizes the number of connected components (the case ...
, as a graph is a special case of a simplicial complex. Since a finite graph is a 1-complex (i.e., its 'faces' are the vertices - which are 0-dimensional, and the edges - which are 1-dimensional), the only non-trivial homology groups are the 0-th group and the 1-th group.


The 1st homology group

The general formula for the 1st homology group of a topological space ''X'' is:H_1(X) := \ker \partial_1 \big/ \operatorname \partial_2 The example below explains these symbols and concepts in full detail on a graph.


Example

Let ''X'' be 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 ...
with 3 vertices and 4 edges . It has several ''cycles'': * One cycle is represented by the loop a+b+c. Here, the plus sign represents the fact that all edges are travelled at the same direction. Since the addition operation is commutative, the + sign represents the fact that the loops a+b+c, b+c+a, and c+a+b, all represent the same cycle. * A second cycle is represented by the loop a+b+d. * A third cycle is represented by the loop c−d. Here, the minus sign represents the fact that the edge d is travelled backwards. If we cut the plane along the loop a+b+d, and then cut at c and "glue" at d, we get a cut along the loop a+b+c. This can be represented by the following relation: (a+b+d) + (c-d) = (a+b+c). To formally define this relation, we define the following commutative groups: * ''C''0 is the
free abelian group In mathematics, a free abelian group is an abelian group with a basis. Being an abelian group means that it is a set with an addition operation that is associative, commutative, and invertible. A basis, also called an integral basis, is a su ...
generated by the set of vertices . Each element of ''C''0 is called a ''0-dimensional chain''. * ''C''1 is the
free abelian group In mathematics, a free abelian group is an abelian group with a basis. Being an abelian group means that it is a set with an addition operation that is associative, commutative, and invertible. A basis, also called an integral basis, is a su ...
generated by the set of directed edges . Each element of ''C''1 is called a ''1-dimensional chain''. The three cycles mentioned above are 1-dimensional chains, and indeed the relation (a+b+d) + (c-d) = (a+b+c) holds in the group ''C''1. Most elements of ''C''1 are not cycles, for example a+b, 2a+5b-c, etc. are not cycles. To formally define a cycle, we first define ''boundaries''. The boundary of an edge is denoted by the \partial_1 operator and defined as its target minus its source, so \partial_1(a)=y-x, ~ \partial_1(b)=z-y, ~ \partial_1(c)=\partial_1(d)=x-z. So \partial_1 is a mapping from the group ''C''1 to the group ''C''0. Since a,b,c,d are the generators of ''C''1, this \partial_1 naturally extends to a
group homomorphism In mathematics, given two groups, (''G'', ∗) and (''H'', ·), a group homomorphism from (''G'', ∗) to (''H'', ·) is a function ''h'' : ''G'' → ''H'' such that for all ''u'' and ''v'' in ''G'' it holds that : h(u*v) = h(u) \cdot h(v) ...
from ''C''1 to ''C''0. In this homomorphism, \partial_1(a+b+c)= \partial_1(a)+\partial_1(b)+\partial_1(c) = (y-x)+(z-y)+ (x-z) = 0 . Similarly, \partial_1 maps any cycle in ''C''1 to the zero element of ''C''0. In other words, the set of cycles in C1 generates the null space (the kernel) of \partial_1. In this case, the kernel of \partial_1 has two generators: one corresponds to a+b+c and the other to a+b+d (the third cycle, c-d, is a linear combination of the first two). So ker \partial_1is isomorphic to Z2. In a general topological space, we would define higher-dimensional chains. In particular, ''C''2 would be the free abelian group on the set of 2-dimensional objects. However, in a graph there are no such objects, so ''C''2 is a trivial group. Therefore, the image of the second boundary operator, \partial_2, is trivial too. Therefore:H_1(X) = \ker\partial_1 \big/ \operatorname\partial_2 \cong \mathbb^2 / \mathbb^0 = \mathbb^2 This corresponds to the intuitive fact that the graph has two "holes". The exponent is the number of holes.


General case

The above example can be generalized to an arbitrary
connected graph In mathematics and computer science, connectivity is one of the basic concepts of graph theory: it asks for the minimum number of elements (nodes or edges) that need to be removed to separate the remaining nodes into two or more isolated subgra ...
''G'' = (''V'', ''E''). Let ''T'' be a
spanning tree In the mathematical field of graph theory, a spanning tree ''T'' of an undirected graph ''G'' is a subgraph that is a tree which includes all of the vertices of ''G''. In general, a graph may have several spanning trees, but a graph that is no ...
of ''G''. Every edge in ''E'' \ ''T'' corresponds to a cycle; these are exactly the linearly independent cycles. Therefore, the first homology group ''H''1 of a
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discre ...
is the
free abelian group In mathematics, a free abelian group is an abelian group with a basis. Being an abelian group means that it is a set with an addition operation that is associative, commutative, and invertible. A basis, also called an integral basis, is a su ...
with , ''E'' \ ''T'', generators. This number equals , ''E'', -, ''V'', +1; so:H_1(X) \cong \mathbb^.In a disconnected graph, when ''C'' is the set of connected components, a similar computation shows:H_1(X) \cong \mathbb^.In particular, the first group is trivial if and only if ''X'' is a
forest A forest is an area of land dominated by trees. Hundreds of definitions of forest are used throughout the world, incorporating factors such as tree density, tree height, land use, legal standing, and ecological function. The United Nations' ...
.


The 0-th homology group

The general formula for the 0-th homology group of a topological space ''X'' is:H_0(X) := \ker \partial_0 \big/ \operatorname \partial_


Example

We return to the graph with 3 vertices and 4 edges . Recall that the group ''C''0 is generated by the set of vertices. Since there are no (−1)-dimensional elements, the group ''C''−1 is trivial, and so the entire group ''C''0 is a kernel of the corresponding boundary operator: \ker \partial_0 = C_0 = the free abelian group generated by . The image of \partial_1 contains an element for each pair of vertices that are boundaries of an edge, i.e., it is generated by the differences . To calculate the quotient group, it is convenient to think of all the elements of \operatorname \partial_ as "equivalent to zero". This means that x, y and z are equivalent - they are in the same equivalence class of the quotient. In other words, H_0(X) is generated by a single element (any vertex can generate it). So it is isomorphic to Z.


General case

The above example can be generalized to any
connected graph In mathematics and computer science, connectivity is one of the basic concepts of graph theory: it asks for the minimum number of elements (nodes or edges) that need to be removed to separate the remaining nodes into two or more isolated subgra ...
. Starting from any vertex, it is possible to get to any other vertex by adding to it one or more expressions corresponding to edges (e.g. starting from x, one can get to z by adding y-x and z-y). Since the elements of \operatorname \partial_ are all equivalent to zero, it means that all vertices of the graph are in a single equivalence class, and therefore H_0(X) is isomorphic to Z. In general, the graph can have several connected components. Let C be the set of components. Then, every connected component is an equivalence class in the quotient group. Therefore: H_0(X) \cong \mathbb^ . It can be generated by any , ''C'', -tuple of vertices, one from each component.


Reduced homology

Often, it is convenient to assume that the 0-th homology of a connected graph is trivial (so that, if the graph contains a single point, then all its homologies are trivial). This leads to the definition of the
reduced homology In mathematics, reduced homology is a minor modification made to homology theory in algebraic topology, motivated by the intuition that all of the homology groups of a single point should be equal to zero. This modification allows more concise sta ...
. For a graph, the reduced 0-th homology is: \tilde(X) \cong \mathbb^. This "reduction" affects only the 0-th homology; the reduced homologies of higher dimensions are equal to the standard homologies.


Higher dimensional homologies

A graph has only vertices (0-dimensional elements) and edges (1-dimensional elements). We can generalize the graph to an
abstract simplicial complex In combinatorics, an abstract simplicial complex (ASC), often called an abstract complex or just a complex, is a family of sets that is closed under taking subsets, i.e., every subset of a set in the family is also in the family. It is a purely ...
by adding elements of a higher dimension. Then, the concept of graph homology is generalized by the concept of
simplicial homology In algebraic topology, simplicial homology is the sequence of homology groups of a simplicial complex. It formalizes the idea of the number of holes of a given dimension in the complex. This generalizes the number of connected components (the case ...
.


Example

In the above example graph, we can add a two-dimensional "cell" enclosed between the edges c and d; let's call it A and assume that it is oriented clockwise. Define ''C''2 as the
free abelian group In mathematics, a free abelian group is an abelian group with a basis. Being an abelian group means that it is a set with an addition operation that is associative, commutative, and invertible. A basis, also called an integral basis, is a su ...
generated by the set of two-dimensional cells, which in this case is a singleton . Each element of ''C''2 is called a ''2-dimensional chain''. Just like the boundary operator from ''C''1 to ''C''0, which we denote by \partial_1, there is a boundary operator from ''C''2 to ''C''1, which we denote by \partial_2. In particular, the boundary of the 2-dimensional cell A are the 1-dimensional edges c and d, where c is in the "correct" orientation and d is in a "reverse" orientation; therefore: \partial_2(A)=c-d . The sequence of chains and boundary operators can be presented as follows: C_2 \xrightarrow C_1 \xrightarrow C_0 The addition of the 2-dimensional cell A implies that its boundary, c-d, no longer represents a hole (it is homotopic to a single point). Therefore, the group of "holes" now has a single generator, namely a+b+c (it is homotopic to a+b+d). The first homology group is now defined as the
quotient group A quotient group or factor group is a mathematical group obtained by aggregating similar elements of a larger group using an equivalence relation that preserves some of the group structure (the rest of the structure is "factored" out). For exam ...
: H_1(X) := \ker \partial_1 \big/ \operatorname \partial_2 Here, \ker \partial_1 is the group of 1-dimensional cycles, which is isomorphic to Z2, and \operatorname \partial_2 is the group of 1-dimensional cycles that are boundaries of 2-dimensional cells, which is isomorphic to Z. Hence, their quotient ''H''1 is isomorphic to Z. This corresponds to the fact that ''X'' now has a single hole. Previously. the image of \partial_2 was the
trivial group In mathematics, a trivial group or zero group is a group consisting of a single element. All such groups are isomorphic, so one often speaks of the trivial group. The single element of the trivial group is the identity element and so it is usual ...
, so the quotient was equal to \ker \partial_1 . Suppose now that we add another oriented 2-dimensional cell B between the edges c and d, such that \partial_2(B)=\partial_2(A)=c-d . Now ''C''2 is the
free abelian group In mathematics, a free abelian group is an abelian group with a basis. Being an abelian group means that it is a set with an addition operation that is associative, commutative, and invertible. A basis, also called an integral basis, is a su ...
generated by . This does not change ''H''1 - it is still isomorphic to Z (X still has a single 1-dimensional hole). But now ''C''2 contains the two-dimensional cycle A-B, so \partial_2 has a non-trivial kernel. This cycle generates the second homology group, corresponding to the fact that there is a single two-dimensional hole: H_2(X) := \ker \partial_2 \cong \mathbb We can proceed and add a 3-cell - a solid 3-dimensional object (called C) bounded by A and B. Define ''C''3 as the free abelian group generated by , and the boundary operator \partial_3: C_3 \to C_2. We can orient C such that \partial_3(C)=A - B ; note that the boundary of C is