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.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top