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