6.5 problem 5

Internal problem ID [1991]

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

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

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

Solution by Maple

Time used: 0.0 (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.069 (sec). Leaf size: 15

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

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