77.22.26 problem 29

Internal problem ID [20565]
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 : 29
Date solved : Thursday, October 02, 2025 at 06:08:22 PM
CAS classification : [[_homogeneous, `class A`], _dAlembert]

\begin{align*} \left (x \cos \left (\frac {y}{x}\right )+y \sin \left (\frac {y}{x}\right )\right ) y&=\left (y \sin \left (\frac {y}{x}\right )-x \cos \left (\frac {y}{x}\right )\right ) x y^{\prime } \end{align*}
Maple. Time used: 0.055 (sec). Leaf size: 18
ode:=(x*cos(y(x)/x)+y(x)*sin(y(x)/x))*y(x) = (y(x)*sin(y(x)/x)-x*cos(y(x)/x))*x*diff(y(x),x); 
dsolve(ode,y(x), singsol=all);
 
\[ y = x \operatorname {RootOf}\left (\textit {\_Z} \cos \left (\textit {\_Z} \right ) x^{2}-c_1 \right ) \]
Mathematica. Time used: 0.222 (sec). Leaf size: 31
ode=(x*Cos[y[x]/x]+y[x]*Sin[y[x]/x] )*y[x]==(y[x]*Sin[y[x]/x]-x*Cos[y[x]/x])*x*D[y[x],x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ \text {Solve}\left [-\log \left (\frac {y(x)}{x}\right )-\log \left (\cos \left (\frac {y(x)}{x}\right )\right )=2 \log (x)+c_1,y(x)\right ] \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x*(-x*cos(y(x)/x) + y(x)*sin(y(x)/x))*Derivative(y(x), x) + (x*cos(y(x)/x) + y(x)*sin(y(x)/x))*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
RecursionError : maximum recursion depth exceeded