76.22.5 problem 18

Internal problem ID [17786]
Book : Differential equations. An introduction to modern methods and applications. James Brannan, William E. Boyce. Third edition. Wiley 2015
Section : Chapter 5. The Laplace transform. Section 5.8 (Convolution Integrals and Their Applications). Problems at page 359
Problem number : 18
Date solved : Tuesday, January 28, 2025 at 11:03:03 AM
CAS classification : [[_2nd_order, _linear, _nonhomogeneous]]

\begin{align*} y^{\prime \prime }+4 y^{\prime }+4 y&=g \left (t \right ) \end{align*}

Using Laplace method With initial conditions

\begin{align*} y \left (0\right )&=2\\ y^{\prime }\left (0\right )&=-3 \end{align*}

Solution by Maple

Time used: 14.378 (sec). Leaf size: 37

dsolve([diff(y(t),t$2)+4*diff(y(t),t)+4*y(t)=g(t),y(0) = 2, D(y)(0) = -3],y(t), singsol=all)
 
\[ y = -\int _{0}^{t}\left (-t +\textit {\_U1} \right ) {\mathrm e}^{-2 t +2 \textit {\_U1}} g \left (\textit {\_U1} \right )d \textit {\_U1} +\left (t +2\right ) {\mathrm e}^{-2 t} \]

Solution by Mathematica

Time used: 0.066 (sec). Leaf size: 95

DSolve[{D[y[t],{t,2}]+4*D[y[t],t]+4*y[t]==g[t],{y[0]==2,Derivative[1][y][0] ==-3}},y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to e^{-2 t} \left (t \left (-\int _1^0e^{2 K[2]} g(K[2])dK[2]\right )+t \int _1^te^{2 K[2]} g(K[2])dK[2]+\int _1^t-e^{2 K[1]} g(K[1]) K[1]dK[1]-\int _1^0-e^{2 K[1]} g(K[1]) K[1]dK[1]+t+2\right ) \]