{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "5ZKBBTBXVB"
    },
    {
      "field": "about",
      "target": "AGBWPB994F"
    },
    {
      "field": "uses",
      "target": "AGBWPB994F"
    }
  ],
  "body": "\n## Summary\n\nThe log-gamma function is the logarithm of the [[gamma function|0H5SYBSED9]]: $\\ln\\Gamma(x)$ for real $x \u003e 0$, and its holomorphic extension $\\operatorname{Log}\\Gamma$ to the slit plane $\\C \\setminus (-\\infty, 0]$.\nIt is used because $\\Gamma$ grows faster than any exponential, so its logarithm is easier to compute and to estimate.\nIts derivative is the [[digamma function|HWRRXB0YXS]], and its asymptotic expansion is [[Stirling's series|K29QYWB6A5]].\n\n## Explanations\n\n### L1 human\n\nThe gamma function grows so fast that its values overflow quickly; for example $\\Gamma(171)$ is already larger than $10^{306}$.\nTaking the logarithm turns this huge growth into a gentle one, roughly like $x \\ln x$.\nProducts of gamma values become sums of log-gamma values, which is often simpler.\nFor example $\\ln\\Gamma(1) = \\ln\\Gamma(2) = 0$, and $\\ln\\Gamma(\\tfrac12) = \\tfrac12 \\ln \\pi$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "33B15"
    ],
    "name": "Log-gamma function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Gamma_function"
      }
    ],
    "tag": "JT95B44G4G"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/JT95B44G4G/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/JT95B44G4G.md",
  "msc": [
    "33B15"
  ],
  "name": "Log-gamma function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/JT9/JT95B44G4G.md",
  "status": null,
  "tag": "JT95B44G4G",
  "uri": "m2://JT95B44G4G",
  "url": "https://tamnd.github.io/math2/wiki/log-gamma-function/",
  "writing": {
    "tag": "JT95B44G4G",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
