In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, and specifically in
topology
Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
, a CW complex (also cellular complex or cell complex) is a
topological space
In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
that is built by gluing together topological balls (so-called ''cells'') of different dimensions in specific ways. It generalizes both
manifolds and
simplicial complexes and has particular significance for
algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant (mathematics), invariants that classification theorem, classify topological spaces up t ...
. It was initially introduced by
J. H. C. Whitehead to meet the needs of
homotopy theory.
[ (open access)]
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
CW complex
A CW complex is constructed by taking the union of a sequence of topological spaces
such that each
is obtained from
by gluing copies of k-cells
, each homeomorphic to the open
-
ball , to
by continuous gluing maps
. The maps are also called
attaching maps. Thus as a set,
.
Each
is called the k-skeleton of the complex.
The topology of
is a weak topology: a subset
is open
iff
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either both ...
is open for each k-skeleton
.
In the language of category theory, the topology on
is the
direct limit of the diagram
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.
The construction, in words
The CW complex construction is a straightforward generalization of the following process:
* A 0-''dimensional CW complex'' is just a set of zero or more discrete points (with the
discrete topology
In topology, a discrete space is a particularly simple example of a topological space or similar structure, one in which the points form a , meaning they are '' isolated'' from each other in a certain sense. The discrete topology is the finest to ...
).
* A 1-''dimensional CW complex'' is constructed by taking the
disjoint union of a 0-dimensional CW complex with one or more copies of the
unit interval. For each copy, there is a map that "
glues" its boundary (its two endpoints) to elements of the 0-dimensional complex (the points). The topology of the CW complex is the topology of the
quotient space defined by these gluing maps.
* In general, an ''n-dimensional CW complex'' is constructed by taking the disjoint union of a ''k''-dimensional CW complex (for some