Internal problem ID [2454]
Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.1-3, page 6
Problem number: 1.1-3 (a).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_quadrature]
\[ \boxed {y^{\prime }-2 y=-4} \] With initial conditions \begin {align*} [y \left (0\right ) = 5] \end {align*}
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 12
dsolve([diff(y(t),t)=2*y(t)-4,y(0) = 5],y(t), singsol=all)
\[ y \left (t \right ) = 2+3 \,{\mathrm e}^{2 t} \]
✓ Solution by Mathematica
Time used: 0.025 (sec). Leaf size: 14
DSolve[{y'[t]==2*y[t]-4,y[0]==5},y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to 3 e^{2 t}+2 \]