Introduction Not implemented yet. The above section showed how to solve the ode \(F\left ( x,y,y^{\prime },y^{\prime \prime }\right ) =0\) once it is determined it is exact as is, which is by finding the first integral \(R\). But the real problem is what to do if the ode is not exact as is?. Given the second order nonlinear ode\[ F\left ( x,y,y^{\prime },y^{\prime \prime }\right ) =0 \] Which is not exact as is (using the earlier test shown), then we need to either find an integrating factor \(\mu \) to make it exact (this integrating factor might or might not exist) or try to find the first integral directly without finding an integrating factor first. There are few papers that show how to do this for some types of nonlinear second order odes.

Using an integrating factor approach, If we are able to find \(\mu \), then the ode can now be solved as type "second order integrable as is" or as type "exact nonlinear second order ode" as shown in the above section. (need to merge these types).

As mentioned earlier, an ode \(F\left ( x,y,y^{\prime },y^{\prime \prime }\right ) =0\) is called exact if there exists a function \(R\left ( x,y,y^{\prime }\right ) \) (called first integral) with order one less than the order of the ode, such that \[ F\left ( x,y,y^{\prime },y^{\prime \prime }\right ) =\frac {d}{dx}R\left ( x,y,y^{\prime }\right ) \] If the ode is not exact, then we need to find an integrating factor of any of these forms \(\mu \left ( x\right ) ,\mu \left ( y\right ) ,\mu \left ( y^{\prime }\right ) ,\mu \left ( x,y\right ) ,\mu \left ( x,y^{\prime }\right ) ,\mu \left ( y,y^{\prime }\right ) \) such that \(\mu F\left ( x,y,y^{\prime },y^{\prime \prime }\right ) \) is now exact and hence \[ \mu F\left ( x,y,y^{\prime },y^{\prime \prime }\right ) =\frac {d}{dx}R\left ( x,y,y^{\prime }\right ) \] The main difficulty is how to find \(\mu \). Few papers were written on this (but I found them all not very clear as they give no examples).

Finding \(\mu \) with first order ODE is easy. But not so easy with second order ode’s. Note that in the above, an integrating factor of the form \(\mu =\mu \left ( x,y,y^{\prime }\right ) \) will not be considered as finding such an integrating factor requires solving a pde which is harder than solving the original ode. There two relations are important in order to find \(\mu \)\begin {align} R & =G\left ( x,y\right ) +\int \mu dy^{\prime }\tag {1}\\ & =G\left ( x,y\right ) +\int \mu dp\nonumber \end {align}

Where \(p=y^{\prime }\) and \(G\) is some function to be determined. As was derived in the introduction of the earlier section, we also have the relation\begin {equation} R_{x}+y^{\prime }R_{y}+\Phi R_{y^{\prime }}=0 \tag {2} \end {equation}