Cohomology — Simplicial and Singular

⚡ Key Takeaways

Cohomology assigns to a topological space XX a graded ring H∗(X;R)H^*(X;R) built by dualizing the chain complex of simplices and taking the cohomology of the resulting cochain complex. The core result: simplicial and singular cohomology agree on triangulable spaces, both are homotopy invariants, and the cup product turns cohomology into a graded-commutative ring — strictly finer than homology. Applies across algebraic topology, geometry, and physics (gauge theory, anomalies). Developed by Alexander, Kolmogorov, Čech, Whitney, and Eilenberg–MacLane in the 1930s–1940s.

💡 The Core Insight

Homology measures cycles modulo boundaries by pushing chains forward; cohomology measures functions on chains that vanish on boundaries, modulo those that are themselves "derivatives." Dualizing flips the boundary map ∂\partial into a coboundary δ\delta running in the opposite direction, and the resulting contravariant functor X↦H∗(X)X\mapsto H^*(X) acquires a multiplicative structure — the cup product — that makes cohomology a far sharper invariant than its dimensions alone suggest.

Formal Statement

DefinitionSingular chain complex

For a space XX and the standard nn-simplex Δn={(t0,…,tn):ti≥0, ∑ti=1}\Delta^n=\{(t_0,\dots,t_n): t_i\ge 0,\ \sum t_i=1\}, a singular nn-simplex is a continuous map σ:Δn→X\sigma:\Delta^n\to X. The singular chain group Cn(X)C_n(X) is the free abelian group on these. The boundary operator is

1
∂nσ  =  ∑i=0n(−1)i σ ⁣∘ ⁣di,\quad \partial_n\sigma \;=\; \sum_{i=0}^{n}(-1)^i\,\sigma\!\circ\! d_i,

where di:Δn−1→Δnd_i:\Delta^{n-1}\to\Delta^n is the ii-th face inclusion (omitting vertex ii). One has ∂n−1∂n=0\partial_{n-1}\partial_n=0.

Derivation hint: The alternating sign ensures each codimension-2 face appears twice with opposite orientation in ∂∂\partial\partial; expand ∂n−1∂n\partial_{n-1}\partial_n and pair the terms didjd_i d_j with j<ij<i against djdi−1d_{j}d_{i-1}.

DefinitionSingular cochain complex and cohomology

Fix a commutative ring RR (often Z\mathbb{Z}, a field, or Z/p\mathbb{Z}/p). The group of singular nn-cochains with coefficients in RR is Cn(X;R)=Hom⁡Z(Cn(X),R)C^n(X;R)=\operatorname{Hom}_{\mathbb{Z}}(C_n(X),R). The coboundary δn:Cn→Cn+1\delta^n:C^n\to C^{n+1} is the dual of ∂n+1\partial_{n+1}:

2
(δnφ)(σ)  =  φ(∂n+1σ)  =  ∑i=0n+1(−1)i φ(σ∘di),φ∈Cn, σ∈Cn+1.\quad (\delta^n\varphi)(\sigma)\;=\;\varphi(\partial_{n+1}\sigma)\;=\;\sum_{i=0}^{n+1}(-1)^i\,\varphi(\sigma\circ d_i),\qquad \varphi\in C^n,\ \sigma\in C_{n+1}.

Since ∂∂=0\partial\partial=0 we get δδ=0\delta\delta=0. The nn-th singular cohomology group is

3
Hn(X;R)  =  ker⁡δn/im⁡δn−1  =  Zn(X;R)/Bn(X;R).\quad H^n(X;R)\;=\;\ker\delta^n\big/\operatorname{im}\delta^{n-1}\;=\;Z^n(X;R)\big/B^n(X;R).

Elements of Zn=ker⁡δnZ^n=\ker\delta^n are cocycles; elements of Bn=im⁡δn−1B^n=\operatorname{im}\delta^{n-1} are coboundaries.

