1.14 problem 14

Internal problem ID [2048]

Book: Differential equations and linear algebra, Stephen W. Goode, second edition, 2000
Section: 1.4, page 36
Problem number: 14.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }-1+\frac {\sin \left (x +y\right )}{\cos \left (x \right ) \sin \left (y\right )}=0} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{4}\right ) = \frac {\pi }{4}\right ] \end {align*}

Solution by Maple

Time used: 0.469 (sec). Leaf size: 11

dsolve([diff(y(x),x)=1- (sin(x+y(x)))/(sin(y(x))*cos(x)),y(1/4*Pi) = 1/4*Pi],y(x), singsol=all)
 

\[ y \left (x \right ) = \arccos \left (\frac {\sec \left (x \right )}{2}\right ) \]

Solution by Mathematica

Time used: 6.051 (sec). Leaf size: 10

DSolve[{y'[x]==1- Sin[x+y[x]]/(Sin[y[x]]*Cos[x]),y[Pi/4]==Pi/4},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \sec ^{-1}(2 \cos (x)) \\ \end{align*}