How can i solve the following ODE?
$$y'' y^n + y^{n+1}=1$$
Where $y:=y(x)$ is a differentiable function of $x$ and $y^n := yy ...y$.
Thanks for any help.
How can i solve the following ODE?
$$y'' y^n + y^{n+1}=1$$
Where $y:=y(x)$ is a differentiable function of $x$ and $y^n := yy ...y$.
Thanks for any help.
Transform
$$y''+y=y^{-n},$$
$$y'y''+yy'=y^{-n}y',$$ (provided $y'\ne0$), then integrate $$y'^2+y^2=\frac2{1-n}y^{1-n}+C,$$
and a second time
$$\int\frac{dy}{\sqrt{\frac2{1-n}y^{1-n}+C-y^2}}=x+C'.$$
When $C=3$, there is a nearly human-looking antiderivative https://www.wolframalpha.com/input/?i=integrate+1%2Fsqrt(3-y%5E2-2%2Fy)dy
The differential equation is reduced to a variable sepearble problem as follows on dividing by $y^n$ if $y\neq0$ :$y''+y=y^{-n}\implies\frac{y''}{y^{-n}-y}=1,y^{-n}\neq y$, which is difficult to be integrated further. However, as Yves Daoust has pointed out it can be integrated once by multiplying the original equation by $y'$. Note, however, that $y=1$ trivially satisfies this equation and $y=-1$ satisfies it for odd $n$, which are the singular solutions to this equation.