Derivation hint: δδφ(σ)=φ(∂∂σ)=φ(0)=0\delta\delta\varphi(\sigma)=\varphi(\partial\partial\sigma)=\varphi(0)=0; the cohomology is well-defined because Bn⊆ZnB^n\subseteq Z^n.

DefinitionSimplicial cohomology

Let KK be a simplicial complex (or Δ\Delta-complex) with oriented simplices. Let Δn(K)\Delta_n(K) be the free abelian group on nn-simplices and ∂n\partial_n the simplicial boundary. Set Δn(K;R)=Hom⁡(Δn(K),R)\Delta^n(K;R)=\operatorname{Hom}(\Delta_n(K),R) with coboundary dual to ∂\partial. The simplicial cohomology is

4
HΔn(K;R)  =  ker⁡(δn)/im⁡(δn−1).\quad H^n_{\Delta}(K;R)\;=\;\ker(\delta^n)\big/\operatorname{im}(\delta^{n-1}).

Because KK has finitely many simplices in each dimension when it is finite, Δn(K;R)\Delta^n(K;R) is finitely generated and HΔnH^n_\Delta is directly computable by linear algebra over RR.

Derivation hint: A cochain is just an assignment of a value in RR to each oriented nn-simplex; δ\delta is the signed incidence (boundary) matrix transposed, so cohomology = kernel/image of explicit integer matrices.

TheoremSimplicial = Singular

If XX is the geometric realization ∣K∣|K| of a simplicial (or Δ\Delta-) complex KK, the canonical chain map inducing Δ∗(K)↪C∗(X)\Delta_*(K)\hookrightarrow C_*(X) induces, after dualizing, a natural isomorphism

5
HΔn(K;R)  → ≅   Hn(∣K∣;R)for all n, R.\quad H^n_{\Delta}(K;R)\;\xrightarrow{\ \cong\ }\;H^n(|K|;R)\qquad\text{for all }n,\ R.

Derivation hint: The homology statement HnΔ≅HnsingH_n^\Delta\cong H_n^{\text{sing}} is proved by a five-lemma induction over skeleta using long exact sequences of pairs; dualize and apply the Universal Coefficient Theorem (which is natural) to transfer the isomorphism to cohomology.

TheoremUniversal Coefficient Theorem for cohomology

For any space XX and abelian group GG there is a natural short exact sequence, split (non-naturally),

6
0→Ext⁡Z1 ⁣(Hn−1(X;Z), G)→Hn(X;G)→ h Hom⁡ ⁣(Hn(X;Z), G)→0.\quad 0\to \operatorname{Ext}^1_{\mathbb{Z}}\!\big(H_{n-1}(X;\mathbb{Z}),\,G\big)\to H^n(X;G)\xrightarrow{\ h\ }\operatorname{Hom}\!\big(H_n(X;\mathbb{Z}),\,G\big)\to 0.

The map hh is the evaluation (Kronecker) homomorphism [φ]↦([z]↦φ(z))[\varphi]\mapsto\big([z]\mapsto\varphi(z)\big).

Derivation hint: Apply Hom⁡(−,G)\operatorname{Hom}(-,G) to a free resolution 0→Zn→Cn→Bn−1→00\to Z_n\to C_n\to B_{n-1}\to 0 of the chain complex; the derived functor Ext⁡1\operatorname{Ext}^1 appears as the obstruction to surjectivity of the dual sequence, shifting torsion from dimension n−1n-1 into HnH^n.

TheoremCup product / ring structure

For cochains φ∈Cp(X;R), ψ∈Cq(X;R)\varphi\in C^p(X;R),\ \psi\in C^q(X;R) define, for a singular (p+q)(p+q)-simplex σ:Δp+q→X\sigma:\Delta^{p+q}\to X,

7
(φ⌣ψ)(σ)  =  φ(σ∣[v0,…,vp])⋅ψ(σ∣[vp,…,vp+q]),\quad (\varphi\smile\psi)(\sigma)\;=\;\varphi\big(\sigma|_{[v_0,\dots,v_p]}\big)\cdot\psi\big(\sigma|_{[v_p,\dots,v_{p+q}]}\big),

