3.19 problem 14

Internal problem ID [12633]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.1, page 40
Problem number: 14.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 1.319 (sec). Leaf size: 12

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

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