75.4.18 problem 63

Internal problem ID [16720]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Section 4. Equations with variables separable and equations reducible to them. Exercises page 38
Problem number : 63
Date solved : Tuesday, January 28, 2025 at 09:19:32 AM
CAS classification : [_separable]

\begin{align*} a^{2}+y^{2}+2 x \sqrt {a x -x^{2}}\, y^{\prime }&=0 \end{align*}

With initial conditions

\begin{align*} y \left (a \right )&=0 \end{align*}

Solution by Maple

Time used: 0.926 (sec). Leaf size: 22

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

Solution by Mathematica

Time used: 9.439 (sec). Leaf size: 237

DSolve[{(a^2+y[x]^2)+2*x*Sqrt[a*x-x^2]*D[y[x],x]==0,{y[a]==0}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to a \tan \left (a \left (-\frac {\left (\sqrt {x}-1\right ) \left (\sqrt {a-x}-\sqrt {a-1}\right ) \sqrt {a-x} \left (-2 \left (\sqrt {a-1} \sqrt {a-x}+1\right )-a \left (\sqrt {x}-2\right )+\sqrt {x} \left (\sqrt {a-1} \sqrt {a-x}+2\right )-x\right )}{\sqrt {x (a-x)} \left (-2 a^2 \left (\sqrt {x}-2\right )+a \left (\sqrt {x} \left (2 \sqrt {a-1} \sqrt {a-x}+1\right )-4 \left (\sqrt {a-1} \sqrt {a-x}+1\right )+x^{3/2}-2 x\right )+2 \left (\sqrt {a-1} \sqrt {a-x}+\sqrt {x}\right )\right )}-\frac {i \sqrt {a-1}}{\sqrt {-a^2}}\right )\right ) \]