Skip to content

Introduction to Algebraic Topology

Algebraic topology works by attaching an algebraic invariant to a space and then computing that invariant. The fundamental group measures one-dimensional holes. Homology measures holes of every dimension, and it does so in a form where the two halves of the story — “chains” and “cycles” — are actual algebraic objects you can manipulate. The entire subject is the observation that the pieces fit: the fundamental group is H1H_1 with extra structure, and the long exact sequence of a pair is what makes the two fit together.

The progression below is deliberate. Sections 9.1 to 9.5 build the fundamental group from scratch and give the one theorem (van Kampen) that lets you compute it for a space assembled from pieces. Sections 9.6 to 9.9 introduce chains, cycles and boundaries, then homology, then the two tools that make homology usable — the long exact sequence and Mayer-Vietoris — and then the duality and cohomology that close the subject. Every computation is worked in full.

Picture a doughnut. Walk a loop around the hole: it does not contract, and that failure is recorded by an integer — how many times you went round. Now put a second handle on the doughnut and ask the same question: you need two integers. Now ask about a void rather than a handle: a loop tells you nothing, because a void is not something a loop can detect. That is the limitation that motivates homology: the fundamental group sees tunnels but is blind to cavities, and it does so because a loop is a one-dimensional object and a cavity is three-dimensional.

Homology fixes this by letting the investigator choose the dimension. HkH_k is built from kk-dimensional chains, so H1H_1 sees tunnels, H2H_2 sees the middle sphere of a double doughnut, and H3H_3 sees cavities. The price is that the fundamental group’s non-abelian information is lost — and it is genuinely lost, not hidden, which is why both theories exist rather than one replacing the other. The relationship is exact: the abelianisation of π1(X)\pi_1(X) is H1(X)H_1(X).

The second intuition is that a boundary is a degeneracy. A triangle bounds a filled-in region; a loop is a triangle whose filling is missing. Homology is built by declaring “everything that bounds something is zero” — the quotient of chains by boundaries. What survives the quotient is the thing with no filling, which is precisely the hole.

Definition. Two continuous maps f,g:X→Yf, g : X \to Y are homotopic (written f≃gf \simeq g) if there is a continuous H:X×[0,1]→YH : X \times [0,1] \to Y with H(x,0)=f(x)H(x, 0) = f(x) and H(x,1)=g(x)H(x, 1) = g(x) for all xx.

Definition. Spaces XX and YY are homotopy equivalent (X≃YX \simeq Y) if f:X→Yf : X \to Y and g:Y→Xg : Y \to X satisfy g∘f≃id⁡Xg \circ f \simeq \operatorname{id}_X and f∘g≃id⁡Yf \circ g \simeq \operatorname{id}_Y.

Example. D2={(x,y):x2+y2≤1}D^2 = \{(x,y) : x^2 + y^2 \leq 1\} is homotopy equivalent to a point — it is contractible, via H(x,t)=(1−t)xH(x, t) = (1-t)x.

Homotopy equivalence is much weaker than homeomorphism: Rn≃{∗}\mathbb{R}^n \simeq \{*\} but the two are not homeomorphic. It is still an equivalence relation, and concordance classes of maps between two fixed spaces are exactly the homotopy classes of maps — which is what makes π1\pi_1 well defined.

Definition. A loop in XX based at x0x_0 is a continuous γ:[0,1]→X\gamma : [0,1] \to X with γ(0)=γ(1)=x0\gamma(0) = \gamma(1) = x_0.

Definition. π1(X,x0)\pi_1(X, x_0) is the set of homotopy classes of loops based at x0x_0, under concatenation. Reversal of orientation is inversion, and the identity is the class of the constant loop. For path-connected XX the group is independent of x0x_0 up to isomorphism.

The group law is concatenation of representatives, and this is the step where students routinely get it wrong: the product [γ][δ][\gamma][\delta] is represented by the loop that traces γ\gamma and then δ\delta. It is well defined on classes precisely because concatenation respects homotopy.

Example. π1(S1)≅Z\pi_1(S^1) \cong \mathbb{Z}, and the isomorphism is the winding number. Given a loop γ\gamma in S1S^1, lift it to R\mathbb{R} via p(t)=e2πitp(t) = e^{2\pi i t}; because γ\gamma closes up, the lift satisfies γ~(1)=γ~(0)+n\tilde{\gamma}(1) = \tilde{\gamma}(0) + n for a unique n∈Zn \in \mathbb{Z}, and nn is the winding number. Homotopic loops have the same nn because a homotopy lifts to a homotopy in R\mathbb{R}, which keeps the endpoint difference fixed.

