4.4 problem 4

Internal problem ID [10599]

Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section: Chapter 2, section 2.2 (Separable equations). Exercises page 47
Problem number: 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {\csc \left (y\right )+y^{\prime } \sec \left (x \right )=0} \]

Solution by Maple

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

dsolve(csc(y(x))+sec(x)*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \arccos \left (\sin \left (x \right )+c_{1} \right ) \]

Solution by Mathematica

Time used: 0.443 (sec). Leaf size: 27

DSolve[Csc[y[x]]+Sec[x]*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\arccos (\sin (x)-c_1) \\ y(x)\to \arccos (\sin (x)-c_1) \\ \end{align*}