16.19 problem 19

Internal problem ID [13179]

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: 19.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }+2 y^{\prime }+y={\mathrm e}^{-t}} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 19

dsolve(diff(y(t),t$2)+2*diff(y(t),t)+y(t)=exp(-t),y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.037 (sec). Leaf size: 27

DSolve[y''[t]+2*y'[t]+y[t]==Exp[-t],y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {1}{2} e^{-t} \left (t^2+2 c_2 t+2 c_1\right ) \]