7.5.44 problem 44

Internal problem ID [148]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Section 1.6 (substitution and exact equations). Problems at page 72
Problem number : 44
Date solved : Saturday, March 29, 2025 at 04:37:04 PM
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.022 (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.182 (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