47.4.26 problem 28

Internal problem ID [9800]
Book : Elementary differential equations. By Earl D. Rainville, Phillip E. Bedient. Macmilliam Publishing Co. NY. 6th edition. 1981.
Section : CHAPTER 16. Nonlinear equations. Section 101. Independent variable missing. EXERCISES Page 324
Problem number : 28
Date solved : Tuesday, September 30, 2025 at 06:41:54 PM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_xy]]

\begin{align*} y^{\prime \prime }&=1+{y^{\prime }}^{2} \end{align*}
Maple. Time used: 0.016 (sec). Leaf size: 17
ode:=diff(diff(y(x),x),x) = 1+diff(y(x),x)^2; 
dsolve(ode,y(x), singsol=all);
 
\[ y = -\ln \left (c_1 \sin \left (x \right )-c_2 \cos \left (x \right )\right ) \]
Mathematica. Time used: 0.428 (sec). Leaf size: 38
ode=D[y[x],{x,2}]==1+(D[y[x],x])^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \int _1^x\text {InverseFunction}\left [\int _1^{\text {$\#$1}}\frac {1}{K[1]^2+1}dK[1]\&\right ][c_1+K[2]]dK[2]+c_2 \end{align*}
Sympy. Time used: 0.712 (sec). Leaf size: 31
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-Derivative(y(x), x)**2 + Derivative(y(x), (x, 2)) - 1,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = C_{1} + \frac {\log {\left (\tan ^{2}{\left (C_{2} - x \right )} + 1 \right )}}{2}, \ y{\left (x \right )} = C_{1} + \frac {\log {\left (\tan ^{2}{\left (C_{2} - x \right )} + 1 \right )}}{2}\right ] \]