1.4 problem 4

Internal problem ID [2492]

Book: Applied Differential equations, N Curle, 1971
Section: Examples, page 35
Problem number: 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, class C], _rational, _Riccati]

Solve \begin {gather*} \boxed {y^{\prime } x^{2}-x \left (y-1\right )-\left (y-1\right )^{2}=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 15

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

\[ y \relax (x ) = 1-\frac {x}{\ln \relax (x )+c_{1}} \]

Solution by Mathematica

Time used: 0.202 (sec). Leaf size: 23

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

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