{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $N \\ge 0$ be an integer, let $\\alpha, \\beta \u003e -1$ be real numbers, and let $n$ be an integer with $0 \\le n \\le N$.\nWrite $(a)_k$ for the [[Pochhammer symbol|YZHM3HSM0F]].\nThe *Hahn polynomial* of degree $n$ is\n$$Q_n(x; \\alpha, \\beta, N) = \\sum_{k=0}^{n} \\frac{(-n)_k \\, (n + \\alpha + \\beta + 1)_k \\, (-x)_k}{(\\alpha + 1)_k \\, (-N)_k \\, k!},$$\nthat is, the terminating [[generalized hypergeometric series|VDBAW9PN88]] ${}_3F_2\\left( -n, n + \\alpha + \\beta + 1, -x; \\alpha + 1, -N; 1 \\right)$.\n\n## Remarks\n\nThey are orthogonal on $\\set{0, 1, \\dots, N}$:\n$$\\sum_{x=0}^{N} \\binom{\\alpha + x}{x} \\binom{\\beta + N - x}{N - x} Q_m(x) Q_n(x) = 0 \\quad (m \\ne n),$$\nwhere the [[binomial coefficients|0GBZM0MT0F]] are $\\binom{a + j}{j} = \\frac{(a + 1)_j}{j!}$.\nExample: $Q_1(x) = 1 - \\frac{(\\alpha + \\beta + 2) x}{(\\alpha + 1) N}$.\nCheck: the weight is proportional to a beta-binomial distribution with mean $\\frac{N(\\alpha + 1)}{\\alpha + \\beta + 2}$, so $Q_1$ has weighted mean $0$.\nNon-example: $n = N + 1$ is not allowed, since $(-N)_k = 0$ for $k = N + 1$ and the defining sum has a zero denominator.\nThe value at $0$ is $Q_n(0) = 1$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "Y1M82VZYS2",
    "kind": "definition",
    "msc": [
      "33C45",
      "42C05"
    ],
    "name": "Hahn polynomials",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hahn_polynomials"
      }
    ],
    "tag": "CRZH89G0J1",
    "uses": [
      "YZHM3HSM0F",
      "VDBAW9PN88",
      "0GBZM0MT0F"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/CRZH89G0J1/",
  "links": [
    {
      "field": "defines",
      "target": "Y1M82VZYS2"
    },
    {
      "field": "uses",
      "target": "YZHM3HSM0F"
    },
    {
      "field": "uses",
      "target": "VDBAW9PN88"
    },
    {
      "field": "uses",
      "target": "0GBZM0MT0F"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/CRZH89G0J1.md",
  "msc": [
    "33C45",
    "42C05"
  ],
  "name": "Hahn polynomials",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/CRZ/CRZH89G0J1.md",
  "status": null,
  "tag": "CRZH89G0J1",
  "uri": "m2://CRZH89G0J1",
  "url": "https://tamnd.github.io/math2/wiki/hahn-polynomials-definition/",
  "writing": {
    "tag": "CRZH89G0J1",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
