Mathwords logoMathwords

Hypergeometric Function — Definition, Formula & Example

The hypergeometric function is a power series built from rising products of three parameters aa, bb, cc. Choosing those parameters well reproduces many familiar functions, including logarithms, inverse trig functions, and the classical orthogonal polynomials.

For c∉{0,−1,−2,… }c \notin \{0, -1, -2, \dots\}, the Gauss hypergeometric function 2F1(a,b;c;z){}_2F_1(a,b;c;z) is the solution analytic at z=0z = 0, normalized so its value there is 11, of the hypergeometric differential equation z(1−z)w′′+[c−(a+b+1)z] w′−ab w=0z(1-z)w'' + [c - (a+b+1)z]\,w' - ab\,w = 0. This equation has regular singular points at 00, 11, and ∞\infty. More generally, pFq{}_pF_q is any series ∑cnzn\sum c_n z^n in which the ratio cn+1/cnc_{n+1}/c_n is a rational function of nn.

Key Formula

2F1(a,b;c;z)=∑n=0∞(a)n (b)n(c)n znn!,(q)n=q(q+1)⋯(q+n−1), (q)0=1{}_2F_1(a,b;c;z) = \sum_{n=0}^{\infty} \frac{(a)_n\,(b)_n}{(c)_n}\,\frac{z^n}{n!}, \qquad (q)_n = q(q+1)\cdots(q+n-1),\ (q)_0 = 1
Where:
  • a,ba, b = Numerator parameters. If either is a nonpositive integer, the series stops and the function is a polynomial.
  • cc = Denominator parameter, which cannot be 0 or a negative integer.
  • zz = The variable. The series converges for |z| < 1.
  • (q)n(q)_n = Pochhammer symbol (rising factorial) with n factors

Worked Example

Problem: Evaluate 2F1(1,1;3;1){}_2F_1(1,1;3;1) by summing the series directly. Then confirm the result with Gauss's summation theorem, which says that when c−a−b>0c - a - b > 0, 2F1(a,b;c;1)=Γ(c) Γ(c−a−b)Γ(c−a) Γ(c−b){}_2F_1(a,b;c;1) = \dfrac{\Gamma(c)\,\Gamma(c-a-b)}{\Gamma(c-a)\,\Gamma(c-b)}.
Step 1: Find the general term. Here (1)n=n!(1)_n = n! and (3)n=3⋅4⋯(n+2)=(n+2)!2(3)_n = 3 \cdot 4 \cdots (n+2) = \tfrac{(n+2)!}{2}. With z=1z = 1, the term simplifies to:
(n!)2(n+2)!2⋅n!=2(n+1)(n+2)=2(1n+1−1n+2)\frac{(n!)^2}{\frac{(n+2)!}{2}\cdot n!} = \frac{2}{(n+1)(n+2)} = 2\left(\frac{1}{n+1} - \frac{1}{n+2}\right)
Step 2: The sum telescopes. The partial sum through n=Nn = N is 2−2N+22 - \tfrac{2}{N+2}, which approaches 22 as N→∞N \to \infty.
∑n=0∞2(n+1)(n+2)=2\sum_{n=0}^{\infty} \frac{2}{(n+1)(n+2)} = 2
Step 3: Check with Gauss's theorem. Here c−a−b=1>0c - a - b = 1 > 0, so the theorem applies. Use Γ(k)=(k−1)!\Gamma(k) = (k-1)!.
Γ(3) Γ(1)Γ(2) Γ(2)=2⋅11⋅1=2\frac{\Gamma(3)\,\Gamma(1)}{\Gamma(2)\,\Gamma(2)} = \frac{2 \cdot 1}{1 \cdot 1} = 2
Answer: 2F1(1,1;3;1)=2{}_2F_1(1,1;3;1) = 2. Direct summation and Gauss's summation theorem give the same value.

Why It Matters

Many special functions are hypergeometric in disguise, so one theory of identities covers all of them. For example, Pn(x)=2F1 ⁣(−n,n+1;1;1−x2)P_n(x) = {}_2F_1\!\left(-n, n+1; 1; \tfrac{1-x}{2}\right) gives the Legendre polynomials and Tn(x)=2F1 ⁣(−n,n;12;1−x2)T_n(x) = {}_2F_1\!\left(-n, n; \tfrac12; \tfrac{1-x}{2}\right) gives the Chebyshev polynomials. The confluent version 1F1{}_1F_1 appears in the quantum-mechanics solution of the hydrogen atom.

Common Mistakes

Mistake: Reading (a)n(a)_n as a falling factorial a(a−1)⋯(a−n+1)a(a-1)\cdots(a-n+1), or confusing the hypergeometric function with the hypergeometric probability distribution.
Correction: In special-function notation, (a)n=a(a+1)⋯(a+n−1)(a)_n = a(a+1)\cdots(a+n-1) rises, so for example (3)2=3⋅4=12(3)_2 = 3 \cdot 4 = 12. The probability distribution shares only the name. Its probabilities are ratios of binomial coefficients, not values of this series.

Related Terms