29.37.15 problem 1134

Internal problem ID [5673]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 37
Problem number : 1134
Date solved : Sunday, March 30, 2025 at 09:59:04 AM
CAS classification : [_quadrature]

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

Maple. Time used: 0.004 (sec). Leaf size: 16
ode:=sin(diff(y(x),x))+diff(y(x),x) = x; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \int \operatorname {RootOf}\left (\sin \left (\textit {\_Z} \right )+\textit {\_Z} -x \right )d x +c_1 \]
Mathematica. Time used: 0.035 (sec). Leaf size: 38
ode=Sin[D[y[x],x]]+ D[y[x],x]==x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ \text {Solve}\left [\left \{x=K[1]+\sin (K[1]),y(x)=\frac {K[1]^2}{2}+K[1] \sin (K[1])+\cos (K[1])+c_1\right \},\{y(x),K[1]\}\right ] \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x + sin(Derivative(y(x), x)) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : multiple generators [_X0, sin(_X0)] 
No algorithms are implemented to solve equation _X0 - x + sin(_X0)