The solution of the differential equation dydx+2yx=0 with y(1)=1is given by
y=1x2
y=1y2
x=1y
x=y
Explanation for the correct option
Given: dydx+2yx=0
⇒dydx=-2yx⇒-dy2y=dxx
integrating both sides
⇒-12∫1ydy=∫1xdx⇒-12log(y)=log(x)⇒log1y=2log(x)⇒log1y=log(x2)
taking anti-log to both sides
⇒1y=x2⇒y=1x2
Hence option A is correct.