HeunG
The Heun general function
HeunGPrime
The derivative of the Heun general function
Calling Sequence
Parameters
Description
Examples
References
HeunG(a, q, α, β, γ, δ, z)
HeunGPrime(a, q, α, β, γ, δ, z)
a
-
algebraic expression
q
α
β
γ
δ
z
The HeunG function is the solution of the Heun General equation. Following the first reference (at the end), the equation and the conditions at the origin satisfied by HeunG are
FunctionAdvisor(definition, HeunG);
HeunG⁡a,q,α,β,γ,δ,z=DESol⁡ⅆ2ⅆz2_Y⁡z−α+β+1⁢z2+−δ−γ⁢a−α+δ−β−1⁢z+γ⁢a⁢ⅆⅆz_Y⁡zz⁢z−1⁢−z+a−α⁢β⁢z−q⁢_Y⁡zz⁢z−1⁢−z+a,_Y⁡z,_Y⁡0=1,D⁡_Y⁡0=qγ⁢a
Heun's equation is an extension of the 2F1 hypergeometric equation in that it is a second-order Fuchsian equation with four regular singular points. The 2F1 equation has three regular singularities. The HeunG function, thus, contains as particular cases all the functions of the hypergeometric 2F1 class.
Another important case of Heun's equation, for α=−ν2,β=12+ν2,δ=12,γ=12,q=−a⁢h4, is Lame's equation in algebraic form,
diff(y(z),z,z) + 1/2*(1/z + 1/(z-1) + 1/(z-a))*diff(y(z),z) + (a*h-nu*(nu+1)*z)/(4*z*(z-1)*(z-a))*y(z) = 0;
ⅆ2ⅆz2y⁡z+1z+1z−1+1z−a⁢ⅆⅆzy⁡z2+a⁢h−ν⁢1+ν⁢z⁢y⁡z4⁢z⁢z−1⁢z−a=0
where the parameter ν is called the order of the equation and many special features arise when ν is an integer. Lame's equation arises in the separation of variables in Laplace's equation.
The HeunG(a,q,α,β,γ,δ,z) function is a local (Frobenius) solution to Heun's equation, computed as a power series expansion around the origin, a regular singular point. The radius of convergence of this series is zs where zs is the location of the singularity closer to the origin, either a or 1. An analytic continuation of HeunG is obtained through identities, relating the values of the function in different regions, or by expanding the solution around the other singularities (a, 1 or ∞). For example, the value of the function outside a circle of radius 2 is computable from the value of another HeunG function inside that circle using
HeunG(a,q,alpha,beta,gamma,delta,z) = (1-z)^(-alpha)*HeunG(a/(a-1),(-q+gamma*alpha*a)/(a-1),alpha,alpha-delta+1,gamma,alpha-beta+1,z/(z-1));
HeunG⁡a,q,α,β,γ,δ,z=1−z−α⁢HeunG⁡aa−1,γ⁢α⁢a−qa−1,α,α−δ+1,γ,α−β+1,zz−1
For certain values of the parameters, it can happen that the expansion around the origin is also a Frobenius solution around the next adjacent singularity, so the function is analytic in some domain including both singularities. In the literature, the term Heun function is sometimes reserved for these cases, important in physical applications.
A more special situation happens when the parameters entering HeunG are such that the function is, simultaneously, a Frobenius solution around three adjacent singularities and hence analytic in a domain containing all of them. In such a case the solution will also be a Frobenius solution around the fourth singularity and HeunG will be a polynomial. A necessary (not sufficient) condition for this case is that α=−n, with n a positive integer, and q has one of a finite number of characteristic values, in which case the function is a polynomial of degree n.
Heun's equation can be transformed into another version of itself, that is, an equation with four regular singularities three of which are located at 0,1,∞, by any of 24 Mobius transformations z -> f⁡z of the independent variable z; these forms of f⁡z are
Matrix⁡z,1−z,1z,11−z,zz−1,z−1z,za,a−za,az,aa−z,zz−a,z−az,z−a1−a,z−1a−1,1−az−a,a−1z−1,z−az−1,z−1z−a,z−aa⁢z−1,a−1⁢zz−a,a⁢z−1z−a,a⁢z−1a−1⁢z,z−a1−a⁢z,1−a⁢zz−a
z1−z1z11−zzz−1z−1zzaa−zaazaa−zzz−az−azz−a1−az−1a−11−az−aa−1z−1z−az−1z−1z−az−aa⁢z−1a−1⁢zz−aa⁢z−1z−aa⁢z−1a−1⁢zz−a1−a⁢z1−a⁢zz−a
Note that the location of the fourth singularity resulting from these transformations, say λ, is in general different from a. The six possible values of λ are a,1a,11−a,aa−1,1−a and a−1a.
Taking into account that Heun's equation has 4 regular singularities, that at around each one it is possible to construct 2 Frobenius solutions, and that there exist these 24 transformations mapping the equation into one of the same type, the solution to Heun's equation can be written in 192 different manners. This situation is equivalent to the one of the 2F1 hypergeometric equation, where instead of 4 there are 3 regular singularities, instead of 24 transformations there are only 6, and so the solution can be written in 24 different manners.
This group of transformations of order 24 admitted by Heun's equation also leads to a rather large number of identities for the function solution HeunG, among which you have
FunctionAdvisor⁡identities,HeunG
HeunG⁡a,q,α,β,γ,δ,z=1−z1−δ⁢HeunG⁡a,q−δ−1⁢γ⁢a,β−δ+1,α−δ+1,γ,2−δ,z,HeunG⁡a,q,α,β,γ,δ,z=1−za−α−β+γ+δ⁢HeunG⁡a,q−γ⁢α+β−γ−δ,−β+γ+δ,−α+γ+δ,γ,δ,z,a≠0,HeunG⁡a,q,α,β,γ,δ,z=1−z1−δ⁢1−za−α−β+γ+δ⁢HeunG⁡a,q−γ⁢δ−1⁢a+α+β−γ−δ,−β+γ+1,−α+γ+1,γ,2−δ,z,a≠0,HeunG⁡a,q,α,β,γ,δ,z=HeunG⁡1a,qa,α,β,γ,α+β−γ−δ+1,za,a≠0,HeunG⁡a,q,α,β,γ,δ,z=1−z−α⁢HeunG⁡aa−1,α⁢γ⁢a−qa−1,α,α−δ+1,γ,α−β+1,zz−1,a≠1∧z≠1,HeunG⁡a,q,α,β,γ,δ,z=1−za−α⁢HeunG⁡1−a,γ⁢α−q,α,−β+γ+δ,γ,δ,1−a⁢zz−a,a≠0∧z≠a,HeunG⁡a,q,α,β,γ,δ,z=1−za−α⁢HeunG⁡11−a,−γ⁢α+qa−1,α,−β+γ+δ,γ,α−β+1,zz−a,a≠0∧a≠1∧z≠a
Some hypergeometric special cases of HeunG are
FunctionAdvisor⁡specialize,HeunG,hypergeom
HeunG⁡a,q,α,β,γ,δ,z=hypergeom⁡α,β,α−δ+1+β,z,a=0∧q=0,HeunG⁡a,q,α,β,γ,δ,z=hypergeom⁡α,β,γ,z,a=1∧q=α⁢β∨q=a⁢α⁢β∧δ=α+β−γ+1,HeunG⁡a,q,α,β,γ,δ,z=hypergeom⁡γ2+2⁢−α−β⁢γ+α−β2+4⁢q2+γ2+α2−β2,γ2+2⁢−α−β⁢γ+α−β2+4⁢q2+γ2−α2+β2,γ,zz−1−γ2+2⁢−α−β⁢γ+α−β2+4⁢q2−γ2+α2+β2⁢ⅇI2⁢π⁢γ2+2⁢−α−β⁢γ+α−β2+4⁢q+γ−α−β,a=1∧0≤ℑ⁡z,HeunG⁡a,q,α,β,γ,δ,z=hypergeom⁡β2,α2,γ,−z⁢z−2,a=2∧q=α⁢β∧δ=α+β−2⁢γ+1∧−1<ℜ⁡z∧ℜ⁡z<1,HeunG⁡a,q,α,β,γ,δ,z=hypergeom⁡β3,α3,12,z⁢z−324,a=4∧q=α⁢β∧γ=12∧δ=2⁢α3+2⁢β3∧−1<ℜ⁡z∧ℜ⁡z<1∧−π<ℑ⁡z∧ℑ⁡z<π
When α=−n, with n a positive integer, the nth + 1 coefficient in the series expansion is a polynomial in q of order n+1. If q is a root of that polynomial, that coefficient is zero and with it all the following ones, so the series truncates and HeunG is a polynomial. For example, for α=−1
HG≔HeunG⁡a,q,−1,β,g,δ,z
Q≔simplify⁡series⁡HG,z,3,size
Q≔1+qg⁢a⁢z+12⁢q2+g+δ⁢a+β−δ⁢q+β⁢g⁢ag⁢a2⁢g+1⁢z2+O⁡z3
So the coefficient of z2 is
c2≔coeff⁡Q,z,2
c2≔q2+g+δ⁢a+β−δ⁢q+β⁢g⁢a2⁢g⁢a2⁢g+1
solving for q, requesting from solve to return using RootOf we have
_EnvExplicit≔false
q=solve⁡c2,q
q=RootOf⁡_Z2+a⁢δ+g⁢a+β−δ⁢_Z+β⁢g⁢a
substituting in HG we have
HG_polynomial≔subs⁡,HG
HG_polynomial≔HeunG⁡a,RootOf⁡_Z2+a⁢δ+g⁢a+β−δ⁢_Z+β⁢g⁢a,−1,β,g,δ,z
When the function admits a polynomial form, as is the case of HG_polynomial by construction, to obtain the actual polynomial of degree n (in this case n=1) use
eval⁡,HeunG=HeunG:-SpecialValues:-Polynomial
1+RootOf⁡_Z2+a⁢δ+g⁢a+β−δ⁢_Z+β⁢g⁢a⁢zg⁢a
Ronveaux, A. ed. Heun's Differential Equations. Oxford University Press, 1995.
Slavyanov, S.Y., and Lay, W. Special Functions, A Unified Theory Based on Singularities. Oxford Mathematical Monographs, 2000.
See Also
FunctionAdvisor
Heun
HeunB
HeunC
HeunD
HeunT
hypergeom
Download Help Document