The solution of the differential equation dy/dx + (y/x) = ex is-
Answer & explanation
Correct answer: option 2
The given differential equation is dy/dx + (y/x) = ex
which is of the form dy/dx + py =Q (Where p= 1/x and Q=ex )
Now, I.F. = e∫pdx
I.F. = e∫(dx/x)
So. I.F. = elogx = x.
The solution is given by: y.(I.F.) = ∫Q x(I.F.)dx +C
⇒ y.x = ∫(ex x x) dx +C
so. xy = ex(x-1) +C