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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 16 : Differential Equations

Updates to Differential Equation (DE) Solvers in Maple 16

 

Summary

Ordinary Differential Equations (ODEs)

Partial Differential Equations (PDEs)

Summary

• 

The theme for exact, symbolic Ordinary Differential Equation solving in Maple 16 is the development of new solving methods for 1st, 2nd, and higher order nonlinear ODEs. The new methods extend the ability to solving 1st order Abel and other families of equations, and a number of 2nd and higher order families of equations not admitting point symmetries, or admitting them but in cases where they are of no practical use. The Maple 16 ODE solver keeps pushing the frontier in exact solutions for ODEs. Maple remains the state of the art in computing exact solutions for ODEs with computer algebra software.

– 

For 1st order ODEs, dsolve can additionally solve two new 1-parameter Abel ODE classes and two other entire new ODE classes depending on one arbitrary function that happen to be linearizable through integral transformations.

– 

For each of the 2nd, 3rd, and 4th order ODEs problems, in Maple 16 dsolve can additionally solve two new nonlinear ODE families depending on arbitrary functions.

  

Recalling, each new solvable class of equations includes infinitely many different equations that can be transformed into each other through the transformations of the dependent and independent variables that define the class.

• 

For both Ordinary and Partial Differential Equations, a theme in Maple 16 is a thorough revision of the existing symmetry algorithms and their extension to automatically handle problems involving anticommutative variables. This extension includes the dsolve and pdsolve commands, all the commands of the PDEtools[Library] and many of the symmetry commands in PDEtools, making all this DE functionality be naturally available for the first time for working on problems in Physics that involve anticommutative variables.

Ordinary Differential Equations (ODEs)

  

Using new algorithms, the dsolve command can additionally solve new nonlinear ODE families of order 1st, 2nd, 3rd and 4th, all of them parametrized by arbitrary functions of the independent variable and out of reach in previous Maple releases.

New solvable 1st order nonlinear ODE families

• 

For 1st order ODEs, the simplest problem beyond the reach of complete solving algorithms is known as Abel equations. These are equations of the form

y'=f3y3+f2y2+f1y+f0g1y+g0

  

where yyx is the unknown and the fifix and gjgjx are arbitrary functions of x. The biggest subclass of Abel equations known to be solvable was discovered by our research team and is the AIR 4-parameter class. New in Maple 16, two additional 1-parameter classes of Abel equations, beyond the AIR class, are now also solvable.

  

Examples

PDEtools[declare](y(x), prime=x);

yxwill now be displayed asy

derivatives with respect toxof functions of one variable will now be displayed with '

(1)
  

This equation, of type Abel 2nd kind, depending on one parameter α, is now solved in terms of hypergeometric functions

ode[1] := diff(y(x),x) = -y(x)*(-3+x)*((-9+2*alpha)*y(x)-9)/(x*(54-36*x+6*x^2-3*alpha+2*alpha*x)*y(x)+9*alpha+81-54*x+9*x^2);

ode1y'=y3+x9+2αy9x2αx+6x23α36x+54y+9α+8154x+9x2

(2)

dsolve(ode[1]);

c__1+27xy+322438+y4α+94αα+9LerchPhi2αy9+y+1,1,8α99+2α+3814α2454αy32+27α+9y28243y82αy9y18α99+2α8132+x32y2αy9y16α9+2α92+α92y22α924xy+32y4=0

(3)
  

The related class of Abel equations that is now entirely solvable consists of the set of equations that can be obtained from equation (2) by changing variables

xFx,yP1xy+Q1xP2xy+Q2x

  

where Gx and the four Pix,Qjx are arbitrary rational functions of x; this is the most general transformation that preserves the form of Abel equations and thus generates Abel ODE classes.

• 

The following ODE family depending on an arbitrary function Gx is representative of the next difficult problem beyond Abel equations, that is, a problem involving 4th powers of y in the right-hand side, now under focus

ode[2] := diff(y(x),x) = 1/2*(G(x)^2*y(x)^4-diff(G(x),x)*y(x)^2+x)/G(x)/y(x);

ode2y'=Gx2y4G'y2+x2Gxy