Example. π1(Rn)={e}\pi_1(\mathbb{R}^n) = \{e\} for all n≥1n \geq 1, since Rn\mathbb{R}^n is convex: for a loop γ\gamma use H(x,t)=γ(tx)H(x, t) = \gamma(tx), which contracts any path to its basepoint.

Example. π1(T2)≅Z×Z\pi_1(T^2) \cong \mathbb{Z} \times \mathbb{Z}. Loops are classified by a pair of winding numbers, one for each generator of the torus’s fundamental group.

Example. π1(S1∨S1)\pi_1(S^1 \vee S^1) is the free group F2F_2 on two generators, and is not abelian. This is the standard warning: π1\pi_1 is a genuine non-abelian invariant, unlike H1H_1 below.

Definition. A path-connected space XX is simply connected if π1(X)≅{e}\pi_1(X) \cong \{e\}, that is, if every loop contracts to a point.

Proposition. Rn\mathbb{R}^n, SnS^n for n≥2n \geq 2, and every convex subset of Rn\mathbb{R}^n are simply connected.

The assertion about SnS^n for n≥2n \geq 2 is a theorem (the sphere is nn-connected for n≥2n \geq 2) and not a consequence of the convexity argument, which is worth noticing: SnS^n is not convex, and the failure of the naive argument is what makes the result interesting.

Definition. A continuous surjection p:X~→Xp : \tilde{X} \to X is a covering map if every x∈Xx \in X has a neighbourhood UU with p−1(U)=⨆iU~ip^{-1}(U) = \bigsqcup_i \tilde{U}_i, each U~i↦U\tilde{U}_i \mapsto U a homeomorphism.

Example. R→S1\mathbb{R} \to S^1, t↦e2πitt \mapsto e^{2\pi i t}, is a universal cover: the preimage of any small arc is a disjoint union of open intervals.

Theorem (Lifting). If p:X~→Xp : \tilde{X} \to X is a covering, X~\tilde{X} is path-connected and locally path-connected, YY is locally path-connected, y~0∈p−1(y0)\tilde{y}_0 \in p^{-1}(y_0) and f:Y→Xf : Y \to X a map with f(y0)=p(y~0)f(y_0) = p(\tilde{y}_0), then ff lifts uniquely to f~:Y→X~\tilde{f} : Y \to \tilde{X}.

This theorem is what makes coverings computable. Take a loop γ\gamma at y0y_0 and lift it starting from y~0\tilde{y}_0; where the lift ends records the element of π1\pi_1. For R→S1\mathbb{R} \to S^1 the endpoint is y~0+n\tilde{y}_0 + n, and nn is the winding number — which is the proof of π1(S1)≅Z\pi_1(S^1) \cong \mathbb{Z} promised in 9.2, and the reason coverings and the fundamental group are the same subject viewed twice.

9.5 Computing π1\pi_1 by Van Kampen

Section titled “9.5 Computing π1\pi_1π1​ by Van Kampen”

You cannot compute π1\pi_1 of an arbitrary space directly. van Kampen is what makes the fundamental group practical: it computes it from a decomposition of the space into two open sets you already understand.

Theorem (Seifert—van Kampen). Let X=U∪VX = U \cup V with U,VU, V open and path-connected, U∩VU \cap V path-connected, and let x0∈U∩Vx_0 \in U \cap V. Then π1(X,x0)\pi_1(X, x_0) is the pushout

π1(U,x0)∗π1(U∩V,x0)π1(V,x0)\pi_1(U, x_0) *_{\pi_1(U \cap V, x_0)} \pi_1(V, x_0)

that is, the quotient of the free product π1(U)∗π1(V)\pi_1(U) * \pi_1(V) by the normal closure of {(iU(γ),iV(γ)−1):γ∈π1(U∩V)}\{(i_U(\gamma), i_V(\gamma)^{-1}) : \gamma \in \pi_1(U \cap V)\}, where the inclusions into UU and VV are induced by a path from x0x_0 into each set. If U∩VU \cap V has two or more components, add generators for those components and no relations.

