1.13 problem 13

Internal problem ID [1882]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 5, page 21
Problem number: 13.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {1}{c_{1} x +1} \]

Solution by Mathematica

Time used: 0.274 (sec). Leaf size: 25

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

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