(4)
• 

We solve it here in implicit form to avoid square roots obscuring the solution

sol[2] := dsolve(ode[2], y(x), implicit);

sol2c__1+AiryBixGxy2AiryBi1,xAiryAixGxy2AiryAi1,x=0

(5)

odetest(sol[2], ode[2], y(x));

0

(6)
• 

A generalization of the problem above, solvable in Maple 16, involving an arbitrary function Gy

ode[3] := diff(y(x),x) = 2*G(y(x))*x/(2-D(G)(y(x))*x^2+G(y(x))^2*x^4-2*y(x)*G(y(x))*x^2);

ode3y'=2Gyx2DGyx2+Gy2x42yGyx2

(7)

sol[3] := dsolve(ode[3]);

sol3c__1+Gyx2+2y2ⅇy2+erfiyGyx2+2yπ=0

(8)

odetest(sol[3], ode[3]);

0

(9)

New solvable nonlinear ODE families of 2nd, 3rd, and 4th order

  

Using new algorithms developed by our research team, the dsolve command in Maple 16 can additionally solve two new nonlinear ODE families for each of the 2nd, 3rd and 4th order problems, with the ODE families involving arbitrary functions of the independent (x) or dependent (y) variables.

  

Examples

• 

A 4th order ODE family

ode[4] := diff(y(x), x$4) = 5*y(x)*diff(y(x), x$3) + (10*diff(y(x), x) - 10*y(x)^2-1/x)*diff(y(x), x$2) - 15*y(x)*diff(y(x), x)^2+(10*y(x)^3 + 3/x*y(x))*diff(y(x),x) - y(x)^5 - 1/x*y(x)^3;

ode4y''''=5yy'''+10y'10y21xy''15yy'2+10y3+3yxy'y5y3x

(10)
  

This ODE has no point symmetries; the determining PDE for the symmetry infinitesimals only admits both of them equal to zero:

PDEtools:-DeterminingPDE(ode[4]);

_ηyx,y=0,_ξxx,y=0

(11)
• 

Using new algorithms, this problem is nevertheless solvable in explicit form in terms of Bessel functions

dsolve(ode[4]);

y=x32BesselJ3,2xc__4x32BesselY3,2x2c__3xc__2c__1+c__2x+c__3x2+c__4x2BesselJ4,2x+x2BesselY4,2x

(12)
• 

Another problem not admitting point symmetries, of 3rd order

ode[5] := diff(y(x), x$3) = (4*y(x)-1/x)*diff(y(x), x$2) + 3*diff(y(x), x)^2 + (-6*y(x)^2+3/x*y(x)-x)*diff(y(x), x) + y(x)^4 - 1/x*y(x)^3 + y(x)^2*x - y(x);

ode5y'''=4y1xy''+3y'2+6y2+3yxxy'+y4y3x+y2xy

(13)

dsolve(ode[5]);

y=240c__2xhypergeom13,13,23,23,43,x39+15c__2x4hypergeom43,43,53,53,73,x39480c__3x2hypergeom23,23,1,43,53,x39+16c__3x5hypergeom53,53,2,73,83,x39720MeijerG1,,23,23,13,,x39240xc__1+c__2xhypergeom13,13,23,23,43,x39+c__3x2hypergeom23,23,1,43,53,x39+MeijerG1,1,,23,23,13,0,x39

(14)
• 

A 2nd order nonlinear ODE problem for which point symmetries exist but are of no use for integration purposes (they involve an unsolved 4th order linear ODE).

ode[6] := diff(y(x), x, x) = x*(diff(y(x), x))^3*y(x)+x^2*(x-1)*(diff(y(x), x))^3+(-3*x+1)*(diff(y(x), x))^2;

ode6y''=xy'3y+x2x1y'3+3x+1y'2

(15)

sol[6] := dsolve(ode[6]);

sol6AiryAi14yc__2+AiryBi14yⅇy2` `yⅇ_a2AiryAi14_ac__2+AiryBi14_aⅆ_a+c__1+x=0

(16)

odetest(sol[6], ode[6]);

0

(17)
• 

A 3rd order ODE problem illustrating improvements in existing algorithms: in previous releases this equation was only solved in terms of uncomputed integrals of unresolved RootOf expressions; now the solution is computed explicitly as a rational function

ode[7] := diff(y(x), x$3) + 4*y(x)*diff(y(x), x$2) + 3*diff(y(x), x)^2 + 6*y(x)^2*diff(y(x), x) + y(x)^4 = 0;

ode7y'''+4y''y+3y'2+6y'y2+y4=0

