1.28 problem 31

Internal problem ID [12892]

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.2. page 33
Problem number: 31.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }-2 y=1} \] With initial conditions \begin {align*} [y \left (0\right ) = 3] \end {align*}

Solution by Maple

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

dsolve([diff(y(t),t)=2*y(t)+1,y(0) = 3],y(t), singsol=all)
 

\[ y \left (t \right ) = -\frac {1}{2}+\frac {7 \,{\mathrm e}^{2 t}}{2} \]

Solution by Mathematica

Time used: 0.045 (sec). Leaf size: 18

DSolve[{y'[t]==2*y[t]+1,{y[0]==3}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {1}{2} \left (7 e^{2 t}-1\right ) \]