test a given integrating factor
mutest(mu, ODE, y(x))
ordinary differential equation
(optional) indeterminate function of the ODE
The mutest command checks whether a given expression is an integrating factor of a given ODE. Similar to odetest, mutest returns 0 when the first argument - say mu - is indeed an integrating factor. Otherwise it returns an algebraic expression obtained after simplifying the Exactness condition. This Exactness condition is obtained by applying Euler's operator (satisfied by total derivatives) to mu times the ODE.
Note however that when the result returned by mutest is not zero, the expression might nevertheless be an integrating factor. In some cases you can obtain the desired 0 with further simplifications by using commands such as expand and combine.
This function is part of the DEtools package, and so it can be used in the form mutest(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[mutest](..).
A first order ODE
An integrating factor for ODE above
Testing this integrating factor
A second order ODE example
Download Help Document
What kind of issue would you like to report? (Optional)