The general solution of the differential equation ex dy + (y ex + 2x) dx = 0 is

It is given that exdy + (yex + 2x) dx = 0




This is equation in the form of (where, p = 1 and Q = -2xe-x)


Now, I.F. =


Thus, the solution of the given differential equation is given by the relation:


y(I.F.) =




yex = -x2 + C


yex + x2 = C

18