{
 "id": "ep3v3m65jx",
 "slug": "cellular-homology",
 "title": "Cellular homology",
 "updated": "2026-10-15",
 "topic_path": [
  {
   "id": "physical",
   "label": "Physical world and mathematics",
   "api_url": "https://www.edgepedia.org/api/v1/topics/physical"
  },
  {
   "id": "physical.math",
   "label": "Mathematics and statistics",
   "api_url": "https://www.edgepedia.org/api/v1/topics/physical.math"
  },
  {
   "id": "physical.math.geometry",
   "label": "Geometry and topology",
   "api_url": "https://www.edgepedia.org/api/v1/topics/physical.math.geometry"
  },
  {
   "id": "physical.math.geometry.topology_algebraic",
   "label": "Algebraic topology",
   "api_url": "https://www.edgepedia.org/api/v1/topics/physical.math.geometry.topology_algebraic"
  }
 ],
 "geo": [
  {
   "id": "geo.nongeo.t1800.physical.math",
   "label": "Non-geographic · 1800 to 1945: Mathematics and statistics",
   "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1800.physical.math",
   "path": [
    {
     "id": "geo.nongeo",
     "label": "Non-geographic",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo"
    },
    {
     "id": "geo.nongeo.t1800",
     "label": "Non-geographic · 1800 to 1945",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1800"
    },
    {
     "id": "geo.nongeo.t1800.physical",
     "label": "Physical world and mathematics",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1800.physical"
    },
    {
     "id": "geo.nongeo.t1800.physical.math",
     "label": "Mathematics and statistics",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1800.physical.math"
    }
   ]
  },
  {
   "id": "geo.nongeo.t1946.physical.math",
   "label": "Non-geographic · 1946 to 2000: Mathematics and statistics",
   "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1946.physical.math",
   "path": [
    {
     "id": "geo.nongeo",
     "label": "Non-geographic",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo"
    },
    {
     "id": "geo.nongeo.t1946",
     "label": "Non-geographic · 1946 to 2000",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1946"
    },
    {
     "id": "geo.nongeo.t1946.physical",
     "label": "Physical world and mathematics",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1946.physical"
    },
    {
     "id": "geo.nongeo.t1946.physical.math",
     "label": "Mathematics and statistics",
     "api_url": "https://www.edgepedia.org/api/v1/geo/geo.nongeo.t1946.physical.math"
    }
   ]
  }
 ],
 "excerpt": "Cellular homology is a technique in algebraic topology that computes the homology groups of a topological space from its CW complex structure, agreeing with singular homology.",
 "snippet": "Cellular homology is a technique in algebraic topology that computes the homology groups of a topological space from its CW complex structure, agreeing with singular homology.",
 "node": "physical.math.geometry.topology_algebraic",
 "markdown": "# Cellular homology\n\nCellular homology is a technique in algebraic topology that computes the homology groups of a topological space from its structure as a [CW complex](https://www.edgepedia.org/cw-complex) (space built by gluing cells of increasing dimension), using chain groups generated by the cells and boundary maps derived from the cell-attaching maps. It is a very efficient tool for computing the ordinary homology groups of spaces that admit a CW decomposition, and its result agrees with singular homology.<sup>[1](https://ncatlab.org/nlab/show/cellular+homology)</sup> The input is a CW structure: a space built by starting with discrete points and inductively attaching n-cells via maps from spheres into the lower skeleta.<sup>[2](https://pi.math.cornell.edu/%7Ehatcher/AT/AT.pdf)</sup>\n\n| Key fact | Detail |\n|---|---|\n| Input | A CW complex, built by attaching n-cells via maps \\( \\varphi_{\\alpha}: S^{n-1} \\to X^{n-1} \\)<sup>[2](https://pi.math.cornell.edu/%7Ehatcher/AT/AT.pdf)</sup> |\n| Chain groups | \\( C_{n}(X) = H_{n}(X^{n}, X^{n-1}) \\cong \\mathbb{Z}^{\\#\\,n\\text{-cells}} \\), free abelian on the n-cells<sup>[3](https://ocw.mit.edu/courses/18-905-algebraic-topology-i-fall-2016/b237384604ec40e1454c7048c958f239_MIT18_905F16_lec16.pdf)</sup> |\n| Boundary map | Coefficients \\( d_{\\alpha\\beta} \\) are degrees of attaching-map compositions through adjacent cells<sup>[4](https://math.uchicago.edu/~may/REU2016/REUPapers/Degiorgi.pdf)</sup> |\n| Main theorem | \\( H_{n}^{\\mathrm{CW}}(X) \\cong H_{n}(X) \\) for all n, independent of the CW structure<sup>[5](https://people.math.wisc.edu/~lmaxim/751f14w12.pdf)</sup> |\n| Euler characteristic | For a finite complex, the alternating count of cells equals the Euler characteristic<sup>[2](https://pi.math.cornell.edu/%7Ehatcher/AT/AT.pdf)</sup> |\n| Software | LinBox, CHomP, and Perseus support large-scale cellular homology computations<sup>[1](https://ncatlab.org/nlab/show/cellular+homology)</sup> |\n\n## How it works\n\nFor a CW complex X with skeleta \\( X^{n} \\), the group of cellular n-chains is defined as the relative homology\n\n\\[ C_{n}(X) := H_{n}(X^{n}, X^{n-1}) = \\mathbb{Z}[A_{n}], \\]\n\nthe free abelian group on the set of n-cells.<sup>[3](https://ocw.mit.edu/courses/18-905-algebraic-topology-i-fall-2016/b237384604ec40e1454c7048c958f239_MIT18_905F16_lec16.pdf)</sup> This group is free because each n-cell contributes one generator: the relative group \\( H_{n}(X^{n}, X^{n-1}) \\) sees exactly the n-cells attached to the (n−1)-skeleton. The differential is \\( d_{n} = j_{n-1} \\circ \\partial_{n} \\), built from the boundary map of the pair and the inclusion of skeleta, and it satisfies \\( d_{n} \\circ d_{n+1} = 0 \\).<sup>[5](https://people.math.wisc.edu/~lmaxim/751f14w12.pdf)</sup> The cellular homology groups are then\n\n\\[ H_{n}^{\\mathrm{CW}}(X) := \\ker d_{n} / \\operatorname{im} d_{n+1}. \\]<sup>[6](https://www.maths.gla.ac.uk/~mpowell/alg-top-notes-19-20.pdf)</sup>\n\nThe central theorem is that for every CW complex X there is an isomorphism \\( H_{n}(X) \\cong H_{n}^{\\mathrm{CW}}(X) \\) for all n, natural with respect to cellular maps; the proof can be given using only the Eilenberg–Steenrod axioms.<sup>[7](https://www.math.ru.nl/~gutierrez/files/homology/Lecture11.pdf)</sup> In particular, the cellular homology of a space is independent of the choice of CW structure.<sup>[6](https://www.maths.gla.ac.uk/~mpowell/alg-top-notes-19-20.pdf)</sup>\n\n## How it is done\n\nThe practitioner follows these steps:\n\n1. Choose a CW decomposition of X and list the cells in each dimension.\n2. For each pair of an n-cell and an (n−1)-cell, compute the degree \\( d_{\\alpha\\beta} \\) from the cellular boundary formula (below), assembling the matrix of \\( d_{n} \\).\n3. Compute kernels and images over the integers to obtain \\( \\ker d_{n} / \\operatorname{im} d_{n+1} \\).<sup>[6](https://www.maths.gla.ac.uk/~mpowell/alg-top-notes-19-20.pdf)</sup>\n\nThe cellular boundary formula states that \\( d_{n}(e_{\\alpha}^{n}) = \\sum_{\\beta} d_{\\alpha\\beta}\\, e_{\\beta}^{n-1} \\), where \\( d_{\\alpha\\beta} \\) is the degree of the map \\( \\Delta_{\\alpha\\beta}: S^{n-1}_{\\alpha} \\to S^{n-1}_{\\beta} \\) given by the attaching map of \\( e_{\\alpha}^{n} \\), followed by the quotient map collapsing \\( X^{n-2} \\), followed by the collapse of all other (n−1)-cells.<sup>[4](https://math.uchicago.edu/~may/REU2016/REUPapers/Degiorgi.pdf)</sup>\n\nClassic computations show the method's economy. For the orientable surface \\( M_{g} \\), \\( d_{2} = 0 \\), giving \\( H_{1} = \\mathbb{Z}^{2g} \\); for the nonorientable surface \\( N_{g} \\), \\( d_{2}(1) = (2, 2, \\ldots, 2) \\), giving \\( H_{1} \\cong \\mathbb{Z}^{g-1} \\oplus \\mathbb{Z}/2 \\); and for \\( \\mathbb{RP}^{n} \\), \\( d_{k} = 0 \\) if k is odd and 2 if k is even, yielding \\( H_{k}(\\mathbb{RP}^{n}) = \\mathbb{Z}/2 \\) for odd \\( 0 < k < n \\).<sup>[5](https://people.math.wisc.edu/~lmaxim/751f14w12.pdf)</sup> If a complex has no two cells in adjacent dimensions, all boundary maps vanish; \\( \\mathbb{CP}^{n} \\), with one cell in each even dimension \\( 0, 2, \\ldots, 2n \\), has \\( H_{k}(\\mathbb{CP}^{n}) = \\mathbb{Z} \\) for even \\( 0 \\le k \\le 2n \\) and 0 otherwise.<sup>[3](https://ocw.mit.edu/courses/18-905-algebraic-topology-i-fall-2016/b237384604ec40e1454c7048c958f239_MIT18_905F16_lec16.pdf)</sup> For a finite complex, the alternating sum of cell counts gives the [Euler characteristic](https://www.edgepedia.org/euler-characteristic).<sup>[2](https://pi.math.cornell.edu/%7Ehatcher/AT/AT.pdf)</sup>\n\n## Origin\n\nThe input structures were introduced by [J. H. C. Whitehead](https://www.edgepedia.org/j-h-c-whitehead) in \"Combinatorial homotopy. I\" (Bulletin of the American Mathematical Society, 1949), where he defined CW-complexes as \"closure finite complexes with weak topology\" and gave the definition of cell complexes via characteristic and attaching maps.<sup>[8](https://projecteuclid.org/journals/bulletin-of-the-american-mathematical-society/volume-55/issue-3.P1/Combinatorial-homotopy-I/bams/1183513543.full)</sup> Whitehead's contribution re-imposed a combinatorial structure on spaces in the tradition begun by [Henri Poincaré](https://www.edgepedia.org/henri-poincare), whose work contains what would later be called a chain complex, with boundary matrices \\( \\varepsilon^{q} \\) satisfying \\( \\varepsilon^{q-1} \\circ \\varepsilon^{q} = 0 \\).<sup>[9](https://epub.ub.uni-muenchen.de/4493/1/4493.pdf)</sup><sup> • </sup><sup>[10](https://www.math.ttu.edu/~lchriste/download/HAsurvey.pdf)</sup> Precursors to the dual theory include J. W. Alexander's 1935 paper \"On the Chains of a Complex and Their Duals\" in the [Proceedings of the National Academy of Sciences](https://www.edgepedia.org/proceedings-of-the-national-academy-of-sciences),<sup>[11](https://doi.org/10.1073/pnas.21.8.509)</sup> and Hassler Whitney's 1937 paper \"On matrices of integers and combinatorial topology\" in the Duke Mathematical Journal.<sup>[12](https://doi.org/10.1215/s0012-7094-37-00304-1)</sup> Samuel Eilenberg defined singular homology and cohomology in 1944 in the Annals of Mathematics,<sup>[10](https://www.math.ttu.edu/~lchriste/download/HAsurvey.pdf)</sup> providing the target theory that cellular homology was later shown to compute. The standard modern treatment of cellular homology appears in Allen Hatcher's textbook *Algebraic Topology* (2002).<sup>[2](https://pi.math.cornell.edu/%7Ehatcher/AT/AT.pdf)</sup>\n\n## Variants\n\n**Cellular cohomology** applies the contravariant functor \\( \\mathrm{hom}(-, G) \\) to the cellular chain complex and takes kernels of coboundary maps modulo images, defining groups from the combinatorial description of how cells are attached; degrees of sphere endomaps remain the key tool for the boundary functions.<sup>[13](https://arxiv.org/pdf/1802.02191.pdf)</sup> Homology with general coefficients G is computed by the same cellular boundary coefficients, via \\( C_{i}(X; G) = C_{i}(X) \\otimes G \\).<sup>[14](https://people.math.wisc.edu/~lmaxim/752notes.pdf)</sup> The universal coefficient theorem then gives natural short exact sequences that split, though not naturally \\( 0 \\to H_{n}(C) \\otimes G \\to H_{n}(C; G) \\to \\mathrm{Tor}(H_{n-1}(C), G) \\to 0 \\) for cellular chain complexes of free abelian groups.<sup>[15](https://pi.math.cornell.edu/~hatcher/AT/ATch3.4.pdf)</sup> Cellular chains with local coefficients are traditionally defined following Steenrod's recipe: choose a reference point in each cell and twist the boundary operator by path-transport in the local system.<sup>[16](https://mathoverflow.net/questions/349494/defining-chain-complexes-for-cellular-spaces-with-local-coefficients)</sup> Discrete Morse theory provides reductions of the cellular chain complex to a smaller Morse complex with isomorphic homology.<sup>[17](https://people.maths.ox.ac.uk/nanda/source/MorseHomologyX.pdf)</sup>\n\n## Applications\n\nBeyond textbook computations of manifolds and projective spaces, cellular chain complexes are the computational backbone of computational topology. Reduction-based simplification techniques run in time linear in the number of cells when each cell has O(1) neighbors, and \\( O(n \\cdot p) \\) otherwise, where n is the number of cells and p the average number of neighbors per cell; they serve as an inexpensive preprocessing step before [persistent homology](https://www.edgepedia.org/persistent-homology) computations.<sup>[18](https://www2.math.upenn.edu/~dlotko/HHA-2014-0016-0001-a003.pdf)</sup> The coreduction homology algorithm for regular CW-complexes provides geometric preprocessing for the standard chain complex.<sup>[19](https://ww2.ii.uj.edu.pl/~mrozek/papers/cwcored.pdf)</sup> Morse-theoretic algorithms compute \\( H_{*}(X) \\) via an acyclic matching, a reduced Morse complex, and [Smith normal form](https://www.edgepedia.org/smith-normal-form), returning generating cycles, and also compute maps induced on homology, with applications in data analysis and computational dynamics.<sup>[17](https://people.maths.ox.ac.uk/nanda/source/MorseHomologyX.pdf)</sup> Named software for large-scale cellular homology includes LinBox, CHomP, and Perseus.<sup>[1](https://ncatlab.org/nlab/show/cellular+homology)</sup>\n\n## Limitations and alternatives\n\nThe trade-offs among the three classical theories are well documented. Simplicial homology is often straightforward to compute, when it is defined, but it applies only to simplicial complexes; singular homology is defined on all spaces and is functorial, which makes it useful for proving theorems, but it is impractical to compute directly; cellular homology is sometimes the easiest to compute, but its input is limited to CW complexes.<sup>[20](https://www.ms.uky.edu/~guillou/F19/654Notes.pdf)</sup> In singular and simplicial homology the number of simplices of a space can be too large to compute easily, which is where cellular homology dramatically simplifies the work.<sup>[4](https://math.uchicago.edu/~may/REU2016/REUPapers/Degiorgi.pdf)</sup>\n\nThe Scythe algorithm of Curry, Ghrist, and Nanda uses discrete [Morse theory](https://www.edgepedia.org/morse-theory) to simplify the computation of cellular sheaf cohomology, yielding efficient distributed computation of ordinary cohomology of cell complexes; the same framework shows the persistent homology of a filtration is the homology of a cosheaf over an interval-like cell complex.<sup>[21](https://geometrica.saclay.inria.fr/data/Steve.Oudot/MPRI_exam/papers/Cellular.pdf)</sup> Cellular homology has also been formalized constructively: Ulrik Buchholtz and Kuen-Bang Hou proved in homotopy type theory that for any ordinary reduced cohomology theory h, any pointed finite CW complex X, and any n, \\( h^{n}(X) \\) is isomorphic to \\( H^{n}(X; h^{0}(\\mathbf{2})) \\), mechanized in Agda.<sup>[13](https://arxiv.org/pdf/1802.02191.pdf)</sup>\n\n## References\n\n1. [cellular homology in nLab](https://ncatlab.org/nlab/show/cellular+homology)\n2. [Allen Hatcher, Algebraic Topology (Cambridge University Press)](https://pi.math.cornell.edu/%7Ehatcher/AT/AT.pdf)\n3. [MIT OCW 18.905 Algebraic Topology I, Lecture 16: Homology of CW-complexes](https://ocw.mit.edu/courses/18-905-algebraic-topology-i-fall-2016/b237384604ec40e1454c7048c958f239_MIT18_905F16_lec16.pdf)\n4. [The Cellular Boundary Formula (Degiorgi, UChicago REU 2016)](https://math.uchicago.edu/~may/REU2016/REUPapers/Degiorgi.pdf)\n5. [Cellular Homology lecture notes (UW–Madison Math 751, J. Maxim)](https://people.math.wisc.edu/~lmaxim/751f14w12.pdf)\n6. [Algebraic Topology IV Lecture Notes (Glasgow, M. Powell)](https://www.maths.gla.ac.uk/~mpowell/alg-top-notes-19-20.pdf)\n7. [Lecture 11: Cellular homology (Radboud University)](https://www.math.ru.nl/~gutierrez/files/homology/Lecture11.pdf)\n8. [J. H. C. Whitehead, Combinatorial homotopy. I](https://projecteuclid.org/journals/bulletin-of-the-american-mathematical-society/volume-55/issue-3.P1/Combinatorial-homotopy-I/bams/1183513543.full)\n9. [Cellular Structures in Topology (book, PDF)](https://epub.ub.uni-muenchen.de/4493/1/4493.pdf)\n10. [A history of homological algebra (Charles A. Weibel)](https://www.math.ttu.edu/~lchriste/download/HAsurvey.pdf)\n11. [J. W. Alexander (1935). On the Chains of a Complex and Their Duals. Proceedings of the National Academy of Sciences.](https://doi.org/10.1073/pnas.21.8.509)\n12. [Hassler Whitney (1937). On matrices of integers and combinatorial topology. Duke Mathematical Journal.](https://doi.org/10.1215/s0012-7094-37-00304-1)\n13. [Cellular Cohomology in Homotopy Type Theory (Buchholtz and Favonia)](https://arxiv.org/pdf/1802.02191.pdf)\n14. [Math 752 Topology Lecture Notes (UW–Madison, J. Maxim)](https://people.math.wisc.edu/~lmaxim/752notes.pdf)\n15. [Hatcher, Algebraic Topology §3.3–3.4 (Universal Coefficients, Künneth)](https://pi.math.cornell.edu/~hatcher/AT/ATch3.4.pdf)\n16. [Defining chain complexes for cellular spaces with local coefficients (MathOverflow)](https://mathoverflow.net/questions/349494/defining-chain-complexes-for-cellular-spaces-with-local-coefficients)\n17. [Discrete Morse Theoretic Algorithms for Computing Homology of Complexes and Maps](https://people.maths.ox.ac.uk/nanda/source/MorseHomologyX.pdf)\n18. [Simplification of Complexes for Persistent Homology Computations (Dlotko, Wagner)](https://www2.math.upenn.edu/~dlotko/HHA-2014-0016-0001-a003.pdf)\n19. [Coreduction Homology Algorithm for Regular CW-Complexes](https://ww2.ii.uj.edu.pl/~mrozek/papers/cwcored.pdf)\n20. [University of Kentucky MA654 Topology course notes (Guillou, Fall 2019)](https://www.ms.uky.edu/~guillou/F19/654Notes.pdf)\n21. [Discrete Morse Theory for Computing Cellular Sheaf Cohomology (Curry, Ghrist, Nanda)](https://geometrica.saclay.inria.fr/data/Steve.Oudot/MPRI_exam/papers/Cellular.pdf)\n\n---\n*Topic: Encyclopedia › Physical world and mathematics › Mathematics and statistics › Geometry and topology › Algebraic topology*\n\n*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*\n\n*Copyright 2026 EdgeChat AI, a subsidiary of Biostate AI.*\n\nLicense: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license\n",
 "same_as": [
  "https://math.uchicago.edu/~may/REU2016/REUPapers/Degiorgi.pdf",
  "https://people.math.wisc.edu/~lmaxim/751f14w12.pdf",
  "https://www.math.ttu.edu/~lchriste/download/HAsurvey.pdf",
  "https://people.math.wisc.edu/~lmaxim/752notes.pdf",
  "https://pi.math.cornell.edu/~hatcher/AT/ATch3.4.pdf",
  "https://www2.math.upenn.edu/~dlotko/HHA-2014-0016-0001-a003.pdf",
  "https://www.ms.uky.edu/~guillou/F19/654Notes.pdf"
 ],
 "url": "https://www.edgepedia.org/cellular-homology",
 "markdown_url": "https://www.edgepedia.org/cellular-homology.md",
 "license": {
  "name": "Edgepedia Community License 1.0",
  "url": "https://www.edgepedia.org/edgepedia/license",
  "summary": "Free with credit, commercial use included. AI training is open to everyone. For other uses, organizations over USD 100M in revenue or 100M monthly users license separately.",
  "spdx": "LicenseRef-Edgepedia-Community-1.0"
 },
 "credit": "\"Cellular homology\", Edgepedia (EdgeChat), https://www.edgepedia.org/cellular-homology. Edgepedia Community License 1.0.",
 "credit_md": "\"[Cellular homology](https://www.edgepedia.org/cellular-homology)\", Edgepedia (EdgeChat), [https://www.edgepedia.org/cellular-homology](https://www.edgepedia.org/cellular-homology). [Edgepedia Community License 1.0](https://www.edgepedia.org/edgepedia/license).",
 "credit_html": "\"<a href=\"https://www.edgepedia.org/cellular-homology\">Cellular homology</a>\", Edgepedia (EdgeChat), <a href=\"https://www.edgepedia.org/cellular-homology\">https://www.edgepedia.org/cellular-homology</a>. <a href=\"https://www.edgepedia.org/edgepedia/license\">Edgepedia Community License 1.0</a>.",
 "speakable": "Cellular homology is a technique in algebraic topology that computes the homology groups of a topological space from its CW complex structure, agreeing with singular homology."
}
