69.1.45 problem 64

Internal problem ID [14198]
Book : DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section : Chapter 8. Differential equations. Exercises page 595
Problem number : 64
Date solved : Tuesday, January 28, 2025 at 06:21:35 AM
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 +c_{1} \right ) {\mathrm e}^{-x} \]

Solution by Mathematica

Time used: 0.050 (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) \]