15.18.21 problem 21

Internal problem ID [3264]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 35, page 157
Problem number : 21
Date solved : Sunday, March 30, 2025 at 01:25:38 AM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _exact, _nonlinear], _Liouville, [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

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

Maple. Time used: 0.019 (sec). Leaf size: 33
ode:=y(x)*diff(diff(y(x),x),x)+diff(y(x),x)^2 = 0; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= 0 \\ y &= \sqrt {2 c_1 x +2 c_2} \\ y &= -\sqrt {2 c_1 x +2 c_2} \\ \end{align*}
Mathematica. Time used: 0.176 (sec). Leaf size: 20
ode=y[x]*D[y[x],{x,2}]+D[y[x],x]^2==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_2 \sqrt {2 x-c_1} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(y(x)*Derivative(y(x), (x, 2)) + Derivative(y(x), x)**2,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE -sqrt(-y(x)*Derivative(y(x), (x, 2))) + Derivative(y(x), x) cannot be solved by the factorable group method