How to reduce the following O.D.E. into first order?
$$(vv_{xxx}-v_{x}v_{xx})g^2 + v^3 v_x = 0, \tag{1}$$ where $v=v(x)$ and $v_{x}$ is the derivative w.r.t $x$, $g$ is a constant. After integration, equation (1) can be written as $$(vv_{xx}-v_{x}^2)g^2+\frac{v^4}{4} - c=0, \tag{2}$$ where $c$ is an integration constant. How to integrate further to get a first order O.D.E.?
Note that $$ v_{xx}=\frac{dv_x}{dx}=\frac{dv_x}{dv}\frac{dv}{dx}=v_x\frac{dv_x}{dv}=\frac{1}{2}\frac{dv_x^2}{dv}$$ Thus the equation (2) can be written as $$(\frac{1}{2}v\frac{dv_x^2}{dv}-v_x^2)g^2+\frac{v^2}{4}-c=0$$ which is a first order ODE about $v_x^2(v)$ and can be solved easily.