MathLabs

Topology

The fundamental group

The fundamental group records which loops in a space can be shrunk to a point and which cannot, turning geometric shape into algebra; it proves π1(S1)≅Z\pi_1(S^1) \cong \mathbb{Z} via winding number, the 2D Brouwer fixed-point theorem via a no-retraction argument, and classifies topological defects in liquid crystals and vortices.

IntuitionCan you shrink the loop to a point?

Tie a rubber band around your wrist and slide it off — it shrinks to nothing along the way, no problem. Now imagine a rubber band looped around a doughnut through the central hole: no matter how you slide, stretch, or wiggle it while keeping it on the surface, it can never shrink to a point without cutting it. The fundamental group is the precise algebraic tool that tells these two situations apart, and counts exactly how many "essentially different" ways a loop can wind around a space.

A 3D torus surface with a highlighted loop passing through the central hole, illustrating a non-contractible loop.
A torus: the loop drawn around the central hole (the "meridian gone wrong way" or the hole-encircling loop) cannot be continuously shrunk to a point while staying on the surface, while a small loop drawn on a flat patch of the surface can be shrunk freely — these two loops represent different, non-trivial elements of the fundamental group.

AdvancedPath homotopy and the fundamental group

Definition: Path homotopy

Two paths f,g:[0,1]→Xf, g: [0,1] \to X with the same endpoints (f(0)=g(0)f(0)=g(0), f(1)=g(1)f(1)=g(1)) are path-homotopic, written f≃pgf \simeq_p g, if there is a continuous map H:[0,1]×[0,1]→XH: [0,1] \times [0,1] \to X with H(s,0)=f(s)H(s,0)=f(s), H(s,1)=g(s)H(s,1)=g(s), and H(0,t)=f(0)H(0,t)=f(0), H(1,t)=f(1)H(1,t)=f(1) for all tt: a continuous family of paths that deforms ff into gg while keeping the endpoints fixed the whole time. A loop is a path with f(0)=f(1)=x0f(0)=f(1)=x_0; its equivalence class under ≃p\simeq_p is written [f][f].

H:[0,1]×[0,1]→X,H(s,0)=f(s), H(s,1)=g(s), H(0,t)=f(0), H(1,t)=f(1)H: [0,1] \times [0,1] \to X, \quad H(s,0) = f(s),\ H(s,1) = g(s),\ H(0,t) = f(0),\ H(1,t) = f(1)

Loops can be concatenated: f∗gf * g traverses ff on [0,12][0,\tfrac12] (sped up) then gg on [12,1][\tfrac12,1], provided f(1)=g(0)f(1)=g(0). This operation respects path-homotopy classes, giving a well-defined product [f]⋅[g]=[f∗g][f]\cdot[g] = [f*g] on the set of loop-classes based at a fixed point x0x_0. This set with this product is the fundamental group π1(X,x0)\pi_1(X,x_0): the identity is the class of the constant loop, and the inverse of [f][f] is the class of ff traversed backwards, fˉ(s)=f(1−s)\bar f(s) = f(1-s).

