29.5.14 problem 130

Internal problem ID [4731]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 5
Problem number : 130
Date solved : Tuesday, March 04, 2025 at 07:12:04 PM
CAS classification : [_separable]

\begin{align*} y^{\prime }&={\mathrm e}^{x +y} \end{align*}

Maple. Time used: 0.005 (sec). Leaf size: 13
ode:=diff(y(x),x) = exp(x+y(x)); 
dsolve(ode,y(x), singsol=all);
 
\[ y \left (x \right ) = \ln \left (-\frac {1}{{\mathrm e}^{x}+c_{1}}\right ) \]
Mathematica. Time used: 0.796 (sec). Leaf size: 18
ode=D[y[x],x]==Exp[x+y[x]]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to -\log \left (-e^x-c_1\right ) \]
Sympy. Time used: 0.192 (sec). Leaf size: 12
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-exp(x + y(x)) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \log {\left (- \frac {1}{C_{1} + e^{x}} \right )} \]