6.4 problem 1.2-1 (d)

Internal problem ID [1961]

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

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

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.039 (sec). Leaf size: 15

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

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