8.2 problem 2

Internal problem ID [2034]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 12, page 46
Problem number: 2.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.047 (sec). Leaf size: 45

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

\begin{align*} y \left (x \right ) &= \frac {1+\sqrt {c_{1} x^{2}+1}}{c_{1} x} \\ y \left (x \right ) &= \frac {1-\sqrt {c_{1} x^{2}+1}}{c_{1} x} \\ \end{align*}

Solution by Mathematica

Time used: 2.48 (sec). Leaf size: 80

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

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