What is the general solution of the differential equation? dy/dx=y(1+e^x) dydx=y(1+ex)

1 Answer
Jun 12, 2017

y = Ae^(x+e^x) y=Aex+ex

Explanation:

We have:

dy/dx=y(1+e^x) dydx=y(1+ex)

This is a first Order Separable Differential Equation, we can collect terms by rearranging the equation as follows

1/y dy/dx=(1+e^x) 1ydydx=(1+ex)

And now we can "separate the variables" to get

int \ 1/y \ dy = int \ 1+e^x \ dx

And integrating gives us:

ln|y| = x+e^x + C

:. |y| = e^(x+e^x + C)

:. |y| = e^(x+e^x) e^C

And as e^x > 0 AA x in RR, we can write the solution as:

:. y = Ae^(x+e^x)