test a given symmetry
symtest(sym, ode, y(x))
list of the coefficients of a symmetry generator
ordinary differential equation
(optional) indeterminate function of the ODE
The symtest command checks whether a given pair of infinitesimals (coefficients of the symmetry generator) leave the given ODE invariant; that is, whether the given "symmetry" is actually a symmetry of the ODE. Similar to odetest, symtest returns 0 when the result is valid or returns an algebraic expression obtained after simplifying the PDE for the infinitesimals associated with the given ODE.
If the result returned by symtest is not zero, the symmetry is not necessarily wrong. Sometimes, with further simplification, you can obtain the desired 0 using commands such as expand, combine, and so on.
This function is part of the DEtools package, and so it can be used in the form symtest(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[symtest](..).
An ODE with an arbitrary function F
ode ≔ ⅆⅆx⁢y⁡x=F⁡y⁡x−x⁢ln⁡xx+ln⁡x
A pair of infinitesimals for the ODE above
sym ≔ symgen⁡ode
Testing these infinitesimals
A second order ODE
ode ≔ ⅆ2ⅆx2⁢y⁡x=1⁢_F1⁡ⅆⅆx⁢y⁡x⁢xy⁡x⁢y⁡xx2
Download Help Document
What kind of issue would you like to report? (Optional)