17.6.4 problem 1.2-1 (d)

Internal problem ID [3441]
Book : Ordinary Differential Equations, Robert H. Martin, 1983
Section : Problem 1.2-1, page 12
Problem number : 1.2-1 (d)
Date solved : Monday, January 27, 2025 at 07:36:49 AM
CAS classification : [[_linear, `class A`]]

\begin{align*} y^{\prime }&=2 y+{\mathrm e}^{2 t} \end{align*}

Solution by Maple

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

dsolve(diff(y(t),t)=2*y(t)+exp(2*t),y(t), singsol=all)
 
\[ y = \left (t +c_{1} \right ) {\mathrm e}^{2 t} \]

Solution by Mathematica

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

DSolve[D[y[t],t]==2*y[t]+Exp[2*t],y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to e^{2 t} (t+c_1) \]