[f]⋅[g]=[f∗g],(f∗g)(s)={f(2s)0≤s≤12g(2s−1)12≤s≤1[f] \cdot [g] = [f * g], \qquad (f*g)(s) = \begin{cases} f(2s) & 0 \le s \le \tfrac12 \\ g(2s-1) & \tfrac12 \le s \le 1 \end{cases}
Fundamental groups of familiar spaces
Spaceπ1\pi_1Why
Rn\mathbb{R}^n or a disk D2D^2trivial, {e}\{e\}every loop shrinks straight-line to the center
circle S1S^1Z\mathbb{Z}classified by winding number
sphere S2S^2trivial, {e}\{e\}any loop can slide off the sphere and shrink (dimension ≥2\ge 2 gives room)
torus T2T^2Z×Z\mathbb{Z} \times \mathbb{Z}independent winding around each of the 2 holes-directions
figure-eight S1∨S1S^1 \vee S^1free group F2F_2 (non-abelian)order of looping around each circle matters

AdvancedTheorems

π1(S1,1)≅Z\pi_1(S^1, 1) \cong \mathbb{Z}, via the map sending a loop γ\gamma to its winding number (degree) deg⁡(γ)∈Z\deg(\gamma) \in \mathbb{Z}: the net number of times γ\gamma wraps around the circle counterclockwise.

Why is it true?

It converts a geometric, hard-to-pin-down question ("how many essentially different loops are there on a circle?") into ordinary integer arithmetic, and is the single computation that all of algebraic topology's winding-number arguments trace back to.

Proof

Step 1 — Set up the covering map. Let p:R→S1p: \mathbb{R} \to S^1 be p(t)=(cos⁡2πt,sin⁡2πt)p(t) = (\cos 2\pi t, \sin 2\pi t), a continuous surjection where every point of S1S^1 has an evenly-covered neighborhood (a small arc's preimage under pp is a disjoint union of open intervals in R\mathbb{R}, each mapped homeomorphically onto the arc). Fix basepoint 1=p(0)∈S11 = p(0) \in S^1.

Step 2 — Path lifting. Given any loop γ:[0,1]→S1\gamma: [0,1] \to S^1 with γ(0)=γ(1)=1\gamma(0)=\gamma(1)=1, there is a unique continuous lift γ~:[0,1]→R\tilde\gamma: [0,1] \to \mathbb{R} with p∘γ~=γp \circ \tilde\gamma = \gamma and γ~(0)=0\tilde\gamma(0) = 0 (construct it by covering [0,1][0,1] with finitely many subintervals on which γ\gamma stays inside one evenly-covered neighborhood, and lift piece by piece, each time choosing the branch of p−1p^{-1} continuing from the previous endpoint). Define deg⁡(γ)=γ~(1)∈Z\deg(\gamma) = \tilde\gamma(1) \in \mathbb{Z} (an integer since p(γ~(1))=γ(1)=1=p(0)p(\tilde\gamma(1)) = \gamma(1) = 1 = p(0) forces γ~(1)∈Z\tilde\gamma(1) \in \mathbb{Z}).

Step 3 — Homotopy invariance. If γ≃pγ′\gamma \simeq_p \gamma' via homotopy HH, the homotopy lifting property (proved the same way as path lifting, one strip at a time) gives a continuous lift H~\tilde H with H~(s,0)=γ~(s)\tilde H(s,0)=\tilde\gamma(s), and H~(0,t)=0\tilde H(0,t)=0 for all tt (constant, since it lifts the constant basepoint loop). Then t↦H~(1,t)t \mapsto \tilde H(1,t) is a continuous integer-valued function of tt (by the same argument as Step 2), hence constant; so deg⁡(γ)=H~(1,0)=H~(1,1)=deg⁡(γ′)\deg(\gamma) = \tilde H(1,0) = \tilde H(1,1) = \deg(\gamma'). Thus deg⁡\deg is well-defined on homotopy classes [γ]↦deg⁡(γ)[\gamma] \mapsto \deg(\gamma).

Step 4 — Homomorphism property. For loops γ,δ\gamma, \delta, lifting γ∗δ\gamma * \delta by first lifting γ\gamma to end at deg⁡(γ)\deg(\gamma), then lifting δ\delta starting from deg⁡(γ)\deg(\gamma) (a shifted copy of δ\delta's lift, valid since pp is invariant under integer translation) shows deg⁡(γ∗δ)=deg⁡(γ)+deg⁡(δ)\deg(\gamma * \delta) = \deg(\gamma) + \deg(\delta). So [γ]↦deg⁡(γ)[\gamma] \mapsto \deg(\gamma) is a group homomorphism π1(S1,1)→Z\pi_1(S^1,1) \to \mathbb{Z}.

Step 5 — Bijectivity. Surjective: for any n∈Zn \in \mathbb{Z}, γn(s)=p(ns)\gamma_n(s) = p(ns) is a loop with deg⁡(γn)=n\deg(\gamma_n)=n. Injective: if deg⁡(γ)=0\deg(\gamma)=0, the lift γ~\tilde\gamma is a loop in R\mathbb{R} based at 00 (since γ~(1)=0=γ~(0)\tilde\gamma(1)=0=\tilde\gamma(0)); R\mathbb{R} is convex so the straight-line homotopy H~(s,t)=(1−t)γ~(s)\tilde H(s,t) = (1-t)\tilde\gamma(s) contracts γ~\tilde\gamma to the constant path at 00 rel endpoints, and composing with pp gives a path-homotopy from γ\gamma to the constant loop, so [γ][\gamma] is trivial. Hence deg⁡\deg is a bijective homomorphism, i.e. an isomorphism π1(S1,1)≅Z\pi_1(S^1,1) \cong \mathbb{Z}.

Every continuous map f:D2→D2f: D^2 \to D^2 from the closed disk to itself has a fixed point: some x∈D2x \in D^2 with f(x)=xf(x) = x.

Why is it true?

It guarantees solutions in an astonishing range of settings (Nash equilibria, differential equations, economic equilibrium) purely from the shape of D2D^2, with no formula for ff needed at all — and the proof is a beautiful example of translating a hard analysis question into an easy algebra question about π1\pi_1.

Proof

Step 1 — Suppose for contradiction ff has no fixed point. Then f(x)≠xf(x) \ne x for every x∈D2x \in D^2, so the ray from f(x)f(x) through xx is well-defined; let r(x)∈S1=∂D2r(x) \in S^1 = \partial D^2 be the point where this ray exits the disk. Since f(x)≠xf(x) \ne x varies continuously and never vanishes, r:D2→S1r: D^2 \to S^1 is continuous.

Step 2 — rr is a retraction. For x∈S1x \in S^1 already on the boundary, the ray from f(x)f(x) through xx exits exactly at xx itself (since xx is already on the boundary and the ray only crosses the boundary once going outward from inside), so r(x)=xr(x) = x for all x∈S1x \in S^1. Thus r:D2→S1r: D^2 \to S^1 is a retraction: a continuous map fixing the subspace S1S^1 pointwise.

Step 3 — Retractions are impossible: apply the functor π1\pi_1. Let i:S1↪D2i: S^1 \hookrightarrow D^2 be inclusion. Since r∘i=idS1r \circ i = \mathrm{id}_{S^1} (by definition of retraction), applying the fundamental group functor gives π1(r)∘π1(i)=π1(idS1)=idπ1(S1)\pi_1(r) \circ \pi_1(i) = \pi_1(\mathrm{id}_{S^1}) = \mathrm{id}_{\pi_1(S^1)} on the level of groups (functoriality: π1\pi_1 turns composition of continuous maps into composition of homomorphisms). But π1(S1)≅Z\pi_1(S^1) \cong \mathbb{Z} while π1(D2)\pi_1(D^2) is trivial (every loop in the convex disk contracts by the straight-line homotopy), so π1(i):Z→{e}\pi_1(i): \mathbb{Z} \to \{e\} and π1(r):{e}→Z\pi_1(r): \{e\} \to \mathbb{Z} compose to the zero map, which cannot equal the identity on Z\mathbb{Z} (a nontrivial group) — contradiction.

Step 4 — Conclude. The contradiction in Step 3 shows no such retraction rr can exist, so the assumption in Step 1 (that ff has no fixed point) must be false. Hence every continuous f:D2→D2f: D^2 \to D^2 has a fixed point.

If X=U∪VX = U \cup V with U,VU, V open, path-connected, containing basepoint x0x_0, and U∩VU \cap V path-connected, then π1(X,x0)\pi_1(X,x_0) is the amalgamated free product π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): generated by π1(U)\pi_1(U) and π1(V)\pi_1(V) together, with relations only from how loops in the overlap U∩VU \cap V are seen from each side.

Why is it true?

It is the main computational tool of the subject: it lets you build the fundamental group of a complicated space out of the (often much simpler) fundamental groups of overlapping pieces, which is exactly how the free group F2F_2 for the figure-eight is computed (two circles overlapping in a point).

Proof

A full proof requires careful combinatorial bookkeeping; here is the structural outline. Step 1 — Generators. Any loop γ\gamma in XX based at x0x_0 can be subdivided into finitely many sub-paths, each lying entirely in UU or entirely in VV (using a Lebesgue number argument on the open cover {γ−1(U),γ−1(V)}\{\gamma^{-1}(U), \gamma^{-1}(V)\} of the compact interval [0,1][0,1]), so [γ][\gamma] can be written as a product of loops each representing an element of π1(U,x0)\pi_1(U,x_0) or π1(V,x0)\pi_1(V,x_0) (after connecting sub-path endpoints back to x0x_0 through chosen paths in U∩VU \cap V, which is path-connected). This shows π1(X,x0)\pi_1(X,x_0) is generated by the images of π1(U,x0)\pi_1(U,x_0) and π1(V,x0)\pi_1(V,x_0).

Step 2 — Relations. Any loop δ\delta lying in U∩VU \cap V represents, a priori, two possibly-different elements: iU(δ)∈π1(U,x0)i_U(\delta) \in \pi_1(U,x_0) (viewing δ\delta as a loop in UU) and iV(δ)∈π1(V,x0)i_V(\delta) \in \pi_1(V,x_0) (viewing it as a loop in VV). Since δ\delta is literally the same loop in XX, its images under π1(U)→π1(X)\pi_1(U) \to \pi_1(X) and π1(V)→π1(X)\pi_1(V) \to \pi_1(X) must agree; this forces exactly the amalgamation relations iU(δ)=iV(δ)i_U(\delta) = i_V(\delta) for every [δ]∈π1(U∩V,x0)[\delta] \in \pi_1(U \cap V, x_0).

Step 3 — No further relations. A more delicate argument (subdividing homotopies H:[0,1]×[0,1]→XH: [0,1]\times[0,1] \to X the same way, using compactness of the square to get a finite grid where each cell lies in UU or VV) shows that these amalgamation relations are the only relations needed: any two words in the generators representing the same element of π1(X,x0)\pi_1(X,x_0) can be related by a finite sequence of moves each justified by an amalgamation relation. This identifies π1(X,x0)\pi_1(X,x_0) exactly with the amalgamated free product.

AdvancedReal-World Applications and Worked Examples

In liquid crystals and superfluids, the order parameter (e.g. molecular orientation angle) at each point of space takes values in a space like S1S^1; a topological defect (a disclination line, an Abrikosov vortex) is a point around which the order parameter winds a nonzero number of times, classified exactly by the winding number deg⁡(γ)∈π1(S1)≅Z\deg(\gamma) \in \pi_1(S^1) \cong \mathbb{Z} of a small loop around the defect — and this integer is a robust "topological charge" that cannot change under any continuous perturbation, only by defects merging or annihilating in pairs of opposite charge. In robotics, when several cables or tethered robots must be routed around fixed obstacles in a plane, the different ways of routing correspond exactly to different elements of the fundamental group of the punctured plane, so two routings are interchangeable without re-threading exactly when their winding numbers around each obstacle agree.

Example: Winding number of a liquid-crystal defect

Near a point defect in a 2D liquid crystal, the molecular orientation angle is θ(φ)=32φ\theta(\varphi) = \tfrac32 \varphi as a function of the polar angle φ\varphi around the defect (so orientation direction is given by the unit vector at angle θ\theta). As φ\varphi goes once around the defect (φ:0→2π\varphi: 0 \to 2\pi), compute the winding number of the loop γ(φ)=(cos⁡θ(φ),sin⁡θ(φ))\gamma(\varphi) = (\cos\theta(\varphi), \sin\theta(\varphi)) in S1S^1, i.e. the element of π1(S1)≅Z\pi_1(S^1) \cong \mathbb{Z} it represents.

Solution

Step 1 — Track the total angle change. As φ\varphi goes from 00 to 2π2\pi, θ(φ)=32φ\theta(\varphi) = \tfrac32\varphi goes from 00 to 32⋅2π=3π\tfrac32 \cdot 2\pi = 3\pi.

Step 2 — Convert total angle to winding number. The winding number of a loop γ(φ)=(cos⁡θ(φ),sin⁡θ(φ))\gamma(\varphi) = (\cos\theta(\varphi),\sin\theta(\varphi)) is the total change in θ\theta divided by 2π2\pi (since one full trip around S1S^1 corresponds to a 2π2\pi change in angle): deg⁡(γ)=3π2π=32\deg(\gamma) = \dfrac{3\pi}{2\pi} = \dfrac32.

Step 3 — Interpret the non-integer result. A half-integer winding number is only possible because the target here is really the projective line RP1\mathbb{RP}^1 (molecular orientation has no arrowhead, so θ\theta and θ+π\theta+\pi represent the same physical state) rather than honest S1S^1; the true winding number in π1(RP1)≅Z\pi_1(\mathbb{RP}^1) \cong \mathbb{Z}, using the double cover S1→RP1S^1 \to \mathbb{RP}^1, corresponds to this defect being a genuine stable "half-integer" disclination well known in nematic liquid crystals, distinct from integer-charge defects.

Example: Are two cable routings interchangeable?

Two tethered robots must route their cables from the same start point to the same end point in a plane with one fixed circular obstacle at the origin. Routing AA passes once counterclockwise around the obstacle before reaching the endpoint; routing BB passes once clockwise then once more counterclockwise around the obstacle. Using winding numbers in π1\pi_1 of the punctured plane R2∖{0}≃S1\mathbb{R}^2 \setminus \{0\} \simeq S^1, determine whether routing AA can be continuously deformed into routing BB without crossing the obstacle (i.e. without re-threading the cable).

Solution

Step 1 — Compute the winding number of routing AA. One counterclockwise loop around the obstacle contributes +1+1 to the winding number, so deg⁡(A)=+1\deg(A) = +1, i.e. AA represents the element 1∈Z≅π1(S1)1 \in \mathbb{Z} \cong \pi_1(S^1).

Step 2 — Compute the winding number of routing BB. One clockwise loop contributes −1-1 and one counterclockwise loop contributes +1+1, and winding numbers add under concatenation (Step 4 of the π1(S1)≅Z\pi_1(S^1)\cong\mathbb{Z} proof), so deg⁡(B)=−1+1=0\deg(B) = -1 + 1 = 0.

Step 3 — Compare and conclude. Since deg⁡(A)=1≠0=deg⁡(B)\deg(A) = 1 \ne 0 = \deg(B), routings AA and BB represent different elements of π1(R2∖{0})\pi_1(\mathbb{R}^2\setminus\{0\}), i.e. they are not path-homotopic rel endpoints; AA cannot be continuously deformed into BB without crossing the obstacle at some point. Physically: no matter how you wiggle cable AA while keeping both ends fixed and avoiding the obstacle, you can never make it look like cable BB — you would have to cut and re-thread it.

What is the winding number of γ(t)=(cos⁡4πt,sin⁡4πt)\gamma(t) = (\cos 4\pi t, \sin 4\pi t) for t∈[0,1]t \in [0,1], as an element of π1(S1)≅Z\pi_1(S^1) \cong \mathbb{Z}?

What is π1\pi_1 of the figure-eight space S1∨S1S^1 \vee S^1?

A nematic liquid crystal defect has order parameter winding described by θ(φ)=φ\theta(\varphi) = \varphi (order parameter in true S1S^1, not RP1\mathbb{RP}^1). What is its topological charge (winding number)?

Why does every continuous f:D2→D2f: D^2 \to D^2 have a fixed point?

References

  1. Allen Hatcher (2002). Algebraic Topology
  2. James Munkres (2000). Topology
  3. Grigori Perelman (2002). The entropy of the Ricci flow and the Poincaré conjecture · arXiv:math/0211159
  4. Michael Farber (2003). Topological Robotics: Motion Planning in Projective Spaces