Worked Example. Let X=S1∨S1X = S^1 \vee S^1 (the figure eight). Take U=S1∨{∗}U = S^1 \vee \{*\} and V={∗}∪S1V = \{*\} \cup S^1, each a full copy of S1S^1, and U∩VU \cap V contractible. Then

π1(X)=π1(U)∗π1(V)/⟨ ⁣⟨ ⟩ ⁣⟩=Z∗Z=F2\pi_1(X) = \pi_1(U) * \pi_1(V) / \langle\!\langle \ \rangle\!\rangle = \mathbb{Z} * \mathbb{Z} = F_2

with no relations to impose, because π1(U∩V)\pi_1(U \cap V) is trivial. This is the mechanism behind every familiar computation: gluing two spaces along something simply connected produces a free product.

Worked Example. A genus-gg orientable surface Σg\Sigma_g is a sphere with gg handles attached. Remove a small disc from each of the gg handles and let UU be the sphere with gg holes, VV the union of the gg discs. Each boundary circle is a generator of π1(U)\pi_1(U), and UU deformation-retracts onto a wedge of gg circles, so π1(U)=Fg\pi_1(U) = F_g; VV is a disjoint union of contractible discs; U∩VU \cap V is gg disjoint circles, so π1(U∩V)=Zg\pi_1(U \cap V) = \mathbb{Z}^g. Van Kampen with several components imposes no relations, hence

π1(Σg)≅Fg,π1(Σ1)=F1=Z\pi_1(\Sigma_g) \cong F_g, \qquad \pi_1(\Sigma_1) = F_1 = \mathbb{Z}

the torus, recovering 9.2. Notice that Σ2\Sigma_2 has π1=F2\pi_1 = F_2, the same as the figure eight, but Σ2\Sigma_2 is not homeomorphic to it: Σ2\Sigma_2 has a 2-dimensional hole and the figure eight does not. π1\pi_1 cannot see that difference. That is the precise limitation homology was invented to remove.

Everything up to here has measured one-dimensional holes. To measure holes of other dimensions, the algebra has to be built from scratch, and it is built by mirroring the definition of singular kk-simplices on the geometric picture.

Definition. A singular kk-simplex is a continuous map σ:Δk→X\sigma : \Delta^k \to X, where Δk⊂Rk+1\Delta^k \subset \mathbb{R}^{k+1} is the standard kk-simplex. Write Ck(X)C_k(X) for the free abelian group on all singular kk-simplices; elements are finite formal sums ∑iniσi\sum_i n_i \sigma_i, called kk-chains.

Definition. The boundary of a simplex σ\sigma is ∂σ=∑i=0k(−1)i(σ∣Fi)\partial \sigma = \sum_{i=0}^{k} (-1)^i \left( \sigma \big|_{F_i} \right), where FiF_i is the (k−1)(k-1)-face of Δk\Delta^k obtained by deleting vertex ii and σ∣Fi\sigma|_{F_i} is its restriction, itself a singular (k−1)(k-1)-simplex. This extends to a homomorphism ∂k:Ck(X)→Ck−1(X)\partial_k : C_k(X) \to C_{k-1}(X), and C−1(X)=0C_{-1}(X) = 0.

Lemma. ∂2=0\partial^2 = 0.

Proof. Each (k−1)(k-1)-face of σ\sigma is counted twice in ∂(∂σ)\partial(\partial\sigma), with opposite signs, by the parity rule. Explicitly, a (k−2)(k-2)-face FF of Δk\Delta^k is contained in exactly two (k−1)(k-1)-faces, namely those deleting ii and jj for the two vertices not in FF; its coefficients are (−1)i(-1)^i and (−1)j(-1)^j with opposite parity. The terms cancel in pairs. ■\blacksquare

Definition. A kk-chain cc is a cycle if ∂c=0\partial c = 0. The subgroup of cycles is Zk(X)Z_k(X). A kk-chain cc is a boundary if c=∂dc = \partial d for some (k+1)(k+1)-chain dd; these form Bk(X)B_k(X).

Definition. The kk-th singular homology group is

Hk(X;Z)=Zk(X)/Bk(X)H_k(X;\mathbb{Z}) = Z_k(X) \big/ B_k(X)

Two cycles that differ by a boundary represent the same class. The geometric reading is the whole point: a cycle is a closed surface made of simplices, and it is trivial in homology exactly when it bounds a solid region. A hole is a closed thing with no filling.

