{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{C}$ be a [[category|A2DE66937D]] and let $f \\colon A \\to B$ be a [[morphism|859F0TFVA3]] of $\\mathcal{C}$.\nThe morphism $f$ is an *epimorphism* if, for every object $Y$ and all morphisms $g_1, g_2 \\colon B \\to Y$, the equality $g_1 \\circ f = g_2 \\circ f$ implies $g_1 = g_2$.\n\n## Remarks\n\nEquivalently, for every object $Y$ the map $\\Hom_{\\mathcal{C}}(B, Y) \\to \\Hom_{\\mathcal{C}}(A, Y)$, $g \\mapsto g \\circ f$, is injective.\nOne writes $f \\colon A \\twoheadrightarrow B$, or says that $f$ is *epic*.\nExample: in the category of sets, every [[surjective function|01RVCMSN5N]] $f$ is an epimorphism.\nIf $g_1 \\circ f = g_2 \\circ f$ and $b \\in B$, write $b = f(a)$; then $g_1(b) = g_1(f(a)) = g_2(f(a)) = g_2(b)$.\nNon-example: the inclusion $f \\colon \\set{0} \\to \\set{0, 1}$ is not an epimorphism of sets.\nThe identity of $\\set{0, 1}$ and the constant map with value $0$ agree after $f$ but are different.\nIn the category of rings with unit, the inclusion $\\Z \\to \\Q$ is an epimorphism that is not surjective.\nTwo [[ring homomorphisms|0VTH8KPCG2]] $g_1, g_2 \\colon \\Q \\to R$ that agree on $\\Z$ agree on $m/n$, since $g_i(m/n) = g_i(m) g_i(n)^{-1}$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "RVXDSY04KG",
    "kind": "definition",
    "msc": [
      "18A20"
    ],
    "name": "Epimorphism",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Epimorphism"
      }
    ],
    "tag": "PZKBP4F5HB",
    "uses": [
      "A2DE66937D",
      "859F0TFVA3",
      "01RVCMSN5N",
      "0VTH8KPCG2"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/PZKBP4F5HB/",
  "links": [
    {
      "field": "defines",
      "target": "RVXDSY04KG"
    },
    {
      "field": "uses",
      "target": "A2DE66937D"
    },
    {
      "field": "uses",
      "target": "859F0TFVA3"
    },
    {
      "field": "uses",
      "target": "01RVCMSN5N"
    },
    {
      "field": "uses",
      "target": "0VTH8KPCG2"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/PZKBP4F5HB.md",
  "msc": [
    "18A20"
  ],
  "name": "Epimorphism",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/PZK/PZKBP4F5HB.md",
  "status": null,
  "tag": "PZKBP4F5HB",
  "uri": "m2://PZKBP4F5HB",
  "url": "https://tamnd.github.io/math2/wiki/epimorphism-definition/",
  "writing": {
    "tag": "PZKBP4F5HB",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
