{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "GBXD38Y52R"
    },
    {
      "field": "uses",
      "target": "GRZKGHMNTG"
    },
    {
      "field": "uses",
      "target": "YM68BCKBXC"
    },
    {
      "field": "defines",
      "target": "PCT8RW4MY4"
    },
    {
      "field": "about",
      "target": "YM68BCKBXC"
    }
  ],
  "body": "\n## Summary\n\nThe digamma function $\\psi$ is the logarithmic derivative of the [[gamma function|0H5SYBSED9]], $\\psi(z) = \\Gamma'(z)/\\Gamma(z)$.\nIt turns the product rule $\\Gamma(z+1) = z\\,\\Gamma(z)$ into the sum rule $\\psi(z+1) = \\psi(z) + 1/z$.\nAt positive integers it gives the [[harmonic numbers|0NANDX7V02]] shifted by the [[Euler–Mascheroni constant|00C5P9JZBK]].\nIt is the first member of the family of [[polygamma functions|3J3QGKPMZQ]].\n\n## Explanations\n\n### L1 human\n\nThe gamma function grows very fast, so it is often easier to look at its logarithm.\nThe digamma function is the slope of $\\log \\Gamma$.\nBecause $\\Gamma(n+1) = n!$, the slope of $\\log \\Gamma$ changes by $1/n$ when one steps from $n$ to $n+1$.\nSo the values at whole numbers add up the fractions $1, \\frac12, \\frac13, \\ldots$.\nFor example, $\\psi(1) = -\\gamma \\approx -0.5772$ and $\\psi(4) = 1 + \\frac12 + \\frac13 - \\gamma$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "33B15"
    ],
    "name": "Digamma function",
    "same_as": {
      "wikidata": "Q905326",
      "wikipedia": "Digamma function"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Digamma_function"
      }
    ],
    "tag": "HWRRXB0YXS"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/HWRRXB0YXS/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/HWRRXB0YXS.md",
  "msc": [
    "33B15"
  ],
  "name": "Digamma function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/HWR/HWRRXB0YXS.md",
  "status": null,
  "tag": "HWRRXB0YXS",
  "uri": "m2://HWRRXB0YXS",
  "url": "https://tamnd.github.io/math2/wiki/digamma-function/",
  "writing": {
    "tag": "HWRRXB0YXS",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