(18)

sol[7] := dsolve(ode[7]);

sol7y=3c__1x2+6c__2x+6c__3c__1x3+3c__2x2+6c__3x+6

(19)

odetest(sol[7], ode[7]);

0

(20)
• 

dsolve can now solve ODEs that involve anticommutative variables set using the Physics package using the approach explained in PerformOnAnticommutativeSystem.

with(Physics, Setup);

Setup

(21)
• 

Set first θ and Q as suffixes for variables of type/anticommutative (see Physics[Setup])

Setup(anticommutativepre = {theta, Q});

* Partial match of 'anticommutativepre' against keyword 'anticommutativeprefix'

_______________________________________________________

anticommutativeprefix=Q,θ

(22)
• 

Consider this ordinary differential equation for the anticommutative function Q of a commutative variable x

diff(Q(x), x, x) - Q(x)*diff(Q(x), x) = 0;

Q''QxQ'=0

(23)
• 

Its solution using dsolve involves an anticommutative constant _lambda1, analogous to the commutative constants c__1

dsolve((23));

Qx=tanc__1_λ1c__2+x22c__1_λ12

(24)

Partial Differential Equations (PDEs)

  

Many of the commands in PDEtools can now naturally handle anticommutative variables, these are: D_Dx, DeterminingPDE, dsubs, Eta_k, FromJet, FunctionFieldSolutions, InfinitesimalGenerator, Infinitesimals, InvariantSolutions, PolynomialSolutions, ReducedForm, ToJet as well as all the routines within the PDEtools[Library]. This makes it possible to tackle super PDE problems, that is, PDE systems involving anticommutative functions and variables. In addition, this permits the use of the PDE mathematical tools with the Physics package. (Related to these developments, see also the new Physics commands Coefficients, ToFieldComponents, ToSuperfields and PerformOnAnticommutativeSystem.)

  

During the development of this generalization of PDEtools commands to handle anticommutative variables, the symmetry ones were also improved in a number of places, all this setting a new benchmark for the state-of-the-art in symmetry analysis and computation of exact solutions for partial differential equations.

Examples

• 

Both dsolve and pdsolve can now solve PDEs that involve anticommutative variables set using the Physics package using the approach explained in PerformOnAnticommutativeSystem.

withPDEtools,withPhysics:

  

Set first θ and Q as suffixes for variables of type/anticommutative (see Physics[Setup])

Setupanticommutativepre=Q,θ

* Partial match of 'anticommutativepre' against keyword 'anticommutativeprefix'

_______________________________________________________

anticommutativeprefix=Q,θ

(25)
  

Consider this partial differential equation for the anticommutative function Q of commutative and anticommutative variables x,θ

diffQx,y,θ,x,θ=0

Qx,θ=0

(26)
  

Its solution using pdsolve

pdsolve

Qx,y,θ=f__2x,y_λ2+f__4yθ

(27)
  

Note the introduction of an anticommutative constant _lambda2, analogous to the commutative constants _Cn where n is an integer. The arbitrary functions _Fn introduced are all commutative as usual and the Grassmannian parity (on right-hand-side if compared with the one on the left-hand-side) is preserved

Physics:-GrassmannParity

1=1

(28)
  

A PDE system example with one unknown anticommutative function Q of four variables, two commutative and two anticommutative; to avoid redundant typing in the input that follows and redundant display of information on the screen, use PDEtools:-declare, and PDEtools:-diff_table, that also handles anticommutative variables by automatically using Physics:-diff when Physics is loaded

PDEtools:-declareQx,y,θ1,θ2

Qx,y,θ1,θ2will now be displayed asQ

(29)

qPDEtools:-diff_tableQx,y,θ1,θ2:

  

