1.21 problem 2(k)

Internal problem ID [2513]

Book: Theory and solutions of Ordinary Differential equations, Donald Greenspan, 1960
Section: Exercises, page 14
Problem number: 2(k).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y y^{\prime } x -\left (x +1\right ) \left (1+y\right )=0} \end {gather*} With initial conditions \begin {align*} [y \relax (1) = 1] \end {align*}

Solution by Maple

Time used: 0.234 (sec). Leaf size: 21

dsolve([x*y(x)*diff(y(x),x)=(x+1)*(y(x)+1),y(1) = 1],y(x), singsol=all)
 

\[ y \relax (x ) = -\LambertW \left (-1, -\frac {2 \,{\mathrm e}^{-x -1}}{x}\right )-1 \]

Solution by Mathematica

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

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

{}