5.3 problem 118

Internal problem ID [3376]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 5
Problem number: 118.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

dsolve(diff(y(x),x)+tan(x)*cot(y(x)) = 0,y(x), singsol=all)
 

\[ y \left (x \right ) = \arccos \left (\frac {c_{1}}{\cos \left (x \right )}\right ) \]

Solution by Mathematica

Time used: 6.177 (sec). Leaf size: 47

DSolve[y'[x]+Tan[x] Cot[y[x]]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\arccos \left (\frac {1}{2} c_1 \sec (x)\right ) y(x)\to \arccos \left (\frac {1}{2} c_1 \sec (x)\right ) y(x)\to -\frac {\pi }{2} y(x)\to \frac {\pi }{2} \end{align*}