Book 7A

© 2026 NeckPinch · www.neckpinch.com · All rights reserved.

Course 7Book 7A: Topology and the Fundamental GroupChapter 6

CW Complexes and Cellular Approximation

Building spaces from cells, the homotopy extension property, cellular approximation, π₁ from the 2-skeleton, every finitely presented group as π₁ of a 4-manifold, and why dimension three is special.

29 min read · Updated Oct 24, 2026

Read with Hatcher, Algebraic Topology, chapter 0 (cell complexes, operations on spaces, the homotopy extension property), §1.2 (applications to cell complexes, the fundamental group of a CW complex) and §4.1 (cellular approximation and Whitehead's theorem, statements and the main examples), or Lee, Introduction to Topological Manifolds, chapter 5 (cell complexes) and the parts of chapter 10 on CW complexes.

In this chapter · 9 sections
  1. 6.1Recognising a sphere
  2. 6.2CW complexes
  3. 6.3Homotopy extension and collapsing
  4. 6.4The fundamental group of a CW complex
  5. 6.5Cellular approximation
  6. 6.6Every finitely presented group in dimension four
  7. 6.7Whitehead's theorem and the shape of the conjecture
  8. 6.8History
  9. 6.9Exercises
  10. ↗Free resources

7A.5 Computing π₁ computed fundamental groups by gluing: attaching a 2-dimensional disc along a loop kills that loop, and attaching higher-dimensional discs changes nothing. Spaces built entirely by attaching discs, dimension by dimension, are CW complexes. They are the natural home of algebraic topology: every smooth manifold has a CW structure (by Morse theory, 7A.13 Morse Theory), every simplicial complex is one, and almost every space in this guide is one up to homotopy. This chapter develops them and proves three facts that the rest of the book uses repeatedly.

  • The fundamental group is read off from cells: generators from the 1-cells, relations from the attaching maps of the 2-cells. Higher cells do not matter.
  • Cellular approximation: every map between CW complexes is homotopic to one that sends the kk-skeleton into the kk-skeleton. As a consequence, a sphere cannot be mapped essentially into a sphere of higher dimension: πk(Sn)=0\pi_k(S^n) = 0 for k<nk < n.
  • Every finitely presented group is the fundamental group of a closed 4-manifold. So in dimension four, and above, the fundamental group can be anything a computer can write down, including groups whose triviality no algorithm can decide. Dimension three is different, and that difference is part of why the Poincaré conjecture is a statement about dimension three.

By the end of this chapter you will be able to:

  • build CW complexes by attaching cells, and give CW structures for spheres, projective spaces, surfaces and lens spaces;
  • prove the homotopy extension property for CW pairs, and use it to collapse contractible subcomplexes, in particular maximal trees in graphs;
  • compute π1\pi_1 of a CW complex from its 2-skeleton, and build a 2-complex with any prescribed fundamental group;
  • state and prove cellular approximation (using Sard's theorem), and deduce πk(Sn)=0\pi_k(S^n) = 0 for k<nk < n and that π1(X)=π1(X2)\pi_1(X) = \pi_1(X^2);
  • construct a closed 4-manifold with any finitely presented fundamental group, and explain why recognising the 3-sphere is algorithmically possible while recognising simply connected 4-manifolds is not;
  • state Whitehead's theorem and use it to see what the Poincaré conjecture asks of homotopy theory.

Recognising a sphere

In the world In use Recognising the 3-sphere by computer

A triangulated 3-manifold can be stored in a computer as a list of tetrahedra with their face gluings. Is it the 3-sphere? Hyam Rubinstein found an algorithm in 1992, and Abigail Thompson gave a simplified proof in 1994, using normal surface theory to search for the spheres that must exist in a 3-sphere. Saul Schleimer later showed that the problem lies in the complexity class NP, and Benjamin Burton's software Regina recognises 3-spheres with tens of thousands of tetrahedra in practice. In higher dimensions the problem is provably impossible: by a theorem of Sergei Novikov, there is no algorithm that recognises the nn-sphere among triangulated manifolds for any n≥5n \geq 5, and by Andrei Markov's 1958 theorem there is no algorithm deciding whether two triangulated 4-manifolds are homeomorphic. The root of both impossibility theorems is group theory: no algorithm decides whether a finitely presented group is trivial, and, as this chapter proves, every finitely presented group is the fundamental group of a closed 4-manifold.

Where the picture breaks

These are statements about algorithms in principle. The 3-sphere recognition algorithm is exponential in the worst case, and Regina's success rests on heuristics that work on the examples people meet, not on a polynomial-time guarantee. Conversely, undecidability in high dimensions does not prevent recognising particular manifolds in practice; it says that no single procedure works for all inputs.

CW complexes

Write DnD^n for the closed unit ball in Rn\mathbb{R}^n, Sn−1=∂DnS^{n-1} = \partial D^n, and ene^n for the open ball, an open nn-cell. Attaching an nn-cell to a space XX along a map φ:Sn−1→X\varphi : S^{n-1} \to X means forming the quotient X∪φDn=(X⊔Dn)/(x∼φ(x) for x∈Sn−1)X\cup_\varphi D^n = (X\sqcup D^n)/(x \sim \varphi(x)\text{ for } x \in S^{n-1}) (7A.1 Topological Spaces and Quotients).

Definition 6.1 CW complex

A CW complex is a space XX with a filtration X0⊆X1⊆…X^0 \subseteq X^1 \subseteq \dots, X=⋃XnX = \bigcup X^n, such that X0X^0 is a discrete set of points, XnX^n is obtained from Xn−1X^{n-1} by attaching a collection of nn-cells along maps φα:Sn−1→Xn−1\varphi_\alpha : S^{n-1} \to X^{n-1}, and XX has the weak topology: a set is closed iff its intersection with every XnX^n is closed. XnX^n is the nn-skeleton; the composite Φα:Dn→X\Phi_\alpha : D^n \to X is the characteristic map of the cell. XX is finite if it has finitely many cells, and nn-dimensional if X=XnX = X^n.

The letters stand for "closure-finite" (each closed cell meets finitely many cells) and "weak topology", the two conditions in J. H. C. Whitehead's original 1949 definition, which the inductive construction guarantees. For finite complexes, which are compact, the weak topology is automatic. A subset A⊆XA \subseteq X that is a union of closed cells and itself a CW complex is a subcomplex, and (X,A)(X, A) a CW pair.

Example 6.2 CW structures
  1. Spheres. Sn=e0∪enS^n = e^0\cup e^n, attaching the nn-cell by the constant map: the boundary of the disc collapsed to a point is a sphere (7A.2 Compactness and Compactification). Alternatively SnS^n has two cells in each dimension 0,…,n0, \dots, n, the upper and lower hemispheres of each Sk⊆SnS^k \subseteq S^n; this structure is invariant under the antipodal map.
  2. Real projective space. RPn=Sn/(x∼−x)\mathbb{R}P^n = S^n/(x \sim -x) has one cell in each dimension 0,…,n0, \dots, n: RPn=RPn−1∪en\mathbb{R}P^n = \mathbb{R}P^{n-1}\cup e^n, attached by the double cover Sn−1→RPn−1S^{n-1} \to \mathbb{R}P^{n-1} (the upper hemisphere of SnS^n is a disc whose boundary is identified antipodally).
  3. Complex projective space. CPn=CPn−1∪e2n\mathbb{C}P^n = \mathbb{C}P^{n-1}\cup e^{2n}, attached by the Hopf-type quotient S2n−1→CPn−1S^{2n-1} \to \mathbb{C}P^{n-1}: cells only in even dimensions. For n=1n = 1 the attaching map is constant and CP1=S2\mathbb{C}P^1 = S^2.
  4. Surfaces. A closed surface given by a polygon with paired edges (7A.3 Manifolds and Surfaces) has one 0-cell (when all vertices are identified, as in the standard forms), one 1-cell for each pair of edges, and one 2-cell, the polygon, attached along the edge word. The torus is e0∪ea1∪eb1∪e2e^0\cup e^1_a\cup e^1_b\cup e^2 with the 2-cell attached along aba−1b−1aba^{-1}b^{-1}.
  5. Lens spaces. L(p,q)=S3/ZpL(p, q) = S^3/\mathbb{Z}_p (7A.7 Covering Spaces) has a CW structure with one cell in each dimension 0,1,2,30, 1, 2, 3: the 2-cell is attached to the circle X1X^1 by a map of degree pp, and the 3-cell along a map determined by qq (Exercise 6.13).
  6. Graphs are 1-dimensional CW complexes.

Two facts about the topology, which we state without proof: a compact subset of a CW complex meets only finitely many open cells; and CW complexes are Hausdorff, and locally contractible, so path-connected components and connected components agree and covering space theory (7A.7 Covering Spaces) applies.

The Euler characteristic of a finite CW complex is χ(X)=∑n(−1)ncn\chi(X) = \sum_n(-1)^nc_n, with cnc_n the number of nn-cells. For the sphere 1+(−1)n1 + (-1)^n, for RPn\mathbb{R}P^n it is 11 or 00, for the closed orientable surface of genus gg it is 2−2g2 - 2g, matching 7A.3 Manifolds and Surfaces. That χ\chi depends only on the space, not on the cell structure, is a theorem of homology (7A.10 Singular Homology and Mayer–Vietoris).

Homotopy extension and collapsing

Proposition 6.3 Homotopy extension property

Let (X,A)(X, A) be a CW pair. Given a map f:X→Yf : X \to Y and a homotopy ht:A→Yh_t : A \to Y with h0=f∣Ah_0 = f|_A, there is a homotopy Ft:X→YF_t : X \to Y with F0=fF_0 = f and Ft∣A=htF_t|_A = h_t.

Proof. The key is a retraction r:Dn×I→Dn×{0}∪Sn−1×Ir : D^n\times I \to D^n\times\{0\}\cup S^{n-1}\times I: project radially from the point (0,2)∈Rn×R(0, 2) \in \mathbb{R}^n\times\mathbb{R} (Exercise 6.12). Given FF on X×{0}∪A×IX\times\{0\}\cup A\times I, extend over (Xn∪A)×I(X^n\cup A)\times I cell by cell: for an nn-cell not in AA with characteristic map Φ\Phi, FF is already defined on Φ(Sn−1)×I⊆Xn−1×I\Phi(S^{n-1})\times I \subseteq X^{n-1}\times I (by induction) and on Φ(Dn)×{0}\Phi(D^n)\times\{0\}, so define it on Φ(Dn)×I\Phi(D^n)\times I by composing with rr. Continuity on X×IX\times I follows from the weak topology, performing the extension over Xn×[12n+1,12n]X^n\times[\frac{1}{2^{n+1}}, \frac{1}{2^n}] in turn if infinitely many dimensions are present.

Corollary 6.4 Collapsing a contractible subcomplex

If (X,A)(X, A) is a CW pair and AA is contractible, the quotient map X→X/AX \to X/A is a homotopy equivalence.

Proof. Let ht:A→Ah_t : A \to A be a contraction, h0=idh_0 = \mathrm{id} and h1h_1 constant. By homotopy extension, extend to Ft:X→XF_t : X \to X with F0=idF_0 = \mathrm{id} and Ft(A)⊆AF_t(A) \subseteq A. Since F1(A)F_1(A) is a point, F1F_1 factors through the quotient qq as F1=g∘qF_1 = g\circ q for some g:X/A→Xg : X/A \to X. Then g∘q=F1≃idXg\circ q = F_1 \simeq \mathrm{id}_X, and q∘g≃idX/Aq\circ g \simeq \mathrm{id}_{X/A}: since each FtF_t maps AA into AA, there is a homotopy Fˉt\bar F_t of X/AX/A with q∘Ft=Fˉt∘qq\circ F_t = \bar F_t\circ q, and Fˉ0=id\bar F_0 = \mathrm{id}, Fˉ1=q∘g\bar F_1 = q\circ g.

Graphs. A connected graph Γ\Gamma contains a maximal tree TT, a contractible subgraph containing every vertex. Collapsing TT leaves one vertex with a loop for each edge not in TT: Γ≃⋁kS1\Gamma \simeq \bigvee^kS^1 with k=E−V+1=1−χ(Γ)k = E - V + 1 = 1 - \chi(\Gamma). By 7A.5 Computing π₁, π1(Γ)\pi_1(\Gamma) is free of rank 1−χ(Γ)1 - \chi(\Gamma). Combined with covering spaces (7A.7 Covering Spaces), this proves the Nielsen–Schreier theorem: every subgroup of a free group is free, because it is π1\pi_1 of a covering space of a graph, which is a graph; and a subgroup of index dd in a free group of rank kk has rank 1+d(k−1)1 + d(k - 1), since a dd-sheeted covering multiplies χ\chi by dd (Exercise 6.14).

The fundamental group of a CW complex

Theorem 6.5 π1\pi_1 from cells

Let XX be a connected CW complex with a maximal tree TT in its 1-skeleton. Then π1(X)\pi_1(X) has a presentation with one generator for each 1-cell not in TT and one relation for each 2-cell, namely the word read off from its attaching map. In particular π1(X)≅π1(X2)\pi_1(X) \cong \pi_1(X^2), and the inclusion X1→XX^1 \to X induces a surjection on π1\pi_1.

Proof. π1(X1)=π1(X1/T)\pi_1(X^1) = \pi_1(X^1/T) is free on the 1-cells not in TT. Each 2-cell's attaching map S1→X1S^1 \to X^1 is a loop in X1X^1, determined up to conjugacy by a word in the generators; attaching the 2-cell adds that word as a relation (7A.5 Computing π₁, Corollary on attaching cells), and attaching cells of dimension at least 33 changes nothing. For infinitely many cells, a loop or a homotopy has compact image and so lies in a finite subcomplex, where the finite argument applies.

Corollary 6.6 Every group is a fundamental group

For any presentation ⟨g1,⋯∣r1,… ⟩\langle g_1, \dots \mid r_1, \dots\rangle of a group GG, the presentation complex, one 0-cell, a 1-cell for each generator and a 2-cell attached along each relator, is a 2-dimensional CW complex with fundamental group GG.

Examples: one 2-cell attached to a circle by a degree-nn map gives π1=Z/n\pi_1 = \mathbb{Z}/n (for n=2n = 2 this is RP2\mathbb{R}P^2); the torus is the presentation complex of ⟨a,b∣aba−1b−1⟩\langle a, b \mid aba^{-1}b^{-1}\rangle. The dunce hat, a triangle with its three edges identified by the word aaa−1aaa^{-1}, has π1=⟨a∣a⟩=1\pi_1 = \langle a \mid a\rangle = 1, and it is in fact contractible, though it has no free face to start a simplicial collapse from: a standard example in combinatorial topology.

Cellular approximation

A map between CW complexes is cellular if it sends XnX^n into YnY^n for every nn.

Theorem 6.7 Cellular approximation

Every map f:X→Yf : X \to Y of CW complexes is homotopic to a cellular map. If ff is already cellular on a subcomplex AA, the homotopy can be taken stationary on AA.

The heart of the proof is a single step.

Lemma 6.8 Pushing maps off cells

Let f:Dk→Z∪enf : D^k \to Z\cup e^n with k<nk < n, where ZZ is a space and ene^n an open nn-cell attached to it, and suppose f(∂Dk)⊆Zf(\partial D^k) \subseteq Z. Then ff is homotopic, relative to ∂Dk\partial D^k, to a map into ZZ.

Proof. Identify ene^n with the open ball BB of radius 11 in Rn\mathbb{R}^n, and let K=f−1(Bˉ1/2)K = f^{-1}(\bar B_{1/2}), a compact subset of DkD^k. On a neighbourhood of KK, ff is a continuous map into Rn\mathbb{R}^n; approximate it uniformly within 14\frac14 by a smooth map gg (Weierstrass approximation, or mollification), and interpolate between ff and gg with a cut-off that is 11 on KK and 00 near f−1(∂B3/4)f^{-1}(\partial B_{3/4}), by straight-line homotopy inside BB. The new map is smooth on a neighbourhood of the preimage of Bˉ1/4\bar B_{1/4}, and since k<nk < n, by Sard's theorem (7A.8 Smooth Topology) the image of that smooth part has measure zero in Rn\mathbb{R}^n; so the new map misses some point pp with ∣p∣<14|p| < \frac14. Then radial projection from pp (x↦x \mapsto the point where the ray from pp through xx meets ∂B\partial B, followed by the attaching map) is a deformation retraction of (Z∪en)∖{p}(Z\cup e^n)\setminus\{p\} onto ZZ, fixing ZZ; composing with it pushes the map into ZZ. All homotopies are stationary near ∂Dk\partial D^k, whose image lies in ZZ, at positive distance from Bˉ3/4\bar B_{3/4}.

Proof of the theorem (outline). Induct on skeleta of XX. The 0-cells map into YY; move each to a 0-cell along a path (each point of YY lies in a closed cell whose characteristic image is path-connected and meets Y0Y^0). Having made ff cellular on Xk−1X^{k-1}, consider a kk-cell of XX. Its image is compact, so meets finitely many cells of YY. Using the lemma, push it off each cell of dimension greater than kk that it meets, starting from the highest, keeping the boundary, which already lies in Yk−1Y^{k-1}, fixed. Homotopy extension (Proposition 6.3) extends the homotopy from the kk-skeleton to all of XX. For infinite-dimensional XX, perform the kk-th stage during the time interval [12k+1,12k][\frac{1}{2^{k+1}}, \frac{1}{2^k}].

Corollary 6.9 Lower-dimensional spheres in higher ones

πk(Sn)=0\pi_k(S^n) = 0 for k<nk < n: every map Sk→SnS^k \to S^n with k<nk < n is homotopic to a constant.

Proof. Give SkS^k and SnS^n their structures e0∪eke^0\cup e^k and e0∪ene^0\cup e^n. A cellular map sends Sk=(Sk)kS^k = (S^k)^k into the kk-skeleton of SnS^n, which is the point e0e^0.

This generalises 7A.4 The Fundamental Group, where π1(Sn)=0\pi_1(S^n) = 0 for n≥2n \geq 2 was proved by a direct argument, and it is the input for the homotopy groups of 10A.4 Homotopy Groups, Degree and the Hurewicz Theorem. More generally, for any CW complex XX, the inclusion Xn→XX^n \to X induces isomorphisms on πk\pi_k for k<nk < n and a surjection for k=nk = n: a sphere SkS^k in XX can be made cellular, landing in XkX^k, and a homotopy Sk×I→XS^k\times I \to X can be made cellular, landing in Xk+1X^{k+1} (Exercise 6.15). The case n=2n = 2, k=1k = 1 is Theorem 6.5 again.

Every finitely presented group in dimension four

Theorem 6.10 Fundamental groups of 4-manifolds

For every finitely presented group GG there is a closed orientable smooth 4-manifold MM with π1(M)≅G\pi_1(M) \cong G.

Proof. Let G=⟨g1,…,gk∣r1,…,rm⟩G = \langle g_1, \dots, g_k \mid r_1, \dots, r_m\rangle. Start with M0=#k(S1×S3)M_0 = \#^k(S^1\times S^3), the connected sum of kk copies of S1×S3S^1\times S^3. Since S3S^3 is simply connected, van Kampen gives π1(S1×S3)=Z\pi_1(S^1\times S^3) = \mathbb{Z} and π1(M0)=Fk\pi_1(M_0) = F_k, free on g1,…,gkg_1, \dots, g_k (connected sum along 4-balls, whose boundary S3S^3 is simply connected, gives the free product; 7A.5 Computing π₁). For each relator rjr_j choose a smooth embedded loop γj\gamma_j representing it; in dimension four, loops can be made embedded and disjoint by general position (two curves in a 4-manifold generically do not meet). A tubular neighbourhood of γj\gamma_j is S1×D3S^1\times D^3 (orientability). Surgery replaces it by D2×S2D^2\times S^2, which has the same boundary S1×S2S^1\times S^2. Removing S1×D3S^1\times D^3 does not change π1\pi_1, because loops and homotopies can be pushed off a circle in a 4-manifold by general position (Exercise 6.16), and gluing in D2×S2D^2\times S^2 attaches a 2-disc along γj\gamma_j (killing rjr_j) and then cells of dimension ≥3\geq 3 (changing nothing). After all surgeries, π1=Fk/⟨⟨r1,…,rm⟩⟩=G\pi_1 = F_k/\langle\langle r_1, \dots, r_m\rangle\rangle = G.

Combined with a theorem of logic, this has striking consequences. Pyotr Novikov (1955) and William Boone (1958) proved that there are finitely presented groups with unsolvable word problem, and Sergei Adian and Michael Rabin (1955–58) deduced that no algorithm decides, given a finite presentation, whether the group it presents is trivial. Since the construction above is algorithmic, no algorithm decides whether a closed 4-manifold is simply connected, and Markov's theorem that homeomorphism of 4-manifolds is undecidable follows by refining the argument.

Dimension three is different. Fundamental groups of closed 3-manifolds are very special. Not every finitely presented group occurs: Z4\mathbb{Z}^4 does not, for instance, and Peter Scott proved in 1973 that 3-manifold groups are coherent (finitely generated subgroups are finitely presented), a property that most finitely presented groups lack. After Perelman, geometrization implies that 3-manifold groups are residually finite and have solvable word problem. The Poincaré conjecture is the statement that the trivial group occurs in exactly one way: the only closed 3-manifold with trivial fundamental group is S3S^3. In dimension four the analogous statement, whether smooth homotopy 4-spheres are standard, is open (7A.12 The Poincaré Conjecture, Precisely).

Whitehead's theorem and the shape of the conjecture

A map f:X→Yf : X \to Y is a weak homotopy equivalence if it induces isomorphisms πk(X,x)→πk(Y,f(x))\pi_k(X, x) \to \pi_k(Y, f(x)) for all k≥0k \geq 0 and all base points (10A.4 Homotopy Groups, Degree and the Hurewicz Theorem defines πk\pi_k).

Theorem 6.11 Whitehead's theorem (1949; statement)

A weak homotopy equivalence between connected CW complexes is a homotopy equivalence.

So for CW complexes, homotopy groups detect homotopy type. The proof uses cellular approximation and homotopy extension to build a homotopy inverse cell by cell (Hatcher, Theorem 4.5). It gives the homotopy-theoretic half of the Poincaré conjecture cheaply: a closed simply connected 3-manifold MM has homology H∗(M)≅H∗(S3)H_*(M) \cong H_*(S^3) by Poincaré duality (7A.11 Cohomology and Poincaré Duality), so by the Hurewicz theorem (10A.4 Homotopy Groups, Degree and the Hurewicz Theorem) π2(M)=0\pi_2(M) = 0 and π3(M)≅Z\pi_3(M) \cong \mathbb{Z}; a map S3→MS^3 \to M representing a generator induces isomorphisms on all homology, hence (by a homology version of Whitehead's theorem) is a homotopy equivalence. Every closed simply connected 3-manifold is a homotopy 3-sphere. The whole difficulty of the Poincaré conjecture is to upgrade "homotopy equivalent to S3S^3" to "homeomorphic to S3S^3": a statement that no amount of homotopy theory can prove, since in other dimensions and categories it can fail (Milnor's exotic 7-spheres are homeomorphic but not diffeomorphic to S7S^7, 7A.12 The Poincaré Conjecture, Precisely).

Where this goes Cells in the rest of the book

Covering spaces of CW complexes are CW complexes, with cells lifted (7A.7 Covering Spaces). Cellular homology computes homology from the numbers of cells and the degrees of the attaching maps (7A.10 Singular Homology and Mayer–Vietoris), which proves that the Euler characteristic is a topological invariant. Morse theory produces a CW structure on a manifold from a function, one cell for each critical point (7A.13 Morse Theory); for 3-manifolds, Heegaard splittings come from exactly that (10A.3 Building Three-Manifolds).

History

J. H. C. Whitehead introduced CW complexes in "Combinatorial homotopy I" (1949), together with his theorem on weak homotopy equivalences; cellular approximation is in the same work. Cell structures on projective spaces and lens spaces go back to the combinatorial topology of the 1920s and 1930s (Reidemeister, Seifert and Threlfall). The Nielsen–Schreier theorem dates from 1921–27. The unsolvability of the word problem is due to Novikov (1955) and Boone (1958), the triviality problem to Adian (1955) and Rabin (1958), and Markov's theorem on 4-manifolds to 1958. Scott's coherence theorem appeared in 1973, Rubinstein's 3-sphere recognition algorithm in 1992 and Thompson's proof in 1994.

Recall Where we stand

A CW complex is built by attaching nn-cells along maps of Sn−1S^{n-1} into the (n−1)(n-1)-skeleton; spheres, projective spaces, surfaces, lens spaces and graphs have explicit small structures, and χ\chi is the alternating count of cells. CW pairs have the homotopy extension property, so contractible subcomplexes can be collapsed: a connected graph is a wedge of 1−χ1 - \chi circles, its π1\pi_1 is free, and subgroups of free groups are free. π1\pi_1 of a CW complex is presented by the 1-cells off a maximal tree and the attaching words of the 2-cells, so every group is the π1\pi_1 of a 2-complex. Cellular approximation (built from Sard's theorem and homotopy extension) makes every map cellular, so πk(Sn)=0\pi_k(S^n) = 0 for k<nk < n and Xn→XX^n \to X is an isomorphism on πk\pi_k for k<nk < n. Every finitely presented group is π1\pi_1 of a closed 4-manifold (surgery on loops in #S1×S3\#S^1\times S^3), so simple connectivity of 4-manifolds is undecidable; 3-manifold groups are special, and S3S^3 can be recognised by algorithm. Whitehead's theorem makes every closed simply connected 3-manifold a homotopy sphere; the conjecture asks for a homeomorphism.

Exercises

Exercise 6.12 The retraction for homotopy extension

Show that radial projection from (0,2)∈Rn×R(0, 2) \in \mathbb{R}^n\times\mathbb{R} defines a retraction r:Dn×[0,1]→Dn×{0}∪Sn−1×[0,1]r : D^n\times[0, 1] \to D^n\times\{0\}\cup S^{n-1}\times[0, 1]. Write a formula for rr in the case n=1n = 1.

Solution

For (x,t)(x, t) in the cylinder, follow the ray from (0,2)(0, 2) through (x,t)(x, t) until it first meets the bottom Dn×{0}D^n\times\{0\} or the side Sn−1×[0,1]S^{n-1}\times[0, 1]. The ray is (0,2)+s((x,t)−(0,2))=(sx,2+s(t−2))(0, 2) + s((x, t) - (0, 2)) = (sx, 2 + s(t - 2)), s≥1s \geq 1. It meets the bottom at s0=22−ts_0 = \frac{2}{2 - t} if ∣s0x∣≤1|s_0x| \leq 1, i.e. if ∣x∣≤1−t2|x| \leq 1 - \frac t2; otherwise it meets the side at s1=1∣x∣s_1 = \frac{1}{|x|}. So r(x,t)=(2x2−t,0)r(x, t) = \big(\frac{2x}{2 - t}, 0\big) if ∣x∣≤1−t2|x| \leq 1 - \frac t2, and r(x,t)=(x∣x∣,2−2−t∣x∣)r(x, t) = \big(\frac{x}{|x|}, 2 - \frac{2 - t}{|x|}\big) otherwise. The two formulas agree on ∣x∣=1−t2|x| = 1 - \frac t2, so rr is continuous, and it fixes the bottom and side. For n=1n = 1, x∈[−1,1]x \in [-1, 1] and x∣x∣=±1\frac{x}{|x|} = \pm1.

Exercise 6.13 A cell structure for lens spaces

Let L(p,q)=S3/ZpL(p, q) = S^3/\mathbb{Z}_p with Zp\mathbb{Z}_p acting on S3⊆C2S^3 \subseteq \mathbb{C}^2 by (z,w)↦(ζz,ζqw)(z, w) \mapsto (\zeta z, \zeta^qw), ζ=e2πi/p\zeta = e^{2\pi i/p}. (a) Show that the circle {w=0}\{w = 0\} is invariant and its quotient is a circle. (b) Using the Zp\mathbb{Z}_p-invariant decomposition of S3S^3 into pp "lens-shaped" 3-cells, explain why L(p,q)L(p, q) has one cell in each dimension and why the 2-cell is attached to the 1-skeleton by a map of degree pp. (c) Deduce π1(L(p,q))=Z/p\pi_1(L(p, q)) = \mathbb{Z}/p from Theorem 6.5.

Solution

(a) (z,0)↦(ζz,0)(z, 0) \mapsto (\zeta z, 0): the circle ∣z∣=1|z| = 1, w=0w = 0 is invariant, and the action rotates it by 2πp\frac{2\pi}{p}, so the quotient is a circle X1X^1 (with one 0-cell and one 1-cell). (b) Hatcher's Example 2.43 gives a Zp\mathbb{Z}_p-invariant cell structure on S3S^3 with pp cells in each dimension 0,1,2,30, 1, 2, 3, permuted freely by the action, so the quotient has one cell in each dimension. The circle {w=0}\{w = 0\} is the union of the pp 0-cells and pp 1-cells, and each 2-cell is a disc whose boundary is that whole circle; in the quotient, the circle covers X1X^1 pp times, so the 2-cell is attached by a map of degree pp. (c) One generator (the 1-cell), one relation apa^p: Z/p\mathbb{Z}/p.

Exercise 6.14 Ranks of subgroups of free groups

(a) Show that if Γ~→Γ\tilde\Gamma \to \Gamma is a dd-sheeted covering of finite graphs then χ(Γ~)=dχ(Γ)\chi(\tilde\Gamma) = d\chi(\Gamma). (b) Deduce that an index-dd subgroup of the free group FkF_k is free of rank 1+d(k−1)1 + d(k - 1). (c) Find the rank of the kernel of F2→Z/2F_2 \to \mathbb{Z}/2 sending both generators to 11, and draw the covering graph.

Solution

(a) Each vertex and each edge has exactly dd preimages, so VV and EE multiply by dd. (b) Fk=π1F_k = \pi_1 of a wedge of kk circles, χ=1−k\chi = 1 - k. The subgroup is π1\pi_1 of the dd-sheeted cover, a connected graph with χ=d(1−k)\chi = d(1 - k), so its π1\pi_1 is free of rank 1−d(1−k)=1+d(k−1)1 - d(1 - k) = 1 + d(k - 1). (c) d=2d = 2, k=2k = 2: rank 33. The cover has two vertices and four edges, each generator lifting to two edges going from one vertex to the other.

Exercise 6.15 Skeleta and homotopy groups

Using cellular approximation, show: (a) every map Sk→XS^k \to X is homotopic to one into XkX^k; (b) if two maps Sk→XnS^k \to X^n with k<nk < n are homotopic in XX, they are homotopic in XnX^n; (c) πk(Xn)→πk(X)\pi_k(X^n) \to \pi_k(X) is an isomorphism for k<nk < n. (d) Why is it only surjective for k=nk = n? Give an example.

Solution

(a) Make the map cellular for the structure e0∪eke^0\cup e^k on SkS^k. (b) The homotopy Sk×I→XS^k\times I \to X is cellular on the subcomplex Sk×{0,1}S^k\times\{0, 1\}; make it cellular rel that subcomplex; Sk×IS^k\times I has dimension k+1≤nk + 1 \leq n, so the homotopy lands in Xk+1⊆XnX^{k+1} \subseteq X^n. (c) Surjective by (a) (as Xk⊆XnX^k \subseteq X^n), injective by (b). (d) For k=nk = n the homotopy lands in Xn+1X^{n+1}, where new (n+1)(n+1)-cells can kill classes: π1(S1)=Z\pi_1(S^1) = \mathbb{Z} but in D2=S1∪e2D^2 = S^1\cup e^2 the circle becomes trivial.

Exercise 6.16 Surgery and van Kampen

Let MM be a 4-manifold and γ\gamma an embedded loop with neighbourhood S1×D3S^1\times D^3. (a) Explain why π1(M∖γ)≅π1(M)\pi_1(M\setminus\gamma) \cong \pi_1(M) (general position: loops and homotopies, of dimension 11 and 22, can be pushed off a circle in a 4-manifold, since 1+1<41 + 1 < 4 and 2+1<42 + 1 < 4). (b) The result of surgery is M′=(M∖S1×D3)∪D2×S2M' = (M\setminus S^1\times D^3)\cup D^2\times S^2. Show π1(M′)=π1(M)/⟨⟨γ⟩⟩\pi_1(M') = \pi_1(M)/\langle\langle\gamma\rangle\rangle.

Solution

(a) A generic map of a kk-dimensional complex into a 4-manifold misses a given 1-dimensional submanifold when k+1<4k + 1 < 4, so for k=1k = 1 (loops) and k=2k = 2 (homotopies): π1(M∖γ)→π1(M)\pi_1(M\setminus\gamma) \to \pi_1(M) is onto and injective. (b) Using the cell structures D2=S1∪e2D^2 = S^1\cup e^2 and S2=e0∪e2S^2 = e^0\cup e^2, D2×S2D^2\times S^2 is obtained from its boundary S1×S2S^1\times S^2 by attaching the product cells e2×e0e^2\times e^0, a 2-cell attached along S1×{pt}S^1\times\{\mathrm{pt}\} (which is γ\gamma pushed to the boundary), and e2×e2e^2\times e^2, a 4-cell. The 2-cell kills γ\gamma, the 4-cell changes nothing (7A.5 Computing π₁).

Exercise 6.17 Rehearsal: the dunce hat

The dunce hat DD is a triangle with its edges identified according to the word aaa−1aaa^{-1} (two edges oriented the same way, the third reversed). (a) Give it a CW structure with one 0-cell, one 1-cell and one 2-cell, and compute π1(D)\pi_1(D). (b) Compute χ(D)\chi(D). (c) Granting Whitehead's theorem and H2(D)=0H_2(D) = 0 (the boundary of the 2-cell is a+a−a=aa + a - a = a, not 00), explain why DD is contractible.

Solution

(a) All three vertices are identified (follow the edge identifications), so one 0-cell; all edges are the same 1-cell aa; the triangle is the 2-cell, attached along aaa−1aaa^{-1}. π1=⟨a∣aaa−1⟩=⟨a∣a⟩=1\pi_1 = \langle a \mid aaa^{-1}\rangle = \langle a \mid a\rangle = 1. (b) 1−1+1=11 - 1 + 1 = 1. (c) DD is simply connected with H2=0H_2 = 0 and no higher cells, so by Hurewicz all homotopy groups vanish, and the map to a point is a weak equivalence, hence a homotopy equivalence by Whitehead.

Free resources for this chapter

Chosen for what this chapter covers, and all free to read. Links checked Oct 16, 2026.

© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.