{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "02486SD328"
    },
    {
      "field": "uses",
      "target": "0DDPZAG5ER"
    }
  ],
  "body": "\n## Definition\n\nLet $A$ be a [[set|0SJ3RX9TXA]].\nThe identity function of $A$ is the [[function|0XHDTE5YMZ]] $\\mathrm{id}_A \\colon A \\to A$ with $\\mathrm{id}_A(a) = a$ for each $a \\in A$.\n\n## Remarks\n\nFor each function $f \\colon A \\to B$, $f \\circ \\mathrm{id}_A = f$ and $\\mathrm{id}_B \\circ f = f$. See [[function composition|07HF9YCWPP]].\nThe identity function is a [[bijection|0SNQEF7Z53]], and it is its own inverse.\nIts graph is the diagonal $\\{(a, a) \\mid a \\in A\\}$.\n\n## Explanations\n\n### L1 human\n\nThe identity function does nothing: each input comes out unchanged.\nIt plays the role for composition that the number $1$ plays for multiplication.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "defines": "0PSKT5W817",
    "kind": "definition",
    "msc": [
      "03E20"
    ],
    "name": "Identity function",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Identity_function"
      }
    ],
    "tag": "0FSNQ0GNCC",
    "uses": [
      "0XHDTE5YMZ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0FSNQ0GNCC/",
  "links": [
    {
      "field": "defines",
      "target": "0PSKT5W817"
    },
    {
      "field": "uses",
      "target": "0XHDTE5YMZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0FSNQ0GNCC.md",
  "msc": [
    "03E20"
  ],
  "name": "Identity function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0FS/0FSNQ0GNCC.md",
  "status": null,
  "tag": "0FSNQ0GNCC",
  "uri": "m2://0FSNQ0GNCC",
  "url": "https://math2.tamnd.com/wiki/identity-function-definition/",
  "writing": {
    "tag": "0FSNQ0GNCC",
    "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
      }
    ]
  }
}
