25.3 problem 3(c)

Internal problem ID [6507]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 7. Laplace Transforms. Section 7.5 Problesm for review and discovery. Section A, Drill exercises. Page 309
Problem number: 3(c).
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.063 (sec). Leaf size: 39

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

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

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 51

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

\[ y(t)\to \frac {1}{8} e^{-t} \left (-4 t-3 \sqrt {2} e^{-\sqrt {2} t}+3 \sqrt {2} e^{\sqrt {2} t}\right ) \]