 convert/ODE - Maple Programming Help

Home : Support : Online Help : Programming : Data Types : Conversion : convert/ODEs

convert/ODE

convert ODEs to other ODEs of different type

 Calling Sequence convert(ODE, TYPE, y(x), keep, simplifier = ...) convert(ODE, y_x, implicit)

Parameters

 ODE - ODE (ordinary differential equation) TYPE - one of: y_x, Riccati, linearODE, NormalForm, Abel, Abel_RNF, FirstKind, SecondKind, DESol, MobiusX, MobiusY, and MobiusR y(x) - dependent variable of the ODE; required only if ODE contains more than one function that is differentiated keep - (optional); specify that the returned ODE contain the same independent and dependent variables as the given ODE simplifier = ... - (optional); specifies a simplifier to be used instead of the default; two shortcuts are available: parfrac and size implicit - avoid the automatic isolation of the highest derivative; valid only if the TYPE parameter has the value ${y}_{x}$

Description

 • The convert ODE routines provide conversion schemes for ordinary differential equations (ODEs) that are frequently used in the literature, or that may be useful for other reasons. As a convention, results are returned as a sequence of two elements: the resulting ODE and the transformation of variables used to obtain it (see the examples below).
 • The conversion schemes available are:
 1 y_x - interchanges the roles between the dependent and independent variable;
 2 NormalForm - rewrites in Normal form linear ODEs (any order) as well as first order Riccati and Abel type ODEs;
 3 Riccati - converts a second order linear ODE to a first order one of Riccati type;
 4 linearODE - converts a first order Riccati type ODE to a second order linear one;
 5 Abel - converts a first order nonlinear ODE to an equivalent Abel ODE when that is possible using some transformations;
 6 Abel_RNF - rewrites an Abel type first order ODE in Rational Normal Form;
 7 FirstKind - rewrites Second Kind Abel ODEs in First Kind form;
 8 SecondKind - rewrites First Kind Abel ODEs in Second Kind form;
 9 MobiusX - converts an arbitrary ODE applying to it a Mobius transformation of the independent variable- say $x$;
 10 MobiusY - converts an arbitrary ODE applying to it a Mobius transformation of the dependent variable- say $y\left(x\right)$;
 11 MobiusR - converts a second order linear ODE into another one by sequentially applying three transformations: Riccati, MobiusY, and linearODE;
 12 DESol - rewrites as a DESol the derivative of a DESol.
 Regarding the conversion to Rational Normal Form of Abel ODEs, note that the returned ODE has rational coefficients if and only if the invariants of the given Abel ODE are rational in the independent variable. For a more powerful approach towards rational coefficients see also DEtools[power_equivalent].

Examples

Example 1. Interchanging the roles between the dependent and independent variables of an ODE

Given an ODE, where the unknown is, say, $y\left(x\right)$, you can always rewrite it considering $y$ and $x=x\left(y\right)$ as the actual independent and dependent variables, changing $\frac{\mathrm{dy}}{\mathrm{dx}}=\frac{\mathrm{dy}}{\mathrm{dx}}$, and so on. The resulting ODE in $\left\{y,x\left(y\right)\right\}$ is the one returned by convert( ode, y_x) and is obtained by applying the transformation

$x\to y\left(x\right),y\left(x\right)\to x$

followed by renaming the variables $\left[x=y,y=x\right]$. This conversion operation can in many situations transform an otherwise difficult problem into an easy one and vice versa. For instance, this nasty Abel type ODE in $y\left(x\right)$

 > ode := diff(y(x),x) = (a+a*y(x)+a*y(x)^2+a*y(x)^3)/((s*x+s)*y(x)+r*x+r);