77.22.27 problem 30

Internal problem ID [20566]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter IV. Equations of the first order but not of the first degree. Exercise IV (E) at page 63
Problem number : 30
Date solved : Thursday, October 02, 2025 at 06:08:30 PM
CAS classification : [_rational]

\begin{align*} \left (x y^{\prime }-y\right ) \left (y y^{\prime }+x \right )&=h^{2} y^{\prime } \end{align*}
Maple
ode:=(-y(x)+x*diff(y(x),x))*(x+y(x)*diff(y(x),x)) = h^2*diff(y(x),x); 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica. Time used: 0.235 (sec). Leaf size: 75
ode=(D[y[x],x]*x-y[x])*(D[y[x],x]*y[x]+x)==h^2*D[y[x],x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \sqrt {c_1 \left (x^2-\frac {h^2}{1+c_1}\right )}\\ y(x)&\to -i (h-x)\\ y(x)&\to i (h-x)\\ y(x)&\to -i (h+x)\\ y(x)&\to i (h+x) \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
h = symbols("h") 
y = Function("y") 
ode = Eq(-h**2*Derivative(y(x), x) + (x + y(x)*Derivative(y(x), x))*(x*Derivative(y(x), x) - y(x)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out