1.7 problem 3.b

Internal problem ID [2577]

Book: Differential equations with applications and historial notes, George F. Simmons, 1971
Section: Chapter 2, section 7, page 37
Problem number: 3.b.
ODE order: 1.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime }-\left (\sin ^{2}\left (1+x -y\right )\right )=0} \end {gather*}

Solution by Maple

Time used: 0.044 (sec). Leaf size: 13

dsolve(diff(y(x),x)=sin(x-y(x)+1)^2,y(x), singsol=all)
 

\[ y \relax (x ) = x +1+\arctan \left (c_{1}-x \right ) \]

Solution by Mathematica

Time used: 0.396 (sec). Leaf size: 33

DSolve[y'[x]==Sin[x-y[x]+1]^2,y[x],x,IncludeSingularSolutions -> True]
 

\[ \text {Solve}[2 y(x)-2 (\tan (-y(x)+x+1)-\text {ArcTan}(\tan (-y(x)+x+1)))=c_1,y(x)] \]