For a CW complex , let be its -skeleton. The cellular chain complex is
The isomorphism uses excision and , after choosing an orientation for each cell. In degree zero, take and the free group on the vertices. The differential is the composite
The long exact sequences of skeleton pairs imply . The cellular boundary formula describes its coefficient at a -cell as the mapping degree of the attaching sphere after all other -cells are collapsed. In degree one this is the signed difference of the two endpoints. The cellular homology theorem identifies the homology of this complex with singular homology: relative homology of successive skeletons is concentrated in their cell dimension, and the exact skeleton sequences leave precisely these kernels modulo images. This is the construction, rather than merely a count of cells.
The filtration gives one cell in each of dimensions zero, two and four, since . There are no odd-dimensional cells, so every cellular differential vanishes. Thus
The complex projective line has one zero-cell and one two-cell. Its product with itself has one zero-cell, two two-cells and one four-cell. Its cellular chain complex again has zero differentials, giving
A homeomorphism induces isomorphisms on homology groups. The second groups have different ranks, and therefore
Now orient the Complex projective plane by its complex coordinates. The inclusion of its two-skeleton identifies the fundamental class of a projective line with a generator of : the cellular generator has no incoming three-cell boundary and no outgoing boundary.
Take the projective lines and . A path of unitary coordinate transformations takes one to the other, so their oriented homology classes are both . They meet in the single point . In its affine chart, let and . Their tangent spaces are the complex -axis and complex -axis, so the intersection is a transverse intersection. The ordered real bases
concatenate to the complex orientation of the ambient four-manifold. Thus the local sign is , and
This computes the intersection form using distinct representatives of the same class, avoiding an ill-defined attempt to count a line intersecting itself as a set. Bilinearity now gives
Equivalently, the map sending to is an isomorphism. This is exactly a unimodular intersection pairing, and proves projective lines generate a unimodular intersection form. Reversing the ambient orientation would change the matrix to and would still be unimodular.
Let . Define a surjection
Its kernel determines a connected regular four-sheeted cover of a wedge of circles and a real projective plane, say .
Use the CW structure on with one vertex, one edge for every and for , and one two-cell attached along . In the regular cover, the degree-two cellular chain group is
The cellular boundary formula gives the lifted attaching word the boundary
in the -edge summand of . Therefore
There are no three-cells, so
If were homotopy equivalent to a compact connected surface , the subgroup corresponding to this cover would produce a connected four-sheeted cover homotopy equivalent to . A finite cover of a compact surface is again a compact connected surface. But the integral top homology of a compact connected surface has rank at most one, contradicting the displayed rank two. Hence is not homotopy equivalent to a compact connected surface for any .
Choose the intersection point as the zero-cell. Let be the horizontal one-cell and the vertical one-cell . The usual CW complex structure on the torus has one two-cell attached by the word , and the extra disk gives a two-cell attached along with degree one. Collapsing leaves one zero-cell , one one-cell , and the two two-cells . The cellular boundary formula gives
Therefore
The Excision theorem says that if and , then inclusion induces
It lets us compute local homology in arbitrarily small neighborhoods.
Let be the image of . At a point of , a neighborhood is a disk, whose link is a circle. At a point of , three half-disks meet along their diameters, and the link is a Theta graph, with first homology . At , the two folds created by collapsing the horizontal circle give a dumbbell graph as link: two circles joined by an interval. Its first homology is again . The local homology from a link therefore gives
Because local homology is invariant under a homeomorphism, every self-homeomorphism of preserves the rank-two locus .
It must also preserve . Indeed, is the unique point of whose sufficiently small local link is a dumbbell graph; every other point of has a theta-graph link. The connecting edge of a dumbbell graph is a bridge in a graph, whereas no edge of a theta graph is a bridge, so these local topological types are distinct.
Write as the union of slightly enlarged northern and southern hemispheres and . Both are contractible, while deformation retracts onto . The reduced Mayer–Vietoris theorem therefore gives
Starting from proves the homology of a sphere:
This uses no cellular homology. A reflection of reverses its orientation and has degree of a continuous mapping , so it induces the identity on , multiplication by on , and the unique map between zero groups in every other degree.
For a CW complex with skeleta , its cellular chain complex is
The differential is the connecting map to followed by passage to . Equivalently, the coefficient of a -cell in the boundary of a -cell is the degree obtained from its attaching map after collapsing the complement of that lower cell. This is the cellular boundary formula.
The quotient builds from by one -cell, so has one cell in each dimension . The two lifts of the attaching map contribute with relative sign , and the cellular homology of real projective space has differential
Consequently
With coefficients every differential vanishes, and hence
with zero homology outside that range.
The standard CW complex structure on has one cell in every even dimension from to , and is its -skeleton. Collapsing that subcomplex leaves one zero-cell and one cell in each dimension for . All cellular boundaries vanish, so
Let be the usual generator. For , choose whose pullback under the quotient map is . Naturality of the cup product and the cohomology ring of complex projective space give
Together with the unit, this determines the ring; equivalently, its reduced part is the ideal with the inherited multiplication. This is the cohomology ring of a collapsed projective subspace.
If , the quotient has just a zero-cell and a -cell, so it is and is a compact manifold. Conversely, suppose and the quotient is homotopy equivalent to a compact manifold. Its top cohomology is , so that manifold must be closed, orientable, and -dimensional. But while , contradicting Poincare duality. Therefore
For a CW complex , the cellular chain complex is
the free abelian group generated by the oriented -cells. Its differential is the composite
Naturality of the long exact sequences of the triples makes two successive connecting maps compose to zero, so .
The cellular boundary formula says that the coefficient of an -cell in the boundary of is the degree of