using front and back faces. Then δ(φ⌣ψ)=δφ⌣ψ+(−1)pφ⌣δψ\delta(\varphi\smile\psi)=\delta\varphi\smile\psi+(-1)^p\varphi\smile\delta\psi, so ⌣\smile descends to cohomology, making H∗(X;R)=⨁nHn(X;R)H^*(X;R)=\bigoplus_n H^n(X;R) a graded-commutative ring:

8
α⌣β  =  (−1)∣α∣∣β∣ β⌣α.\quad \alpha\smile\beta\;=\;(-1)^{|\alpha||\beta|}\,\beta\smile\alpha.

Derivation hint: The Leibniz rule for δ\delta follows from telescoping front/back face identities; graded-commutativity is proved at the cochain level only up to a homotopy (the chain homotopy implementing the simplicial cross-product symmetry), so commutativity holds in cohomology, not on cochains.

Why It Holds / Derivation

ProofCohomology is a homotopy-invariant functor

Step 1 — Contravariant functoriality. A continuous f:X→Yf:X\to Y induces f#:Cn(X)→Cn(Y)f_\#:C_n(X)\to C_n(Y), σ↦f∘σ\sigma\mapsto f\circ\sigma, a chain map. Dualizing reverses the arrow: f#=Hom⁡(f#,R):Cn(Y;R)→Cn(X;R)f^\#=\operatorname{Hom}(f_\#,R):C^n(Y;R)\to C^n(X;R) commutes with δ\delta, hence induces f∗:Hn(Y;R)→Hn(X;R)f^*:H^n(Y;R)\to H^n(X;R) with (g∘f)∗=f∗∘g∗(g\circ f)^*=f^*\circ g^*.

Step 2 — Chain homotopy from a homotopy. If F:X×[0,1]→YF:X\times[0,1]\to Y is a homotopy f0≃f1f_0\simeq f_1, the prism (subdivision of Δn×[0,1]\Delta^n\times[0,1]) gives a chain homotopy P:Cn(X)→Cn+1(Y)P:C_n(X)\to C_{n+1}(Y) with ∂P+P∂=f1#−f0#\partial P+P\partial=f_{1\#}-f_{0\#}.

Step 3 — Dualize the homotopy. Apply Hom⁡(−,R)\operatorname{Hom}(-,R): P#P^\# satisfies δP#+P#δ=f1#−f0#\delta P^\#+P^\#\delta = f_1^\#-f_0^\#, i.e. f0#f_0^\# and f1#f_1^\# are cochain-homotopic.

