72.7.23 problem 23

Internal problem ID [14764]
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. Exercises section 1.9 page 133
Problem number : 23
Date solved : Tuesday, January 28, 2025 at 07:14:31 AM
CAS classification : [[_linear, `class A`]]

\begin{align*} y^{\prime }+2 y&=3 \,{\mathrm e}^{-2 t} \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 14

dsolve(diff(y(t),t)+2*y(t)=3*exp(-2*t),y(t), singsol=all)
 
\[ y = \left (c_{1} +3 t \right ) {\mathrm e}^{-2 t} \]

Solution by Mathematica

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

DSolve[D[y[t],t]+2*y[t]==3*Exp[-2*t],y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to e^{-2 t} (3 t+c_1) \]