[Math] $y”+2y’+5y=0$, initial value problem with Laplace transform

laplace transformordinary differential equations

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?

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))$$

Related Question