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

Online Help

All Products    Maple    MapleSim


DEtools

  

redode

  

return the nth order ODE having a given integrating factor

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

redode(mu, n, y(x), R)

Parameters

mu

-

integrating factor - one or a list of them - depending on ,

n

-

order of the requested ODE

y(x)

-

dependent variable

R

-

(optional) expected reduced ODE depending on  

Description

• 

Given an integrating factor (x,y,..._yn), where  represents the nth order derivative, or a list of them, redode returns the ODE of order n having all the values of mu as integrating factors.

• 

This command is useful to identify the general ODE problem related to a given mu, and to understand the possible links between the integrating factor scheme for reducing the order and other reduction schemes (for example, symmetries).

• 

When the expected reduced ODE, here called R, is also given as argument, its differential order, say , must satisfy . The routine then proceeds as follows. First, it redefines R by differentiating it such that its differential order becomes . Then it performs a test to see if the problem is solvable. The test for solvability is

mu(x,y,`...`,_ym) = nu(x,y,`...`,_y||(m-1))*diff(R(x,y,`...`,_ym),_ym);

(1)
  

for some function . If the problem is solvable, redode then returns an nth order ODE satisfying

mu(x,y,`...`,diff(y(x),x$m)) * ODE=Diff(R(x,y(x),`...`,diff(y(x),x$m)),x);

(2)
  

Note that the reduced ODE being differentiated on the right-hand side is defined up to a constant. For example,  also satisfies the above equation.

• 

When the given mu does not depend on  and R is nonlinear in , the requested nth order ODE exists if R can be solved for ; then nu can be determined as the ratio .

• 

This function is part of the DEtools package, and so it can be used in the form redode(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[redode](..).

Examples

The redode command is interesting mainly as a tool for generating solving schemes for given ODE families; we illustrate this with two examples.

1. Consider the second order ODE family having an integrating factor  -- an arbitrary function -- such that the reduced ODE has the same integrating factor. We want to set up an algorithm such that, given a second order linear ODE,

(3)

where there are no restrictions on , or , the scheme determines if the ODE belongs to the family just described, and if so it also determines . The knowledge of  is enough to completely solve the given ODE.

To start with, we obtain the general first order ODE having  as integrating factor using:

(4)

where  is an arbitrary function. To obtain the second order ODE mentioned above, we pass ode_1 as an argument (playing the role of the reduced ODE) with the integrating factor  to obtain:

(5)

Taking this general ODE pattern as our starting point, we set up the required solving scheme by comparing coefficients in ode_2 and ode_psi obtaining the following expressions.

(6)

(7)

By solving , we get  as:

(8)

and by substituting this result into the second one we get the pattern identifying the ODE family.

(9)

2. Consider the second order ODE family having an integrating factor  -- an arbitrary function -- and the symmetry  (see infgen), and such that the reduced ODE is the most general first order linear ODE:

(10)

where A(x) and B(x) are arbitrary functions. To start with, we obtain the second order ODE mentioned above which has the integrating factor  as in example 1.

(11)

In the previous step, ode_2 is in fact the most general second order linear ODE we can imagine. If we now impose the symmetry condition  (see odepde), where , we arrive at the following restriction on .

(12)

We can solve this ODE for .

(13)

Introducing the result into ode_2 and disregarding the nonhomogeneous term (irrelevant in the solving scheme), we obtain the homogeneous ODE family pattern:

(14)

(15)

where we have set the constant  equal to 1 without loss of generality ( is defined up to a constant factor). To set up a solving scheme here, check if the coefficient of  in a given ODE is related to the coefficient of  as in the equation above, in which case the integrating factor is just .

3. Consider the following three integrating factors of some (unknown) third order ODE:

(16)

The most general third order ODE simultaneously admitting all these integrating factors depends on an arbitrary function of  and can be computed as follows.

(17)

(18)

The test performed above verifies - returning zero - that the given integrating factors (the list mu) indeed turn the returned ODE exact - see mutest.

The number of given integrating factors can be different than the differential order. For example, taking just the first two integrating factors of the previous example, the most general third order ODE turned exact by them actually depends - in addition - on an arbitrary function of two variables, .

(19)

(20)

(21)

See Also

DEtools

DEtools[equinv]

DEtools[intfactor]

DEtools[odeadvisor]

DEtools[symgen]

DEtools[symtest]

dsolve

odetest

PDEtools

PDEtools[dchange]

 


Download Help Document