Example. H0(X;Z)≅Z[X0]H_0(X;\mathbb{Z}) \cong \mathbb{Z}^{[X^0]}, a free abelian group on the path components, where X0X^0 is the set of components. Each point is its own 0-simplex, and it is a cycle vacuously, and it is a boundary only if it is the boundary of a path to another point. So H0H_0 counts components — the zeroth homology group is the first thing the construction gets right.

Example. H1(S1)≅ZH_1(S^1) \cong \mathbb{Z}, H1(T2)≅Z2H_1(T^2) \cong \mathbb{Z}^2, H1(Σg)≅Z2gH_1(\Sigma_g) \cong \mathbb{Z}^{2g}, and Hk(Sn)=0H_k(S^n) = 0 for k≠nk \neq n with Hn(Sn)=ZH_n(S^n) = \mathbb{Z}. The dimension-nn generator is the sphere itself.

Example. H2(Σg)=0H_2(\Sigma_g) = 0 for every gg, including the torus. This is the statement that a torus has no two-dimensional hole: cutting it open at one point leaves a disc, which is contractible. Contrast H2(S2)=ZH_2(S^2) = \mathbb{Z} and H2(Σ2)=ZH_2(\Sigma_2) = \mathbb{Z}, where the two handles together bound a middle surface.

9.7 The Relationship Between π1\pi_1 and H1H_1

Section titled “9.7 The Relationship Between π1\pi_1π1​ and H1H_1H1​”

Theorem. For any path-connected space XX, H1(X;Z)H_1(X;\mathbb{Z}) is the abelianisation of π1(X)\pi_1(X):

H1(X;Z)≅π1(X) / [π1(X),π1(X)]H_1(X;\mathbb{Z}) \cong \pi_1(X) \,/\, [\pi_1(X), \pi_1(X)]

where [π1,π1][\pi_1, \pi_1] is the commutator subgroup.

Sketch. Homotopy classes of loops map to 11-cycles by γ↦γ\gamma \mapsto \gamma, a 1-simplex traversed in order. Concatenation of loops becomes addition of chains. This map is surjective onto H1H_1 and its kernel is exactly the commutator subgroup. ■\blacksquare

So the two theories agree on abelian information and H1H_1 throws away exactly the non-abelian part. For S1∨S1S^1 \vee S^1 this gives H1=Z2H_1 = \mathbb{Z}^2 from the free group F2F_2 — the same group, but now it is also the homology of T2T^2, and homology has a computation machinery (Mayer- Vietoris, excision) that the fundamental group does not. That is the trade.

9.8 The Long Exact Sequence and Mayer-Vietoris

Section titled “9.8 The Long Exact Sequence and Mayer-Vietoris”

The long exact sequence is what makes homology usable rather than merely defined. It lets you compute an unknown group from ones you can compute.

Theorem (Long exact sequence of a pair). If A⊆XA \subseteq X and H∗(∂A)→H∗(A)→H∗(X)H_*(\partial A) \to H_*(A) \to H_*(X) then

⋯→Hk+1(X,A)→∂Hk(A)→i∗Hk(X)→Hk(X,A)→Hk−1(A)→⋯\cdots \to H_{k+1}(X, A) \xrightarrow{\partial} H_k(A) \xrightarrow{i_*} H_k(X) \to H_k(X, A) \to H_{k-1}(A) \to \cdots

is exact, where Hk(X,A)=Hk(X,A)/Hk(A)H_k(X, A) = H_k(X, A)/H_k(A) are the relative groups. Exactness at each term means the image of each map equals the kernel of the next.

Theorem (Mayer-Vietoris). If X=A∪BX = A \cup B with AA and BB having intersection of the homotopy type of a finite disjoint union of circles, then ⋯→Hn(A∩B)→ϕHn(A)⊕Hn(B)→ψHn(X)→Hn−1(A∩B)→⋯\cdots \to H_n(A \cap B) \xrightarrow{\phi} H_n(A) \oplus H_n(B) \xrightarrow{\psi} H_n(X) \to H_{n-1}(A \cap B) \to \cdots

is exact, where ϕ\phi is (iA∗,−iB∗)(i_{A*}, -i_{B*}) and ψ(a,b)=iA∗a+iB∗b\psi(a, b) = i_{A*}a + i_{B*}b.

