Overview
A CW complex (Closure-finite, Weak-topology complex) is a type of topological space built by attaching cells of increasing dimension. Introduced by J.H.C. Whitehead, CW complexes provide a flexible and computable framework for algebraic topology: every manifold is homotopy equivalent to a CW complex, and the cellular chain complex computes homology efficiently. The 'C' stands for closure-finite (each cell meets only finitely many other cells) and 'W' for weak topology.
Intuition
Build a space in stages: start with a discrete set of points (0-cells), attach intervals (1-cells) to form edges, glue disks (2-cells) along their boundary circles to form faces, and continue in higher dimensions. A sphere S^n has a minimal CW structure with just one 0-cell and one n-cell. The attaching maps determine the topology, and the cellular chain complex encodes how cells attach to compute homology.
Formal Definition
A CW complex X is constructed inductively: X^0 is a discrete set of 0-cells. The n-skeleton X^n is obtained from X^{n-1} by attaching n-cells {e^n_alpha} via attaching maps phi_alpha: S^{n-1} -> X^{n-1}. Formally, X^n = X^{n-1} ⊔ (D^n_alpha) / (x ~ phi_alpha(x) for x in S^{n-1}). The space X = union of all X^n with the weak topology: A ⊂ X is closed iff A ∩ X^n is closed for all n.
Properties
Cellular Homology Theorem
Whitehead's Theorem
Theorems
Worked Examples
- 1
Minimal CW structure: one 0-cell e^0 and one n-cell e^n attached by the unique map S^{n-1} -> {e^0} (a constant map).
- 2
The cellular chain complex: C_0 = Z (one 0-cell), C_n = Z (one n-cell), C_k = 0 otherwise.
- 3
All boundary maps are zero: d_n: C_n -> C_{n-1} = 0 (since for n >= 2 there are no (n-1)-cells; for n = 1 the degree is 1-1 = 0 by the two endpoint cancellation).
- 4
Homology = kernel/image: H_0 = Z, H_n = Z, H_k = 0 otherwise.
✓ Answer
H_0(S^n) = Z, H_n(S^n) = Z, H_k(S^n) = 0 for all other k.
Practice Problems
Give a CW structure for RP^2 (the real projective plane) and state how many cells in each dimension.
Compute the cellular homology of RP^2 using the CW structure with one cell in each dimension 0, 1, 2.
Compute chi(CP^n) using the CW structure on CP^n with one cell in each even dimension 0, 2, 4, ..., 2n.
Common Mistakes
The number of n-cells equals rank H_n(X).
The number of n-cells equals rank C_n, not rank H_n. Boundary maps between cells cancel some contributions, and torsion can appear. For example RP^2 has one 2-cell but H_2(RP^2) = 0.
Every topological space is a CW complex.
Not every space is a CW complex, but the CW approximation theorem guarantees that every space is weakly homotopy equivalent to one. For most spaces in algebraic topology, working with a CW model is sufficient.
Quiz
Summary
- A CW complex is built by inductively attaching n-cells (copies of D^n) to a previously constructed (n-1)-skeleton via attaching maps from S^{n-1}.
- The cellular chain complex C_*^{cell}(X) with one Z per n-cell computes the singular homology of X.
- All manifolds, projective spaces, Grassmannians, and classifying spaces admit CW structures, making this a universal construction.
- The Euler characteristic chi(X) = sum (-1)^n c_n counts cells with signs; it equals sum (-1)^n rank H_n(X) by the cellular homology theorem.
- Whitehead's theorem: a map between CW complexes inducing isomorphisms on all homotopy groups is a homotopy equivalence.
References
- WebsiteWikipedia — CW complex
Mathematics