Internal problem ID [11514]
Book: A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag,
NY. 2015.
Section: Chapter 3, Laplace transform. Section 3.2.1 Initial value problems. Exercises page
156
Problem number: 6(g).
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {x^{\prime \prime }+\frac {2 x^{\prime }}{5}+2 x=1-\operatorname {Heaviside}\left (t -5\right )} \] With initial conditions \begin {align*} [x \left (0\right ) = 0, x^{\prime }\left (0\right ) = 0] \end {align*}
✓ Solution by Maple
Time used: 6.672 (sec). Leaf size: 57
dsolve([diff(x(t),t$2)+4/10*diff(x(t),t)+2*x(t)=1-Heaviside(t-5),x(0) = 0, D(x)(0) = 0],x(t), singsol=all)
\[ x \left (t \right ) = \frac {1}{2}+\left (\frac {1}{4}+\frac {i}{28}\right ) \operatorname {Heaviside}\left (t -5\right ) {\mathrm e}^{\left (-\frac {1}{5}-\frac {7 i}{5}\right ) \left (t -5\right )}+\left (\frac {1}{4}-\frac {i}{28}\right ) \operatorname {Heaviside}\left (t -5\right ) {\mathrm e}^{\left (-\frac {1}{5}+\frac {7 i}{5}\right ) \left (t -5\right )}+\frac {\left (-7 \cos \left (\frac {7 t}{5}\right )-\sin \left (\frac {7 t}{5}\right )\right ) {\mathrm e}^{-\frac {t}{5}}}{14}-\frac {\operatorname {Heaviside}\left (t -5\right )}{2} \]
✓ Solution by Mathematica
Time used: 0.07 (sec). Leaf size: 91
DSolve[{x''[t]+4/10*x'[t]+2*x[t]==1-UnitStep[t-5],{x[0]==0,x'[0]==0}},x[t],t,IncludeSingularSolutions -> True]
\[ x(t)\to -\frac {1}{14} e^{-t/5} \left (-\theta (5-t) \left (7 e^{t/5}+e \sin \left (7-\frac {7 t}{5}\right )-7 e \cos \left (7-\frac {7 t}{5}\right )\right )+e \sin \left (7-\frac {7 t}{5}\right )+\sin \left (\frac {7 t}{5}\right )-7 e \cos \left (7-\frac {7 t}{5}\right )+7 \cos \left (\frac {7 t}{5}\right )\right ) \]