Internal problem ID [448]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Section 2.1. Page 40
Problem number: 1.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, class A]]
Solve \begin {gather*} \boxed {3 y+y^{\prime }-{\mathrm e}^{-2 t}-t=0} \end {gather*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 19
dsolve(3*y(t)+diff(y(t),t) = exp(-2*t)+t,y(t), singsol=all)
\[ y \relax (t ) = \frac {t}{3}-\frac {1}{9}+{\mathrm e}^{-2 t}+c_{1} {\mathrm e}^{-3 t} \]
✓ Solution by Mathematica
Time used: 0.083 (sec). Leaf size: 27
DSolve[3*y[t]+y'[t] == Exp[-2*t]+t,y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to \frac {1}{9} (3 t-1)+e^{-3 t} \left (e^t+c_1\right ) \\ \end{align*}