Skip to main contentSkip to solution

The general solution of the differential equation dydx=ex−y+x2e−y\frac{dy}{dx} = e^{x-y} + x^2e^{-y} is equal to:

Solution

✅ Correct Option: 1

Given equation: dydx=ex−y+x2e−y\frac{dy}{dx} = e^{x-y} + x^2e^{-y}

Using exponent rules, ex−y=ex⋅e−ye^{x-y} = e^x \cdot e^{-y}:

dydx=ex⋅e−y+x2⋅e−y\frac{dy}{dx} = e^x \cdot e^{-y} + x^2 \cdot e^{-y}


Factoring out e−ye^{-y}:

dydx=e−y(ex+x2)\frac{dy}{dx} = e^{-y}(e^x + x^2)


Separating variables:

ey dy=(ex+x2) dxe^y \, dy = (e^x + x^2) \, dx


Integrating both sides:

∫ey dy=∫(ex+x2) dx\int e^y \, dy = \int (e^x + x^2) \, dx

ey=ex+x33+ce^y = e^x + \frac{x^3}{3} + c

where cc is the constant of integration.


Therefore, the general solution is ey=ex+x33+ce^y = e^x + \frac{x^3}{3} + c

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question