The differential equation: (4+x2)dy−2x(x2+3y+4)dx=0 can be rewritten in the form (4+x2)dxdy=2x3+6xy+8x. Dividing by 4+x2 yields dxdy−4+x26xy=4+x22x3+8x=2x.
Now the integrating factor corresponds to P(x)=−4+x26x, so that ∫Pdx=−3ln(4+x2) and hence IF=e−3ln(4+x2)=(4+x2)−3.
Substituting this into the equation gives y⋅(4+x2)−3=∫2x⋅(4+x2)−3dx. Letting u=4+x2 and noting that du=2xdx transforms the integral into ∫u−3du=−2u−2=2(4+x2)2−1+C. This yields (4+x2)3y=2(4+x2)2−1+C and therefore y=2−(4+x2)+C(4+x2)3.
Applying the initial condition y(0)=0 gives 0=2−4+C⋅64=−2+64C, from which C=321.
Finally, evaluating at x=2 yields y(2)=2−(4+4)+321(4+4)3=−4+32512=−4+16=12. The answer is 12.