3.1 problem 2

Internal problem ID [3878]

Book: Differential Equations, By George Boole F.R.S. 1865
Section: Chapter 4
Problem number: 2.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _rational, _dAlembert]

\[ \boxed {2 x y+\left (y^{2}-2 x^{2}\right ) y^{\prime }=0} \]

Solution by Maple

Time used: 0.032 (sec). Leaf size: 19

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

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

Solution by Mathematica

Time used: 7.646 (sec). Leaf size: 66

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

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