Linear Differential Operators
In Maple, one can work with differential operators by using a subset of the DEtools package. Differential operators in this case are polynomial objects of the form
L≔anx DFn+...+a1x DF+a0x
with the coefficients ai⁡x being rational functions over a field. Here D is an object that satisfies properties such as DF⁡x=1 and DF⁡u⁢v=u⁢DF⁡v+DF⁡u⁢v. One can perform functions on these operators such as multiplying, forming symmetric products, taking one-sided greatest common divisors, factoring, and so on.
This functionality, due to Mark van Hoeij (University of Nijmegen), allows for significant future advances for applications such as finding closed form solutions of linear differential equations. Some applications of this subpackage of DEtools are included below.
We use the with command to allow us to use the short form for the commands in the DEtools package.
Algebraic Operations with Differential Operators
Differential operators are a noncommutative domain with operations such as addition, multiplication, application, and so on. A differential operator L in CxDF is an expression L≔anx DFn+...+a1x DF+a0x, where aix are elements of C(x). An element L in CxDx corresponds to a linear homogeneous differential equation Lyx=0.
Multiplication (see DEtools[mult]) in the ring CxDx corresponds to composition of differential operators. So if L=multf,g, then Lyx=fgyx. In particular, multDF,x=x⋅DF+1.
As examples of the types of algebraic operations you can do, consider the three differential operators:
You can multiply these operators and note that multiplication is noncommutative:
The argument DF,x tells the mult command that the multiplication is over the differential domain specified by DF and x, and so the variables a and b are constants. This can also be set by the environment variable _Envdiffopdomain≔DF,x, if you expect to use the same domain throughout.
The concept of a one-sided lowest common multiple and greatest common divisor exists in such domains. For example,
One can check this by using right or left division. In this case, you have
which in both cases gives a quotient with 0 remainder. You can check the computation by multiplying:
Factorization of Differential Operators
The section contains subsections on closed-form solutions, and on other factorization options.
Building Closed-form Solutions of Differential Equations
Consider the third-order differential equation
One can use factorization of differential operators to find closed form solutions for this ODE. One can convert the equation to a differential operator:
and factor by:
This shows that one factorization (factorizations are not unique) has a right factor given by:
Any solution of the corresponding differential equation is then also a solution to the original homogeneous equation. This results in
The remaining solution can be determined by reduction of order using the above two solutions. This is actually the method used in dsolve to solve the original ODE:
The differential operator
considered as an element of QxDF, is well known not to factor. We can check this by using the DFactor function:
In addition, its differential Galois field is known to be A5SL2. It follows from the work of Singer and Ulmer that the sixth symmetric power of order 7
factors and has factors of order 3 and 4. However, even though it was known what the orders of the factors are, no previous algorithm could actually do the factorization. We now obtain (after some time)
One can check the factorization:
Building of Differential Equations
One can take advantage of the differential operator tools in DEtools to construct solutions of differential equations from known equations. For example,
is a differential operator with Bessel function solutions. Indeed we have
The third symmetric power of df then generates a differential equation that has the power combinations of the above as its solutions. For example,
We can construct products of solutions using the symmetric_product function. For example,
produces an exponential solution. In this case
gives a solution that is the product of solving df and df2.
To create an equation having an exponential solution, we can either explicitly construct operators from exponential equations, or we can use the exterior power operation. If an operator L has a right factor of order n, then the n-th exterior power of L has a right factor of order 1. For example
shows this right-hand factor. This can also be seen with
Return to Index for Example Worksheets
Download Help Document
What kind of issue would you like to report? (Optional)