# Help with ODE

1. Jun 15, 2011

### Mugged

Can anyone help me solve this ODE:
..in other words, find a general solution?

dy/dx = e^(x+y)

I use a separation method, but i cant take the natural log of -e^(-y).
So, help?

2. Jun 16, 2011

### Filip Larsen

Perhaps you can move the minus in front of e-y to the other side of your equation before you apply log.

3. Jun 16, 2011

### HallsofIvy

Looks to me like you have forgotten the constant of integration. You should get something like $y= -ln(C- e^x)$ which exists only for $C> e^x$ or $x< ln(C)$

4. Jun 20, 2011

### shelovesmath

e^(x+y) = e^x * e*y
e^(-y) dy = e^x dx
integrate both sides