15.15 problem 423

Internal problem ID [3169]

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

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

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

Solution by Maple

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

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

\begin{align*} y \relax (x ) = \sqrt {{\mathrm e}^{-2 x} c_{1}-4 x^{2}} \\ y \relax (x ) = -\sqrt {{\mathrm e}^{-2 x} c_{1}-4 x^{2}} \\ \end{align*}

Solution by Mathematica

Time used: 5.756 (sec). Leaf size: 47

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

\begin{align*} y(x)\to -\sqrt {-4 x^2+c_1 e^{-2 x}} \\ y(x)\to \sqrt {-4 x^2+c_1 e^{-2 x}} \\ \end{align*}