{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nFor each $s \u003e 0$, the [[gamma function|0V3FZMVB4K]] satisfies $\\Gamma(s + 1) = s \\, \\Gamma(s)$.\nFor each natural number $n$, $\\Gamma(n + 1) = n!$.\n\n## Remarks\n\n[[Integration by parts|08Y1BBQTK9]] on $[\\varepsilon, b]$, with $u = t^s$ and $v = -e^{-t}$, gives the recursion in the limit.\nThe [[integral of $e^{-t}$|039JAF7ZAN]] gives $\\Gamma(1) = 1$. Induction on $n$ then gives $\\Gamma(n + 1) = n!$.\nAlso $\\Gamma(1/2) = \\sqrt{\\pi}$, by the substitution $t = x^2$ and the Gaussian integral.\nMathlib states it as `Real.Gamma_nat_eq_factorial`.\n\n## History\n\nLeonhard Euler announced the integral representation in a letter to Christian Goldbach, dated 8 January 1730.\n\n## Explanations\n\n### L1 human\n\nThe recursion $\\Gamma(s + 1) = s \\, \\Gamma(s)$ is the same as the rule $(n + 1)! = (n + 1) \\cdot n!$.\nSo the gamma function agrees with the factorial at the integers, shifted by one.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "33B15"
    ],
    "name": "The gamma function extends the factorial",
    "role": "theorem",
    "sources": [
      {
        "locator": "General",
        "url": "https://en.wikipedia.org/wiki/Gamma_function"
      }
    ],
    "tag": "0FDCW77H44",
    "uses": [
      "0V3FZMVB4K",
      "08Y1BBQTK9",
      "039JAF7ZAN"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0FDCW77H44/",
  "links": [
    {
      "field": "uses",
      "target": "0V3FZMVB4K"
    },
    {
      "field": "uses",
      "target": "08Y1BBQTK9"
    },
    {
      "field": "uses",
      "target": "039JAF7ZAN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0FDCW77H44.md",
  "msc": [
    "33B15"
  ],
  "name": "The gamma function extends the factorial",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0FD/0FDCW77H44.md",
  "status": null,
  "tag": "0FDCW77H44",
  "uri": "m2://0FDCW77H44",
  "url": "https://math2.tamnd.com/wiki/the-gamma-function-extends-the-factorial/",
  "writing": {
    "tag": "0FDCW77H44",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
