Mathwords logoMathwords

Heun Functions — Definition, Formula & Example

Heun functions are the solutions of Heun's differential equation, a second-order linear ODE with four regular singular points. They extend the hypergeometric functions, whose equation has only three.

Heun's equation is the general Fuchsian equation with regular singular points at z=0,1,a,∞z = 0, 1, a, \infty (with a≠0,1a \neq 0, 1), subject to the Fuchs condition γ+δ+ϵ=α+β+1\gamma + \delta + \epsilon = \alpha + \beta + 1. The local Heun function Hl(a,q;α,β,γ,δ;z)\mathrm{Hl}(a, q; \alpha, \beta, \gamma, \delta; z) is the solution analytic at z=0z = 0 with value 11 there, defined when γ≠0,−1,−2,…\gamma \neq 0, -1, -2, \dots. Its Maclaurin coefficients cnc_n satisfy the three-term recurrence a(n+1)(n+γ) cn+1−(n[(n−1+γ)(1+a)+aδ+ϵ]+q)cn+(n−1+α)(n−1+β) cn−1=0a(n+1)(n+\gamma)\,c_{n+1} - \big(n[(n-1+\gamma)(1+a) + a\delta + \epsilon] + q\big)c_n + (n-1+\alpha)(n-1+\beta)\,c_{n-1} = 0, with c0=1c_0 = 1 and c−1=0c_{-1} = 0. In the stricter DLMF usage, a Heun function is a solution that is analytic at two adjacent singular points at once.

Key Formula

d2ydz2+(γz+δz−1+ϵz−a)dydz+αβz−qz(z−1)(z−a) y=0\frac{d^2y}{dz^2} + \left(\frac{\gamma}{z} + \frac{\delta}{z-1} + \frac{\epsilon}{z-a}\right)\frac{dy}{dz} + \frac{\alpha\beta z - q}{z(z-1)(z-a)}\,y = 0
Where:
  • zz = Complex independent variable
  • aa = Location of the third finite singular point (the others are 0 and 1), with a not equal to 0 or 1
  • qq = Accessory parameter. It does not affect the exponents at any singular point.
  • α,β\alpha, \beta = Exponents at the singular point z = infinity
  • γ,δ,ϵ\gamma, \delta, \epsilon = Determine the nonzero exponents 1 − γ, 1 − δ, 1 − ε at z = 0, 1, a. They must satisfy γ + δ + ε = α + β + 1.

Worked Example

Problem: Find the first three Maclaurin coefficients of the local Heun function with a=2a = 2, q=2q = 2, and α=β=γ=δ=ϵ=1\alpha = \beta = \gamma = \delta = \epsilon = 1.
Step 1: Check the Fuchs condition so that the parameters define a valid Heun equation. Both sides equal 3.
γ+δ+ϵ=3=α+β+1\gamma + \delta + \epsilon = 3 = \alpha + \beta + 1
Step 2: Set n=0n = 0 in the recurrence. Since c−1=0c_{-1} = 0 and c0=1c_0 = 1, only two terms remain.
aγ c1=q c0  ⇒  2c1=2  ⇒  c1=1a\gamma\,c_1 = q\,c_0 \;\Rightarrow\; 2c_1 = 2 \;\Rightarrow\; c_1 = 1
Step 3: Set n=1n = 1. Here R1=2(2)(2)=8R_1 = 2(2)(2) = 8, Q1=(1)(3)+2+1=6Q_1 = (1)(3) + 2 + 1 = 6, and P1=(1)(1)=1P_1 = (1)(1) = 1. All three coefficients appear. This is the three-term structure that separates Heun functions from hypergeometric ones.
8c2−(6+2)(1)+(1)(1)=0  ⇒  c2=788c_2 - (6 + 2)(1) + (1)(1) = 0 \;\Rightarrow\; c_2 = \frac{7}{8}
Answer: Hl(2,2;1,1,1,1;z)=1+z+78z2+⋯\mathrm{Hl}(2, 2; 1, 1, 1, 1; z) = 1 + z + \tfrac{7}{8}z^2 + \cdots. The series converges for ∣z∣<1|z| < 1, the distance from 00 to the nearest other singular point.

Why It Matters

Heun's equation and its confluent forms appear in general relativity, where perturbations of rotating (Kerr) black holes lead to confluent Heun equations. They also appear in quantum mechanics, for example in the hydrogen molecule ion. The Lamé equation, used for ellipsoidal coordinates, is a special case of Heun's equation.

Common Mistakes

Mistake: Expecting a closed-form coefficient formula like the one for the hypergeometric series 2F1{}_2F_1.
Correction: The 2F1{}_2F_1 coefficients follow a two-term recurrence, so each one is a simple product. Heun coefficients satisfy a three-term recurrence, so you generally must compute them one after another. Closed forms exist only in special cases, such as ϵ=0\epsilon = 0 and q=aαβq = a\alpha\beta, where Hl\mathrm{Hl} reduces to 2F1(α,β;γ;z){}_2F_1(\alpha, \beta; \gamma; z).

Related Terms