1.9 problem 3(c)

Internal problem ID [1931]

Book: Elementary Differential Equations, Martin, Reissner, 2nd ed, 1961
Section: Exercis 2, page 5
Problem number: 3(c).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y^{\prime }+{\mathrm e}^{y} x=0} \end {gather*}

Solution by Maple

Time used: 0.006 (sec). Leaf size: 16

dsolve(diff(y(x),x)=-x*exp(y(x)),y(x), singsol=all)
 

\[ y \relax (x ) = \ln \left (\frac {2}{x^{2}+2 c_{1}}\right ) \]

Solution by Mathematica

Time used: 0.275 (sec). Leaf size: 19

DSolve[y'[x]==-x*Exp[y[x]],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \log (2)-\log \left (x^2-2 c_1\right ) \\ \end{align*}