4.32 problem 32

Internal problem ID [14190]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.2, page 39
Problem number: 32.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 0.047 (sec). Leaf size: 19

dsolve(diff(y(x),x)=y(x)^2-3*y(x)+2,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.873 (sec). Leaf size: 34

DSolve[y'[x]==y[x]^2-3*y[x]+2,y[x],x,IncludeSingularSolutions -> True]
 

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