Internal problem ID [6702]
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: 6.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {y^{\prime \prime }+y=\delta \left (t -2 \pi \right )+\delta \left (t -4 \pi \right )} \] With initial conditions \begin {align*} [y \left (0\right ) = 1, y^{\prime }\left (0\right ) = 0] \end {align*}
✓ Solution by Maple
Time used: 2.078 (sec). Leaf size: 23
dsolve([diff(y(t),t$2)+y(t)=Dirac(t-2*Pi)+Dirac(t-4*Pi),y(0) = 1, D(y)(0) = 0],y(t), singsol=all)
\[ y \left (t \right ) = \sin \left (t \right ) \operatorname {Heaviside}\left (t -2 \pi \right )+\sin \left (t \right ) \operatorname {Heaviside}\left (t -4 \pi \right )+\cos \left (t \right ) \]
✓ Solution by Mathematica
Time used: 0.027 (sec). Leaf size: 26
DSolve[{y''[t]+y[t]==DiracDelta[t-2*Pi]+DiracDelta[t-4*Pi],{y[0]==1,y'[0]==0}},y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to \theta (t-4 \pi ) \sin (t)+\theta (t-2 \pi ) \sin (t)+\cos (t) \]