© 2026 NeckPinch · www.neckpinch.com · All rights reserved.
Course 7Book 7A: Topology and the Fundamental GroupChapter 10
Singular Homology and Mayer–Vietoris
Singular chains, homotopy invariance, exact sequences, excision and Mayer–Vietoris, the homology of spheres and lens spaces, Jordan–Brouwer and invariance of domain, cellular homology and the Lefschetz fixed point theorem.
Read with Hatcher, Algebraic Topology, §2.1 (singular homology, homotopy invariance, exact sequences, excision, the equivalence of simplicial and singular homology), §2.2 (degree, cellular homology, Mayer–Vietoris, the Euler characteristic) and, for Jordan–Brouwer and invariance of domain, Proposition 2B.1 and Theorem 2B.3; or Lee, Introduction to Topological Manifolds, chapter 13.
7A.9 Homology in Brief introduced homology for spaces with a triangulation, computed it by linear algebra, and stated the facts needed for the Poincaré conjecture. This chapter builds the theory properly, for all spaces, and proves those facts. The construction is singular homology: chains are formal sums of continuous maps of simplices, so no triangulation is needed and functoriality is automatic. Its power comes from three properties, proved here:
- Homotopy invariance: homotopic maps induce the same maps on homology.
- Exactness: a pair gives a long exact sequence linking the homology of , of , and of relative to .
- Excision: relative homology does not see what happens deep inside . Equivalently, the Mayer–Vietoris sequence computes the homology of a union from the pieces and their intersection.
With these three, the homology of spheres follows by induction, and with it the classical theorems of topology in every dimension: Brouwer's fixed point theorem, the Jordan–Brouwer separation theorem, invariance of domain and of dimension. Cellular homology then computes everything from a CW structure (7A.6 CW Complexes and Cellular Approximation) with almost no work, and proves that the Euler characteristic is a topological invariant. The homology of lens spaces and of the Poincaré homology sphere, which 7A.12 The Poincaré Conjecture, Precisely uses to explain what the conjecture is about, comes out in a few lines.
By the end of this chapter you will be able to:
- define singular homology, prove its functoriality and homotopy invariance (with the prism operator), and compute ;
- prove the zig-zag lemma and use the long exact sequence of a pair; state excision and use it for good pairs, ;
- derive and apply the Mayer–Vietoris sequence: spheres, wedges, connected sums;
- define the degree of a map , compute it for reflections and the antipodal map, and prove the hairy ball and Brouwer theorems with it;
- prove the Jordan–Brouwer separation theorem and invariance of domain;
- compute cellular homology of , lens spaces and surfaces, prove that is a topological invariant, and state the Lefschetz fixed point theorem.
Inside or outside
Every map application, geographic information system and video game constantly asks whether a point lies inside a polygon: is this address inside the city limits, has the character walked into a building? The standard answer is the ray-casting test: draw a ray from the point in any direction and count how many times it crosses the polygon's edges. An odd count means inside, an even count outside. The test is correct because of the Jordan curve theorem: a simple closed curve in the plane separates it into exactly two components, a bounded inside and an unbounded outside, and crossing the curve transversally always switches between them. For polygons the theorem is elementary; for arbitrary continuous curves it is surprisingly hard, and its natural proof, in every dimension, is by homology.
Implementations must handle the cases the theorem's idealisation ignores: rays through vertices, edges collinear with the ray, floating-point rounding of nearly degenerate polygons, and self-intersecting "polygons", for which the parity rule and the winding-number rule (7A.4 The Fundamental Group) give different answers. The topology says what the right answer is for a genuine simple closed curve; robust geometry code is needed to compute it.
Singular homology
Let be the standard -simplex, with vertices and faces given by inserting a zero in position .
A singular -simplex in a space is a continuous map . The singular chain group is the free abelian group on all singular -simplices. The boundary of is the alternating sum of its faces,
extended linearly. Then (Exercise 10.14), and the singular homology is .
The groups are enormous (one generator for each continuous map), but homology is computable, and for simplicial complexes agrees with the simplicial homology of 7A.9 Homology in Brief (Hatcher, Theorem 2.27). The advantage is functoriality: a continuous map sends to , commuting with , so it induces , with and . Homeomorphic spaces have isomorphic homology.
counts path components. A 0-simplex is a point, a 1-simplex a path, and . So two points are homologous iff they are joined by a path, and is free abelian on the path components. The reduced homology replaces by the kernel of the augmentation ; for nonempty , and for , and a point has .
If , then . Consequently homotopy equivalent spaces have isomorphic homology, and contractible spaces have .
Proof. Let be a homotopy. Subdivide the prism into simplices , where and , and define the prism operator by
A direct computation of faces (Exercise 10.15) gives the chain homotopy identity
the algebraic version of "the boundary of the prism is the top, minus the bottom, minus the prism over the boundary". For a cycle , is a boundary, so .
Exact sequences
For , the relative chains inherit , and their homology consists of chains whose boundary lies in , modulo chains in and boundaries. Intuitively, it is the homology of with "collapsed".
A short exact sequence of chain complexes gives a long exact sequence
Proof. The connecting map. Let be a cycle. Lift it to with . Then , so for a unique , and , so is a cycle. Set . Different choices of lift change by and by , and changing by a boundary changes by a boundary too, so is well defined.
Exactness is checked at each of the three spots by diagram chasing; for instance at : since a lift of is itself, a cycle; and if , then , so is a cycle mapping to (Exercise 10.16 for the rest).
Applied to , the lemma gives the long exact sequence of the pair
where takes a relative cycle to its boundary, a cycle in .
Excision. The deep property of singular homology is that relative homology is local.
If with the closure of contained in the interior of , then the inclusion induces isomorphisms . Equivalently, if , then .
The proof (Hatcher, §2.1) shows that every chain is homologous to one made of small simplices, each lying in or in , by repeated barycentric subdivision: subdividing a simplex into smaller ones is chain homotopic to the identity, and after enough subdivisions every simplex is small (the Lebesgue number lemma, 2B.3 Compactness). The idea is the same as in van Kampen's theorem (7A.5 Computing π₁): break loops, or chains, into small pieces that each lie in one open set.
For a good pair (a closed that is a deformation retract of a neighbourhood, for instance a CW pair), excision gives
For instance is good with .
Mayer–Vietoris. If , the chains in made of simplices lying in or in compute (the subdivision argument again), and , with maps and , is exact. The zig-zag lemma gives the Mayer–Vietoris sequence
the homological van Kampen theorem. The connecting map takes a cycle ( in , in ) to , a cycle in : cut the cycle along the intersection and take the cut. The same holds with reduced homology when .
The homology of spheres
for and otherwise.
Proof. Induct on . For , two points, . Cover by and , the complements of the north and south poles, each contractible, with (a band around the equator). Reduced Mayer–Vietoris gives , so .
Immediate consequences:
- is not contractible, and for .
- Invariance of dimension: for , because .
- No retraction : it would give factoring through . Hence Brouwer's fixed point theorem in every dimension, by the argument of 7A.4 The Fundamental Group (a fixed-point-free map gives a retraction), without the smooth approximation used in 7A.8 Smooth Topology.
Degree. A map induces multiplication by an integer on , its degree . It is a homotopy invariant, multiplicative, and . It agrees with the smooth degree of 7A.8 Smooth Topology (counting preimages of a regular value with signs; Hatcher, Proposition 2.30).
A reflection of in a hyperplane through the origin has degree . The antipodal map has degree .
Proof. Give the CW structure with two -cells, the hemispheres , on either side of the hyperplane, glued along . Then (suitably oriented) is a cycle generating (Exercise 10.17), and the reflection swaps the two hemispheres, sending the generator to its negative. The antipodal map is the composite of reflections, one in each coordinate.
The hairy ball theorem. If is a nowhere vanishing tangent vector field on , then is a homotopy from the identity to the antipodal map. So , and is odd. On even-dimensional spheres every vector field vanishes somewhere, as 7A.8 Smooth Topology proved with Poincaré–Hopf.
Jordan–Brouwer and invariance of domain
(a) If is an embedding, then . (b) If is an embedding, , then for and otherwise.
Proof. (a) Induct on ; for , minus a point is . Write and split into halves , , giving and , open, with (acyclic by induction) and . Mayer–Vietoris gives . If a class were nonzero, it would be nonzero in or in ; repeating the halving produces nested intervals with nonzero in for all . But is carried by a compact chain, and , the increasing union of these open sets, is acyclic by induction; a cycle bounding there bounds in some , by compactness of the bounding chain. Contradiction.
(b) Induct on ; is two points, and minus two points . Write , hemispheres meeting in . With and , acyclic by (a), and . Mayer–Vietoris gives , and induction finishes.
An embedded -sphere in separates it into exactly two components, each of which has as its boundary. (The case is the Jordan curve theorem.)
Proof. By (b) with , : two path components (open subsets of are locally path-connected, so these are the components). For the boundary statement: each component is open with . If missed a point , it would miss a small open disc in , chosen so that is an embedded closed disc. By (a), is connected, but it is the disjoint union of , the other component, and , and would be both open and closed in it (Exercise 10.18).
In dimension more is true, the Schoenflies theorem: each component is homeomorphic to an open disc. In dimension this fails: Alexander's horned sphere (1924) is an embedded in whose outside is not simply connected. Wild embeddings like this are one reason three-dimensional topology needs care, and why the smooth or piecewise-linear categories, where Alexander's theorem says every embedded 2-sphere bounds a ball on each side, are used (10A.5 The Prime Decomposition).
If is open and is continuous and injective, then is open and is a homeomorphism onto it.
Proof. Regard . For take a small closed ball around in , with boundary sphere . By (b), has two components; by (a), is connected. Write , a disjoint union of two connected sets, so these are its two components, and components of an open set are open. So is an open neighbourhood of . Hence is an open map, so a homeomorphism onto its image.
Consequences: a manifold has a well-defined dimension; a manifold's boundary points (those with half-space neighbourhoods) are distinct from its interior points, so the boundary of a manifold is well defined (7A.3 Manifolds and Surfaces); and a continuous injection of a closed -manifold into another closed connected -manifold is onto (Exercise 10.19).
Cellular homology
For a CW complex , the long exact sequences of the pairs and the fact that is a wedge of -spheres (one for each -cell) give:
Let , free abelian on the -cells, with boundary the composite . Then and the homology of is . Explicitly, , where is the degree of the map : attach, then collapse everything but the cell .
The proof is a diagram chase with the long exact sequences, using for (Hatcher, Theorem 2.35). In practice the degrees are easy to read off.
- Spheres: , : all boundary maps are , recovering .
- Surfaces: for with one 0-cell, 1-cells and one 2-cell attached along , each 1-cell appears twice with opposite signs in the attaching word, so ; since each 1-cell is a loop. So , , . For the nonorientable surface (word ), , so and .
- Real projective space: one cell in each dimension, with multiplication by (the attaching map is the double cover , which on the top cell is the sum of the identity and the antipodal map). So for odd and for even, and
In particular . 4. Lens spaces: has one cell in each dimension with , , (7A.6 CW Complexes and Cellular Approximation), so , independent of . Homology cannot tell from : 7A.11 Cohomology and Poincaré Duality distinguishes them with the linking form. Subtler still, and are homotopy equivalent but not homeomorphic. 5. Complex projective space: cells only in even dimensions, so all and for , zero otherwise.
For a finite CW complex, . In particular does not depend on the cell structure, and homotopy equivalent complexes have the same .
Proof. For a chain complex of finitely generated free groups, rank–nullity in each degree gives and ; the alternating sums agree, with the terms telescoping.
This is the invariance promised in 7A.3 Manifolds and Surfaces and 7A.6 CW Complexes and Cellular Approximation: Euler's for every polyhedral sphere, and for every cell structure on .
Connected sums. For closed connected -manifolds , , : removing a ball does not change for , and Mayer–Vietoris over the gluing sphere gives for (for orientable , ; Exercise 10.20). In dimension three, , the abelianisation of the free product (7A.5 Computing π₁, 10A.5 The Prime Decomposition).
The Lefschetz fixed point theorem
For a map of a finite CW complex, the Lefschetz number is
If is a finite CW complex (or a retract of one) and , then has a fixed point.
For , ; for a contractible , for every , recovering Brouwer. Every map has a fixed point (its rational homology is that of a point), and a map without fixed points has degree , the antipodal map's. The proof approximates by a cellular map that moves every cell off itself if there are no fixed points, so that the trace on cellular chains, which equals by the same telescoping as for , is zero. For smooth maps on closed manifolds, is the signed count of fixed points, the analogue of Poincaré–Hopf (7A.8 Smooth Topology), which is the case of the flow of a vector field for a short time.
Homology groups computed from discretised data are routine in materials science and imaging. Betti numbers of segmented 3D images, the numbers of connected components, tunnels and cavities, measure the connectivity of porous rocks (which controls permeability), bone microstructure (trabecular connectivity is an indicator in osteoporosis research), and foams. They are computed from voxel data by exactly the cellular homology of this chapter, applied to the cubical complex of occupied voxels, together with the Euler characteristic, which is cheap to compute locally by counting cells.
7A.11 Cohomology and Poincaré Duality dualises: cohomology, cup products and Poincaré duality, which turn the homology computations of this chapter into the statement that a closed simply connected 3-manifold has the homology of . With 7A.6 CW Complexes and Cellular Approximation (Whitehead) and 10A.4 Homotopy Groups, Degree and the Hurewicz Theorem (Hurewicz), that makes it a homotopy sphere. 7A.12 The Poincaré Conjecture, Precisely then states the conjecture precisely.
History
Poincaré introduced homology in Analysis Situs (1895) and its supplements, with Betti numbers and torsion; Emmy Noether, around 1925, recast it in terms of groups. Singular homology was developed by Lefschetz and by Eilenberg (1944), who gave its modern definition; Eilenberg and Steenrod axiomatised homology in 1945 by homotopy invariance, exactness and excision. Walther Mayer (1929) and Leopold Vietoris (1930) found their sequence. Camille Jordan stated his curve theorem in 1887; Oswald Veblen gave the first rigorous proof in 1905, and Brouwer proved the higher-dimensional separation theorem and invariance of domain in 1911–12. Lefschetz proved his fixed point theorem in 1926–37, and Alexander's horned sphere appeared in 1924.
Singular homology uses formal sums of maps of simplices; it is functorial, counts path components, and the prism operator makes it a homotopy invariant. Short exact sequences of chain complexes give long exact sequences (zig-zag lemma), in particular for pairs; excision, proved by barycentric subdivision, makes relative homology local, so for good pairs, and Mayer–Vietoris computes the homology of unions. Hence is in degree , which gives Brouwer in all dimensions, invariance of dimension, degree theory (reflections have degree , the antipodal map , so only odd spheres have nonvanishing vector fields), the Jordan–Brouwer separation theorem and invariance of domain. Cellular homology computes from cells and degrees: , surfaces, , and lens spaces independent of . The Euler characteristic is a topological invariant, and a nonzero Lefschetz number forces a fixed point.
Exercises
Show that for a singular -simplex: each face of codimension two, with , appears twice in , with opposite signs.
Solution
Removing then (, where is still in position ) gives sign . Removing first, moves to position , so removing it gives . The two terms cancel.
For a singular 0-simplex (a point ), is the path . Verify , which is the identity in degree . For a 1-simplex , describe as two triangles filling the square , and verify the identity.
Solution
, and . For : . Its boundary consists of the top edge (), the bottom edge with a minus sign (), the vertical edges and , which are of the endpoints with signs giving , and the diagonal twice with opposite signs. So .
Complete the proof of the zig-zag lemma: show at and at .
Solution
At : . If , then ; lift , then , so , and is a cycle since is injective and ; . At : . If , , and is a cycle with .
Using the CW structure of with two -cells (hemispheres) glued along (with its own structure with two cells in each dimension), show that the cellular chain is a cycle generating , and that the reflection swapping the hemispheres sends it to .
Solution
Orient both hemispheres by projecting them to the same disc in ; then both have boundary the equator with the same orientation, , and . The -cycles are multiples of (the kernel of , ), and there are no -cells, so . The reflection maps to and vice versa, preserving the orientations induced from the equator, so .
Complete the proof that each component of has boundary all of . Suppose is not in . Choose an arc of around with disjoint from , and let , an embedded arc. Show that and the other component both lie in the connected set , and derive a contradiction.
Solution
is connected by part (a) of Proposition 10.7. It is the disjoint union of , and . is open in , and closed in it: its closure in is , and with by the choice of , so ; and the closure of in is . A nonempty proper clopen subset of a connected space is impossible, since lies outside . So every point of is in .
Let , be closed connected -manifolds and continuous and injective. Show that is a homeomorphism.
Solution
By invariance of domain in charts, is open, so is open; it is compact, hence closed. is connected, so , and an open continuous bijection is a homeomorphism.
Let , be closed connected orientable -manifolds, . (a) Show that for and that is an isomorphism, using the pair sequence and excision, , and the fact (proved in 7A.11 Cohomology and Poincaré Duality) that maps onto . (b) Apply Mayer–Vietoris to to get for . (c) Compute and .
Solution
(a) is for and otherwise. The sequence with the first map onto gives the isomorphism in degree ; lower degrees are isomorphisms since the relative groups vanish. (b) with intersection a collar , contributing only in degrees and ; the map is zero, because the gluing sphere is the boundary of (it is the boundary of a chain representing the fundamental class of relative to its boundary) and likewise of ; this gives the splitting. (c) ; and .
(a) Compute from the cellular computation, and deduce that every map has a fixed point. (b) Give a fixed-point-free map of (consider ). Why is there no contradiction?
Solution
(a) With rational coefficients the torsion disappears: and all others vanish (the top group since is even). So . (b) A fixed point would need , so and , and similarly for , ; this forces , impossible over unless all coordinates vanish. , and the map acts by there (it comes from a rotation of ), so , consistent.
Free resources for this chapter
Chosen for what this chapter covers, and all free to read. Links checked Oct 16, 2026.
- Book Singular Homology, Exact Sequences and ExcisionAllen Hatcher, Algebraic Topology (free from the author) · §2.1Homotopy invariance, the long exact sequence of a pair, excision and Mayer–Vietoris.
- Book Computations and ApplicationsAllen Hatcher, Algebraic Topology (free from the author) · §2.2, §2.BDegree, cellular homology, the Euler characteristic, Jordan–Brouwer and invariance of domain.
© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.