78.10.9 problem 7 (a)

Internal problem ID [18199]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 3. Second order linear equations. Section 15. The General Solution of the Homogeneous Equation. Problems at page 117
Problem number : 7 (a)
Date solved : Monday, March 31, 2025 at 05:22:34 PM
CAS classification : [[_2nd_order, _missing_x], _Liouville, [_2nd_order, _reducible, _mu_xy]]

\begin{align*} y^{\prime \prime }+{y^{\prime }}^{2}&=0 \end{align*}

Maple. Time used: 0.017 (sec). Leaf size: 10
ode:=diff(diff(y(x),x),x)+diff(y(x),x)^2 = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \ln \left (c_1 x +c_2 \right ) \]
Mathematica. Time used: 0.173 (sec). Leaf size: 15
ode=D[y[x],{x,2}] +D[y[x],x]^2==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \log (x-c_1)+c_2 \]
Sympy. Time used: 0.507 (sec). Leaf size: 8
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(Derivative(y(x), x)**2 + Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + \log {\left (C_{2} + x \right )} \]