Step 4 — Conclusion. Cochain-homotopic maps induce equal maps on cohomology: if φ\varphi is a cocycle, (f1#−f0#)φ=δ(P#φ)∈Bn(f_1^\#-f_0^\#)\varphi=\delta(P^\#\varphi)\in B^n. Hence f0∗=f1∗f_0^*=f_1^*, and homotopy equivalences induce isomorphisms. □\square

∎
ProofMayer–Vietoris in cohomology

Step 1. For an open cover X=A∪BX=A\cup B, the short exact sequence of cochain complexes 0→C∗(A+B)→C∗(A)⊕C∗(B)→C∗(A∩B)→00\to C^*(A+B)\to C^*(A)\oplus C^*(B)\to C^*(A\cap B)\to 0 arises from restriction maps; exactness uses that small-simplex chains C∗(A+B)↪C∗(X)C_*(A+B)\hookrightarrow C_*(X) are a quasi-isomorphism (excision/barycentric subdivision).

Step 2. The snake lemma yields the long exact sequence

9
⋯→Hn(X)→Hn(A)⊕Hn(B)→Hn(A∩B)→ δ∗ Hn+1(X)→⋯\quad \cdots\to H^n(X)\to H^n(A)\oplus H^n(B)\to H^n(A\cap B)\xrightarrow{\ \delta^*\ } H^{n+1}(X)\to\cdots

Step 3. Naturality of the connecting map δ∗\delta^* follows from naturality of the snake lemma; this gives a computational engine reducing H∗(X)H^*(X) to pieces. □\square

∎

Derivation hint for [9]: The connecting homomorphism takes a class on A∩BA\cap B, extends it locally over AA and BB, and measures the failure to glue — exactly the coboundary of the difference of extensions.

mathematician · Samuel Eilenberg & Saunders MacLane | 1940s

Eilenberg (1913–1998) and MacLane (1909–2005) axiomatized homology and cohomology, introducing the Eilenberg–Steenrod axioms (with Steenrod) and the spaces K(π,n)K(\pi,n) that represent cohomology: Hn(X;G)≅[X,K(G,n)]H^n(X;G)\cong[X,K(G,n)]. Their invention of category theory (1945) was motivated precisely by the need to make "natural" transformations like the cup product and the UCT splitting precise. MacLane's work on cohomology of groups and Eilenberg's on singular theory unified the competing 1930s definitions into the modern functorial framework.

Building Intuition

🧠 Intuition

Think of a pp-cochain as a "measuring device" that eats a pp-dimensional piece of the space and returns a number. The cocycle condition δφ=0\delta\varphi=0 says the measurement is conservative: integrating φ\varphi over the boundary of any (p+1)(p+1)-cell gives zero — a discrete Stokes' theorem. A coboundary φ=δψ\varphi=\delta\psi is a measurement that is the "total change" of a lower-dimensional potential, hence trivially conservative. Cohomology = conservative measurements modulo exact ones = the genuinely "circulating" fields the space supports. The de Rham analogy is exact: differential forms are continuous cochains, dd is δ\delta, closed/exact forms are cocycles/coboundaries, and the cup product is the wedge product ∧\wedge.

WA
Why a physicist cares

In gauge theory a connection is a 1-form and its field strength a 2-form; the magnetic monopole's charge is the integral of F/2πF/2\pi over a sphere, an element of H2(S2;Z)≅ZH^2(S^2;\mathbb{Z})\cong\mathbb{Z}. Dirac quantization is the statement that this cohomology class is integral. Cup products encode anomalies and the ring structure of characteristic classes (Chern, Stiefel–Whitney). Discrete versions (lattice gauge theory, topological order) literally use simplicial cochains on a triangulated spacetime.

Worked Examples

ExampleCohomology of the circle S1S^1

Given: S1S^1 as a Δ\Delta-complex with one vertex vv and one edge ee (a loop). Coefficients R=ZR=\mathbb{Z}.

Step 1 — Chain groups. Δ0=Z⟨v⟩, Δ1=Z⟨e⟩\Delta_0=\mathbb{Z}\langle v\rangle,\ \Delta_1=\mathbb{Z}\langle e\rangle, higher zero. Boundary ∂1e=v−v=0\partial_1 e = v - v = 0.

Step 2 — Cochains. Δ0=Z, Δ1=Z\Delta^0=\mathbb{Z},\ \Delta^1=\mathbb{Z}. Coboundary δ0:Δ0→Δ1\delta^0:\Delta^0\to\Delta^1 is the transpose of ∂1=0\partial_1=0, so δ0=0\delta^0=0.

Step 3 — Cohomology. H0=ker⁡δ0/0=ZH^0=\ker\delta^0/0=\mathbb{Z} (since δ0=0\delta^0=0, all of Δ0\Delta^0 is cocycles). H1=Δ1/im⁡δ0=Z/0=ZH^1=\Delta^1/\operatorname{im}\delta^0=\mathbb{Z}/0=\mathbb{Z}.

Step 4 — Check via UCT. H0=Z, H1=ZH_0=\mathbb{Z},\ H_1=\mathbb{Z}, both free, so Ext⁡=0\operatorname{Ext}=0 and Hn≅Hom⁡(Hn,Z)H^n\cong\operatorname{Hom}(H_n,\mathbb{Z}), confirming the result.

H0(S1;Z)=Z,H1(S1;Z)=Z,Hn=0 (n≥2).\boxed{H^0(S^1;\mathbb{Z})=\mathbb{Z},\quad H^1(S^1;\mathbb{Z})=\mathbb{Z},\quad H^n=0\ (n\ge2).}
ExampleCohomology of RP2\mathbb{RP}^2 — torsion appears

Given: Real projective plane, with known integral homology H0=Z, H1=Z/2, H2=0H_0=\mathbb{Z},\ H_1=\mathbb{Z}/2,\ H_2=0.

Step 1 — Apply UCT in degree 1. H1=Hom⁡(Z/2,Z)⊕Ext⁡(H0,Z)=0⊕0=0.H^1=\operatorname{Hom}(\mathbb{Z}/2,\mathbb{Z})\oplus\operatorname{Ext}(H_0,\mathbb{Z})=0\oplus 0=0.

Step 2 — Degree 2 (the torsion shift). H2=Hom⁡(H2,Z)⊕Ext⁡1(H1,Z)=Hom⁡(0,Z)⊕Ext⁡1(Z/2,Z).H^2=\operatorname{Hom}(H_2,\mathbb{Z})\oplus\operatorname{Ext}^1(H_1,\mathbb{Z})=\operatorname{Hom}(0,\mathbb{Z})\oplus\operatorname{Ext}^1(\mathbb{Z}/2,\mathbb{Z}). Since Ext⁡1(Z/2,Z)=Z/2\operatorname{Ext}^1(\mathbb{Z}/2,\mathbb{Z})=\mathbb{Z}/2, we get H2=Z/2H^2=\mathbb{Z}/2.

Step 3 — With Z/2\mathbb{Z}/2 coefficients (ring structure). H∗(RP2;Z/2)=Z/2[α]/(α3)H^*(\mathbb{RP}^2;\mathbb{Z}/2)=\mathbb{Z}/2[\alpha]/(\alpha^3) with ∣α∣=1|\alpha|=1, so α⌣α=α2≠0\alpha\smile\alpha=\alpha^2\ne 0 generates H2H^2.

H0=Z, H1=0, H2=Z/2(Z coeffs);H∗(⋅;Z/2)=Z/2[α]/(α3).\boxed{H^0=\mathbb{Z},\ H^1=0,\ H^2=\mathbb{Z}/2\quad(\mathbb{Z}\text{ coeffs});\quad H^*( \cdot;\mathbb{Z}/2)=\mathbb{Z}/2[\alpha]/(\alpha^3).}

Note the contrast with homology: torsion lives in H1H_1 but in H2H^2 — UCT shifts it up by one. The nonzero cup square distinguishes RP2\mathbb{RP}^2 from S1∨S2S^1\vee S^2, which have the same homology groups but different rings.

Common Misconceptions

⚠️ Cohomology is not just the dual of homology

A pervasive error is to assume Hn(X;Z)≅Hom⁡(Hn(X),Z)H^n(X;\mathbb{Z})\cong\operatorname{Hom}(H_n(X),\mathbb{Z}). This fails whenever Hn−1H_{n-1} has torsion: the Ext⁡\operatorname{Ext} term in [6] contributes. For RP2\mathbb{RP}^2, homology has Z/2\mathbb{Z}/2 in degree 1, but cohomology has Z/2\mathbb{Z}/2 in degree 2, not degree 1. Over a field the Ext⁡\operatorname{Ext} term vanishes and Hn≅Hom⁡(Hn,F)H^n\cong\operatorname{Hom}(H_n,F) does hold — which is why people forget the correction.

⚠️ The cup product is not commutative on cochains

Formula [7] is not symmetric: φ⌣ψ≠±ψ⌣φ\varphi\smile\psi\ne\pm\psi\smile\varphi as cochains in general. Graded-commutativity [8] holds only after passing to cohomology, via a non-trivial chain homotopy (whose obstruction to vanishing yields the Steenrod squares SqiSq^i). Confusing cochain-level and cohomology-level identities is a classic source of false "proofs."

CounterexampleSame groups, different rings

X=CP2X = \mathbb{CP}^2 and Y=S2∨S4Y=S^2\vee S^4 have identical cohomology groups: Z\mathbb{Z} in degrees 0,2,40,2,4. But in CP2\mathbb{CP}^2 the generator a∈H2a\in H^2 satisfies a2≠0a^2\ne 0 (it generates H4H^4), while in S2∨S4S^2\vee S^4 the wedge kills all products, so a2=0a^2=0. The cup product detects that CP2\mathbb{CP}^2 is "twisted" while the wedge is not — these spaces are not homotopy equivalent, a fact invisible to homology or cohomology groups alone.

Figure
The coboundary δ\delta runs opposite to the boundary ∂\partial, dualizing the chain complex

```svg

Chain complex (down) vs Cochain complex (up) C₀ C₁ C₂ C₃ ∂₁ ∂₂ ∂₃ C⁰ C¹ C² C³ δ⁰ δ¹ δ² Hom(–,R) δⁿ = (∂ₙ₊₁)ᵀ : raises degree, runs rightward

```

Connections

connection

Cohomology sits at a crossroads. Via the de Rham theorem, de Rham Cohomology of a smooth manifold is isomorphic (as rings, by the wedge/cup correspondence) to singular cohomology with R\mathbb{R} coefficients. Čech Cohomology agrees with singular on paracompact spaces and is the natural home for sheaf-theoretic generalizations, leading to Sheaf Cohomology and Derived Functors. The representability Hn(X;G)≅[X,K(G,n)]H^n(X;G)\cong[X,K(G,n)] links cohomology to Homotopy Theory and Eilenberg–MacLane Spaces. Generalizing the Eilenberg–Steenrod axioms by dropping the dimension axiom yields Generalized Cohomology Theories such as K-theory and cobordism. The cup product is the degree-zero shadow of richer structure in Spectral Sequences and Steenrod Algebra.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1895–1904: Poincaré introduces homology and duality (Analysis Situs), implicitly the seed of cohomological duality but with no cochain language.
- 1925–1928: Emmy Noether reframes homology in terms of abelian groups, enabling the dual (Hom) construction.
- 1934–1936: J. W. Alexander and A. N. Kolmogorov independently introduce cochains and the cup/coboundary operations at the Moscow conference (1935); priority and sign conventions are debated.
- 1935: E. Čech defines cohomology via open covers and nerves — Čech Cohomology.
- 1937: H. Whitney coins the term "cup product" and clarifies its formula and properties.
- 1944: Eilenberg gives the modern, rigorous definition of singular homology and cohomology, with continuous maps of simplices.
- 1945: Eilenberg & Steenrod state the axioms characterizing (co)homology; Eilenberg & MacLane found category theory to express naturality.
- 1947–1952: Steenrod constructs the squares SqiSq^i; the failure of cochain-level commutativity becomes a powerful invariant. de Rham's theorem (1931, sharpened later) ties forms to cohomology.
- 1950s: Serre's spectral sequence and Leray's sheaf cohomology integrate singular cohomology into the broader machinery of modern algebraic topology and geometry.

Subtleties & Limits

open-problem

The cup product is only the first layer: the full Steenrod operations and the failure of strict commutativity at the cochain level encode deep secondary information, and computing the action of the Steenrod algebra on H∗(X;Z/p)H^*(X;\mathbb{Z}/p) for complicated XX remains hard. More broadly, the Adams spectral sequence built from Ext⁡\operatorname{Ext} over the Steenrod algebra is the gateway to stable homotopy groups of spheres — still unknown in general. On the foundational side, while singular and Čech cohomology agree for nice (paracompact, locally contractible) spaces, they diverge for pathological spaces (e.g. the Warsaw circle), and characterizing exactly when sheaf, Čech, and singular theories coincide leads into subtle point-set and topos-theoretic questions still studied today.

See Also

Singular Homology · Čech Cohomology · de Rham Cohomology · Cup Product and Cohomology Rings · Poincaré Duality · Universal Coefficient Theorem · Eilenberg–MacLane Spaces · Steenrod Algebra · Sheaf Cohomology · Generalized Cohomology Theories