2.6 problem Problem 15.5(b)

Internal problem ID [2009]

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).
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

Solve \begin {gather*} \boxed {f^{\prime \prime }+8 f^{\prime }+12 f-12 \,{\mathrm e}^{-4 t}=0} \end {gather*} With initial conditions \begin {align*} [f \relax (0) = 0, f^{\prime }\relax (0) = -2] \end {align*}

Solution by Maple

Time used: 0.017 (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 \relax (t ) = 2 \,{\mathrm e}^{-6 t}+{\mathrm e}^{-2 t}-3 \,{\mathrm e}^{-4 t} \]

Solution by Mathematica

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

DSolve[{f''[t]+8*f'[t]+12*f[t]==12*Exp[-4*t],{f[0]==0,f'[0]==-2}},f[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} f(t)\to e^{-6 t} \left (-3 e^{2 t}+e^{4 t}+2\right ) \\ \end{align*}