solutions of a Heun type second order linear ODE
homogeneous linear differential equation of second order
any indeterminate function of one variable; required only when the ODE involves more than one function being differentiated
list of coefficients of the linear ODE
independent variable of the linear ODE
The Heunsols routine returns a basis of the space of solutions of a second order linear ODE of Heun type--that is, an equation of one of the following five forms: the general Heun equation, the Heun Confluent equation, the Biconfluent equation, the Doubleconfluent equation, or the Triconfluent equation.
PDEtools[declare](y(z), prime=z, quiet);
GHE := diff(y(z),z,z) + (gamma/z+delta/(z-1)+epsilon/(z-a))*diff(y(z),z) + (alpha*beta*z-q)/z/(z-1)/(z-a)*y(z) = 0;
singularities( GHE );
The solution to this equation is implemented in Maple as the HeunG function. The sum of the exponents of the singularities of Heun's equation is equal to two and the parameter ε is expressed in terms of the other ones by
epsilon = alpha+beta+1 -gamma-delta;
The other four Heun equations are confluent cases, obtained from the general Heun equation above through confluence processes. These are: the Heun Confluent equation
CHE := diff(y(z),z,z) + (gamma/z+delta/(z-1)-epsilon)*diff(y(z),z) +((q-alpha*beta)/(z-1)-q/z)*y(z) = 0;
singularities( CHE );
having for solution the HeunC function; the Biconfluent equation
BHE := diff(y(z),z,z) + (-2*z-beta+(1+alpha)/z)*diff(y(z),z) + (gamma-alpha-2 - 1/2*((1+alpha)*beta+delta)/z)*y(z) = 0;
singularities( BHE );
having for solution the HeunB function; the Doubleconfluent equation
DHE := diff(y(z),z,z)-(alpha+2*z+z^2*alpha-2*z^3)/(z+1)^2/(z-1)^2*diff(y(z),z)+(delta+(2*alpha+gamma)*z+beta*z^2)/(z-1)^3/(z+1)^3*y(z);
singularities( DHE );
having for solution the HeunD function, and the Triconfluent equation
THE := diff(y(z),z,z) + (-gamma-3*z^2)*diff(y(z),z) + (alpha+z*beta-3*z)*y(z) = 0;
singularities( THE );
having for solution the HeunT function.
The standard form of the four confluent equations is not uniform in the literature. The Maple choice of standard form follows , the classic reference for these equations, except for one particular: for the Doubleconfluent equation (DHE above) (and so the definition of HeunD) Maple uses the so-called Jaffe form, see , so that the two irregular singular points are symmetrically located at z=-1 and z=1.
There are two general forms of calling sequences available for Heunsols.
The first argument LODE of the first calling sequence is a linear differential equation in diff or D form. The second argument y(x) is the function in the differential equation, and it is required only when the ODE involves more than one function being differentiated.
The last calling sequence has as its first argument the list of coefficients of a linear ODE, and the second argument is the independent variable. This input sequence may be convenient for programming with the Heunsols routine.
This routine is part of the DEtools package, and so it can be used in the form Heunsols(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[Heunsols](..).
y⁡x⁢will now be displayed as⁢y
derivatives with respect to⁢x⁢of functions of one variable will now be displayed with '
Kamke's example 2.108:
ode108 ≔ x⁢ⅆ2ⅆx2⁢y⁡x+x+a+b⁢ⅆⅆx⁢y⁡x+a⁢y⁡x
B108 ≔ Heunsols⁡ode108,y⁡x
A solution to this ODE is built by using this solution basis and tested as follows.
sol108 ≔ y⁡x=add⁡_C||i⁢B108i,i=1..2
The following test returns zero when sol is correct.
This is Lame's equation in algebraic form
Download Help Document
What kind of issue would you like to report? (Optional)