Internal problem ID [4270]
Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley.
2006
Section: Chapter 8, Ordinary differential equations. Section 4. OTHER METHODS FOR
FIRST-ORDER EQUATIONS. page 406
Problem number: 5.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
\[ \boxed {\left (-y+x \right ) y^{\prime }+y+x +1=0} \]
✓ Solution by Maple
Time used: 0.344 (sec). Leaf size: 36
dsolve((x-y(x))*diff(y(x),x)+(y(x)+x+1)=0,y(x), singsol=all)
\[ y \left (x \right ) = -\frac {1}{2}-\frac {-\left (1+2 x \right ) c_{1} +\sqrt {2 \left (1+2 x \right )^{2} c_{1}^{2}+1}}{2 c_{1}} \]
✓ Solution by Mathematica
Time used: 0.113 (sec). Leaf size: 51
DSolve[(x-y[x])*y'[x]+(y[x]+x+1)==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to x-i \sqrt {-2 x (x+1)-c_1} \\ y(x)\to x+i \sqrt {-2 x (x+1)-c_1} \\ \end{align*}