4.1 problem 1

Internal problem ID [4996]

Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section: Chapter 2, First order differential equations. Review problems. page 79
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }-\frac {{\mathrm e}^{x +y}}{y-1}=0} \]

Solution by Maple

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

dsolve(diff(y(x),x)=exp(x+y(x))/(y(x)-1),y(x), singsol=all)
 

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

Solution by Mathematica

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

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

\[ y(x)\to -W\left (e^x+c_1\right ) \]