5.12 problem 19(a)

Internal problem ID [867]

Book: Elementary differential equations and boundary value problems, 11th ed., Boyce, DiPrima, Meade
Section: Chapter 6.5, The Laplace Transform. Impulse functions. page 273
Problem number: 19(a).
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {y^{\prime \prime }+2 y^{\prime }+2 y-f \left (t \right )=0} \] With initial conditions \begin {align*} [y \left (0\right ) = 0, y^{\prime }\left (0\right ) = 0] \end {align*}

Solution by Maple

Time used: 0.093 (sec). Leaf size: 43

dsolve([diff(y(t),t$2)+2*diff(y(t),t)+2*y(t)=f(t),y(0) = 0, D(y)(0) = 0],y(t), singsol=all)
 

\[ y \left (t \right ) = \left (\sin \left (t \right ) \left (\int _{0}^{t}f \left (\textit {\_z1} \right ) \cos \left (\textit {\_z1} \right ) {\mathrm e}^{\textit {\_z1}}d \textit {\_z1} \right )-\cos \left (t \right ) \left (\int _{0}^{t}f \left (\textit {\_z1} \right ) \sin \left (\textit {\_z1} \right ) {\mathrm e}^{\textit {\_z1}}d \textit {\_z1} \right )\right ) {\mathrm e}^{-t} \]

Solution by Mathematica

Time used: 0.045 (sec). Leaf size: 98

DSolve[{y''[t]+2*y'[t]+2*y[t]==f[t],{y[0]==0,y'[0]==0}},y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to e^{-t} \left (\sin (t) \left (\int _1^te^{K[1]} \cos (K[1]) f(K[1])dK[1]-\int _1^0e^{K[1]} \cos (K[1]) f(K[1])dK[1]\right )+\cos (t) \left (\int _1^t-e^{K[2]} f(K[2]) \sin (K[2])dK[2]-\int _1^0-e^{K[2]} f(K[2]) \sin (K[2])dK[2]\right )\right ) \\ \end{align*}