13.3 problem Problem 3

Internal problem ID [2841]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 10, The Laplace Transform and Some Elementary Applications. Exercises for 10.4. page 689
Problem number: Problem 3.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {y^{\prime }+3 y=2 \,{\mathrm e}^{-t}} \] With initial conditions \begin {align*} [y \left (0\right ) = 3] \end {align*}

Solution by Maple

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

dsolve([diff(y(t),t)+3*y(t)=2*exp(-t),y(0) = 3],y(t), singsol=all)
 

\[ y \left (t \right ) = {\mathrm e}^{-t}+2 \,{\mathrm e}^{-3 t} \]

Solution by Mathematica

Time used: 0.051 (sec). Leaf size: 18

DSolve[{y'[t]+3*y[t]==2*Exp[-t],{y[0]==3}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to e^{-3 t} \left (e^{2 t}+2\right ) \]