7.21.11 problem 11

Internal problem ID [574]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 4. Laplace transform methods. Section 4.6 (Impulses and Delta functions). Problems at page 324
Problem number : 11
Date solved : Monday, January 27, 2025 at 02:54:58 AM
CAS classification : [[_2nd_order, _linear, _nonhomogeneous]]

\begin{align*} x^{\prime \prime }+6 x^{\prime }+8 x&=f \left (t \right ) \end{align*}

Using Laplace method With initial conditions

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

Solution by Maple

Time used: 0.349 (sec). Leaf size: 43

dsolve([diff(x(t),t$2)+6*diff(x(t),t)+8*x(t)=f(t),x(0) = 0, D(x)(0) = 0],x(t), singsol=all)
 
\[ x \left (t \right ) = \frac {\left (\int _{0}^{t}{\mathrm e}^{-2 t +2 \textit {\_U1}} f \left (\textit {\_U1} \right )d \textit {\_U1} \right )}{2}-\frac {\left (\int _{0}^{t}{\mathrm e}^{-4 t +4 \textit {\_U1}} f \left (\textit {\_U1} \right )d \textit {\_U1} \right )}{2} \]

Solution by Mathematica

Time used: 0.070 (sec). Leaf size: 103

DSolve[{D[x[t],{t,2}]+6*D[x[t],t]+8*x[t]==f[t],{x[0]==0,Derivative[1][x][0] ==0}},x[t],t,IncludeSingularSolutions -> True]
 
\[ x(t)\to e^{-4 t} \left (\int _1^t-\frac {1}{2} e^{4 K[1]} f(K[1])dK[1]+e^{2 t} \left (\int _1^t\frac {1}{2} e^{2 K[2]} f(K[2])dK[2]-\int _1^0\frac {1}{2} e^{2 K[2]} f(K[2])dK[2]\right )-\int _1^0-\frac {1}{2} e^{4 K[1]} f(K[1])dK[1]\right ) \]