2.14 problem 14

Internal problem ID [5762]

Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section: Chapter 1. First order differential equations. Section 1.2 Homogeneous equations problems. page 12
Problem number: 14.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]

\[ \boxed {-y+x y^{\prime }-y^{\prime } y=0} \]

Solution by Maple

Time used: 0.015 (sec). Leaf size: 17

dsolve(x*diff(y(x),x)-y(x)=y(x)*diff(y(x),x),y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {x}{\operatorname {LambertW}\left (-x \,{\mathrm e}^{-c_{1}}\right )} \]

Solution by Mathematica

Time used: 3.949 (sec). Leaf size: 25

DSolve[x*y'[x]-y[x]==y[x]*y'[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\frac {x}{W\left (-e^{-c_1} x\right )} \\ y(x)\to 0 \\ \end{align*}