78.7.11 problem 3 (a)

Internal problem ID [18118]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 2. First order equations. Section 11 (Reduction of order). Problems at page 87
Problem number : 3 (a)
Date solved : Thursday, March 13, 2025 at 11:37:38 AM
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.006 (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_{2} \cos \left (x \right )+c_{1} \sin \left (x \right )\right ) \]
Mathematica. Time used: 1.777 (sec). Leaf size: 16
ode=D[y[x],{x,2}]==1+D[y[x],x]^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_2-\log (\cos (x+c_1)) \]
Sympy. Time used: 1.129 (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 ] \]