19.10 problem 523

Internal problem ID [3775]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 19
Problem number: 523.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.0 (sec). Leaf size: 121

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

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

Solution by Mathematica

Time used: 1.118 (sec). Leaf size: 89

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

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