32.1.8 problem First order with homogeneous Coefficients. Exercise 7.9, page 61

Internal problem ID [5778]
Book : Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section : Chapter 2. Special types of differential equations of the first kind. Lesson 7
Problem number : First order with homogeneous Coefficients. Exercise 7.9, page 61
Date solved : Monday, January 27, 2025 at 01:17:13 PM
CAS classification : [[_homogeneous, `class A`], _dAlembert]

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

Solution by Maple

Time used: 0.057 (sec). Leaf size: 16

dsolve(y(x)+x*ln(y(x)/x)*diff(y(x),x)-2*x*diff(y(x),x)=0,y(x), singsol=all)
 
\[ y \left (x \right ) = -\frac {\operatorname {LambertW}\left (-{\mathrm e} x c_{1} \right )}{c_{1}} \]

Solution by Mathematica

Time used: 5.206 (sec). Leaf size: 35

DSolve[y[x]+x*Log[y[x]/x]*D[y[x],x]-2*x*D[y[x],x]==0,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 e x \\ \end{align*}