77.45.5 problem Ex 5 page 53

Internal problem ID [20832]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Book Solved Excercises. Chapter IV. Equations of the first order but not of the first degree
Problem number : Ex 5 page 53
Date solved : Thursday, October 02, 2025 at 06:31:11 PM
CAS classification : [_quadrature]

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