60.1.10 problem Problem 10

Internal problem ID [15138]
Book : Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section : Chapter 1, First-Order Differential Equations. Problems page 88
Problem number : Problem 10
Date solved : Thursday, October 02, 2025 at 10:04:13 AM
CAS classification : [[_homogeneous, `class A`], _dAlembert]

\begin{align*} x \left (\ln \left (x \right )-\ln \left (y\right )\right ) y^{\prime }-y&=0 \end{align*}
Maple. Time used: 0.028 (sec). Leaf size: 14
ode:=x*(ln(x)-ln(y(x)))*diff(y(x),x)-y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {\operatorname {LambertW}\left (c_1 x \,{\mathrm e}^{-1}\right )}{c_1} \]
Mathematica. Time used: 2.348 (sec). Leaf size: 37
ode=x*(Log[x]-Log[y[x]])*D[y[x],x]-y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to -e^{c_1} W\left (-e^{-1-c_1} x\right )\\ y(x)&\to 0\\ y(x)&\to \frac {x}{e} \end{align*}
Sympy. Time used: 0.734 (sec). Leaf size: 14
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*(log(x) - log(y(x)))*Derivative(y(x), x) - y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = x e^{- W\left (C_{1} x\right ) - 1} \]