1.5 problem 5

Internal problem ID [452]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.1. Page 40
Problem number: 5.
ODE order: 1.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {-2 y+y^{\prime }-3 \,{\mathrm e}^{t}=0} \end {gather*}

Solution by Maple

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

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

\[ y \relax (t ) = -3 \,{\mathrm e}^{t}+c_{1} {\mathrm e}^{2 t} \]

Solution by Mathematica

Time used: 0.047 (sec). Leaf size: 17

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

\begin{align*} y(t)\to e^t \left (-3+c_1 e^t\right ) \\ \end{align*}