Topper Copies

Solve $y \log y\,dx-(x-\log y)\,dy=0$

Divyank Gupta, AIR 21, 2024

Let $y=e^z$ then $dy=e^z dz$

Substituting in given equation we get

$e^z\cdot z\,dx-(x-z)\,de^z\cdot dz=0$

$\Rightarrow e^z\left[z\,dx-x\,dz+z^2 dz\right]=0$

$z\,dx-x\,dz=-z^2 dz$

$\Rightarrow \dfrac{z\,dx-x\,dz}{z^2}=-\dfrac{dz}{z}$

$\Rightarrow d\left(\dfrac{x}{z}\right)=-\dfrac{dz}{z}$

Integrating both side we get

$\dfrac{x}{z}=-\log z+\log c$

$\Rightarrow \log z=\log c-\dfrac{x}{z}$

$\Rightarrow z=c\,e^{-x/z}$

$\Rightarrow \log y = c\cdot e^{-\frac{x}{\log y}}$