6.3 problem 1.2-1 (c)

Internal problem ID [2469]

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`]]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(t)\to -\frac {e^{-3 t}}{5}+c_1 e^{2 t} \]