The solution of the differential equation x dydx+y=x2+3x+2 is
xy=x33+32x2+2x+c
xy=x44+x3+x2+c
xy=x44+33x2+c
xy=x44+x3+x2+cx
x dydx+y=x2+3x+2⇒dydx+yx=x+32x Here P=1x,Q=x+3+2x, therefore I.F.=e∫ 1xdx=x Now solve it.