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 complex
In mathematics, a simplicial complex is a structured Set (mathematics), set composed of Point (geometry), points, line segments, triangles, and their ''n''-dimensional counterparts, called Simplex, simplices, such that all the faces and intersec ...
es 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 complex
In mathematics, a simplicial complex is a structured Set (mathematics), set composed of Point (geometry), points, line segments, triangles, and their ''n''-dimensional counterparts, called Simplex, simplices, such that all the faces and intersec ...
es, 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
In mathematics, the disjoint union (or discriminated union) A \sqcup B of the sets and is the set formed from the elements of and labelled (indexed) with the name of the set from which they come. So, an element belonging to both and appe ...
of a 0-dimensional CW complex with one or more copies of the
unit interval
In mathematics, the unit interval is the closed interval , that is, the set of all real numbers that are greater than or equal to 0 and less than or equal to 1. It is often denoted ' (capital letter ). In addition to its role in real analysi ...
. 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