2.38 problem 38

Internal problem ID [4616]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 24. First order differential equations. Further problems 24. page 1068
Problem number: 38.
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}+x^{2} y^{\prime }-x y y^{\prime }=0} \end {gather*}

Solution by Maple

Time used: 0.049 (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: 15.758 (sec). Leaf size: 25

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 ) \\ y(x)\to 0 \\ \end{align*}