Internal problem ID [464]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Section 2.1. Page 40
Problem number: 17.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {-2 y+y^{\prime }={\mathrm e}^{2 t}} \] With initial conditions \begin {align*} [y \left (0\right ) = 2] \end {align*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 12
dsolve([-2*y(t)+diff(y(t),t) = exp(2*t),y(0) = 2],y(t), singsol=all)
\[ y \left (t \right ) = \left (2+t \right ) {\mathrm e}^{2 t} \]
✓ Solution by Mathematica
Time used: 0.039 (sec). Leaf size: 14
DSolve[{-2*y[t]+y'[t] == Exp[2*t],y[0]==2},y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to e^{2 t} (t+2) \]