8.29 problem 10 (c)

Internal problem ID [12407]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.4.4, page 115
Problem number: 10 (c).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 0.063 (sec). Leaf size: 16

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

\[ y \left (x \right ) = -\frac {1}{2}-\frac {{\mathrm e}^{x}}{4}-\frac {9 \,{\mathrm e}^{-x}}{4} \]

Solution by Mathematica

Time used: 0.021 (sec). Leaf size: 23

DSolve[{y'[x]==Sqrt[ (y[x]+2)*( y[x]-1)],{y[0]==-3}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{4} \left (-9 e^{-x}-e^x-2\right ) \]