A CW complex is constructed by taking the union of a sequence of topological spaces ∅ = X − 1 ⊂ X 0 ⊂ X 1 ⊂ ⋯ {\displaystyle \emptyset =X_{-1}\subset X_{0}\subset X_{1}\subset \cdots } such that each X k {\displaystyle X_{k}} is obtained from X k − 1 {\displaystyle X_{k-1}} by gluing copies of k-cells ( e α k ) α {\displaystyle (e_{\alpha }^{k})_{\alpha }} , each homeomorphic to the open k {\displaystyle k} -ball B k {\displaystyle B^{k}} , to X k − 1 {\displaystyle X_{k-1}} by continuous gluing maps g α k : ∂ e α k → X k − 1 {\displaystyle g_{\alpha }^{k}:\partial e_{\alpha }^{k}\to X_{k-1}} . The maps are also called attaching maps. Thus as a set, X k = X k − 1 ⊔ α e α k {\displaystyle X_{k}=X_{k-1}\sqcup _{\alpha }e_{\alpha }^{k}} .
Each X k {\displaystyle X_{k}} is called the k-skeleton of the complex.
The topology of X = ∪ k X k {\displaystyle X=\cup _{k}X_{k}} is a weak topology: a subset U ⊂ X {\displaystyle U\subset X} is open iff U ∩ X k {\displaystyle U\cap X_{k}} is open for each k-skeleton X k {\displaystyle X_{k}} .
In the language of category theory, the topology on X {\displaystyle X} is the direct limit of the diagram X − 1 ↪ X 0 ↪ X 1 ↪ ⋯ {\displaystyle X_{-1}\hookrightarrow X_{0}\hookrightarrow X_{1}\hookrightarrow \cdots } The name "CW" stands for "closure-finite weak topology", which is explained by the following theorem:
Theorem—A Hausdorff space X is homeomorphic to a CW complex iff there exists a partition of X into "open cells" e α k {\displaystyle e_{\alpha }^{k}} , each with a corresponding closure (or "closed cell") e ¯ α k := c l X ( e α k ) {\displaystyle {\bar {e}}_{\alpha }^{k}:=cl_{X}(e_{\alpha }^{k})} that satisfies:
This partition of X is also called a cellulation.
The CW complex construction is a straightforward generalization of the following process:
A regular CW complex is a CW complex whose gluing maps are homeomorphisms. Accordingly, the partition of X is also called a regular cellulation.
A loopless graph is represented by a regular 1-dimensional CW-complex. A closed 2-cell graph embedding on a surface is a regular 2-dimensional CW-complex. Finally, the 3-sphere regular cellulation conjecture claims that every 2-connected graph is the 1-skeleton of a regular CW-complex on the 3-dimensional sphere.4
Roughly speaking, a relative CW complex differs from a CW complex in that we allow it to have one extra building block that does not necessarily possess a cellular structure. This extra-block can be treated as a (−1)-dimensional cell in the former definition.567
Every discrete topological space is a 0-dimensional CW complex.
Some examples of 1-dimensional CW complexes are:8
Some examples of finite-dimensional CW complexes are:9
Singular homology and cohomology of CW complexes is readily computable via cellular homology. Moreover, in the category of CW complexes and cellular maps, cellular homology can be interpreted as a homology theory. To compute an extraordinary (co)homology theory for a CW complex, the Atiyah–Hirzebruch spectral sequence is the analogue of cellular homology.
Some examples:
Both of the above examples are particularly simple because the homology is determined by the number of cells—i.e.: the cellular attaching maps have no role in these computations. This is a very special phenomenon and is not indicative of the general case.
There is a technique, developed by Whitehead, for replacing a CW complex with a homotopy-equivalent CW complex that has a simpler CW decomposition.
Consider, for example, an arbitrary CW complex. Its 1-skeleton can be fairly complicated, being an arbitrary graph. Now consider a maximal forest F in this graph. Since it is a collection of trees, and trees are contractible, consider the space X / ∼ {\displaystyle X/{\sim }} where the equivalence relation is generated by x ∼ y {\displaystyle x\sim y} if they are contained in a common tree in the maximal forest F. The quotient map X → X / ∼ {\displaystyle X\to X/{\sim }} is a homotopy equivalence. Moreover, X / ∼ {\displaystyle X/{\sim }} naturally inherits a CW structure, with cells corresponding to the cells of X {\displaystyle X} that are not contained in F. In particular, the 1-skeleton of X / ∼ {\displaystyle X/{\sim }} is a disjoint union of wedges of circles.
Another way of stating the above is that a connected CW complex can be replaced by a homotopy-equivalent CW complex whose 0-skeleton consists of a single point.
Consider climbing up the connectivity ladder—assume X is a simply-connected CW complex whose 0-skeleton consists of a point. Can we, through suitable modifications, replace X by a homotopy-equivalent CW complex where X 1 {\displaystyle X^{1}} consists of a single point? The answer is yes. The first step is to observe that X 1 {\displaystyle X^{1}} and the attaching maps to construct X 2 {\displaystyle X^{2}} from X 1 {\displaystyle X^{1}} form a group presentation. The Tietze theorem for group presentations states that there is a sequence of moves we can perform to reduce this group presentation to the trivial presentation of the trivial group. There are two Tietze moves:
If a CW complex X is n-connected one can find a homotopy-equivalent CW complex X ~ {\displaystyle {\tilde {X}}} whose n-skeleton X n {\displaystyle X^{n}} consists of a single point. The argument for n ≥ 2 {\displaystyle n\geq 2} is similar to the n = 1 {\displaystyle n=1} case, only one replaces Tietze moves for the fundamental group presentation by elementary matrix operations for the presentation matrices for H n ( X ; Z ) {\displaystyle H_{n}(X;\mathbb {Z} )} (using the presentation matrices coming from cellular homology. i.e.: one can similarly realize elementary matrix operations by a sequence of addition/removal of cells or suitable homotopies of the attaching maps.
See also: Milnor's theorem on Kan complexes
The homotopy category of CW complexes is, in the opinion of some experts, the best if not the only candidate for the homotopy category (for technical reasons the version for pointed spaces is actually used).18 Auxiliary constructions that yield spaces that are not CW complexes must be used on occasion. One basic result is that the representable functors on the homotopy category have a simple characterisation (the Brown representability theorem).
Hatcher, Allen (2002). Algebraic topology. Cambridge University Press. ISBN 0-521-79540-0. This textbook defines CW complexes in the first chapter and uses them throughout; includes an appendix on the topology of CW complexes. A free electronic version is available on the author's homepage. 0-521-79540-0 ↩
Whitehead, J. H. C. (1949a). "Combinatorial homotopy. I." (PDF). Bulletin of the American Mathematical Society. 55 (5): 213–245. doi:10.1090/S0002-9904-1949-09175-9. MR 0030759. (open access) /wiki/J._H._C._Whitehead ↩
De Agostino, Sergio (2016). The 3-Sphere Regular Cellulation Conjecture (PDF). International Workshop on Combinatorial Algorithms. https://twiki.di.uniroma1.it/pub/Users/SergioDeAgostino/DeAgostino.pdf ↩
Davis, James F.; Kirk, Paul (2001). Lecture Notes in Algebraic Topology. Providence, R.I.: American Mathematical Society. ↩
"CW complex in nLab". https://ncatlab.org/nlab/show/CW+complex ↩
"CW-complex - Encyclopedia of Mathematics". https://www.encyclopediaofmath.org/index.php/CW-complex ↩
Archived at Ghostarchive and the Wayback Machine: channel, Animated Math (2020). "1.3 Introduction to Algebraic Topology. Examples of CW Complexes". Youtube. https://ghostarchive.org/varchive/youtube/20211212/HjiooyBH6es ↩
Turaev, V. G. (1994). Quantum invariants of knots and 3-manifolds. De Gruyter Studies in Mathematics. Vol. 18. Berlin: Walter de Gruyter & Co. ISBN 9783110435221. 9783110435221 ↩
Hatcher, Allen (2002). Algebraic topology. Cambridge University Press. p. 522. ISBN 0-521-79540-0. Proposition A.4 0-521-79540-0 ↩
Milnor, John (February 1959). "On Spaces Having the Homotopy Type of a CW-Complex". Transactions of the American Mathematical Society. 90 (2): 272–280. doi:10.2307/1993204. ISSN 0002-9947. JSTOR 1993204. https://dx.doi.org/10.2307/1993204 ↩
Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). ISBN 0-521-79540-0. A free electronic version is available on the author's homepage /wiki/Allen_Hatcher ↩
Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the author's homepage /wiki/Allen_Hatcher ↩
Hatcher, Allen (2002). Algebraic topology. Cambridge University Press. p. 529. ISBN 0-521-79540-0. Exercise 1 0-521-79540-0 ↩
Milnor, John (1959). "On spaces having the homotopy type of a CW-complex". Trans. Amer. Math. Soc. 90 (2): 272–280. doi:10.1090/s0002-9947-1959-0100267-4. JSTOR 1993204. /wiki/John_Milnor ↩
"Compactly Generated Spaces" (PDF). Archived from the original (PDF) on 2016-03-03. Retrieved 2012-08-26. https://web.archive.org/web/20160303174529/http://neil-strickland.staff.shef.ac.uk/courses/homotopy/cgwh.pdf ↩
For example, the opinion "The class of CW complexes (or the class of spaces of the same homotopy type as a CW complex) is the most suitable class of topological spaces in relation to homotopy theory" appears in Baladze, D.O. (2001) [1994], "CW-complex", Encyclopedia of Mathematics, EMS Press https://www.encyclopediaofmath.org/index.php?title=CW-complex&oldid=15603 ↩