1.58 problem 58

Internal problem ID [7102]

Book: Own collection of miscellaneous problems
Section: section 1.0
Problem number: 58.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class C`], _dAlembert]

\[ \boxed {y^{\prime }+4 \sin \left (x -y\right )=-4} \]

Solution by Maple

Time used: 0.047 (sec). Leaf size: 21

dsolve(diff(y(x),x)=4*sin(y(x)-x)-4,y(x), singsol=all)
 

\[ y \left (x \right ) = x +2 \arctan \left (\frac {3 \tan \left (-\frac {3 x}{2}+\frac {3 c_{1}}{2}\right )}{5}+\frac {4}{5}\right ) \]

Solution by Mathematica

Time used: 0.0 (sec). Leaf size: 0

DSolve[y'[x]==4*Sin[y[x]-x]-4,y[x],x,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

Timed out