8.9 problem 9

Internal problem ID [5952]

Book: DIFFERENTIAL EQUATIONS with Boundary Value Problems. DENNIS G. ZILL, WARREN S. WRIGHT, MICHAEL R. CULLEN. Brooks/Cole. Boston, MA. 2013. 8th edition.
Section: CHAPTER 7 THE LAPLACE TRANSFORM. EXERCISES 7.5. Page 315
Problem number: 9.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }+4 y^{\prime }+5 y-\left (\delta \left (-2 \pi +t \right )\right )=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 0, y^{\prime }\relax (0) = 0] \end {align*}

Solution by Maple

Time used: 0.008 (sec). Leaf size: 21

dsolve([diff(y(t),t$2)+4*diff(y(t),t)+5*y(t)=Dirac(t-2*Pi),y(0) = 0, D(y)(0) = 0],y(t), singsol=all)
 

\[ y \relax (t ) = \sin \relax (t ) \theta \left (-2 \pi +t \right ) {\mathrm e}^{4 \pi -2 t} \]

Solution by Mathematica

Time used: 0.012 (sec). Leaf size: 23

DSolve[{y''[t]+4*y'[t]+5*y[t]==DiracDelta[t-2*Pi],{y[0]==0,y'[0]==0}},y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to e^{4 \pi -2 t} \theta (t-2 \pi ) \sin (t) \\ \end{align*}