{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "07EH4R3RVQ"
    },
    {
      "field": "uses",
      "target": "0SNQEF7Z53"
    },
    {
      "field": "uses",
      "target": "0TYQNHVB4C"
    },
    {
      "field": "uses",
      "target": "0WTEMGYV2C"
    }
  ],
  "body": "\n## Definition\n\nLet $f \\colon A \\to B$ be a [[function|0XHDTE5YMZ]].\nThe function $f$ is surjective when, for each $b \\in B$, there is an $a \\in A$ with $f(a) = b$.\n\n## Remarks\n\nOther names are onto function and surjection.\nEquivalently, the [[range|0E9GTAV478]] of $f$ is the whole [[codomain|0F9JHP8AJN]] $B$.\nThe function $x \\mapsto x^3$ on $\\mathbb{R}$ is surjective, and $x \\mapsto x^2$ on $\\mathbb{R}$ is not, because $-1$ is not a value.\n\n## Explanations\n\n### L1 human\n\nA surjective function hits every element of the codomain at least once.\nTo prove surjectivity, take an arbitrary $b \\in B$ and find an input $a$ with $f(a) = b$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "01RVCMSN5N",
    "kind": "definition",
    "msc": [
      "03E20"
    ],
    "name": "Surjective function",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Surjective_function"
      }
    ],
    "tag": "0XKH881BZ7",
    "uses": [
      "0XHDTE5YMZ",
      "0F9JHP8AJN"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0XKH881BZ7/",
  "links": [
    {
      "field": "defines",
      "target": "01RVCMSN5N"
    },
    {
      "field": "uses",
      "target": "0XHDTE5YMZ"
    },
    {
      "field": "uses",
      "target": "0F9JHP8AJN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0XKH881BZ7.md",
  "msc": [
    "03E20"
  ],
  "name": "Surjective function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0XK/0XKH881BZ7.md",
  "status": null,
  "tag": "0XKH881BZ7",
  "uri": "m2://0XKH881BZ7",
  "url": "https://math2.tamnd.com/wiki/surjective-function-definition/",
  "writing": {
    "tag": "0XKH881BZ7",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
