1.12 problem 1(m)

Internal problem ID [5363]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 1. What is a differential equation. Section 1.2 THE NATURE OF SOLUTIONS. Page 9
Problem number: 1(m).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, class A], _rational, [_Abel, 2nd type, class B]]

Solve \begin {gather*} \boxed {y^{\prime }-\frac {y^{2}}{x y-x^{2}}=0} \end {gather*}

Solution by Maple

Time used: 0.029 (sec). Leaf size: 21

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to -x \text {ProductLog}\left (-\frac {e^{-c_1}}{x}\right ) \\ y(x)\to 0 \\ \end{align*}