1.45 problem 64

Internal problem ID [12462]

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.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, `class A`]]

\[ \boxed {y^{\prime }+y={\mathrm e}^{-x}} \]

Solution by Maple

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

dsolve(diff(y(x),x)+y(x)=exp(-x),y(x), singsol=all)
 

\[ y \left (x \right ) = \left (c_{1} +x \right ) {\mathrm e}^{-x} \]

Solution by Mathematica

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

DSolve[y'[x]+y[x]==Exp[-x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{-x} (x+c_1) \]