I was thinking about differential equations, and came across this one: $$\frac{dy}{dx} = x^y.$$ How do I go about solving it?


As far as I can see this ODE doesn't fall into one of the common classes of ODEs. In order to solve it we can pursue two natural paths

a) numerical solution
b) power series around a suitable point $xp$

Numerical study

In order to get an overwiew let's attact the ODE numerically. The tool used here is Mathematica.

The ODE has a singularity at $x = 0$, and the region of interest for real valued solutions is therefore $x > 0$.

First we look at the Streamplot which shows possible trajectories of solutions.

enter image description here

Next we show some typical numerical solutions. The initial condition was chosen as $y(x=1) = a$.

enter image description here

Notice that numerically the solutions are well behaved in a certain interval $x0 < x < x1$ at the ends of which the solution diverges.

This structure needs further study, preferrably analytical.

Power series

For the time being I leave this as a hint for others.




$\dfrac{dy}{dx}=(e^{\ln x})^y$

$\dfrac{dy}{dx}=e^{y\ln x}$

Let $u=\ln x$ ,

Then $x=e^u$


$\therefore e^{-u}\dfrac{dy}{du}=e^{uy}$


Let $v=y+1$ ,

Then $\dfrac{dv}{du}=\dfrac{dy}{du}$


Let $w=uv$ ,

Then $v=\dfrac{w}{u}$





Let $z=u^2$ ,

Then $\dfrac{dz}{dw}=2u\dfrac{du}{dw}$




Let $s=z+we^{-w}$ ,

Then $z=s-we^{-w}$


$\therefore s\dfrac{ds}{dw}+(w-1)e^{-w}s=2e^{-w}(s-we^{-w})$


This belongs to an Abel equation of the second kind.

  • $\begingroup$ Wow I didn't know you would need soooooooooooooooooo many substitutions for this....... $\endgroup$ – Kw08 Jan 19 '17 at 12:09
  • $\begingroup$ I get it now, what about $\frac{dy}{dx} = y^x$ instead of $x^y$? $\endgroup$ – Kw08 Jan 21 '17 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.