69.1.6 problem 7

Internal problem ID [17956]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Section 1. Basic concepts and definitions. Exercises page 18
Problem number : 7
Date solved : Thursday, October 02, 2025 at 02:31:18 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=\sqrt {1-y^{2}} \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 8
ode:=diff(y(x),x) = (1-y(x)^2)^(1/2); 
dsolve(ode,y(x), singsol=all);
 
\[ y = \sin \left (x +c_1 \right ) \]
Mathematica. Time used: 0.104 (sec). Leaf size: 28
ode=D[y[x],x]==Sqrt[1-y[x]^2]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \sin (x+c_1)\\ y(x)&\to -1\\ y(x)&\to 1\\ y(x)&\to \text {Interval}[\{-1,1\}] \end{align*}
Sympy. Time used: 0.135 (sec). Leaf size: 7
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-sqrt(1 - y(x)**2) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \sin {\left (C_{1} + x \right )} \]