15.6.5 problem 5

Internal problem ID [2962]
Book : Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section : Exercise 10, page 41
Problem number : 5
Date solved : Monday, January 27, 2025 at 07:04:33 AM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

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

dsolve(diff(x(y),y)+x(y)=exp(-y),x(y), singsol=all)
 
\[ x \left (y \right ) = \left (y +c_{1} \right ) {\mathrm e}^{-y} \]

Solution by Mathematica

Time used: 0.053 (sec). Leaf size: 15

DSolve[D[x[y],y]+x[y]==Exp[-y],x[y],y,IncludeSingularSolutions -> True]
 
\[ x(y)\to e^{-y} (y+c_1) \]