2.2 problem 7.1 (ii)

Internal problem ID [11659]

Book: AN INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS by JAMES C. ROBINSON. Cambridge University Press 2004
Section: Chapter 7, Scalar autonomous ODEs. Exercises page 56
Problem number: 7.1 (ii).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {x^{\prime }-x \left (-x+2\right )=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 17

dsolve(diff(x(t),t)=x(t)*(2-x(t)),x(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.503 (sec). Leaf size: 36

DSolve[x'[t]==x[t]*(2-x[t]),x[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to \frac {2 e^{2 t}}{e^{2 t}+e^{2 c_1}} x(t)\to 0 x(t)\to 2 \end{align*}