21.10 problem 4(b)

Internal problem ID [5319]

Book: An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section: Chapter 5. Existence and uniqueness of solutions to first order equations. Page 190
Problem number: 4(b).
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^{2}+x y}=0} \end {gather*}

Solution by Maple

Time used: 0.041 (sec). Leaf size: 20

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: 9.703 (sec). Leaf size: 21

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*}