hypergeometricsols - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DEtools

  

hypergeometricsols

  

find closed form solutions of hypergeometric type for linear ODEs

 

Calling Sequence

Parameters

Description

Userinfo and singularities

Examples

References

Compatibility

Calling Sequence

hypergeometricsols(lode, v)

Parameters

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

Description

• 

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.

Userinfo and singularities

• 

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).

Examples

withDEtools:

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

_EnvdiffopdomainDx,x:

L2x92x15Dx2+8x+48Dx4x696x5+931x44452x3+10539x212474x+97204x2x32

L2x92x15Dx2+8x+48Dx4x696x5+931x44452x3+10539x212474x+97204x2x32

(1)

hypergeometricsolsL

x4x336x2+141x225BesselI1,x2+4x3+24x263x+27BesselI2,x21x3,x4x3+36x2141x+225BesselK1,x2+4x3+24x263x+27BesselK2,x21x3

(2)

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:

L4x4x34x2+8x1Dx2+16x432x2+36x8Dx+12x3+4x2+12x27

L4x4x34x2+8x1Dx2+16x432x2+36x8Dx+12x3+4x2+12x27

(3)

odediffop2deL,yx

ode12x3+4x2+12x27yx+16x432x2+36x8ⅆⅆxyx+4x4x34x2+8x1ⅆ2ⅆx2yx

(4)

hypergeometricsolsode

20x+5KummerM94,3,x+12x212x+3KummerM54,3,x,20x5KummerU94,3,x+16x216x+4KummerU54,3,x

(5)

All the solutions computable with hypergeometricsols are also computable using the general ODE solver, dsolve

dsolveode

yx=c__112x122KummerM54,3,x+20x+5KummerM94,3,x+c__216x122KummerU54,3,x+20x5KummerU94,3,x

(6)

The following equations can be solved in in terms of Heun functions, and also in terms of pFq functions.

L4x4+Dx2+4x210x+2

L4x4+Dx2+4x210x+2

(7)

hypergeometricsolsL

2x+1AiryAi1,x21+2x2+x1AiryAix21,2x+1AiryBi1,x21+2x2+x1AiryBix21

(8)

odediffop2deL,yx

ode4x4+4x210x+2yx+ⅆ2ⅆx2yx

(9)

Heunsolsode

ⅇx2x233HeunT36234,152,613,x6233,ⅇx2x233HeunT36234,152,613,x6233

(10)

By default, in this case, dsolve uses Heun functions

dsolveode

yx=c__1ⅇ23x3+xHeunT36234,152,613,x6233+c__2ⅇ23x3xHeunT36234,152,613,x6233

(11)

You can use the method specification of dsolve to indicate the preferred functions

dsolveode,Heun

yx=c__1ⅇ23x3+xHeunT36234,152,613,x6233+c__2ⅇ23x3xHeunT36234,152,613,x6233

(12)

dsolveode,hypergeometricsols

yx=c__12x+1AiryAi1,x21+2x2+x1AiryAix21+c__22x+1AiryBi1,x21+2x2+x1AiryBix21

(13)

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.

L3xDx2+x2+3x+4Dxx+13

L3xDx2+x2+3x+4Dxx313

(14)

hypergeometricsolsL

ⅇ112x212xx4+xx+44+xxBesselI43,13+x124+xx+x2+6x+16BesselI13,13+x124+xxx161+x4,ⅇ112x212xx4+xx44+xxBesselK43,13+x124+xx+x2+6x+16BesselK13,13+x124+xxx161+x4

(15)

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

L144sx3sx2+1x13x2Dx2+1296asx4+3024asx3+1080sx42304asx22520sx3+576asx+2016sx2576sx216x+288Dx+s3x231+6a6a5

L144sx3sx2+1x13x2Dx2+1296asx4+3024asx3+1080sx42304asx22520sx3+576asx+2016sx2576sx216x+288Dx+s3x231+6a6a5

(16)

hypergeometricsolsL

hypergeoma2+512,112a2,12,sx1x2,x1xhypergeom712a2,1112a2,32,sx1x2,hypergeoma2+512,112a2,1a,sx3sx2+1,sx3sx2+1ahypergeom112+a2,512+a2,1+a,sx3sx2+1

(17)

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:

L64x227x2+14x+3Dx2+485x+19x+1xDx3b29x+12

L64x227x2+14x+3Dx2+485x+19x+1xDx3b29x+12

(18)

Turn ON infolevel

infolevelhypergeometricsols1

infolevelhypergeometricsols1

(19)

solshypergeometricsolsL:

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

1x3b1214xb8+381+143x+9x2b2418hypergeomb24+18,58b24,1b12,256x3x3227x2+14x+3,1x3b1214xb8+381+143x+9x2b2418hypergeomb24+18,58+b24,1+b12,256x3x3227x2+14x+3

(20)

References

  

(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).

Compatibility

• 

The DEtools[hypergeometricsols] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

DEtools

diffop2de

dsolve

Heun