- #1
opus
Gold Member
- 717
- 131
Homework Statement
I put this is the Calculus section because it relates to Calculus I and if I put it in Diff Eq section I think it would be assumed that I know the necessary terms, etc.
My question is in regards to the use of the constant ##C## in differential equations.
For reference, the entire problem is:
Find the solution to the initial value problem ##y'=e^{y-x}## , ##y(0)=0##
However my question is specifically in regards to the use and manipulation of the constant ##C##.
Homework Equations
The Attempt at a Solution
##y'=e^{y-x}##
After doing most of the legwork, and on the step where I need to isolate ##y##, I have the intuition that I am misusing the ##C## constant.
Take for example the when I first start to isolate ##y##:
(i) ##-e^{-y}=e ^x+C##
(ii) ##y = ln\left(\frac{1}{C-e^x}\right)##
(iii) ##y = ln(1) - ln\left(C - e^{-x}\right)##
(iv) ##y = -ln\left(e^{-x}-C1\right)## Here I swapped the signs inside the argument of the log. Is it valid to do so?
Ultimately, the textbook states that the solution is ##y=-ln(e^{-x})## and I'm not sure where the constant went here.