Solving a first order differential equation involving y and its exponential

508 Views Asked by At

I am trying to solve the differential equation $$y'(x)={2e^{y(x)/x}+\frac{y(x)}{x}}$$ I think it is homogeneous but I have no idea as to how to manipulate this to get it into the required form.

2

There are 2 best solutions below

3
On BEST ANSWER

Hint. Let $z(x)=\exp(y(x)/x)$ then $y(x)=x\ln(z(x))$ and $y'(x)=\ln(z(x))+\frac{xz'(x)}{z(x)}$. Hence the ODE becomes $$\ln(z(x))+\frac{xz'(x)}{z(x)}=2z(x)+\ln(z(x)).$$ That is, after separating variables (note that $z(x)>0$), $$\frac{z'(x)}{z^2(x)}=\frac{2}{x}.$$ Can you take it from here?

0
On

Hint

Start with the clear $y=x z$ to make the equation $$x z'=2e^z$$ which is separable.