CW complex
In mathematics, and specifically in topology, a CW complex (also cellular complex or cell complex) is a topological space that is built by gluing together topological balls (so-called cells) of different dimensions in specific ways. The notion generalizes both manifolds and simplicial complexes and has particular significance for algebraic topology. It was initially introduced by J. H. C. Whitehead to meet the needs of homotopy theory. CW complexes have better categorical properties than simplicial complexes, but still retain a combinatorial nature that allows for computation (often with a much smaller complex). The C in CW stands for "closure-finite", and the W for "weak" topology.
In mathematics, and specifically in topology, a CW complex (also cellular complex or cell complex) is a topological space that is built by gluing together topological balls (so-called cells) of different dimensions in specific ways. The notion generalizes both manifolds and simplicial complexes and has particular significance for algebraic topology. It was initially introduced by J. H. C. Whitehead to meet the needs of homotopy theory. CW complexes have better categorical properties than simplicial complexes, but still retain a combinatorial nature that allows for computation (often with a much smaller complex). The C in CW stands for "closure-finite", and the W for "weak" topology. ==Definition== A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{-1} \subset X_0 \subset X_1 \subset \cdots of topological spaces X_k such that each X_k is obtained from X_{k-1} by gluing copies of k-cells (e^k_\alpha)_{\alpha \in J} , each homeomorphic to the open unit ball B^k in k -dimensional Euclidean space, to X_{k-1} by continuous gluing maps g^k_\alpha: \partial \bar{e}^k_\alpha \to X_{k-1} where \bar{e}^k\cong \bar{B}^k the closed unit ball. The maps are also called attaching maps. Thus as a set, X_k = X_{k-1} \sqcup_{\alpha} e^k_\alpha . To be precise, X_k is homeomorphic to (X_{k-1} \sqcup (J \times \overline{e}^k)) / \sim , (here \overline{e}^k is the closed k -disk in \mathbb{R}^k ) where we equip J with the discrete topology and where \sim is the equivalence relation generated by (a, x) \sim g^k_a(x) for a \in J and x \in \partial e^k . Each X_k is called the k-skeleton of the complex. The topology of X = \cup_{k} X_k is a weak topology: a subset U\subset X is open iff U\cap X_k is open for each k-skeleton X_k . In the language of category theory, the topology on X is the direct limit of the diagram 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: This partition of X is also called a cellulation. ===Regular CW complexes=== 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. ===Relative CW complexes=== 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. The infinite-dimensional sphere S^\infty:=\mathrm{colim}_{n\to\infty}S^n . It admits a CW-structure with 2 cells in each dimension which are assembled in a way such that the n -skeleton is precisely given by the n -sphere. The infinite-dimensional projective spaces \mathbb{RP}^\infty , \mathbb{CP}^\infty and \mathbb{HP}^\infty . \mathbb{RP}^\infty has one cell in every dimension, \mathbb{CP}^\infty , has one cell in every even dimension and \mathbb{HP}^\infty has one cell in every dimension divisible by 4. The respective skeletons are then given by \mathbb{RP}^n , \mathbb{CP}^n (2n-skeleton) and \mathbb{HP}^n (4n-skeleton). ==Homology and cohomology of CW complexes== 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: For the sphere, S^n, take the cell decomposition with two cells: a single 0-cell and a single n-cell. The cellular homology chain complex C_* and homology are given by: C_k = \begin{cases} \Z & k \in \{0,n\} \\ 0 & k \notin \{0,n\} \end{cases} \quad H_k = \begin{cases} \Z & k \in \{0,n\} \\ 0 & k \notin \{0,n\} \end{cases} since all the differentials are zero. Alternatively, if we use the equatorial decomposition with two cells in every dimension C_k = \begin{cases} \Z^2 & 0 \leqslant k \leqslant n \\ 0 & \text{otherwise} \end{cases} and the differentials are matrices of the form \left ( \begin{smallmatrix} 1 & -1 \\ 1 & -1\end{smallmatrix} \right ). This gives the same homology computation above, as the chain complex is exact at all terms except C_0 and C_n. For \mathbb{P}^n(\Complex) we get similarly H^k \left (\mathbb{P}^n(\Complex) \right ) = \begin{cases} \Z & 0\leqslant k\leqslant 2n, \text{ even}\\ 0 & \text{otherwise}\end{cases} 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. 1) Adding/removing a generator. Adding a generator, from the perspective of the CW decomposition consists of adding a 1-cell and a 2-cell whose attaching map consists of the new 1-cell and the remainder of the attaching map is in X^1 . If we let \tilde X be the corresponding CW complex \tilde X = X \cup e^1 \cup e^2 then there is a homotopy equivalence \tilde X \to X given by sliding the new 2-cell into X. 2) Adding/removing a relation. The act of adding a relation is similar, only one is replacing X by \tilde X = X \cup e^2 \cup e^3 where the new 3-cell has an attaching map that consists of the new 2-cell and remainder mapping into X^2 . A similar slide gives a homotopy-equivalence \tilde X \to X . If a CW complex X is n-connected one can find a homotopy-equivalent CW complex \tilde X whose n-skeleton X^n consists of a single point. The argument for n \geq 2 is similar to the 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;\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. =='The' homotopy category== 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). 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). ==See also== Abstract cell complex The notion of CW complex has an adaptation to smooth manifolds called a handle decomposition, which is closely related to surgery theory. ===Notes===
References
- Hatcher, Allen. Algebraic topology . Cambridge University Press . 2002. · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "Hatcher, Allen. Algebraic topology . Cambridge University Press . 2002." Hatcher, Allen. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "Hatcher, Allen. Algebraic topology . Cambridge University Press . 2002." Hatcher, Allen. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA Hatcher, Allen. (2026). Hatcher, Allen. Algebraic topology . Cambridge University Press . 2002. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- Compactly Generated Spaces . retrieved 2012-08-26 · retrieved 2012-08-25 · rev 1369496061
Cite this reference
MLA "Compactly Generated Spaces . retrieved 2012-08-26." Compactly Generated Spaces. 2012-08-25. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "Compactly Generated Spaces . retrieved 2012-08-26." Compactly Generated Spaces. 2012-08-25. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA Compactly Generated Spaces. (2012). Compactly Generated Spaces . retrieved 2012-08-26. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- Whitehead, J. H. C. Combinatorial homotopy. I . 1949a. · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "Whitehead, J. H. C. Combinatorial homotopy. I . 1949a." Whitehead, J. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "Whitehead, J. H. C. Combinatorial homotopy. I . 1949a." Whitehead, J. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA Whitehead, J. (2026). Whitehead, J. H. C. Combinatorial homotopy. I . 1949a. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- ==Definition== === CW complex === A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{-1} \subset X_0 \subset X_1 \subset \cdots of topological spaces X_k such . · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "==Definition== === CW complex === A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{-1} \subset X_0 \subset X_1 \subset \cdots of topological spaces X_k such ." ==Definition== === CW complex === A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "==Definition== === CW complex === A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{-1} \subset X_0 \subset X_1 \subset \cdots of topological spaces X_k such ." ==Definition== === CW complex === A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA ==Definition== === CW complex === A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{. (2026). ==Definition== === CW complex === A CW complex is the union X = \cup_{k} X_k constructed from a sequence \emptyset = X_{-1} \subset X_0 \subset X_1 \subset \cdots of topological spaces X_k such . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- CW complex in nLab . · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "CW complex in nLab ." 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "CW complex in nLab ." 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA encyclopegia.org. (2026). CW complex in nLab . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- CW-complex - Encyclopedia of Mathematics . · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "CW-complex - Encyclopedia of Mathematics ." 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "CW-complex - Encyclopedia of Mathematics ." 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA encyclopegia.org. (2026). CW-complex - Encyclopedia of Mathematics . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- Archived at [https://ghostarchive.org/varchive/youtube/20211212/HjiooyBH6es Ghostarchive]cbignore and the [https://web.archive.org/web/20201211210326/https://www.youtube.com/watch?v=HjiooyBH6es&gl . · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "Archived at [https://ghostarchive.org/varchive/youtube/20211212/HjiooyBH6es Ghostarchive]cbignore and the [https://web.archive.org/web/20201211210326/https://www.youtube.com/watch?v=HjiooyBH6es&gl ." Archived at [https://ghostarchive. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "Archived at [https://ghostarchive.org/varchive/youtube/20211212/HjiooyBH6es Ghostarchive]cbignore and the [https://web.archive.org/web/20201211210326/https://www.youtube.com/watch?v=HjiooyBH6es&gl ." Archived at [https://ghostarchive. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA Archived at [https://ghostarchive. (2026). Archived at [https://ghostarchive.org/varchive/youtube/20211212/HjiooyBH6es Ghostarchive]cbignore and the [https://web.archive.org/web/20201211210326/https://www.youtube.com/watch?v=HjiooyBH6es&gl . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- On Spaces Having the Homotopy Type of a CW-Complex . · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "On Spaces Having the Homotopy Type of a CW-Complex ." 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "On Spaces Having the Homotopy Type of a CW-Complex ." 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA encyclopegia.org. (2026). On Spaces Having the Homotopy Type of a CW-Complex . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- Allen Hatcher|Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). ISBN|0-521-79540-0. A free electronic version is available on the [https://pi.math.cornell.edu/~hatcher . · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "Allen Hatcher|Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). ISBN|0-521-79540-0. A free electronic version is available on the [https://pi.math.cornell.edu/~hatcher ." Allen Hatcher|Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "Allen Hatcher|Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). ISBN|0-521-79540-0. A free electronic version is available on the [https://pi.math.cornell.edu/~hatcher ." Allen Hatcher|Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA Allen Hatcher|Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). (2026). Allen Hatcher|Hatcher, Allen, Algebraic topology, Cambridge University Press (2002). ISBN|0-521-79540-0. A free electronic version is available on the [https://pi.math.cornell.edu/~hatcher . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
- Allen Hatcher|Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the [https://pi.math.cornell.edu/~hatcher/ author's homepage] . · retrieved 2026-08-14 · rev 1369496061
Cite this reference
MLA "Allen Hatcher|Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the [https://pi.math.cornell.edu/~hatcher/ author's homepage] ." Allen Hatcher|Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the [https://pi. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061. Accessed 24 November 2026.
Chicago "Allen Hatcher|Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the [https://pi.math.cornell.edu/~hatcher/ author's homepage] ." Allen Hatcher|Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the [https://pi. 2026-08-14. https://en.wikipedia.org/w/index.php?oldid=1369496061.
APA Allen Hatcher|Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the [https://pi. (2026). Allen Hatcher|Hatcher, Allen, Vector bundles and K-theory, preliminary version available on the [https://pi.math.cornell.edu/~hatcher/ author's homepage] . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369496061
Cite this article
MLA
"CW complex." encyclopegia.org, 2026, https://encyclopegia.org/wiki/cw-complex. Accessed 24 November 2026.
Chicago
"CW complex." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/cw-complex.
APA
encyclopegia.org. (2026). CW complex. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/cw-complex
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON