For the given differential equation find the general solution.
dydx+yx=x2
Given, dydx+yx=x2
On comparing with the form dydx+Py=Q, we get P=1x and Q=x2
∴IF=e∫Pdx=e1xdx⇒IF=elog|x|=x ∵elogx=x
The solution of the given differential equation is given by
y.IF=∫Q×IFdx+C⇒yx=∫x3dx+C⇒yx=x44+C