Solveeit Logo

Question

Question: The solution of the equation \(\frac { d y } { d x } = e ^ { x - y } + x ^ { 2 } e ^ { - y }\) is...

The solution of the equation dydx=exy+x2ey\frac { d y } { d x } = e ^ { x - y } + x ^ { 2 } e ^ { - y } is

A

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

B

ey=ex+2x+ce ^ { y } = e ^ { x } + 2 x + c

C

ey=ex+x3+ce ^ { y } = e ^ { x } + x ^ { 3 } + c

D

y=ex+cy = e ^ { x } + c

Answer

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

Explanation

Solution

dydx=exy+x2ey=ey(ex+x2)\frac { d y } { d x } = e ^ { x - y } + x ^ { 2 } e ^ { - y } = e ^ { - y } \left( e ^ { x } + x ^ { 2 } \right)

eydy=(x2+ex)dxe ^ { y } d y = \left( x ^ { 2 } + e ^ { x } \right) d x

Now integrating both sides, we get ey=x33+ex+ce ^ { y } = \frac { x ^ { 3 } } { 3 } + e ^ { x } + c.