2.20 problem 20

Internal problem ID [4598]

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

CAS Maple gives this as type [[_homogeneous, class G], _rational]

Solve \begin {gather*} \boxed {y \left (x y+1\right )+x \left (1+x y+y^{2} x^{2}\right ) y^{\prime }=0} \end {gather*}

Solution by Maple

Time used: 0.036 (sec). Leaf size: 38

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

\[ y \relax (x ) = \frac {{\mathrm e}^{\RootOf \left (-2 \,{\mathrm e}^{2 \textit {\_Z}} \ln \relax (x )+2 \,{\mathrm e}^{2 \textit {\_Z}} c_{1}+2 \,{\mathrm e}^{2 \textit {\_Z}} \textit {\_Z} -2 \,{\mathrm e}^{\textit {\_Z}}-1\right )}}{x} \]

Solution by Mathematica

Time used: 0.115 (sec). Leaf size: 30

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

\[ \text {Solve}\left [\frac {-\frac {1}{2 x^2}-\frac {y(x)}{x}}{y(x)^2}+\log (y(x))=c_1,y(x)\right ] \]