Internal problem ID [2471]
Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-1, page 12
Problem number: 1.2-1 (e).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {y^{\prime }+y=t} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve(diff(y(t),t)=-y(t)+t,y(t), singsol=all)
\[ y \left (t \right ) = t -1+{\mathrm e}^{-t} c_{1} \]
✓ Solution by Mathematica
Time used: 0.026 (sec). Leaf size: 16
DSolve[y'[t]==-y[t]+t,y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to t+c_1 e^{-t}-1 \]