return the determining PDE system for either the coefficients of the symmetry generator or the integrating factor
gensys(ODE, [_xi = f(x, y, ..), _eta = g(x, y, ..)], y(x))
gensys(ODE, _mu = f(x, y, ..), y(x))
ODE (ordinary differential equation)
(optional) list containing the infinitesimal; right hand sides may be functions or algebraic expressions
(optional) equation where the right hand side may be a function or an algebraic expression
(optional) required if the ODE has derivatives of more than one function
Given an ODE, gensys returns the determining PDE system related to either its symmetries or its integrating factors, depending on the second argument. This command is typically used together with other commands to determine symmetries and integrating factors for ODEs. gensys first calls odepde to get the determining PDE and then splits it -- when possible -- by taking coefficients with respect to the derivatives of the dependent variable.
Concerning the optional second argument, gensys works like odepde; this second argument may be either an explicit form for the symmetry or the integrating factor to be taken into account at the time of calculating the determining PDE.
This function is part of the DEtools package, and so it can be used in the form gensys(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[gensys](..).
y⁡x⁢will now be displayed as⁢y
derivatives with respect to⁢x⁢of functions of one variable will now be displayed with '
1. Determine if an integrating factor of the form μ⁡x,y exists for the second order nonlinear ODE
ODE ≔ ⅆ2ⅆx2⁢y⁡x=−ⅇx⁢ⅆⅆx⁢y⁡x⁢x⁢y⁡x2+y⁡x2−ⅆⅆx⁢y⁡x⁢xx⁢y⁡x2⁢ⅇx
and if so, determine the integrating factor itself.
Set up the determining PDE system for these integrating factors (gensys enters in this step), then try to simplify it (perhaps using casesplit), then try to solve it. The determining PDE system is set up as follows:
This system (each equation above is assumed to be equal to zero) has four equations,
and by taking into account their integrability conditions it is simplified to
Thus, mu does not depend on y and the remaining equation leads to
Note that this result can be tested using mutest
and can be used to obtain a first integral (that is, to reduce the order of ODE).
First integrals can be tested using firtest.
2. Determine if an integrating factor of the form mu⁡y,y'⁢ exists for the same second order ODE.
So this ODE has no integrating factor of the form mu⁡y,y'⁢.
3. Determine whether or not this ODE has point symmetries.
Set the determining system for the coefficients of the infinitesimal symmetry generator (so-called "infinitesimals") as follows:
(in above, [_xi = xi(x,y), _eta = eta(x,y)] also works). This system consists of 4 equations,
and in simplifying these equations by taking into account their integrability conditions one obtains
showing that this ODE has no point symmetries.
Download Help Document