Find the integrating factor of the differential equation: $$(x^2y-2xy^2)\,dx+(x^3-3x^2y)\,dy=0$$
What I tried:
This is a homogeneous equation.
Therefore,
$$I.F=\frac{1}{Mx+Ny}=\frac{1}{(x^2y-2xy^2)x+(x^3-3x^2y)y}=\frac{1}{x^3y-2x^2y^2+x^3y-3x^2y^2}$$
However, the given answer is:
$$I.F=\frac{1}{x^2y^2}$$