Now we can enter derivatives directly as the function's name indexed by the differentiation variables and see the display the same way; two PDEs

pde1qx,y,θ1+qx,y,θ2qy,θ1,θ2=0

pde1Qx,y,θ1+Qx,y,θ2Qy,θ1,θ2=0

(30)

pde2qθ1=0

pde2Qθ1=0

(31)
  

The solution to this system:

pdsolvepde1,pde2

Q=f__4x,y_λ3+f__9x+f__8yθ2

(32)
• 

The dsubs command also works with anticommutative variables, though natively without using the approach explained in PerformOnAnticommutativeSystem. By inspection, it is clear that the derivatives in pde[2] can be substituted in pde[1] reducing the problem to a simpler one:

dsubspde2,pde1

Qx,y,θ2=0

(33)

pdsolve

Q=f__4x,y_λ3+f__12x,yθ1+f__9x+f__8yθ2+f__11x+f__10y_λ4θ1θ2

(34)
  

Substituting this result for Q back into pde[2], then multiplying by θ1 and subtracting from the above also leads to the PDE system solution.

  

Using differential elimination techniques and the approach explained in PerformOnAnticommutativeSystem, ReducedForm in this example arrives at the same result as dsubs

PDEtools:-ReducedFormpde1,pde2

Qx,y,θ2where

(35)
  

Another command updated to handle anticommutative variables via PerformOnAnticommutativeSystem is casesplit; with this linear system in Q and its derivatives it returns

casesplitpde1,pde2

Qx,y,θ2=0,Qθ1=0where

(36)
• 

With the core functionality in place, most the symmetry commands that work on top can now also handle anticommutative variables, most of them natively, without going through PerformOnAnticommutativeSystem.

  

Set for instance the generic form of the infinitesimals for a PDE system like this one formed by pde[1] and pde[2]. For this purpose, we need anticommutative infinitesimals for the dependent variable Q and two of the independent variables, θ1 and θ2; we use here the capital greek letters Ξ and Η for the anticommutative infinitesimal symmetry generators and the corresponding lower case greek letters for commutative ones

Setupanticommutativepre=Η,Ξ,additionally

* Partial match of 'anticommutativepre' against keyword 'anticommutativeprefix'

_______________________________________________________

anticommutativeprefix=Η,Q,Ξ,_λ,θ

(37)

Sξ1,ξ2,Ξ1,Ξ2,Ηx,y,θ1,θ2

Sξ1x,y,θ1,θ2,ξ2x,y,θ1,θ2,Ξ1x,y,θ1,θ2,Ξ2x,y,θ1,θ2,Ηx,y,θ1,θ2

(38)

PDEtools:-declareS

Ηx,y,θ1,θ2will now be displayed asΗ

Ξx,y,θ1,θ2will now be displayed asΞ

ξx,y,θ1,θ2will now be displayed asξ

(39)
  

The corresponding InfinitesimalGenerator

InfinitesimalGeneratorS,Qx,y,θ1,θ2

fξ1x,y,θ1,θ2ⅆfⅆx+ξ2x,y,θ1,θ2ⅆfⅆy+Ξ1x,y,θ1,θ2ⅆfⅆθ1+Ξ2x,y,θ1,θ2ⅆfⅆθ2+Ηx,y,θ1,θ2ⅆfⅆQ

(40)
  

The table-function that returns the prolongation of the infinitesimal for Q is computed with Eta_k, assign it here to the lower case η to use more familiar notation (recall q=Qx,y,θ1,θ2)

ηEta_kS,q

ηη

(41)
  

The first prolongations of η with respect to x and  θ1

ηQ,x

Ηxξ1xQxξ2xQyQθ1Ξ1xQθ2Ξ2x

(42)

ηQ,θ1

Ηθ1+Qxξ1θ1+Qyξ2θ1Qθ1Ξ1θ1Qθ2Ξ2θ1

(43)
  

The second mixed prolongations of η with respect to x,y and  x,θ1

ηQ,x,y

