Homology & Cohomology
Homology and cohomology provide computable algebraic invariants of topological spaces. Simplicial and singular homology count "holes" of each dimension, while de Rham cohomology uses differential forms to detect topological features. The de Rham theorem establishes their equivalence for smooth manifolds, bridging topology and analysis.
Historical Context
Homology was introduced by Poincaré (1895) using simplicial decompositions. Emmy Noether (1925) revolutionized the subject by recognizing that homology groups are the correct algebraic structures, replacing Betti numbers and torsion coefficients. Samuel Eilenberg and Norman Steenrod axiomatized homology theories in their 1952 book, showing that many different constructions (simplicial, singular, cellular) all give the same invariants.
Georges de Rham proved his famous theorem (1931) that the cohomology defined by differential forms equals singular cohomology with real coefficients. This result bridges analysis and topology, allowing topological invariants to be computed by integrating differential forms.
In physics, de Rham cohomology is the natural framework for electromagnetism (closed but not exact forms correspond to magnetic charges) and for classifying conserved quantities via Noether's theorem. The BRST cohomology of gauge theories is a direct generalization.
Derivation 1: Simplicial Homology
Given a simplicial complex $K$, the chain complex is:
$\cdots \xrightarrow{\partial_{n+1}} C_n(K) \xrightarrow{\partial_n} C_{n-1}(K) \xrightarrow{\partial_{n-1}} \cdots \xrightarrow{\partial_1} C_0(K) \to 0$
where $C_n(K)$ is the free abelian group on oriented $n$-simplices and the boundary operator is:
$\partial_n[v_0, \ldots, v_n] = \sum_{i=0}^n (-1)^i [v_0, \ldots, \hat{v}_i, \ldots, v_n]$
The key property $\partial_{n-1} \circ \partial_n = 0$ (boundary of a boundary is zero) ensures that $\text{im}(\partial_{n+1}) \subseteq \ker(\partial_n)$. The homology groups are:
$\boxed{H_n(K) = \ker(\partial_n) / \text{im}(\partial_{n+1}) = Z_n / B_n}$
Elements of $Z_n = \ker(\partial_n)$ are cycles; elements of$B_n = \text{im}(\partial_{n+1})$ are boundaries. Homology measures cycles that are not boundaries.
Betti numbers: $b_n = \text{rank}(H_n)$ counts the number of independent $n$-dimensional holes. The Euler characteristic is the alternating sum:$\chi = \sum_n (-1)^n b_n$.
Derivation 2: de Rham Cohomology
On a smooth manifold $M$, the de Rham complex is:
$0 \to \Omega^0(M) \xrightarrow{d} \Omega^1(M) \xrightarrow{d} \Omega^2(M) \xrightarrow{d} \cdots$
The property $d^2 = 0$ gives the de Rham cohomology:
$H^k_{dR}(M) = \frac{\ker(d: \Omega^k \to \Omega^{k+1})}{\text{im}(d: \Omega^{k-1} \to \Omega^k)} = \frac{\text{closed } k\text{-forms}}{\text{exact } k\text{-forms}}$
Examples
$H^0_{dR}(M) = \mathbb{R}^{\pi_0(M)}$: locally constant functions (one copy of $\mathbb{R}$ per component)
$H^1_{dR}(S^1) = \mathbb{R}$: generated by $d\theta$ (closed but not exact globally)
$H^2_{dR}(S^2) = \mathbb{R}$: generated by the area form $\sin\theta\,d\theta \wedge d\phi$
Electromagnetism: Maxwell's equations in vacuum state that$dF = 0$ and $d*F = 0$. The first equation means $F$ is a closed 2-form. If $H^2_{dR}(M) = 0$, then $F = dA$ globally. But if $H^2 \neq 0$ (e.g., around a monopole), $F$ can represent a nontrivial cohomology class—this is the magnetic charge.
Derivation 3: The de Rham Theorem
The de Rham theorem establishes a canonical isomorphism:
$\boxed{H^k_{dR}(M) \cong H^k_{\text{sing}}(M, \mathbb{R})}$
The isomorphism is given by integration: a closed $k$-form$\omega$ defines a linear functional on $k$-cycles via:
$\sigma \mapsto \int_\sigma \omega$
Stokes's theorem ensures this is well-defined on cohomology/homology: if $\omega = d\alpha$(exact), then $\int_\sigma d\alpha = \int_{\partial\sigma} \alpha = 0$ for any cycle $\sigma$.
Hodge Theory Refinement
On a compact Riemannian manifold, the Hodge theorem provides a canonical representative for each cohomology class: the unique harmonic form:
$H^k_{dR}(M) \cong \mathcal{H}^k(M) = \{\omega : d\omega = 0, \delta\omega = 0\}$
where $\delta = (-1)^{nk+n+1}*d*$ is the codifferential. Harmonic forms are both closed and coclosed, and minimize the $L^2$ norm in their cohomology class.
Derivation 4: Poincaré Duality
For a closed oriented $n$-manifold $M$, Poincaré dualitygives a canonical isomorphism:
$H^k(M) \cong H_{n-k}(M)$
In de Rham terms, the pairing is given by the wedge product and integration:
$H^k(M) \times H^{n-k}(M) \to \mathbb{R}, \quad ([\alpha], [\beta]) \mapsto \int_M \alpha \wedge \beta$
This pairing is non-degenerate, establishing the isomorphism. In particular, $b_k = b_{n-k}$(the Betti numbers are palindromic).
Intersection Form
For a 4-manifold, the intersection form on $H^2(M^4)$:
$Q(\alpha, \beta) = \int_{M^4} \alpha \wedge \beta$
is a symmetric bilinear form that completely classifies simply connected closed 4-manifolds up to homeomorphism (Freedman, 1982). For smooth 4-manifolds, additional constraints from Donaldson theory apply.
String theory: Poincaré duality on a Calabi-Yau 3-fold gives the mirror symmetry between type IIA and IIB string theories: the interchange$H^{1,1} \leftrightarrow H^{2,1}$ exchanges Kähler and complex structure moduli.
Derivation 5: The Mayer-Vietoris Sequence
If $M = U \cup V$ with $U, V$ open, the Mayer-Vietoris sequence is a long exact sequence:
$\cdots \to H^k(M) \to H^k(U) \oplus H^k(V) \to H^k(U \cap V) \xrightarrow{\delta} H^{k+1}(M) \to \cdots$
Example: $H^*(S^n)$
Cover $S^n$ by two open hemispheres $U, V$ (each contractible, so $H^k = 0$ for $k > 0$), with $U \cap V \simeq S^{n-1}$:
$0 \to H^k(S^n) \to 0 \oplus 0 \to H^k(S^{n-1}) \xrightarrow{\cong} H^{k+1}(S^n) \to 0$
This gives the inductive computation: $H^k(S^n) \cong H^{k-1}(S^{n-1})$ for $0 < k \leq n$, confirming $H^k(S^n) = \mathbb{R}$ for $k = 0, n$ and zero otherwise.
Computational power: Mayer-Vietoris is the standard tool for computing cohomology by decomposing spaces. Together with homotopy invariance and the Künneth formula ($H^*(M \times N) \cong H^*(M) \otimes H^*(N)$), it covers most practical calculations.
Interactive Simulation
This simulation computes Betti numbers for common topological spaces, verifies the Gauss-Bonnet theorem via the Euler characteristic, demonstrates the simplicial chain complex for the tetrahedron, and plots how Betti numbers vary with genus.
Homology & Cohomology: Betti Numbers, de Rham & Poincare Duality
PythonClick Run to execute the Python code
Code will be executed with Python 3 on the server
Summary
Simplicial Homology
Counts cycles modulo boundaries: $H_n = \ker\partial_n / \text{im}\,\partial_{n+1}$. Betti numbers$b_n$ count independent $n$-holes, and the Euler characteristic is their alternating sum.
de Rham Cohomology
Closed forms modulo exact forms: $H^k_{dR} = \ker d / \text{im}\,d$. Detects the same topological information as singular cohomology, by the de Rham theorem.
Poincaré Duality
On a closed oriented $n$-manifold: $H^k \cong H_{n-k}$. The wedge-integration pairing is non-degenerate, giving palindromic Betti numbers.
Mayer-Vietoris
The fundamental computational tool for (co)homology. Decomposes a space into overlapping pieces and relates their (co)homology via a long exact sequence.