Hey I am supposed to solve the following differential equation:
$(1-x^{2}y)dx+x^{2}(y-x)dy=0$
I found integrating factor:
$\varphi (x)=-\frac{2}{x}$
So I multiply my original equation and I got: $\left ( \frac{1}{x^{2}} -y\right )dx+\left ( y-x \right )dy=0$
But then I try to integrate it and I got stuck. The answer should be:
$y^{2}-2xy-\frac{2}{x}=C$
Can somebody help me?
Thanks