{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{C}$ be a category with [[zero morphisms|YF9F9EG6M3]], and let $f \\colon X \\to Y$ be a morphism of $\\mathcal{C}$.\nA *cokernel* of $f$ is an object $Q$ with a morphism $q \\colon Y \\to Q$ such that:\n\n1. $q \\circ f = 0$;\n2. for every morphism $u \\colon Y \\to T$ with $u \\circ f = 0$ there is a unique morphism $v \\colon Q \\to T$ with $u = v \\circ q$.\n\n## Remarks\n\nEquivalently, $q$ is a [[coequalizer|DVSTWGVCSZ]] of $f$ and $0 \\colon X \\to Y$; it is the [[kernel|S417YNEJ6M]] of $f$ in the opposite category.\nA cokernel is unique up to a unique isomorphism, is written $Y \\to \\operatorname{coker} f$, and is an [[epimorphism|RVXDSY04KG]].\n\nExample: in the category of [[modules|0NZ8JA25WK]] over a ring, the quotient map $q \\colon Y \\to Y / f(X)$ is a cokernel of $f$.\nIf $u \\circ f = 0$, then $u$ vanishes on $f(X)$ and so induces a unique $v \\colon Y / f(X) \\to T$ with $u = v \\circ q$.\nFor multiplication by $n \\ge 1$ on the [[abelian group|082GHNPJ53]] $\\Z$, the cokernel is the reduction $\\Z \\to \\Z / n\\Z$.\n\nNon-example: for multiplication by $2$ on $\\Z$, the map $\\Z \\to 0$ satisfies clause 1 but not clause 2.\nThe reduction $u \\colon \\Z \\to \\Z/2$ satisfies $u \\circ 2 = 0$ but does not factor through the zero group, since $u \\ne 0$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "H8W38933NC",
    "kind": "definition",
    "msc": [
      "18A30",
      "18E05"
    ],
    "name": "Cokernel",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Cokernel"
      }
    ],
    "tag": "M4N5FNNYCF",
    "uses": [
      "YF9F9EG6M3",
      "DVSTWGVCSZ",
      "RVXDSY04KG",
      "S417YNEJ6M",
      "082GHNPJ53",
      "0NZ8JA25WK"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/M4N5FNNYCF/",
  "links": [
    {
      "field": "defines",
      "target": "H8W38933NC"
    },
    {
      "field": "uses",
      "target": "YF9F9EG6M3"
    },
    {
      "field": "uses",
      "target": "DVSTWGVCSZ"
    },
    {
      "field": "uses",
      "target": "RVXDSY04KG"
    },
    {
      "field": "uses",
      "target": "S417YNEJ6M"
    },
    {
      "field": "uses",
      "target": "082GHNPJ53"
    },
    {
      "field": "uses",
      "target": "0NZ8JA25WK"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/M4N5FNNYCF.md",
  "msc": [
    "18A30",
    "18E05"
  ],
  "name": "Cokernel",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/M4N/M4N5FNNYCF.md",
  "status": null,
  "tag": "M4N5FNNYCF",
  "uri": "m2://M4N5FNNYCF",
  "url": "https://tamnd.github.io/math2/wiki/cokernel-definition/",
  "writing": {
    "tag": "M4N5FNNYCF",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
