81.3.16 problem 16

Internal problem ID [18634]
Book : A short course on differential equations. By Donald Francis Campbell. Maxmillan company. London. 1907
Section : Chapter III. Ordinary differential equations of the first order and first degree. Exercises at page 33
Problem number : 16
Date solved : Tuesday, January 28, 2025 at 12:05:00 PM
CAS classification : [_separable]

\begin{align*} \sqrt {2 a y-y^{2}}\, \csc \left (x \right )+y \tan \left (x \right ) y^{\prime }&=0 \end{align*}

Solution by Maple

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

dsolve(sqrt(2*a*y(x)-y(x)^2)*csc(x)+y(x)*tan(x)*diff(y(x),x)=0,y(x), singsol=all)
 
\[ -\csc \left (x \right )-\sqrt {y \left (x \right ) \left (2 a -y \left (x \right )\right )}+a \arctan \left (\frac {y \left (x \right )-a}{\sqrt {y \left (x \right ) \left (2 a -y \left (x \right )\right )}}\right )+c_{1} = 0 \]

Solution by Mathematica

Time used: 1.656 (sec). Leaf size: 230

DSolve[Sqrt[2*a*y[x]-y[x]^2]*Csc[x]+y[x]*Tan[x]*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \text {InverseFunction}\left [\frac {\sqrt {\text {$\#$1}} \sqrt {\text {$\#$1}-2 a} \left (-\frac {2 \left (\sqrt {\text {$\#$1}}-1\right ) \left (\sqrt {1-2 a}-\sqrt {\text {$\#$1}-2 a}\right ) \left (a \left (\sqrt {1-2 a} \sqrt {\text {$\#$1}-2 a}-\text {$\#$1}-\sqrt {\text {$\#$1}}-1\right )-\sqrt {\text {$\#$1}} \sqrt {1-2 a} \sqrt {\text {$\#$1}-2 a}+\text {$\#$1}+2 a^2\right )}{\left (\sqrt {1-2 a} \sqrt {\text {$\#$1}-2 a}-\sqrt {\text {$\#$1}}+2 a\right )^2}-4 a \text {arctanh}\left (\frac {\sqrt {\text {$\#$1}}-1}{\sqrt {1-2 a}-\sqrt {\text {$\#$1}-2 a}}\right )\right )}{\sqrt {-\text {$\#$1} (\text {$\#$1}-2 a)}}\&\right ][\csc (x)+c_1] \\ y(x)\to 0 \\ y(x)\to 2 a \\ \end{align*}