Worked Example. Compute H∗(S2)H_*(S^2). Write S2=D+∪D−S^2 = D_+ \cup D_- as two closed hemispheres. Each hemisphere is contractible, so H0(D±)=ZH_0(D_\pm) = \mathbb{Z} and Hn(D±)=0H_n(D_\pm) = 0 for n≥1n \geq 1. The intersection is the equator S1S^1, with H0=ZH_0 = \mathbb{Z} and H1=ZH_1 = \mathbb{Z}.

For n≥2n \geq 2 the sequence reads 0→0→Hn(S2)→0→00 \to 0 \to H_n(S^2) \to 0 \to 0, so Hn(S2)=0H_n(S^2) = 0.

For n=1n = 1:

H1(S1)→H1(D+)⊕H1(D−)→H1(S2)→H0(S1)→ϕH0(D+)⊕H0(D−)H_1(S^1) \to H_1(D_+) \oplus H_1(D_-) \to H_1(S^2) \to H_0(S^1) \xrightarrow{\phi} H_0(D_+) \oplus H_0(D_-)

which is

Z→0→H1(S2)→Z→(1,−1)Z⊕Z.\mathbb{Z} \to 0 \to H_1(S^2) \to \mathbb{Z} \xrightarrow{(1,-1)} \mathbb{Z} \oplus \mathbb{Z}.

The map (1,−1)(1,-1) is injective, so exactness forces H1(S2)=0H_1(S^2) = 0. For n=0n = 0 the same sequence gives

0→Z→(1,1)Z⊕Z→H0(S2)→0,0 \to \mathbb{Z} \xrightarrow{(1,1)} \mathbb{Z} \oplus \mathbb{Z} \to H_0(S^2) \to 0,

and coker⁡(1,1)=Z\operatorname{coker}(1,1) = \mathbb{Z}, since (1,1)(1,1) is injective and its cokernel is Z2/⟨(1,1)⟩≅Z\mathbb{Z}^2/\langle(1,1)\rangle \cong \mathbb{Z}. Hence H0(S2)=ZH_0(S^2) = \mathbb{Z}: one component, as it must be.

Collecting: Hk(S2)=ZH_k(S^2) = \mathbb{Z} for k=0,2k = 0, 2 and 00 otherwise. ■\blacksquare

Worked Example. Compute H∗(Σ2)H_*(\Sigma_2), the double torus, which has no closed form and no easy deformation retract. Let AA be the sphere, BB two discs, so Σ2=A∪B\Sigma_2 = A \cup B. Then π1\pi_1-style, AA retracts onto a wedge of two circles F2F_2, so H1(A)=Z2H_1(A) = \mathbb{Z}^2 and H0(A)=ZH_0(A) = \mathbb{Z}; BB is a disjoint union of two discs, so H0(B)=Z2H_0(B) = \mathbb{Z}^2, Hn(B)=0H_n(B) = 0 for n≥1n\geq1; and A∩BA \cap B is two circles, so H1=Z2H_1 = \mathbb{Z}^2, H0=Z2H_0 = \mathbb{Z}^2.

At n=2n = 2:

0→H2(A)⊕H2(B)→H2(Σ2)→H1(A∩B)→ϕH1(A)⊕H1(B)0 \to H_2(A)\oplus H_2(B) \to H_2(\Sigma_2) \to H_1(A\cap B) \xrightarrow{\phi} H_1(A)\oplus H_1(B)

and ϕ:Z2→Z2⊕0\phi : \mathbb{Z}^2 \to \mathbb{Z}^2 \oplus 0 sends the two boundary circles to the two generators of F2F_2, so it is injective. Exactness gives H2(Σ2)=0H_2(\Sigma_2) = 0.

At n=1n = 1:

H1(A∩B)→ϕH1(A)⊕H1(B)→H1(Σ2)→H0(A∩B)→ϕH0(A)⊕H0(B)H_1(A\cap B) \xrightarrow{\phi} H_1(A)\oplus H_1(B) \to H_1(\Sigma_2) \to H_0(A\cap B) \xrightarrow{\phi} H_0(A)\oplus H_0(B)

is

Z2→(1,−1)Z2→H1(Σ2)→Z2→(1,1)Z⊕Z2.\mathbb{Z}^2 \xrightarrow{(1,-1)} \mathbb{Z}^2 \to H_1(\Sigma_2) \to \mathbb{Z}^2 \xrightarrow{(1,1)} \mathbb{Z} \oplus \mathbb{Z}^2.

