4.25 problem 114

Internal problem ID [2863]

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

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y^{\prime }-\cot \relax (x ) \cot \relax (y)=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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