{
  "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 a *monomorphism* if, for every object $X$ and all morphisms $g_1, g_2 \\colon X \\to A$, the equality $f \\circ g_1 = f \\circ g_2$ implies $g_1 = g_2$.\n\n## Remarks\n\nEquivalently, for every object $X$ the map $\\Hom_{\\mathcal{C}}(X, A) \\to \\Hom_{\\mathcal{C}}(X, B)$, $g \\mapsto f \\circ g$, is injective.\nOne writes $f \\colon A \\rightarrowtail B$, or says that $f$ is *monic*.\nExample: in the category of sets, every [[injective function|09NWETVTNY]] $f$ is a monomorphism.\nIf $f \\circ g_1 = f \\circ g_2$, then $f(g_1(x)) = f(g_2(x))$ for each $x \\in X$, so $g_1(x) = g_2(x)$ by injectivity.\nNon-example: the map $f \\colon \\set{1, 2} \\to \\set{0}$ is not a monomorphism.\nThe two maps $g_1, g_2 \\colon \\set{0} \\to \\set{1, 2}$ with $g_1(0) = 1$ and $g_2(0) = 2$ satisfy $f \\circ g_1 = f \\circ g_2$ but $g_1 \\ne g_2$.\nEvery isomorphism is a monomorphism, and a composite of monomorphisms is a monomorphism.\nIf $g \\circ f$ is a monomorphism, then $f$ is a monomorphism.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "Y2NP1JFR86",
    "kind": "definition",
    "msc": [
      "18A20"
    ],
    "name": "Monomorphism",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Monomorphism"
      }
    ],
    "tag": "SSP0CC967X",
    "uses": [
      "A2DE66937D",
      "859F0TFVA3",
      "09NWETVTNY"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/SSP0CC967X/",
  "links": [
    {
      "field": "defines",
      "target": "Y2NP1JFR86"
    },
    {
      "field": "uses",
      "target": "A2DE66937D"
    },
    {
      "field": "uses",
      "target": "859F0TFVA3"
    },
    {
      "field": "uses",
      "target": "09NWETVTNY"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/SSP0CC967X.md",
  "msc": [
    "18A20"
  ],
  "name": "Monomorphism",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/SSP/SSP0CC967X.md",
  "status": null,
  "tag": "SSP0CC967X",
  "uri": "m2://SSP0CC967X",
  "url": "https://tamnd.github.io/math2/wiki/monomorphism-definition/",
  "writing": {
    "tag": "SSP0CC967X",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
