find an ODE for a given expression
FindODE(f, y(x), maxorder, opts)
FindODE(f, D[x], maxorder, opts)
FindODE(f, [Dx,x], maxorder, opts)
dependent variable of the differential equation sought. x is the independent variable.
derivative operator given in indexed type form with index of type name.
list of two names where Dx represents the derivative operator and x is the independent variable
(optional) positive integer representing the maximal order of the ODE sought. Default value: 10.
sequence of optional equations of the form keyword=value; possible keywords are method and destep
destep : a positive integer representing the minimum possible value of the difference between two derivative orders appearing in the computed ODE. Default value: 1.
method : one of default, holonomic, linear or quadratic; specifies the method to be used. method=holonomic looks for a holonomic differential equation; method=linear looks for a linear differential equation with possibly elementary functions as coefficients; method=quadratic looks for a quadratic differential equation.
The DEtools[FindODE] command searches for a homogeneous differential equation of order at most maxorder (at least 10) satisfied by f. There are three general purpose methods applied by default: a method to compute a holonomic ODE, i.e. a linear differential equation with polynomial coefficients. If the maxorder is reached and no holonomic ODE is found then the second method is used. The second method consists of finding a linear differential equation that may have some elementary functions as coefficients. If such an ODE of order at most maxorder is not found then the third method is used. The latter method searches for a quadratic differential equation with polynomial coefficients, i.e. an ODE which contains at most one product of derivatives (the square of a derivative is also included) in its summands. All these three methods can be applied independently by the user through the method keyword. The input f should be a function for which Maple easily manipulates the derivatives. If no ODE is found, then FAIL is returned.
When using the FindODE(f, y(x)) calling sequence, the ODE is returned as an equation in terms of the dependent variable y⁡x, with right-hand side equal to 0.
When using one of FindODE(f,D[x]) and FindODE(f, [Dx,x]) calling sequences, the result is a differential operator in terms of D[x] or Dx, respectively if the underlying differential equation is linear. The differential operator cannot be obtained for quadratic ODEs.
The second argument can be omitted if the environment variable _Envdiffopdomain is assigned a list of two names or an indexed variable with index of type name, in which case the result is given in differential operator notation.
By default, FindODE incrementally searches for an ODE up to order 10. This maximal order can be overridden by specifying the optional third argument, maxorder.
Differential equations for Mathieu's functions can be computed.
The following example is a generating function from the Online Encyclopedia of Integer Sequences (http://oeis.org/A151357).
ogf ≔ ∫∫2⁢hypergeom⁡34,54,2,64⁢x3⁢1+x−4⁢x2+12−4⁢x2+132ⅆxⅆxx2
L ≔ FindODE⁡ogf,Dx,x
_Envdiffopdomain ≔ Dx:
Illustration for the destep option. A useful feature to generate many ODEs for the same holonomic expression.
Illustration for the method option. All the outputs below can be obtained by the default option. However, using a non-default method is usually more efficient.
The tangent function is not holonomic but satisfies both linear and quadratic ODEs.
sec⁡xn does not satisfy a linear ODE with polynomial coefficients but satisfies a quadratic one.
Bertrand Teguia Tabuguia and Wolfram Koepf. "On the representation of non-holonomic power series".arXiv:2109.09574 [cs.SC]. September 2021.
Bertrand Teguia Tabuguia and Wolfram Koepf. Symbolic conversion of holonomic functions to hypergeometric type power series. Computer Algebra issue of the Journal of Programming and Computer Software. February 2022.
Bertrand Teguia Tabuguia. "Power Series Representations of Hypergeometric Type and Non-Holonomic Functions in Computer Algebra". Ph.D. thesis. University of Kassel, Germany. May 2020.
The DEtools[FindODE] command was introduced in Maple 2019.
For more information on Maple 2019 changes, see Updates in Maple 2019.
The DEtools[FindODE] command was updated in Maple 2022.
The D[x] and [Dx,x] parameters were introduced in Maple 2022.
The destep and method options were introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
Download Help Document
What kind of issue would you like to report? (Optional)