{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0FDCW77H44"
    },
    {
      "field": "uses",
      "target": "53750WSJ6K"
    },
    {
      "field": "uses",
      "target": "5ZKBBTBXVB"
    },
    {
      "field": "uses",
      "target": "8K9YQ1YGVS"
    },
    {
      "field": "uses",
      "target": "A8A21Z0RJG"
    },
    {
      "field": "uses",
      "target": "AB3ATTS48V"
    },
    {
      "field": "uses",
      "target": "BW830VCE98"
    },
    {
      "field": "uses",
      "target": "CND4E1PY9V"
    },
    {
      "field": "uses",
      "target": "DBEGF38V9H"
    },
    {
      "field": "uses",
      "target": "DWZD2EKC1Q"
    },
    {
      "field": "uses",
      "target": "PDYF9AV5PN"
    },
    {
      "field": "uses",
      "target": "QFF87AXWN2"
    },
    {
      "field": "uses",
      "target": "QFPFF15PXC"
    },
    {
      "field": "uses",
      "target": "RDFYHS2Q55"
    },
    {
      "field": "uses",
      "target": "SF3X43X837"
    },
    {
      "field": "uses",
      "target": "SKRP9NDXR4"
    },
    {
      "field": "uses",
      "target": "WBS4NM1TFC"
    },
    {
      "field": "uses",
      "target": "WCM87QEEZW"
    },
    {
      "field": "uses",
      "target": "WF7KQAQTS2"
    },
    {
      "field": "uses",
      "target": "WM5FNBB7K0"
    },
    {
      "field": "uses",
      "target": "Y4759V8CY6"
    },
    {
      "field": "uses",
      "target": "YGK9CD7SME"
    },
    {
      "field": "uses",
      "target": "Z8D1CZFTWP"
    },
    {
      "field": "uses",
      "target": "ZCB806EV8A"
    },
    {
      "field": "uses",
      "target": "ZKJF80DTNB"
    },
    {
      "field": "about",
      "target": "QFF87AXWN2"
    }
  ],
  "body": "\n## Definition\n\nFor a real number $s \u003e 0$, the gamma function is\n$$\\Gamma(s) = \\int_0^\\infty t^{s-1} e^{-t} \\, dt.$$\n\n## Remarks\n\nThe [[improper integral|0VCTBJMEJF]] converges at $0$ because $s \u003e 0$, and at $\\infty$ because $e^{-t}$ decays fast. Both claims follow from the [[comparison test|0FR1BDKK10]].\nIntegration by parts gives $\\Gamma(s + 1) = s \\, \\Gamma(s)$. Also $\\Gamma(1) = 1$, so [[$\\Gamma$ extends the factorial|0FDCW77H44]].\nThe function extends to all real numbers except $0, -1, -2, \\dots$, by the recursion. Mathlib defines this extension as `Real.Gamma`.\nThe notation $\\Gamma$ is due to Adrien-Marie Legendre.\n\n## Explanations\n\n### L1 human\n\nThe gamma function is an integral that depends on a parameter $s$.\nAt positive integers it gives factorials, so it interpolates the factorial.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "0H5SYBSED9",
    "inventory": [
      "2VW1BD3795"
    ],
    "kind": "definition",
    "msc": [
      "33B15"
    ],
    "name": "Gamma function",
    "sources": [
      {
        "locator": "Main definition",
        "url": "https://en.wikipedia.org/wiki/Gamma_function"
      }
    ],
    "tag": "0V3FZMVB4K",
    "uses": [
      "0VCTBJMEJF",
      "0FR1BDKK10"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/0V3FZMVB4K/",
  "links": [
    {
      "field": "defines",
      "target": "0H5SYBSED9"
    },
    {
      "field": "uses",
      "target": "0VCTBJMEJF"
    },
    {
      "field": "uses",
      "target": "0FR1BDKK10"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/0V3FZMVB4K.md",
  "msc": [
    "33B15"
  ],
  "name": "Gamma function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0V3/0V3FZMVB4K.md",
  "status": null,
  "tag": "0V3FZMVB4K",
  "uri": "m2://0V3FZMVB4K",
  "url": "https://tamnd.github.io/math2/wiki/gamma-function-definition/",
  "writing": {
    "tag": "0V3FZMVB4K",
    "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
      }
    ]
  }
}
