75.14.26 problem 352

Internal problem ID [16869]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Chapter 2 (Higher order ODEs). Section 14. Differential equations admitting of depression of their order. Exercises page 107
Problem number : 352
Date solved : Monday, March 31, 2025 at 03:33:51 PM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _exact, _nonlinear], _Lagerstrom, [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

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

With initial conditions

\begin{align*} y \left (0\right )&=1\\ y^{\prime }\left (0\right )&=1 \end{align*}

Maple. Time used: 0.046 (sec). Leaf size: 11
ode:=diff(diff(y(x),x),x) = 2*y(x)*diff(y(x),x); 
ic:=y(0) = 1, D(y)(0) = 1; 
dsolve([ode,ic],y(x), singsol=all);
 
\[ y = -\frac {1}{-1+x} \]
Mathematica
ode=D[y[x],{x,2}]==2*y[x]*D[y[x],x]; 
ic={y[0]==1,Derivative[1][y][0] ==1}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

{}

Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-2*y(x)*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) 
ics = {y(0): 1, Subs(Derivative(y(x), x), x, 0): 1} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE Derivative(y(x), x) - Derivative(y(x), (x, 2))/(2*y(x)) cannot be solved by the factorable group method