Ordinary and Partial Differential Equations
Maple is the world leader in finding exact solutions to ordinary and partial differential equations. Maple 2021 extends that lead even further with new algorithms and techniques for solving more ODEs and PDEs. For Maple 2021, there are significant improvements in dsolve for the exact solution of 2ndorder linear ODEs using hypergeometric functions. The algorithms implemented are at the frontier of the understanding of this problem, and handle classes of extended equations with apparent singularities as well as the most common linear equations with 4 and 5 singularities.
For ODEs and PDEs, the LieAlgebrasOfVectorFields package in Maple 2021 has a new command MapDE , for analyzing the possible linearization of polynomially nonlinear equations, and determining the corresponding mapping when it exists, allowing in that way for the computation of more approximate and exact solutions.
The new Student[ODEs] package covers the material in a standard first course in ODEs and provides step-by-step tools for solving ODEs as well as interactive visualization. For details, see Student Packages.
Advanced type of Hypergeometric solutions for 2nd order linear ODEs
Linearization of polynomially nonlinear ODE and PDE
When they exist, 2F1, 1F1 and 0F1 hypergeometric solutions for 2ndorder linear ODEs are now computable in a rather general case. An equation with 3 regular singularities and any number of apparent singularities can now be solved in terms of 2F1 equations using the algorithms presented in (6) and (7). Likewise, an equation with 2 or 1 singularities, one of which is irregular, can now be solved in general using 1F1 and 0F1 hypergeometric functions using the algorithms presented in (1), (2) and (3). Common equations with up to 5 regularities (plus any number of apparent singularities) can now be solved using mappings and the tables from references (4) and (5). All this significantly extends the previous capabilities in solving linear equations, and also of higher order and nonlinear ODE and PDE that through a reduction or symmetry process require the solving of intermediate 2ndorder linear ODEs.
The new algorithms are now automatically used by dsolve and also accessible through a new DEtools command, hypergeometricsols.
Examples
Despite the powerful algorithms for hypergeometric solutions of previous Maple releases, none of the following examples could be solved. Now they can. This equation admits 2F1 solutions where the argument is polynomial in x of degree 3
ode__1≔ⅆ2ⅆx2yx=1296⁢a−56⁢x2+−4⁢a3+109⁢x+4⁢a9−49⁢x⁢x−1⁢b+216⁢x−288432⁢x−23⁢1+b⁢x−1⁢x2⁢x−1ⅆⅆxyx−9⁢a−56⁢a−16⁢x−232⁢b4⁢1+b⁢x−1⁢x2⁢x−1 yx:
dsolveode__1
y⁡x=_C1⁢F12⁡112−a2,−a2+512;12;−b⁢x−1⁢x2+_C2⁢x⁢1−x⁢F12⁡712−a2,1112−a2;32;−b⁢x−1⁢x2
Verify this solution
odetest,ode__1
0
This other equation admits solutions in terms of modified Bessel functions of the first and second kind
ode__2≔ⅆ2ⅆx2yx=8⁢x−482⁢x−9⁢2⁢x−15ⅆⅆxyx+4⁢x6−96⁢x5+931⁢x4−4452⁢x3+10539⁢x2−12474⁢x+97204⁢x2⁢x−32⁢2⁢x−9⁢2⁢x−15 yx:
dsolveode__2
y⁡x=_C1⁢x⁢4⁢x3−36⁢x2+141⁢x−225⁢I1⁡x2+−4⁢x3+24⁢x2−63⁢x+27⁢I2⁡x2x−3+_C2⁢x⁢−4⁢x3+36⁢x2−141⁢x+225⁢K1⁡x2+−4⁢x3+24⁢x2−63⁢x+27⁢K2⁡x2x−3
Moreover, note that each independent solution involves a linear combination of functions. Indeed, while Bessel (or more generally, 0F1) solutions are related to equations with 1 singularity of irregular kind, this example has other regular singularities:
DEtoolssingularitiesode__2
regular=0,3,92,152,irregular=∞
thus requiring the use of a linear combination of pFq functions to construct a solution. A similar situation happens with the next example where, due to the presence of apparent singularities, a linear combination of - this time 1F1 - hypergeometric functions (KummerM and KummerU) is required to solve the problem
ode__3≔ⅆ2ⅆx2yx=16⁢x4+32⁢x2−36⁢x+816⁢x4−16⁢x3+32⁢x2−4⁢xⅆⅆxyx−12⁢x3+13⁢x2+x−9416⁢x4−16⁢x3+32⁢x2−4 x y⁡x:
dsolveode__3
y⁡x=_C1⁢12⁢x−122⁢M⁡54,3,x+−20⁢x+5⁢M⁡94,3,x+_C2⁢16⁢x−122⁢U⁡54,3,x+20⁢x−5⁢U⁡94,3,x
In addition to computing new solutions out of reach in previous releases, when the linear ODE is of Heun type, so it has 4 regular singularities or one of its confluent cases, and it happens to be one of the special Heun function cases that can be expressible using hypergeometric functions, both kinds of solutions are now computable. This equation is of the Heun triconfluent type
ode__4 ≔ ⅆ2ⅆx2yx = 4 x4−4 x2+10 x−2⁢yx:
The algorithms in dsolve perceive that and solve it accordingly
dsolveode__4
y⁡x=_C1⁢ⅇ−23⁢x3+x⁢HT⁡3⁢6234,−152,−613,x⁢6233+_C2⁢ⅇ23⁢x3−x⁢HT⁡3⁢6234,152,−613,−x⁢6233
By using the option of indicating the method, a solution in terms of linear combinations of Airy functions (of the 0F1) is now also computable
dsolveode__4,hypergeometricsols
y⁡x=_C1⁢2⁢x+1⁢Ai′⁡x2−1+2⁢x2+x−1⁢Ai⁡x2−1+_C2⁢2⁢x+1⁢Bi′⁡x2−1+2⁢x2+x−1⁢Bi⁡x2−1
To express this solution in terms of the more general 0F1 form you can use
convert,hypergeom
y⁡x=_C1⁢2⁢x+1⁢−3⁢316⁢Γ⁡232⁢F10⁡;13;−−x2+139π+x2−12⁢313⁢F10⁡;53;−−x2+1396⁢Γ⁡23+2⁢x2+x−1⁢313⁢F10⁡;23;−−x2+1393⁢Γ⁡23−x2−1⁢316⁢Γ⁡23⁢F10⁡;43;−−x2+1392⁢π+_C2⁢2⁢x+1⁢3⁢323⁢Γ⁡232⁢F10⁡;13;x2−139π+356⁢x−12⁢x+12⁢F10⁡;53;x2−139⁢x−1⁢x+16⁢x2−6⁢Γ⁡23+2⁢x2+x−1⁢356⁢F10⁡;23;−−x2+1393⁢Γ⁡23+323⁢x2−1⁢Γ⁡23⁢F10⁡;43;−−x2+1392⁢π
A similar situation, this time with regards to this equation of the Heun biconfluent class
ode__5≔ⅆ2ⅆx2yx=−x2+3⁢x+43⁢xⅆⅆxyx+x+19⁢x y⁡x:
dsolveode__5
y⁡x=_C1⁢HB⁡13,6,−3,14⁢69,6⁢x6⁢ⅇ−x⁢x+66+_C2⁢HB⁡−13,6,−3,14⁢69,6⁢x6⁢ⅇ−x⁢x+66x13
The solution is expressible in terms of linear combinations of modified Bessel functions of the 1st and 2nd kinds
dsolveode__5,hypergeometricsols
y⁡x=_C1⁢ⅇ−x⁢x+612⁢x2+6⁢x+16⁢I13⁡4+x⁢4+x⁢x12+4+x⁢4+x⁢x⁢I43⁡4+x⁢4+x⁢x124+x⁢x16+_C2⁢ⅇ−x⁢x+612⁢x2+6⁢x+16⁢K13⁡4+x⁢4+x⁢x12−4+x⁢4+x⁢x⁢K43⁡4+x⁢4+x⁢x124+x⁢x16
The following example is of the same kind but more general: it belongs to the Heun general class, but again it is one of those special cases where pFq function solutions exist, in this case 2F1 with rational coefficients
ode__6≔ⅆ2ⅆx2yx=−3⁢45⁢x2+14⁢x+14⁢x⁢27⁢x2+14⁢x+3ⅆⅆxyx+3⁢x+12⁢b−3⁢b+364⁢x2⁢27⁢x2+14⁢x+3 yx:
dsolveode__6
y⁡x=_C1⁢HG⁡−4⁢I⁢2+74⁢I⁢2+7,45927⁢b+4⁢−I⁢2⁢b14−3⁢b28−1514⁢1904⁢I⁢2−5983+I⁢b2+10⁢I⁢b+51⁢I7⁢2+17⁢b256+85⁢b28−484⁢I⁢2