dxdy=xy+2x2y2
⇒y−2dxdy−y1⋅x1=2x21
Put −y1=t⇒y21dxdy=dxdt
⇒dxdt+(x1)t=2x21
This is a linear differential equation,
with Integrating Factor : e∫x1dx=eln(x)=x
So, solution of the linear differential equation is tx=∫2x21⋅xdx+C
⇒−yx=21ln(x)+C
The curve passes through (1,2)
⇒−21=21ln(1)+C⇒C=−21
Hence, the particular solution to the differential equation is −yx=21ln(x)−21
⇒yx=21−ln(x)⇒y=1−ln(x)2x
⇒f(21)=1−ln(21)2×21=1+ln(2)1=1+loge(2)1