Simplicial homology is computed from the chain complex of oriented simplices in a simplicial
complex . Choose an ordering of the vertices
of
. With integer coefficients, the
th chain group is the free
Abelian group on the
-simplices with the induced vertex ordering. For
, the boundary
operator is defined on a simplex by
where the hat denotes omission of a vertex. Set . In
for
, each face obtained by deleting two vertices
occurs twice with opposite signs, so the composition is zero (Hatcher 2002, pp. 105-106).
The th
homology group is the group of cycles
modulo the boundaries. For example, the three
coherently oriented sides of a triangle form a 1-cycle. If
consists of just those sides and their vertices,
this cycle generates
. If the filled triangle is included, the same
cycle is the boundary
of a 2-simplex, and
for the resulting filled triangle.
Simplicial homology agrees with singular homology of the underlying space . For a simplicial
subcomplex
, quotienting the simplicial
chains of
by those of
computes the relative homology of
(Hatcher 2002, pp. 128-130).