The first map is injective, so H1(Σ2)=coker⁡ (1,−1)=Z4/⟨(1,−1)⟩≅Z3H_1(\Sigma_2) = \operatorname{coker}\,(1,-1) = \mathbb{Z}^4 / \langle (1,-1) \rangle \cong \mathbb{Z}^3, since (1,−1)(1,-1) is primitive and the quotient of Z2\mathbb{Z}^2 by a primitive rank-one submodule is Z\mathbb{Z}. And the last map is injective, so nothing further is contributed. Hence

H1(Σ2)≅Z3,H2(Σ2)=0,H0(Σ2)≅ZH_1(\Sigma_2) \cong \mathbb{Z}^3, \qquad H_2(\Sigma_2) = 0, \qquad H_0(\Sigma_2) \cong \mathbb{Z}

matching χ=2−2g=−2=1−3\chi = 2 - 2g = -2 = 1 - 3. ■\blacksquare

Definition. The kk-th singular cohomology group is the dual of homology:

Hk(X;G)=Hom⁡(Hk(X),G)H^k(X;G) = \operatorname{Hom}(H_k(X), G)

for an abelian group GG. A class φ∈Hk(X;G)\varphi \in H^k(X; G) is a homomorphism φ:Hk(X)→G\varphi : H_k(X) \to G, and evaluating it on a cycle is a measurement of that cycle. So cohomology measures holes while homology counts them, and for finite complexes the two are related by a universal coefficient theorem:

0→Ext⁡(Hk−1(X),G)→Hk(X;G)→Hom⁡(Hk(X),G)→00 \to \operatorname{Ext}(H_{k-1}(X), G) \to H^k(X;G) \to \operatorname{Hom}(H_k(X), G) \to 0

which, for G=ZG = \mathbb{Z} and Hk−1H_{k-1} free, gives Hk(X;Z)≅Hom⁡(Hk(X),Z)H^k(X;\mathbb{Z}) \cong \operatorname{Hom}(H_k(X), \mathbb{Z}).

The reason to use cohomology anyway is that it carries a product: there are maps ⌣:Hp×Hq→Hp+q\smile : H^p \times H^q \to H^{p+q}, the cup product, and the theorem that made cohomology indispensable is that they detect structure homology cannot.

Theorem. S2≄RP2S^2 \not\simeq \mathbb{R}P^2.

Proof. RP2\mathbb{R}P^2 has H1(RP2)=Z/2H_1(\mathbb{R}P^2) = \mathbb{Z}/2 — its fundamental group is Z/2\mathbb{Z}/2 and by 9.7 so is its H1H_1 — whereas H1(S2)=0H_1(S^2) = 0 by the computation in 9.8. Since homology is a homotopy invariant, the two spaces are not homotopy equivalent. ■\blacksquare

The stronger statement is that the cohomology ring separates spaces homology cannot. Take RP2\mathbb{R}P^2 and S2∨S2S^2 \vee S^2: both have the same homology groups, both have H1≅0H^1 \cong 0, but the cup square of the generator of H1(RP2;Z/2)H^1(\mathbb{R}P^2; \mathbb{Z}/2) is the generator of H2(RP2;Z/2)H^2(\mathbb{R}P^2; \mathbb{Z}/2), whereas all products of degree-one classes on S2∨S2S^2 \vee S^2 vanish. The ring remembers what the groups forget. ■\blacksquare

Definition. For a finite CW-complex, the Euler characteristic is χ(X)=∑k(−1)kck\chi(X) = \sum_k (-1)^k c_k, where ckc_k is the number of kk-cells. For a triangulated surface this is V−E+FV - E + F.

Theorem. χ\chi is a homotopy invariant, and for a finite CW-complex χ(X)=∑k(−1)krank⁡Hk(X)\chi(X) = \sum_k (-1)^k \operatorname{rank} H_k(X).

Surfaceχ\chi
Sphere S2S^222
Torus T2T^200
Projective plane RP2\mathbb{R}P^211
Klein bottle00
Double torus (genus 2)−2-2

For a closed orientable surface of genus gg, χ=2−2g\chi = 2 - 2g; for a non-orientable one, χ=2−g\chi = 2 - g. The odd/even signature of gg is exactly what separates the two families, which is why the classification of surfaces reduces to one integer once orientability is known.

