4.1 problem 1.1

Internal problem ID [3887]

Book: Differential Equations, By George Boole F.R.S. 1865
Section: Chapter 5
Problem number: 1.1.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {x^{2}+y^{2}+2 x +2 y y^{\prime }=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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