Where Did I Go Wrong in Solving This Initial Value Problem?

cameuth
Messages
17
Reaction score
0
OK, so clearly I am missing something, because I know this is supposed to be a simple problem. It reads:

solve the following initial value problem:
dy/dt=-y+5
y(0)=y_naught

my process is as follows:
dy/(5-y)=dt
integrate
ln(5-y)=t+C
exponential both sides
5-y=(e^t)(e^c)
y=5-(e^t)(e^c)

solve for constant:
y_naught=5-e^c
e^c=5-y_naught

final answer:
y=5-(5-y_naught)e^t


My book disagrees with this answer slightly, can anyone see where I've stumbled in the process?
 
Physics news on Phys.org
hi cameuth! :smile:
cameuth said:
dy/(5-y)=dt
integrate
ln(5-y)=t+C

nooo :redface:

try dy/(y-5) = -dt :wink:
 
I'm sorry... but can you explain why that is. Intuitively what I see is
dy/dt=5-y
divide by (5-y) multiply by dt
dy/5-y=dt

I'm sorry again that I'm such a beginner at this, I just don't understand why you did what you did. I see that it gets me the right answer your way, but not why we go that path.
 
Because the integral of 1/(5-y) isn't ln(5-y). Chain rule.
 
(just got up :zzz: …)

yes … you missed out a minus :wink:
 
sorry for the late reply. I got the answer guys, and y'all were a ton of help. Seriously, thanks. It's been awhile since six months since I've done cal 3 and so my integrating has some rust to knock off.
 
Are there any good visualization tutorials, written or video, that show graphically how separation of variables works? I particularly have the time-independent Schrodinger Equation in mind. There are hundreds of demonstrations out there which essentially distill to copies of one another. However I am trying to visualize in my mind how this process looks graphically - for example plotting t on one axis and x on the other for f(x,t). I have seen other good visual representations of...
Back
Top