Ηx,yξ1x,yQxξ2x,yQyQθ1Ξ1x,yQθ2Ξ2x,yξ1yQx,xξ2yQx,yQx,θ1Ξ1yQx,θ2Ξ2yξ1xQx,yξ2xQy,yQy,θ1Ξ1xQy,θ2Ξ2x

(44)

ηQ,x,θ1

Ηx,θ1+Qxξ1x,θ1+Qyξ2x,θ1Qθ1Ξ1x,θ1Qθ2Ξ2x,θ1+Qx,xξ1θ1+Qx,yξ2θ1Qx,θ1Ξ1θ1Qx,θ2Ξ2θ1Qx,θ1ξ1xQy,θ1ξ2xQθ1,θ2Ξ2x

(45)
• 

The DeterminingPDE for this system

DeterminingPDEpde1,pde2,S

ξ2θ1=0,ξ2θ2=0,ξ1θ1,θ2θ1ξ1θ2=0,ξ1θ1+ξ1θ1,θ2θ2=0,θ1ξ1y,θ1θ2ξ1y,θ2+ξ1y=0,θ1ξ2x,θ1θ2ξ2x,θ2+ξ2x=0,θ1ξ1x,x,θ1θ2ξ1x,x,θ2+ξ1x,x=0,Ξ1xΞ1x,θ2θ2Ξ1x,θ1θ1=0,Ξ2xΞ2x,θ2θ2Ξ2x,θ1θ1=0,Ηθ1=0,Ηθ1,θ2=0,Ξ1θ1,θ2=0,Ξ2θ1,θ2=0,ξ1θ1,θ2=0,ξ2θ1,θ2=0,Ξ2x,θ2=0,Ξ2y,θ2=0,Ηx,y,θ2=0,Ξ1θ1=θ1ξ1x,θ1θ2ξ1x,θ2+ξ1x,Ξ1θ2=Ξ2θ2+θ1ξ1x,θ1+θ2ξ1x,θ2ξ1x,Ξ2θ1=0

(46)
  

To compute now the exact form of the symmetry infinitesimals you can either solve this PDE system for the commutative and anticommutative functions using pdsolve, or directly pass the system to Infinitesimals that will perform all the steps automatically

pdsolve

Η=f__8x,y_λ5+f__32x+f__31yθ2,Ξ1=f__28y_λ7+c__2θ1+c__1c__2θ2,Ξ2=f__29y_λ9+c__1θ2,ξ1=c__2x+c__3,ξ2=f__30y

(47)
  

Substituting into S, you get the symmetry infinitesimal lists

c__2x+c__3,f__30y,f__28y_λ7+c__2θ1+c__1c__2θ2,f__29y_λ9+c__1θ2,f__8x,y_λ5+f__32x+f__31yθ2

(48)
• 

Infinitesimals also works with anticommutative variables natively; the related result comes specialized

Infinitesimalspde1,pde2,q,S

1,f__34y,f__33y_λ7,f__2y_λ9,f__35x,y_λ5+f__12x+f__4yθ2,x,f__9y,f__36y_λ7+θ1θ2,f__8y_λ9,f__37x,y_λ5+f__11x+f__10yθ2,0,f__40y,f__38y_λ7+θ2,f__39y_λ9+θ2,f__43x,y_λ5+f__42x+f__41yθ2

(49)
  

To verify this result you can use SymmetryTest - it also handles anticommutative variables natively.

mapSymmetryTest,,pde1,pde2

0,0,0

(50)
  

To see these three list of symmetry infinitesimals with a label in the left-hand-side, you can use map

map3zip,`=`,S,

ξ1=1,ξ2=f__34y,Ξ1=f__33y_λ7,Ξ2=f__2y_λ9,Η=f__35x,y_λ5+f__12x+f__4yθ2,ξ1=x,ξ2=f__9y,Ξ1=f__36y_λ7+θ1θ2,Ξ2=f__8y_λ9,Η=f__37x,y_λ5+f__11x+f__10yθ2,ξ1=0,ξ2=f__40y,Ξ1=f__38y_λ7+θ2,Ξ2=f__39y_λ9+θ2,Η=f__43x,y_λ5+f__42x+f__41yθ2

(51)

See Also

PDEtools

Physics

Index of New Maple 16 Features