Internal problem ID [5239]
Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres.
McGraw Hill 1952
Section: Chapter 4. Equations of first order and first degree (Variable separable). Supplemetary
problems. Page 22
Problem number: 27.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {-\left (x +1\right ) y^{\prime }+y=-1} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 10
dsolve((1+y(x))-(1+x)*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = c_{1} x +c_{1} -1 \]
✓ Solution by Mathematica
Time used: 0.028 (sec). Leaf size: 18
DSolve[(1+y[x])-(1+x)*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to -1+c_1 (x+1) \\ y(x)\to -1 \\ \end{align*}