Internal problem ID [11615]
Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi.
2004.
Section: Chapter 2, section 2.2 (Separable equations). Exercises page 47
Problem number: 2.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {y x +y+\left (x^{2}+2 x \right ) y^{\prime }=-2 x -2} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 15
dsolve((x*y(x)+2*x+y(x)+2)+(x^2+2*x)*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = -2+\frac {c_{1}}{\sqrt {x \left (x +2\right )}} \]
✓ Solution by Mathematica
Time used: 0.149 (sec). Leaf size: 27
DSolve[(x*y[x]+2*x+y[x]+2)+(x^2+2*x)*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -2+\frac {c_1}{\sqrt {x} \sqrt {x+2}} \\ y(x)\to -2 \\ \end{align*}