82.10.2 problem Ex. 2

Internal problem ID [18757]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Exercises at page 27
Problem number : Ex. 2
Date solved : Tuesday, January 28, 2025 at 12:15:13 PM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

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

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

Solution by Mathematica

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

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