1.19 problem 22

Internal problem ID [12883]

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: 22.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }-y^{2}=-4} \]

Solution by Maple

Time used: 0.031 (sec). Leaf size: 24

dsolve(diff(y(t),t)=y(t)^2-4,y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 1.053 (sec). Leaf size: 40

DSolve[y'[t]==y[t]^2-4,y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to \frac {2-2 e^{4 (t+c_1)}}{1+e^{4 (t+c_1)}} \\ y(t)\to -2 \\ y(t)\to 2 \\ \end{align*}