3.46 problem 4.8 (e)

Internal problem ID [13344]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 4. SEPARABLE FIRST ORDER EQUATIONS. Additional exercises. page 90
Problem number: 4.8 (e).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

Time used: 0.031 (sec). Leaf size: 11

dsolve([x*diff(y(x),x)=y(x)^2-y(x),y(1) = 2],y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {2}{x -2} \]

Solution by Mathematica

Time used: 0.229 (sec). Leaf size: 12

DSolve[{x*y'[x]==y[x]^2-y[x],{y[1]==2}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -\frac {2}{x-2} \]