$y''+2y'+5y=0$, initial value problem with Laplace transform?

8.4k Views Asked by At

here is the question:

$$ {\rm y}''\left(t\right) + 2\,{\rm y}'\left(t\right) + 5\,{\rm y}\left(t\right) = 0; \qquad\qquad {\rm y}\left(0\right) = 2\,,\quad {\rm y}'\left(0\right) = -1. $$

  • $\mathcal{L} (y''(t)) = s^2y(s) -s y(0) -y'(0)$
  • $\mathcal{L} (+2y'(t)) = 2(sy(s) -y(0))$
  • $\mathcal{L} (5y(t)) = 5y(s)$

I find that

$y(t)=\dfrac{2s+3}{s^{2}+2s+5}$

It is irreducible, so I write the transform as a function of $\varepsilon = s + 1$.

$y(t)=\dfrac{2\varepsilon+1}{\varepsilon^2+4}$

I apply fraction by parts then use laplace transform table and find the result:

$y(t)=e^{-t} (2\cos{2t}+\sin{2t})$, but the result has $\frac{1}{2}$ before $\sin{2t}$. What am I missing here? Where does the $\frac{1}{2}$ come from?

2

There are 2 best solutions below

3
On BEST ANSWER

If the DE is written correctly, we should have arrived at:

$$y(s)=\dfrac{2s+3}{s^{2}+2s+5}$$

This yields:

$$y(t) = \dfrac{1}{2} e^{-t} (\sin(2 t)+4 \cos(2 t))$$

1
On

With the correct initial values you get

$$y(s)=\frac{2s+3}{s^2+2s+5}=2\frac{s+1}{(s+1)^2+4}+\frac{1}{2}\frac{2}{(s+1)^2+4}$$

which corresponds to

$$y(t)=2e^{-t}\cos(2t)+\frac{1}{2}e^{-t}\sin(2t)$$