6.3 problem 1.2-1 (c)

Internal problem ID [1960]

Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-1, page 12
Problem number: 1.2-1 (c).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

Solve \begin {gather*} \boxed {y^{\prime }-2 y-{\mathrm e}^{-3 t}=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(t)\to -\frac {e^{-3 t}}{5}+c_1 e^{2 t} \\ \end{align*}