31.6.8 problem 8

Internal problem ID [5757]
Book : Differential Equations, By George Boole F.R.S. 1865
Section : Chapter 7
Problem number : 8
Date solved : Sunday, March 30, 2025 at 10:08:17 AM
CAS classification : [_quadrature]

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

Maple. Time used: 0.070 (sec). Leaf size: 113
ode:=x = (1+diff(y(x),x)^2)^(1/2)+a*diff(y(x),x); 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= \frac {a \,x^{2}+x \sqrt {a^{2}+x^{2}-1}+\left (a -1\right ) \left (\ln \left (x +\sqrt {a^{2}+x^{2}-1}\right )+2 c_1 \right ) \left (a +1\right )}{2 a^{2}-2} \\ y &= \frac {a \,x^{2}-x \sqrt {a^{2}+x^{2}-1}-\left (a -1\right ) \left (a +1\right ) \left (\ln \left (x +\sqrt {a^{2}+x^{2}-1}\right )-2 c_1 \right )}{2 a^{2}-2} \\ \end{align*}
Mathematica. Time used: 0.111 (sec). Leaf size: 154
ode=x==a*D[y[x],x]+Sqrt[1+(D[y[x],x])^2]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to \frac {\left (a^2-1\right )^{3/2} \left (-\sqrt {\frac {a^2+x^2-1}{a^2-1}}\right ) \text {arcsinh}\left (\frac {x}{\sqrt {a^2-1}}\right )-x \left (-a x \sqrt {a^2+x^2-1}+a^2+x^2-1\right )}{2 \left (a^2-1\right ) \sqrt {a^2+x^2-1}}+c_1 \\ y(x)\to \frac {1}{2} \left (\frac {x \left (\sqrt {a^2+x^2-1}+a x\right )}{a^2-1}+\log \left (\sqrt {a^2+x^2-1}+x\right )\right )+c_1 \\ \end{align*}
Sympy. Time used: 1.963 (sec). Leaf size: 134
from sympy import * 
x = symbols("x") 
a = symbols("a") 
y = Function("y") 
ode = Eq(-a*Derivative(y(x), x) + x - sqrt(Derivative(y(x), x)**2 + 1),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = C_{1} - \frac {- a x^{2} + x \sqrt {a^{2} + x^{2} - 1} + \left (a^{2} - 1\right ) \left (\begin {cases} \log {\left (2 x + 2 \sqrt {a^{2} + x^{2} - 1} \right )} & \text {for}\: a^{2} \neq 1 \\\frac {x \log {\left (x \right )}}{\sqrt {x^{2}}} & \text {otherwise} \end {cases}\right )}{2 \left (a^{2} - 1\right )}, \ y{\left (x \right )} = C_{1} - \frac {- a x^{2} - x \sqrt {a^{2} + x^{2} - 1} - \left (a^{2} - 1\right ) \left (\begin {cases} \log {\left (2 x + 2 \sqrt {a^{2} + x^{2} - 1} \right )} & \text {for}\: a^{2} \neq 1 \\\frac {x \log {\left (x \right )}}{\sqrt {x^{2}}} & \text {otherwise} \end {cases}\right )}{2 \left (a^{2} - 1\right )}\right ] \]