56.17.10 problem Ex 10

Internal problem ID [14191]
Book : An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section : Chapter IV, differential equations of the first order and higher degree than the first. Article 28. Summary. Page 59
Problem number : Ex 10
Date solved : Thursday, October 02, 2025 at 09:25:47 AM
CAS classification : [[_1st_order, _with_linear_symmetries]]

\begin{align*} y&=x y^{\prime }+\frac {y {y^{\prime }}^{2}}{x^{2}} \end{align*}
Maple. Time used: 0.305 (sec). Leaf size: 87
ode:=y(x) = x*diff(y(x),x)+y(x)*diff(y(x),x)^2/x^2; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= -\frac {i x^{2}}{2} \\ y &= \frac {i x^{2}}{2} \\ y &= 0 \\ y &= -\frac {\sqrt {c_1 \left (-4 x^{2}+c_1 \right )}}{4} \\ y &= \frac {\sqrt {c_1 \left (-4 x^{2}+c_1 \right )}}{4} \\ y &= -\frac {2 \sqrt {c_1 \,x^{2}+4}}{c_1} \\ y &= \frac {2 \sqrt {c_1 \,x^{2}+4}}{c_1} \\ \end{align*}
Mathematica. Time used: 0.721 (sec). Leaf size: 169
ode=y[x]==x*D[y[x],x]+y[x]*(D[y[x],x])^2/x^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} \text {Solve}\left [\frac {1}{2} \log (y(x))-\frac {\sqrt {x^6+4 x^2 y(x)^2} \text {arctanh}\left (\frac {\sqrt {x^4+4 y(x)^2}}{x^2}\right )}{2 x \sqrt {x^4+4 y(x)^2}}=c_1,y(x)\right ]\\ \text {Solve}\left [\frac {\sqrt {x^6+4 x^2 y(x)^2} \text {arctanh}\left (\frac {\sqrt {x^4+4 y(x)^2}}{x^2}\right )}{2 x \sqrt {x^4+4 y(x)^2}}+\frac {1}{2} \log (y(x))=c_1,y(x)\right ]\\ y(x)&\to -\frac {i x^2}{2}\\ y(x)&\to \frac {i x^2}{2} \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x*Derivative(y(x), x) + y(x) - y(x)*Derivative(y(x), x)**2/x**2,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE -x*(-x**2 + sqrt(x**4 + 4*y(x)**2))/(2*y(x)) + Derivative(y(x), x) cannot be solved by the factorable group method