Chain Complexes and Boundary Maps
Published:
From Simplicial Complexes to Algebra
A simplicial complex gives us a combinatorial description of a space. To compute topology, we translate it into algebra via chain groups and boundary maps.
Given a simplicial complex \(K\), the \(n\)-chain group \(C_n(K; \mathbb{F})\) over a field \(\mathbb{F}\) (usually \(\mathbb{F}_2 = \{0,1\}\) for TDA) is the vector space freely generated by the oriented \(n\)-simplices of \(K\). An element of \(C_n\) is a formal linear combination of \(n\)-simplices โ a chain.
For a triangle (2-simplex \([v_0, v_1, v_2]\)), we have:
- \(C_0 = \mathrm{span}\{[v_0], [v_1], [v_2]\}\) โ 0-chains (vertices)
- \(C_1 = \mathrm{span}\{[v_0 v_1], [v_1 v_2], [v_0 v_2]\}\) โ 1-chains (edges)
- \(C_2 = \mathrm{span}\{[v_0 v_1 v_2]\}\) โ 2-chains (faces)
The Boundary Map
The boundary map \(\partial_n: C_n \to C_{n-1}\) computes the oriented boundary of a simplex:
where \(\hat{v}_i\) means \(v_i\) is omitted. For \(\mathbb{F}_2\), signs are dropped (every coefficient is 0 or 1).
Examples:
- \(\partial_1 [v_0 v_1] = [v_1] - [v_0]\) โ an edgeโs boundary is its two endpoints.
- \(\partial_2 [v_0 v_1 v_2] = [v_1 v_2] - [v_0 v_2] + [v_0 v_1]\) โ a triangleโs boundary is its three edges.
The Fundamental Property: โโโ = 0
This says: โthe boundary of a boundary is empty.โ Intuitively, if you walk around the boundary of a filled region, each edge appears twice (once for each adjacent face) and cancels.
This gives us the chain complex:
\[\cdots \xrightarrow{\partial_{n+1}} C_n \xrightarrow{\partial_n} C_{n-1} \xrightarrow{\partial_{n-1}} \cdots \xrightarrow{\partial_1} C_0 \xrightarrow{\partial_0} 0\]Because \(\partial \circ \partial = 0\), we have \(\mathrm{im}(\partial_{n+1}) \subseteq \ker(\partial_n)\).
Homology Groups
- \(Z_n = \ker(\partial_n)\) โ cycles: chains with no boundary.
- \(B_n = \mathrm{im}(\partial_{n+1})\) โ boundaries: chains that bound a higher-dimensional face.
The \(n\)-th homology group is:
Intuitively, \(H_n\) counts \(n\)-dimensional holes: cycles that are not boundaries. The Betti number \(\beta_n = \dim(H_n)\) is the number of independent holes.
Connection to Persistence
Persistent homology tracks how homology groups change as we grow the filtration \(K^0 \subseteq K^1 \subseteq \cdots \subseteq K^m\). At each step, we extend the chain complex. The persistence algorithm computes, for each generator of homology, the scale at which it is born (enters as a cycle) and dies (becomes a boundary). The output โ a persistence diagram โ is a complete summary of the filtrationโs topology.
References
- A. Hatcher, Algebraic Topology, Chapter 2. Free at pi.math.cornell.edu/~hatcher.
- H. Edelsbrunner & J. Harer, Computational Topology: An Introduction, AMS, 2010.
