83.45.16 problem Ex 16 page 59

Internal problem ID [19480]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Book Solved Excercises. Chapter IV. Equations of the first order but not of the first degree
Problem number : Ex 16 page 59
Date solved : Thursday, March 13, 2025 at 02:35:29 PM
CAS classification : [[_1st_order, _with_linear_symmetries]]

\begin{align*} x^{2} \left (y-y^{\prime } x \right )&=y {y^{\prime }}^{2} \end{align*}

Maple. Time used: 0.146 (sec). Leaf size: 87
ode:=x^2*(y(x)-x*diff(y(x),x)) = y(x)*diff(y(x),x)^2; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y \left (x \right ) &= -\frac {i x^{2}}{2} \\ y \left (x \right ) &= \frac {i x^{2}}{2} \\ y \left (x \right ) &= 0 \\ y \left (x \right ) &= -\frac {\sqrt {c_{1} \left (-4 x^{2}+c_{1} \right )}}{4} \\ y \left (x \right ) &= \frac {\sqrt {c_{1} \left (-4 x^{2}+c_{1} \right )}}{4} \\ y \left (x \right ) &= -\frac {2 \sqrt {c_{1} x^{2}+4}}{c_{1}} \\ y \left (x \right ) &= \frac {2 \sqrt {c_{1} x^{2}+4}}{c_{1}} \\ \end{align*}
Mathematica. Time used: 0.683 (sec). Leaf size: 169
ode=x^2*(y[x]-D[y[x],x]*x)==y[x]*D[y[x],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**2*(-x*Derivative(y(x), x) + y(x)) - y(x)*Derivative(y(x), 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