18.2.6 problem Problem 15.5(b)

Internal problem ID [3489]
Book : Mathematical methods for physics and engineering, Riley, Hobson, Bence, second edition, 2002
Section : Chapter 15, Higher order ordinary differential equations. 15.4 Exercises, page 523
Problem number : Problem 15.5(b)
Date solved : Monday, January 27, 2025 at 07:39:33 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} f^{\prime \prime }+8 f^{\prime }+12 f&=12 \,{\mathrm e}^{-4 t} \end{align*}

With initial conditions

\begin{align*} f \left (0\right )&=0\\ f^{\prime }\left (0\right )&=-2 \end{align*}

Solution by Maple

Time used: 0.014 (sec). Leaf size: 21

dsolve([diff(f(t),t$2)+8*diff(f(t),t)+12*f(t)=12*exp(-4*t),f(0) = 0, D(f)(0) = -2],f(t), singsol=all)
 
\[ f = {\mathrm e}^{-2 t}+2 \,{\mathrm e}^{-6 t}-3 \,{\mathrm e}^{-4 t} \]

Solution by Mathematica

Time used: 0.021 (sec). Leaf size: 25

DSolve[{D[ f[t],{t,2}]+8*D[ f[t],t]+12*f[t]==12*Exp[-4*t],{f[0]==0,Derivative[1][f][0]==-2}},f[t],t,IncludeSingularSolutions -> True]
 
\[ f(t)\to e^{-6 t} \left (-3 e^{2 t}+e^{4 t}+2\right ) \]