72.5.7 problem 2 and 14(iii)

Internal problem ID [14693]
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.6 page 89
Problem number : 2 and 14(iii)
Date solved : Tuesday, January 28, 2025 at 07:11:39 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=y^{2}-4 y-12 \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=6 \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 5

dsolve([diff(y(t),t)=y(t)^2-4*y(t)-12,y(0) = 6],y(t), singsol=all)
 
\[ y = 6 \]

Solution by Mathematica

Time used: 0.001 (sec). Leaf size: 6

DSolve[{D[y[t],t]==y[t]^2-4*y[t]-12,{y[0]==6}},y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to 6 \]