The general solution of the differential equation \(e^x\, dy + (y\, e^x + 2x)\,dx = 0\) is
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(y\, e^x + x^2 = C\), where C is constant of integration
Rearranging the equation:
\(e^x\,dy + y\,e^x\,dx + 2x\,dx = 0\)
By the product rule, \(d(y\,e^x) = e^x\,dy + y\,e^x\,dx\), so the first two terms form an exact differential:
\(d(y\,e^x) + 2x\,dx = 0\)
Integrating:
\(y\,e^x + x^2 = C\)
The same result follows from the linear form \(\frac{dy}{dx} + y = -2x\,e^{-x}\), whose integrating factor is \(e^x\).