29.5.16 problem 132

Internal problem ID [4733]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 5
Problem number : 132
Date solved : Sunday, March 30, 2025 at 03:51:07 AM
CAS classification : [_separable]

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

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