Theorem (Classification of compact surfaces). Every compact connected surface is homeomorphic to exactly one of: a sphere with gg handles (orientable, genus gg), or a sphere with gg cross-caps (non-orientable, genus gg).

  • Torus T2T^2 — a square with opposite edges identified in the same direction; π1=Z2\pi_1 = \mathbb{Z}^2.
  • Projective plane RP2\mathbb{R}P^2 — S2S^2 with antipodal points identified; non-orientable, π1=Z/2\pi_1 = \mathbb{Z}/2.
  • Klein bottle — a square with one pair of edges reversed; non-orientable, and cannot be embedded in R3\mathbb{R}^3.

The classification is the payoff of the whole apparatus: an infinite-looking family of surfaces is indexed by a single integer.

  • Homotopy equivalence is weaker than homeomorphism. Rn≃{∗}\mathbb{R}^n \simeq \{*\}, yet the two are not homeomorphic.
  • π1\pi_1 detects one-dimensional holes only. Σ2\Sigma_2 and S1∨S1S^1 \vee S^1 have the same fundamental group F2F_2 but are not homeomorphic, because Σ2\Sigma_2 has a 2-dimensional hole and H2(Σ2)=0H_2(\Sigma_2) = 0 records its absence.
  • H1H_1 is the abelianisation of π1\pi_1. Homology discards exactly the non-abelian information, and gains a computation machinery in exchange.
  • Euler characteristic is a homotopy invariant and equals the alternating sum of homology ranks, so it can be computed either way.
  • Coverings relate local and global topology. The universal cover is simply connected, and π1\pi_1 acts on it by deck transformations, so π1(X)\pi_1(X) is literally the symmetry group of the cover.
  • Cohomology with products separates spaces homology cannot. The ring structure on H∗(RP2;Z/2)H^*(\mathbb{R}P^2; \mathbb{Z}/2) distinguishes it from S2∨S2S^2 \vee S^2, which have identical homology groups.
  • Van Kampen computes π1\pi_1 the way Mayer-Vietoris computes homology. Both take a decomposition and combine known pieces, and both are exact sequences.
  • Confusing homotopy with homeomorphism. A solid disc and a point are homotopy equivalent but not homeomorphic. Homotopy equivalence is a much coarser relation.
  • Assuming π1(X)\pi_1(X) is always abelian. π1(S1∨S1)=F2\pi_1(S^1 \vee S^1) = F_2 is not. This is precisely the information that H1H_1 discards.
  • Forgetting that π1\pi_1 depends on the basepoint. For a space that is not path-connected, different components can have different fundamental groups.
  • Conflating “cycle” with “class”. A cycle is a chain with ∂c=0\partial c = 0; a homology class is a cycle modulo the boundaries. Every nontrivial-looking cycle may still be trivial in homology if it bounds.
  • Expecting ∂2=0\partial^2 = 0 to be automatic. It is a theorem, and it is what makes HkH_k well defined. The sign parity in the boundary formula is doing real work: without it, every face would be counted twice with the same sign and the identity would fail.
  • Applying Mayer-Vietoris without checking exactness. At each step you must take the kernel of one map and the cokernel of the previous; skipping a term gives the wrong rank.
  • Using HkH_k to detect cavities you cannot triangulate. H3H_3 detects cavities in dimension 3, but the cavity must actually bound nothing in the space you are computing.
  • Claiming χ\chi distinguishes all surfaces. It does not: the torus and the Klein bottle both have χ=0\chi = 0 and are not homeomorphic. Orientability is needed as well.
  • Robotics and motion planning. The fundamental group of a configuration space determines whether two configurations can be continuously deformed into each other; homotopy classes of paths are the configuration space’s components.
  • Topological data analysis. Persistent homology computes the homology of a filtration of a data set, producing a barcode whose bars are the connected components, loops and voids that persist across scales.
  • Condensed matter physics. Homotopy groups classify topological defects: vortices in superfluids and dislocations in crystals are π1\pi_1 defects, and the order parameter’s winding is measured by π1\pi_1 of the vacuum manifold.
  • Knot theory. The knot group π1(S3∖K)\pi_1(S^3 \setminus K) is a powerful knot invariant, distinguishing knots that share crossing number.
  • Algebraic geometry. Poincare duality relates the cohomology of a smooth projective variety to its homology, and the Lefschetz hyperplane theorem is a deep restriction of that relationship.