57.1.67 problem 67

Internal problem ID [9051]
Book : First order enumerated odes
Section : section 1
Problem number : 67
Date solved : Wednesday, March 05, 2025 at 07:18:35 AM
CAS classification : [[_homogeneous, `class C`], _dAlembert]

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

Maple. Time used: 0.047 (sec). Leaf size: 26
ode:=diff(y(x),x) = 10+exp(x+y(x)); 
dsolve(ode,y(x), singsol=all);
 
\[ y = -x +\ln \left (11\right )+\ln \left (\frac {{\mathrm e}^{11 x}}{-{\mathrm e}^{11 x}+c_{1}}\right ) \]
Mathematica. Time used: 3.263 (sec). Leaf size: 42
ode=D[y[x],x]==10+Exp[x+y[x]]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to \log \left (-\frac {11 e^{10 x+11 c_1}}{-1+e^{11 (x+c_1)}}\right ) \\ y(x)\to \log \left (-11 e^{-x}\right ) \\ \end{align*}
Sympy. Time used: 0.605 (sec). Leaf size: 17
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-exp(x + y(x)) + Derivative(y(x), x) - 10,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \log {\left (\frac {11 e^{10 x}}{C_{1} - e^{11 x}} \right )} \]