8.7 problem 20

Internal problem ID [13035]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Review Exercises for chapter 1. page 136
Problem number: 20.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(t)\to -\frac {e^{-t}}{2}+c_1 e^t \]