Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
DEtools[muchange] - change variables in the integrating factor of an ODE
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);
and then, under a change of variables
tr := {x=X(t,u(t)), y(x)=Y(t,u(t))};
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);
(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
has the following integrating factor.
This integrating factor can be tested using mutest:
We now change variables
so that the ODE becomes the following.
The integrating factor for this transformed ODE can be obtained from the integrating factor of ODE1 as follows:
2. muchange works as follows. Consider for instance a first order ODE turned exact by means of an integrating factor
and now consider the most general point transformation of variables:
Perform a change of variables in the exact_ODE as a whole:
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:
The new integrating factor for the transformed ODE is, generally speaking, given by
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)
What will be the integrating factor if we interchange the roles of the dependent and independent variables? The related transformation is given by
The new integrating factor is
Transform the ODE and test the new integrating factor:
(Note that, when testing an integrating factor, mutest tests it against .)
See Also
DEtools[Lie], DEtools[mutest], dsolve/Lie, PDEtools[dchange]
Download Help Document