Heun functions solve Heun's differential equation and equations obtained from it by coalescing singular points. The confluent forms have irregular singularities. The table lists the corresponding Wolfram Language functions and their derivatives, along with two Lamé functions whose equation is a special case of the general equation.
| type | function | derivative function |
| general | HeunG | HeunGPrime |
| confluent | HeunC | HeunCPrime |
| double confluent | HeunD | HeunDPrime |
| bi-confluent | HeunB | HeunBPrime |
| tri-confluent | HeunT | HeunTPrime |
| Lamé | LameC | LameCPrime |
| Lamé | LameS | LameSPrime |
satisfies
the general Heun differential equation
|
(1)
|
For ,
is the solution analytic
at
with value 1 there. Substituting its
Taylor series gives the first derivative
at
(NIST DLMF, §31.3(i)).
satisfies
the confluent Heun differential equation
|
(2)
|
satisfies
the double-confluent Heun differential equation
|
(3)
|
satisfies
the bi-confluent Heun differential equation
|
(4)
|
satisfies
the tri-confluent Heun differential equation
|
(5)
|
As an example of the biconfluent case, consider the radial Schrödinger equation with a potential function containing
,
, and
terms. In scaled units, the equation for the reduced radial
solution
is
|
(6)
|
where ,
is the scaled energy,
, and
is a nonnegative integer.
With
,
, and
, the substitution
gives the biconfluent equation with
,
,
,
, and
. Thus
is a local solution
analytic at
. Ishkhanyan (2020) gives an application to sextic
potential functions.
The Mathieu differential equation is a special case of the confluent equation, with and
.
The spheroidal wave function equation is a special case of the confluent Heun equation (NIST Digital Library of Mathematical Functions, §31.12).