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!
 
There is the following linear Volterra equation of the second kind $$ y(x)+\int_{0}^{x} K(x-s) y(s)\,{\rm d}s = 1 $$ with kernel $$ K(x-s) = 1 - 4 \sum_{n=1}^{\infty} \dfrac{1}{\lambda_n^2} e^{-\beta \lambda_n^2 (x-s)} $$ where $y(0)=1$, $\beta>0$ and $\lambda_n$ is the $n$-th positive root of the equation $J_0(x)=0$ (here $n$ is a natural number that numbers these positive roots in the order of increasing their values), $J_0(x)$ is the Bessel function of the first kind of zero order. I...
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...

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