63.1.18 problem 21

Internal problem ID [15458]
Book : DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section : Chapter 8. Differential equations. Exercises page 595
Problem number : 21
Date solved : Thursday, October 02, 2025 at 10:15:09 AM
CAS classification : [_separable]

\begin{align*} \left (x^{2}+1\right ) y^{\prime }-\sqrt {1-y^{2}}&=0 \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 9
ode:=(x^2+1)*diff(y(x),x)-(1-y(x)^2)^(1/2) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \sin \left (\arctan \left (x \right )+c_1 \right ) \]
Mathematica. Time used: 0.152 (sec). Leaf size: 34
ode=(1+x^2)*D[y[x],x]-Sqrt[1-y[x]^2]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \sin \left (\int _1^x\frac {1}{K[1]^2+1}dK[1]+c_1\right )\\ y(x)&\to -1\\ y(x)&\to 1 \end{align*}
Sympy. Time used: 0.170 (sec). Leaf size: 8
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-sqrt(1 - y(x)**2) + (x**2 + 1)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \sin {\left (C_{1} + \operatorname {atan}{\left (x \right )} \right )} \]