The correct option is C xy=−lnx+C
dydx−yx=y2x2 Isn’t this equation of the same form as dydx+P(x)y=Q(x)yn with P(x)=−1xQ(x)−=1x2 and n=2
This we know is the form of differential equation and we proceed by dividing by yn. i.e., y2 in this case.
Dividing both sides by y2 we get.
1y2dydx−1xy=1x2
Put y−n+1=1 i.e.,1y=t
−1y2dydx=dtdx
The given differential equation becomes
−dtdx−tx=1x2
dtdx+tx=−1x2. which is a linear differential equation in dtdx.
I.F.=e∫1xdx=elnx=x.
General solution is
tx=∫−1x2xdx+Ctx=−lnx+C.xy=−lnx+C.