Consider the general form of a third order linear ODE
For ODEs of third order ODEInvariants returns one invariant
Let's check that the returned invariants are relative invariants in the case of a fourth order linear ODE
By definition, these expressions are relative invariants if when we transform in them the coefficients c[j](x) using
the resulting expressions are of the form , and if next, by replacing F by the identity, we reobtain the departing expressions
So we proceed first transforming these coefficients entering and for that purpose transform ode[4]
To get the transformed coefficients , first isolate u''''
Compute now the coefficients of derivatives of in the transformed equation
Compute now the invariants using these coefficients expressed in terms of the using the formula above
It is visible that each expression is now of the form , and according to the description, the first relative invariant has weight 3 (in the factor ) and the second one has weight 4. Let's verify that at we reobtain the departing expressions ii, proving in that way that the expressions ii are relative invariants
Let's now transform the linear equation ode[4] into a nonlinear one by means of a point transformation
The expressions above depend only on , not on or its derivatives, because this nonlinear ODE above is related - by construction - to a linear ODE (ode[4]) through a point transformation ( used above). Moreover: the invariants are the same as those in ii, of the related linear ode[4]. When the nonlinear ODE cannot be related to a linear ODE through a point transformation, the invariants depend on the dependent variable and perhaps also its derivatives. For example: