We have, (xy−x2)dxdy=y2 ⇒y2dydx=xy−x2⇒x21dydx−x1.y1=y2−1
Putting x1=u so that x2−1dydx=dydu
We obtain dydu+yu=y21. Which is linear. I.F.=e∫y1dy=elogy=y
Hence the solution is uy=∫y21.ydy+C
orxy=logy+C or y=x(logy+C)
This passes through the point (−1,1), ∴1=−1(log1+C)i.eC=−1
Thus, the equation of the curve is y=x(logy−1).