Mathwords logoMathwords

Hypergeometric Differential Equation — Definition, Formula & Example

The hypergeometric differential equation is a second-order linear ODE with three parameters aa, bb, cc. Many famous special functions, including Legendre polynomials and Chebyshev polynomials, are solutions of it after a simple change of variable, for particular choices of those parameters.

Gauss's hypergeometric equation is x(1−x)y′′+[c−(a+b+1)x]y′−ab y=0x(1-x)y'' + [c-(a+b+1)x]y' - ab\,y = 0. It is a linear homogeneous equation whose only singular points are x=0x=0, x=1x=1, and x=∞x=\infty, and all three are regular singular points. The exponents are 00 and 1−c1-c at x=0x=0, 00 and c−a−bc-a-b at x=1x=1, and aa and bb at ∞\infty. If c≠0,−1,−2,…c \neq 0, -1, -2, \dots, the solution that is analytic at x=0x=0 with y(0)=1y(0)=1 is the Gauss hypergeometric series 2F1(a,b;c;x){}_2F_1(a,b;c;x). This series converges for ∣x∣<1|x|<1. It terminates as a polynomial when aa or bb is a nonpositive integer.

Key Formula

x(1−x) y′′+[c−(a+b+1)x] y′−ab y=0,2F1(a,b;c;x)=∑n=0∞(a)n (b)n(c)n n! xnx(1-x)\,y'' + \bigl[c-(a+b+1)x\bigr]\,y' - ab\,y = 0, \qquad {}_2F_1(a,b;c;x) = \sum_{n=0}^{\infty} \frac{(a)_n\,(b)_n}{(c)_n\,n!}\,x^n
Where:
  • a,ba, b = Parameters. They appear symmetrically, so swapping them changes nothing.
  • cc = Parameter that must not be 0, -1, -2, ... for the series to be defined
  • (q)n(q)_n = Rising factorial: (q)0=1(q)_0 = 1 and (q)n=q(q+1)⋯(q+n−1)(q)_n = q(q+1)\cdots(q+n-1)
  • 2F1{}_2F_1 = The solution analytic at x=0x=0 with value 1 there

Worked Example

Problem: Find the solution of x(1−x)y′′+(1−x)y′+4y=0x(1-x)y'' + (1-x)y' + 4y = 0 that is analytic at x=0x = 0 and satisfies y(0)=1y(0) = 1.
Step 1: Match the equation to the standard form. The constant part of the y′y' coefficient gives c=1c = 1. The xx part gives a+b+1=1a+b+1 = 1. The yy coefficient gives −ab=4-ab = 4. So a+b=0a+b = 0 and ab=−4ab = -4, which means a=2a = 2 and b=−2b = -2.
c=1,a=2,b=−2c = 1,\quad a = 2,\quad b = -2
Step 2: Compute the series coefficients (a)n(b)n(c)n n!\frac{(a)_n (b)_n}{(c)_n\, n!}. The factor (−2)3=(−2)(−1)(0)=0(-2)_3 = (-2)(-1)(0) = 0, so every coefficient from n=3n = 3 onward is zero. The series stops after three terms.
n=1: (2)(−2)(1)(1)=−4,n=2: (2⋅3)(−2⋅−1)(1⋅2)(2)=3,n=3: 0n=1:\ \frac{(2)(-2)}{(1)(1)} = -4, \qquad n=2:\ \frac{(2\cdot 3)(-2\cdot -1)}{(1\cdot 2)(2)} = 3, \qquad n=3:\ 0
Step 3: Verify the result. For y=1−4x+3x2y = 1 - 4x + 3x^2 you get y′=6x−4y' = 6x - 4 and y′′=6y'' = 6. Substitute these into the left side. The x2x^2 terms, the xx terms, and the constants each cancel.
6x(1−x)+(1−x)(6x−4)+4(1−4x+3x2)=06x(1-x) + (1-x)(6x-4) + 4(1-4x+3x^2) = 0
Answer: y=2F1(2,−2;1;x)=1−4x+3x2=(1−x)(1−3x)y = {}_2F_1(2,-2;1;x) = 1 - 4x + 3x^2 = (1-x)(1-3x). Because c=1c = 1 is an integer, a second independent solution near x=0x=0 involves ln⁡x\ln x and is not analytic there.

Why It Matters

In a mathematical methods for physics course you meet Legendre, Chebyshev, and Jacobi polynomials, and all of them are hypergeometric functions in disguise. Even elementary functions fit the pattern. For example, ln⁡(1+x)=x 2F1(1,1;2;−x)\ln(1+x) = x\,{}_2F_1(1,1;2;-x). Computer algebra systems use this fact to evaluate many integrals in closed form.

Common Mistakes

Mistake: Reading the y′y' coefficient as c−(a+b)xc - (a+b)x. This gives the wrong values of aa and bb.
Correction: The xx term in the y′y' coefficient is (a+b+1)x(a+b+1)x. Subtract 1 before you solve a+ba+b and abab simultaneously. Also check the sign: the yy coefficient is −ab-ab.

Related Terms