79.1.7 problem 2 (i)

Internal problem ID [18494]
Book : Elementary Differential Equations. By R.L.E. Schwarzenberger. Chapman and Hall. London. First Edition (1969)
Section : Chapter 3. Solutions of first-order equations. Exercises at page 47
Problem number : 2 (i)
Date solved : Tuesday, January 28, 2025 at 11:50:53 AM
CAS classification : [_quadrature]

\begin{align*} x^{\prime }&=x^{2}-3 x+2 \end{align*}

With initial conditions

\begin{align*} x \left (0\right )&=1 \end{align*}

Solution by Maple

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

dsolve([diff(x(t),t)=x(t)^2-3*x(t)+2,x(0) = 1],x(t), singsol=all)
 
\[ x = 1 \]

Solution by Mathematica

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

DSolve[{D[x[t],t]==x[t]^2-3*x[t]+2,{x[0]==1}},x[t],t,IncludeSingularSolutions -> True]
 
\[ x(t)\to 1 \]