{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $A$ and $B$ be finite sets with $|A| = k$ and $|B| = n$.\nThen the number of injective functions from $A$ to $B$ is the [[falling factorial|0N5M924N3P]]\n$$(n)_k = n (n - 1) \\cdots (n - k + 1).$$\n\n## Remarks\n\nIf $k \u003e n$, then $(n)_k = 0$, and there is no injection. This is the [[pigeonhole principle|0HGVCWQGY3]].\nAn injection from $\\{1, \\dots, k\\}$ to $B$ is a $k$-permutation of $B$: an ordered list of $k$ distinct elements of $B$.\nFor $k = n$ the count is $n!$, the [[number of permutations|0CEBCS0E0E]].\n\n## Explanations\n\n### L1 human\n\nList the elements of $A$ and give each one an image in $B$ that is not used yet.\nThe first has $n$ choices, the second $n - 1$, and so on, for $k$ steps.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "kind": "statement",
    "msc": [
      "05A05"
    ],
    "name": "Number of injections",
    "role": "theorem",
    "sources": [
      {
        "locator": "Examples and combinatorial interpretation",
        "url": "https://en.wikipedia.org/wiki/Falling_and_rising_factorials"
      }
    ],
    "tag": "0X0N833FF8",
    "uses": [
      "05099E1NMJ",
      "0N5M924N3P"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0X0N833FF8/",
  "links": [
    {
      "field": "uses",
      "target": "05099E1NMJ"
    },
    {
      "field": "uses",
      "target": "0N5M924N3P"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0X0N833FF8.md",
  "msc": [
    "05A05"
  ],
  "name": "Number of injections",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0X0/0X0N833FF8.md",
  "status": null,
  "tag": "0X0N833FF8",
  "uri": "m2://0X0N833FF8",
  "url": "https://math2.tamnd.com/wiki/number-of-injections/",
  "writing": {
    "tag": "0X0N833FF8",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
