23.1.214 problem 210

Internal problem ID [4821]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Part II. Chapter 1. THE DIFFERENTIAL EQUATION IS OF FIRST ORDER AND OF FIRST DEGREE, page 223
Problem number : 210
Date solved : Tuesday, September 30, 2025 at 08:42:56 AM
CAS classification : [`y=_G(x,y')`]

\begin{align*} x y^{\prime }&=\sin \left (x -y\right ) \end{align*}
Maple
ode:=x*diff(y(x),x) = sin(x-y(x)); 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=x*D[y[x],x]==Sin[x-y[x]]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), x) - sin(x - y(x)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE Derivative(y(x), x) - sin(x - y(x))/x cannot be solved by the factorable group method