Given that,(1+x2)dydx+2xy=4x2
Dividing both sides by (1+x2)
⇒dydx+2x1+x2.y=4x2x2
Which is a linear differential equation.
On comparing it with dydx+Py=Q, we get
P=2x1+x2, Q=4x21+x2
IF=e∫pdx=e∫2x1+x2
Put 1+x2=t⇒2xdx=dt
IF=1+x2=e∫dtt=elogt=elog(1−x2)
The general solution is
.y.(1+x2)=∫4x21+x2dx+C
⇒y.(1+x2)=∫4x2dx+C
⇒y.(1+x2)=4x33+C...(i)
Since, the curve passes through origin, then substituting
x=0 and y=0 in Eq. (i), we get
C=0
The required equation of curve is
y(1+x2)=4x33
⇒y=4x33(1+x2)