77.1.98 problem 125 (page 179)

Internal problem ID [17917]
Book : V.V. Stepanov, A course of differential equations (in Russian), GIFML. Moscow (1958)
Section : All content
Problem number : 125 (page 179)
Date solved : Monday, March 31, 2025 at 04:51:23 PM
CAS classification : [[_2nd_order, _missing_x], _Liouville, [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

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

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