{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $X$ be a finite set with $|X| = n$.\nLet $\\mathcal{P}(X)$ be the power set of $X$, the set of all subsets of $X$.\nThen $|\\mathcal{P}(X)| = 2^n$.\n\n## Remarks\n\nThe map that sends a subset $S$ to its indicator function $1_S : X \\to \\{0, 1\\}$ is a bijection. Thus the count follows from the [[number of functions between finite sets|08QQH9F7G0]].\nGrouped by size, the count gives the identity in the node [[sum of binomial coefficients|0KAMF19NV8]].\n\n## Explanations\n\n### L1 human\n\nTo build a subset, decide for each element whether it is in or out.\nThat is 2 options per element, so $2 \\cdot 2 \\cdots 2 = 2^n$ subsets. For $\\{a, b\\}$ these are $\\varnothing$, $\\{a\\}$, $\\{b\\}$ and $\\{a, b\\}$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "05A05"
    ],
    "name": "Number of subsets of a finite set",
    "role": "theorem",
    "sources": [
      {
        "locator": "Properties",
        "url": "https://en.wikipedia.org/wiki/Power_set"
      }
    ],
    "tag": "0C5RDJE73X",
    "uses": [
      "05099E1NMJ",
      "08QQH9F7G0"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0C5RDJE73X/",
  "links": [
    {
      "field": "uses",
      "target": "05099E1NMJ"
    },
    {
      "field": "uses",
      "target": "08QQH9F7G0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0C5RDJE73X.md",
  "msc": [
    "05A05"
  ],
  "name": "Number of subsets of a finite set",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0C5/0C5RDJE73X.md",
  "status": null,
  "tag": "0C5RDJE73X",
  "uri": "m2://0C5RDJE73X",
  "url": "https://math2.tamnd.com/wiki/number-of-subsets-of-a-finite-set/",
  "writing": {
    "tag": "0C5RDJE73X",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
