19.24 problem 537

Internal problem ID [3281]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 19
Problem number: 537.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y \left (1-x \right ) y^{\prime }+\left (1-y\right ) x=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 46.433 (sec). Leaf size: 28

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

\begin{align*} y(x)\to 1+\text {ProductLog}\left (\frac {e^{-x-1+c_1}}{x-1}\right ) \\ y(x)\to 1 \\ \end{align*}