{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe compose bijections with the counting bijections in the definition of [[cardinality|05099E1NMJ]].\n\n1. Let $n = |A|$. By definition, there is a [[bijection|0SNQEF7Z53]] $h : \\set{1, \\dots, n} \\to A$.\n2. Let $f : A \\to B$ be a bijection. A composite of bijections is a bijection, since [[injections compose|01FPXMTBX1]] and [[surjections compose|07EH4R3RVQ]].\n3. So $f \\circ h : \\set{1, \\dots, n} \\to B$ is a bijection. Thus $B$ has $n$ elements.\n4. The number of elements of a finite set is unique, so $|B| = n = |A|$.\n5. Conversely, let $|A| = |B| = n$. There are bijections $g : \\set{1, \\dots, n} \\to A$ and $k : \\set{1, \\dots, n} \\to B$.\n6. A bijection [[has a two-sided inverse|01VG2A0BHW]], so $g^{-1} : A \\to \\set{1, \\dots, n}$ exists and is a bijection.\n7. By step 2, $k \\circ g^{-1} : A \\to B$ is a bijection. This proves the converse.\n\n## Idea\n\nBoth directions pass through the standard set $\\set{1, \\dots, n}$.\nA bijection with another set carries the numbering of one set over to the other.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "05A19"
    ],
    "name": "Proof of the bijection principle",
    "proves": "0GV2573FP4",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Bijective_proof"
      }
    ],
    "tag": "VD65RRN8P2",
    "uses": [
      "05099E1NMJ",
      "0SNQEF7Z53",
      "01VG2A0BHW",
      "01FPXMTBX1",
      "07EH4R3RVQ"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/VD65RRN8P2/",
  "links": [
    {
      "field": "proves",
      "target": "0GV2573FP4"
    },
    {
      "field": "uses",
      "target": "05099E1NMJ"
    },
    {
      "field": "uses",
      "target": "0SNQEF7Z53"
    },
    {
      "field": "uses",
      "target": "01VG2A0BHW"
    },
    {
      "field": "uses",
      "target": "01FPXMTBX1"
    },
    {
      "field": "uses",
      "target": "07EH4R3RVQ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/VD65RRN8P2.md",
  "msc": [
    "05A19"
  ],
  "name": "Proof of the bijection principle",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/VD6/VD65RRN8P2.md",
  "status": null,
  "tag": "VD65RRN8P2",
  "uri": "m2://VD65RRN8P2",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-bijection-principle/",
  "writing": {
    "tag": "VD65RRN8P2",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
