16.17 problem 17

Internal problem ID [13177]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 4. Forcing and Resonance. Section 4.1 page 399
Problem number: 17.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 16

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

\[ y \left (t \right ) = -\frac {{\mathrm e}^{-2 t} \left (-1+\cos \left (4 t \right )\right )}{16} \]

Solution by Mathematica

Time used: 0.086 (sec). Leaf size: 20

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

\[ y(t)\to \frac {1}{8} e^{-2 t} \sin ^2(2 t) \]