6.14 problem 14

Internal problem ID [12684]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.3.2, page 63
Problem number: 14.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.062 (sec). Leaf size: 71

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

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

Solution by Mathematica

Time used: 1.084 (sec). Leaf size: 118

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

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