DEtools
hypergeometricsols
find closed form solutions of hypergeometric type for linear ODEs
Calling Sequence
Parameters
Description
Userinfo and singularities
Examples
References
Compatibility
hypergeometricsols(lode, v)
lode
-
linear ODE in diff form or operator form
v
dependent variable of lode, or a list with the names of the dependent and independent variables
hypergeometricsols contains numerous algorithms to find closed form solutions of Linear Ordinary Differential Equations with polynomial coefficients. These algorithms find, if they exist, solutions that can be written in terms of hypergeometric pFq functions. At the moment, hypergeometricsols only contains algorithms for equations of order two. There are three types of pFq solutions for order two, namely 0F1, 1F1, and 2F1.
Solutions are expressed in terms of hypergeometric pFq functions, exp, integrals, and algebraic functions. Such expressions are useful because pFq functions are rigid, which means that their global behavior is fully determined exactly by local data (for example, a 2F1 type solution gives the exact global monodromy).
hypergeometricsols contains complete algorithms, from references (1) and (2) below, that find any solution that can be expressed in terms of 0F1 or 1F1 type functions (written in terms of Airy/Bessel resp. Kummer/Whittaker functions). It computes Liouvillian solutions with the algorithm from (3), and 2F1 type solutions with the algorithms from (4),(5),(6),(7).
hypergeometricsols may return more than two 2F1 type solutions (the first two will be independent). The reason for doing this is because different expressions may converge in different parts of the complex plane. There are many relations between 2F1 functions, so there can be many 2F1 type solutions; hypergeometricsols attempts to make a reasonable selection.
Setting infolevel[hypergeometricsols] to a positive integer will cause hypergeometricsols to give information during the computation, such as the number of singularities of each type. Two equations L1 and L2 are considered to be exp-equivalent if there exists a rational function r such that {all solutions of L1} = exp(int(r,x)) {all solutions of L2}. hypergeometricsols will only count a point x=p as a singular point if x=p stays singular under exp-equivalence.
Such p is considered an apparent singularity if all solutions become analytic at x = p after some exp-equivalence. If x=p becomes regular singular under exp-equivalence, but not non-singular or apparent, then x=p is counted as a regular singularity, and in the remaining case, it is an irregular singularity. With this way of counting, if there is any irregular singularity, then no 2F1-type solutions exist. Similarly, if there is no irregular singularity, then no 0F1/1F1 type solution exists. An equation with 3 regular singularities and 0 other singularities will be referred to as a Gauss Hypergeometric Equation (even if the singularities are not located in their standard locations {0, 1, infinity}). Likewise, an equation with 4 regular and 0 other singularities is considered a Heun equation. hypergeometricsols has tables from references (4) and (5) to quickly handle common equations with up to 5 regular singularities (plus any number of apparent singularities). The remaining 2F1 cases are handled by the algorithms from (6) and (7).
with⁡DEtools:
Maple can now solve any second order equation that can be solved in terms of 0F1 or 1F1 functions. As an example, the following equation, has a solution that is a linear combination of two Bessel type functions (0F1) with rational coefficients
_Envdiffopdomain≔Dx,x:
L≔2⁢x−9⁢2⁢x−15⁢Dx2+−8⁢x+48⁢Dx−4⁢x6−96⁢x5+931⁢x4−4452⁢x3+10539⁢x2−12474⁢x+97204⁢x2⁢x−32
hypergeometricsols⁡L
x⁢4⁢x3−36⁢x2+141⁢x−225⁢BesselI⁡1,x2+−4⁢x3+24⁢x2−63⁢x+27⁢BesselI⁡2,x21−x3,x⁢−4⁢x3+36⁢x2−141⁢x+225⁢BesselK⁡1,x2+−4⁢x3+24⁢x2−63⁢x+27⁢BesselK⁡2,x21−x3
The previous example was entered as a differential operator. hypergeometricsols also accepts a second order differential equation as input. This example has a 1F1 type solution:
L≔4⁢x⁢4⁢x3−4⁢x2+8⁢x−1⁢Dx2+−16⁢x4−32⁢x2+36⁢x−8⁢Dx+12⁢x3+4⁢x2+12⁢x−27
ode≔diffop2de⁡L,y⁡x
ode≔12⁢x3+4⁢x2+12⁢x−27⁢y⁡x+−16⁢x4−32⁢x2+36⁢x−8⁢ⅆⅆxy⁡x+4⁢x⁢4⁢x3−4⁢x2+8⁢x−1⁢ⅆ2ⅆx2y⁡x
hypergeometricsols⁡ode
−20⁢x+5⁢KummerM⁡94,3,x+12⁢x2−12⁢x+3⁢KummerM⁡54,3,x,20⁢x−5⁢KummerU⁡94,3,x+16⁢x2−16⁢x+4⁢KummerU⁡54,3,x
All the solutions computable with hypergeometricsols are also computable using the general ODE solver, dsolve
dsolve⁡ode
y⁡x=c__1⁢12⁢x−122⁢KummerM⁡54,3,x+−20⁢x+5⁢KummerM⁡94,3,x+c__2⁢16⁢x−122⁢KummerU⁡54,3,x+20⁢x−5⁢KummerU⁡94,3,x
The following equations can be solved in in terms of Heun functions, and also in terms of pFq functions.
L≔−4⁢x4+Dx2+4⁢x2−10⁢x+2
2⁢x+1⁢AiryAi⁡1,x2−1+2⁢x2+x−1⁢AiryAi⁡x2−1,2⁢x+1⁢AiryBi⁡1,x2−1+2⁢x2+x−1⁢AiryBi⁡x2−1
ode≔−4⁢x4+4⁢x2−10⁢x+2⁢y⁡x+ⅆ2ⅆx2y⁡x
Heunsols⁡ode
ⅇ−x⁢2⁢x2−33⁢HeunT⁡3⁢6234,−152,−613,x⁢6233,ⅇx⁢2⁢x2−33⁢HeunT⁡3⁢6234,152,−613,−x⁢6233
By default, in this case, dsolve uses Heun functions
y⁡x=c__1⁢ⅇ−23⁢x3+x⁢HeunT⁡3⁢6234,−152,−613,x⁢6233+c__2⁢ⅇ23⁢x3−x⁢HeunT⁡3⁢6234,152,−613,−x⁢6233
You can use the method specification of dsolve to indicate the preferred functions
dsolve⁡ode,Heun
dsolve⁡ode,hypergeometricsols
y⁡x=c__1⁢2⁢x+1⁢AiryAi⁡1,x2−1+2⁢x2+x−1⁢AiryAi⁡x2−1+c__2⁢2⁢x+1⁢AiryBi⁡1,x2−1+2⁢x2+x−1⁢AiryBi⁡x2−1
Note that references (1)+(2) give complete algorithms that are fully implemented in hypergeometricsols, so if hypergeometricsols fails to find 0F1 or 1F1 type solutions then such solutions do not exist.
L≔3⁢x⁢Dx2+x2+3⁢x+4⁢Dx−x+13
L≔3⁢x⁢Dx2+x2+3⁢x+4⁢Dx−x3−13
ⅇ−112⁢x2−12⁢x⁢x⁢4+x⁢x+4⁢4+x⁢x⁢BesselI⁡43,13+x12⁢4+x⁢x+x2+6⁢x+16⁢BesselI⁡13,13+x12⁢4+x⁢xx16⁢1+x4,ⅇ−112⁢x2−12⁢x⁢−x⁢4+x⁢x−4⁢4+x⁢x⁢BesselK⁡43,13+x12⁢4+x⁢x+x2+6⁢x+16⁢BesselK⁡13,13+x12⁢4+x⁢xx16⁢1+x4
The above example shows it is possible for a small equation to have a complicated pFq type solution. An non-trivial examples with 2F1 solutions
L≔144⁢s⁢x3−s⁢x2+1⁢x−1⁢3⁢x−2⁢Dx2+−1296⁢a⁢s⁢x4+3024⁢a⁢s⁢x3+1080⁢s⁢x4−2304⁢a⁢s⁢x2−2520⁢s⁢x3+576⁢a⁢s⁢x+2016⁢s⁢x2−576⁢s⁢x−216⁢x+288⁢Dx+s⁢3⁢x−23⁢−1+6⁢a⁢6⁢a−5
hypergeom⁡−a2+512,112−a2,12,−s⁢x−1⁢x2,x⁢1−x⁢hypergeom⁡712−a2,1112−a2,32,−s⁢x−1⁢x2,hypergeom⁡−a2+512,112−a2,1−a,s⁢x3−s⁢x2+1,s⁢x3−s⁢x2+1a⁢hypergeom⁡112+a2,512+a2,1+a,s⁢x3−s⁢x2+1
hypergeometricsols returned more than two solutions here because it is not always obvious which 2F1 type solution is best. However, the first two entries will be linearly independent. Here is an example of a Heun type equation that Maple can now also solve in terms of 2F1 solutions:
L≔64⁢x2⁢27⁢x2+14⁢x+3⁢Dx2+48⁢5⁢x+1⁢9⁢x+1⁢x⁢Dx−3⁢b2−9⁢x+12
Turn ON infolevel
infolevelhypergeometricsols≔1
sols≔hypergeometricsols⁡L:
DEtools/hypergeometricsols: "Number of [regular, irregular, apparant] singularities is [4, 0, 0] (Heun Equation)" DEtools/hypergeometricsols: "Exponent difference at regular singularities:" [infinity, 1/12*b], [0, 1/4*b], [RootOf(27*_Z^2+14*_Z+3), 1/2] DEtools/hypergeometricsols: "Trying 2F1 algorithms for common cases." DEtools/hypergeometricsols: "Found non-Louivillian 2F1 solutions"
sols1..2
1−x3b12−14⁢x−b8+38⁢1+143⁢x+9⁢x2b24−18⁢hypergeom⁡−b24+18,58−b24,1−b12,−256⁢x3x−32⁢27⁢x2+14⁢x+3,1−x3−b12−14⁢xb8+38⁢1+143⁢x+9⁢x2−b24−18⁢hypergeom⁡b24+18,58+b24,1+b12,−256⁢x3x−32⁢27⁢x2+14⁢x+3
(1) M. van Hoeij and Q. Yuan. {em Finding all Bessel type solutions for Linear Differential Equations with Rational Function Coefficients}, ISSAC'2010 Proceedings.
(2) R. Debeerst, M. van Hoeij, W. Koepf, Solving Differential Equations in Terms of Bessel Functions, ISSAC'2008 Proceedings.
(3) M. van Hoeij, J-A. Weil, Solving Second Order Linear Differential Equations with Klein's Theorem. ISSAC'2005 Proceedings.
(4) R. Vidunas, G. Filipuk: A Classification of Covering yielding Heun to Hypergeometric Reductions, Funkcialaj Ekvacioj (2013).
(5) M. van Hoeij, V. Kunwar, Classifying (near)-Belyi maps with Five Exceptional Points. Indagationes Mathematicae (2019).
(6) V. Kunwar and M. van Hoeij, Second Order Differential Equations with Hypergeometric Solutions of Degree Three, ISSAC'2013 Proceedings.
(7) E. Imamoglu and M. van Hoeij, Computing Hypergeometric Solutions of Second Order Linear Differential Equations using Quotients of Formal Solutions and Integral Bases, J. of Symbolic Computation, (2017).
The DEtools[hypergeometricsols] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
diffop2de
dsolve
Heun
Download Help Document