MHB Understanding Initial Value Problems: Solving for y in y' = y-5 with y(0) = y0

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\begin{align*}\displaystyle
y'&=y-5\quad y(0)=y_0\tag{given}\\
y'-y&=-5\\
u(x)&=\exp\int-1\, dx = e^{-t}\\
(e^{-t}y)&=-5e^{-t}\\
e^{-t}y&=-5\int e^{-t} dt = -5e^{-t}+c\\
&y=-5\frac{e^{-t}}{e^{-t}}+\frac{c}{e^{-t}}\\
y&=\color{red}{5+(y_0-5)e^t}
\end{align*}$
this is similar to one I posted before but can't seem to get the book answer (red)
the $y_0$ is ?
 
Physics news on Phys.org
karush said:
$\begin{align*}\displaystyle
y'&=y-5\quad y(0)=y_0\tag{given}\\
y'-y&=-5\\
u(x)&=\exp\int-1\, dx = e^{-t}\\
(e^{-t}y)&=-5e^{-t}\\
e^{-t}y&=-5\int e^{-t} dt = -5e^{-t}+c\\
&y=-5\frac{e^{-t}}{e^{-t}}+\frac{c}{e^{-t}}\\
y&=\color{red}{5+(y_0-5)e^t}
\end{align*}$
this is similar to one I posted before but can't seem to get the book answer (red)
the $y_0$ is ?

Note that:

$$-5\int e^{-u}\,du=5e^{-u}+C$$

And so after integrating, you should have:

$$e^{-t}y=5e^{-t}+C$$

Hence:

$$y(t)=5+Ce^{t}$$

Now, we are given:

$$y(0)=5+C=y_0\implies C=y_0-5$$

And so:

$$y(t)=5+(y_0-5)e^{t}$$

Does that make sense?
 
Ok

I had the C thing not happeningI noticed we get a lot of views on these!
 
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...

Similar threads

Replies
6
Views
1K
Replies
7
Views
3K
Replies
5
Views
2K
Replies
5
Views
1K
Replies
9
Views
3K
Replies
4
Views
2K
Back
Top