6.3 problem 3

Internal problem ID [11677]

Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section: Chapter 2, Miscellaneous Review. Exercises page 60
Problem number: 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y+x \left (1+x \right ) y^{\prime }=1} \]

Solution by Maple

Time used: 0.015 (sec). Leaf size: 14

dsolve((y(x)-1)+(x*(x+1))*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {c_{1} x +c_{1} -1}{x} \]

Solution by Mathematica

Time used: 0.03 (sec). Leaf size: 22

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

\begin{align*} y(x)\to \frac {-1+c_1 (x+1)}{x} \\ y(x)\to 1 \\ \end{align*}