{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe check the definition of surjectivity directly.\n\n1. Let $f \\colon A \\to B$ and $g \\colon B \\to C$ be [[surjective|0XKH881BZ7]] functions.\n2. Let $c \\in C$. Since $g$ is surjective, there is $b \\in B$ with $g(b) = c$.\n3. Since $f$ is surjective, there is $a \\in A$ with $f(a) = b$.\n4. By the definition of [[composition|07HF9YCWPP]] and steps 2 and 3, $(g \\circ f)(a) = g(f(a)) = g(b) = c$.\n5. So each $c \\in C$ equals $(g \\circ f)(a)$ for some $a \\in A$. Hence $g \\circ f$ is surjective.\n\n## Idea\n\nTo hit a target $c$, first find a point $b$ that $g$ sends to $c$. Then find a point $a$ that $f$ sends to $b$. That $a$ is sent to $c$ by $g \\circ f$.\n",
  "commit": "68a8c3dc73fd55004b2796431c607c30960d1a85",
  "front": {
    "kind": "proof",
    "msc": [
      "03E20"
    ],
    "name": "Proof that a composition of surjections is surjective",
    "proves": "07EH4R3RVQ",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Composite_of_Surjections_is_Surjection"
      }
    ],
    "tag": "EJ4E3PW68H",
    "uses": [
      "0XKH881BZ7",
      "07HF9YCWPP"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/EJ4E3PW68H/",
  "links": [
    {
      "field": "proves",
      "target": "07EH4R3RVQ"
    },
    {
      "field": "uses",
      "target": "0XKH881BZ7"
    },
    {
      "field": "uses",
      "target": "07HF9YCWPP"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/EJ4E3PW68H.md",
  "msc": [
    "03E20"
  ],
  "name": "Proof that a composition of surjections is surjective",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/EJ4/EJ4E3PW68H.md",
  "status": null,
  "tag": "EJ4E3PW68H",
  "uri": "m2://EJ4E3PW68H",
  "url": "https://math2.tamnd.com/wiki/proof-that-a-composition-of-surjections-is-surjective/",
  "writing": {
    "tag": "EJ4E3PW68H",
    "kind": "proof",
    "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
      }
    ]
  }
}
