2.4 problem 4

Internal problem ID [4999]

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: 4.
ODE order: 1.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{2}+y^{\prime } x^{2}-x y y^{\prime }=0} \end {gather*}

Solution by Maple

Time used: 0.078 (sec). Leaf size: 21

dsolve(y(x)^2+x^2*diff(y(x),x)=x*y(x)*diff(y(x),x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 60.135 (sec). Leaf size: 20

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

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