Internal problem ID [12582]
Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th
edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Exercises section 1.3 page 47
Problem number: 3.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_quadrature]
\[ \boxed {y^{\prime }+2 y=1} \]
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 12
dsolve(diff(y(t),t)=1-2*y(t),y(t), singsol=all)
\[ y \left (t \right ) = \frac {1}{2}+c_{1} {\mathrm e}^{-2 t} \]
✓ Solution by Mathematica
Time used: 0.04 (sec). Leaf size: 24
DSolve[y'[t]==1-2*y[t],y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to \frac {1}{2}+c_1 e^{-2 t} y(t)\to \frac {1}{2} \end{align*}