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

Online Help

All Products    Maple    MapleSim


DEtools

  

muchange

  

change variables in the integrating factor of an ODE

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

muchange(tr, Mu, y(x), [t, u(t)])

Parameters

tr

-

set of transformation equations of the form {x=.., y(x)=..} from the old variables on the left hand side to the new variables on the right hand side

Mu

-

integrating factor of an ordinary differential equation (ODE)

y(x)

-

'dependent variable' of the problem (it can be any unknown function of one variable)

[t, u(t)]

-

(optional) new independent and dependent variables; required when they cannot be inferred from the transformation

Description

• 

The muchange command receives a change of variables, an integrating factor of an ODE, and the dependent variable y(x), and it returns the integrating factor of the problem in the new variables. The change of variables is performed by making calls to dchange, and hence the same extra arguments accepted by dchange are accepted by muchange as well.

• 

The change of variables performed by muchange is complementary to the (same) change of variables performed in the ODE in that, if  is an integrating factor of an ODE in y(x), then their product is a total derivative,

mu*ODE = Diff(R1(x,y(x)),x);

(1)
  

and then, under a change of variables

tr := {x=X(t,u(t)), y(x)=Y(t,u(t))};

(2)
  

where the new variables are {t, u(t)}, the following ODE is also exact:

'muchange(tr, mu, y(x)) * dchange(tr, ODE)' = Diff(R2(t,u(t)),t);

(3)
  

(note however that ).

• 

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

Examples

1. The following nonlinear second order ODE

(4)

has the following integrating factor.

(5)

This integrating factor can be tested using mutest:

(6)

We now change variables

(7)

so that the ODE becomes the following.

(8)

The integrating factor for this transformed ODE can be obtained from the integrating factor of ODE1 as follows:

(9)

(10)

2. muchange works as follows. Consider for instance a first order ODE turned exact by means of an integrating factor

(11)

and now consider the most general point transformation of variables:

(12)

Perform a change of variables in the exact_ODE as a whole:

(13)

The left hand side in the above equation will also be an exact ODE if we multiply it by the denominator of the right hand side:

(14)

The new integrating factor for the transformed ODE is, generally speaking, given by

(15)

It is easy to see that this result is valid irrespective of the differential order of the ODE under consideration.

3. Consider the most general second order ODE having an integrating factor depending on (x, y'); this ODE is given by (see redode)

(16)

(17)

What will be the integrating factor if we interchange the roles of the dependent and independent variables? The related transformation is given by

(18)

The new integrating factor is

(19)

Transform the ODE and test the new integrating factor:

(20)

(21)

(Note that, when testing an integrating factor, mutest tests it against .)

See Also

DEtools[Lie]

DEtools[mutest]

dsolve/Lie

PDEtools[dchange]

 


Download Help Document