{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{A}$ be an [[abelian category|Y9CZ3MTNF1]], for example the category of modules over a ring, and let $(C_\\bullet, d)$ be a [[chain complex|WQ82C0M3QB]] in $\\mathcal{A}$.\nFor each integer $n$, let $Z_n = \\ker d_n$ be the [[kernel|S417YNEJ6M]] of $d_n$, called the object of *$n$-cycles*.\nSince $d_n \\circ d_{n+1} = 0$, the morphism $d_{n+1}$ factors through a morphism $\\bar d_{n+1} \\colon C_{n+1} \\to Z_n$.\nIts image $B_n = \\im \\bar d_{n+1}$ is a subobject of $Z_n$, called the object of *$n$-boundaries*.\nThe *$n$-th homology* of $C_\\bullet$ is the [[cokernel|H8W38933NC]] of $\\bar d_{n+1}$:\n$$H_n(C) = Z_n / B_n = \\ker d_n / \\im d_{n+1}.$$\n\n## Remarks\n\nThe complex is exact at $C_n$ if and only if $H_n(C) = 0$.\nA [[chain map|HTK9WQZJ1G]] $f \\colon C_\\bullet \\to D_\\bullet$ sends cycles to cycles and boundaries to boundaries, so it induces morphisms $H_n(f) \\colon H_n(C) \\to H_n(D)$, and $H_n$ is a functor.\nFor a cochain complex $(C^\\bullet, d)$ the same construction gives the *cohomology* $H^n(C) = \\ker d^n / \\im d^{n-1}$.\n\nExample: let $C_1 = C_0 = \\Z$ with $d_1$ multiplication by $2$, and $C_n = 0$ otherwise.\nThen $Z_1 = \\ker d_1 = 0$, so $H_1(C) = 0$; and $Z_0 = \\Z$, $B_0 = 2\\Z$, so $H_0(C) = \\Z/2\\Z$.\n\nNon-example: for the sequence $\\Z \\xrightarrow{1} \\Z \\xrightarrow{1} \\Z$, the image $\\Z$ of the first map is not contained in the kernel $0$ of the second.\nSo $\\ker / \\im$ is not defined; the condition $d^2 = 0$ is what makes homology make sense.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "2J4JJJYP22",
    "kind": "definition",
    "msc": [
      "18G35"
    ],
    "name": "Homology of a chain complex",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Homology_(mathematics)"
      }
    ],
    "tag": "9JA1N3CH80",
    "uses": [
      "WQ82C0M3QB",
      "Y9CZ3MTNF1",
      "S417YNEJ6M",
      "H8W38933NC",
      "HTK9WQZJ1G"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/9JA1N3CH80/",
  "links": [
    {
      "field": "defines",
      "target": "2J4JJJYP22"
    },
    {
      "field": "uses",
      "target": "WQ82C0M3QB"
    },
    {
      "field": "uses",
      "target": "Y9CZ3MTNF1"
    },
    {
      "field": "uses",
      "target": "S417YNEJ6M"
    },
    {
      "field": "uses",
      "target": "H8W38933NC"
    },
    {
      "field": "uses",
      "target": "HTK9WQZJ1G"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/9JA1N3CH80.md",
  "msc": [
    "18G35"
  ],
  "name": "Homology of a chain complex",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/9JA/9JA1N3CH80.md",
  "status": null,
  "tag": "9JA1N3CH80",
  "uri": "m2://9JA1N3CH80",
  "url": "https://tamnd.github.io/math2/wiki/homology-of-a-chain-complex-definition/",
  "writing": {
    "tag": "9JA1N3CH80",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
