85.33.59 problem 59

Internal problem ID [22682]
Book : Applied Differential Equations. By Murray R. Spiegel. 3rd edition. 1980. Pearson. ISBN 978-0130400970
Section : Chapter two. First order and simple higher order ordinary differential equations. A Exercises at page 65
Problem number : 59
Date solved : Thursday, October 02, 2025 at 09:06:21 PM
CAS classification : [_separable]

\begin{align*} x \sqrt {1-y^{2}}+y \sqrt {-x^{2}+1}\, y^{\prime }&=0 \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 40
ode:=x*(1-y(x)^2)^(1/2)+y(x)*diff(y(x),x)*(-x^2+1)^(1/2) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ \frac {\left (x -1\right ) \left (x +1\right )}{\sqrt {-x^{2}+1}}+\frac {\left (y-1\right ) \left (y+1\right )}{\sqrt {1-y^{2}}}+c_1 = 0 \]
Mathematica. Time used: 3.589 (sec). Leaf size: 77
ode=x*Sqrt[1-y[x]^2]+y[x]*D[y[x],{x,1}]*Sqrt[1-x^2]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to -\sqrt {x^2-c_1 \left (2 \sqrt {1-x^2}+c_1\right )}\\ y(x)&\to \sqrt {x^2-c_1 \left (2 \sqrt {1-x^2}+c_1\right )}\\ y(x)&\to -1\\ y(x)&\to 1 \end{align*}
Sympy. Time used: 0.902 (sec). Leaf size: 49
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*sqrt(1 - y(x)**2) + sqrt(1 - x**2)*y(x)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = - \sqrt {- C_{1}^{2} - 2 C_{1} \sqrt {1 - x^{2}} + x^{2}}, \ y{\left (x \right )} = \sqrt {- C_{1}^{2} - 2 C_{1} \sqrt {1 - x^{2}} + x^{2}}\right ] \]