Finding the Exact Solution of the Initial Value Problem for y'=e^(x+y), y(0)=0

peace-Econ
Messages
34
Reaction score
0

Homework Statement



Find the exact solution of the initial value problem. Indicate the interval of existence.

Homework Equations



y'=e^(x+y), i.v.p:y(0)=0

The Attempt at a Solution



this is my attempt:

dy/dx=e^x+y=(e^x)(e^y)

--> dy/e^y=(e^x)dx

Integrating, -e^-y=e^x+C (C is constant) --> e^y=-e^x-C

--> ln(e^-y)=ln(-e^x-C) --> y=-ln(-e^x-C)

Because we have y(0)=0, 0=-ln(-1-C), so C=-2
Therefore, y(x)=-ln(2-e^x) (=ln(1/(2-e^x)))
Then, the interval of existence is (0, ln2).

This is what i did, but I'm not confident for my work. So I want someone to look at it and help me if you find any mistake. Thanks!
 
Physics news on Phys.org
Of course, x can be zero. y(0)= 0 . Right?

In fact what makes you say that x can't be negative?
 
you're right actually...

so is the interval of existence actually (-infinity, ln2)?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top