22.10 problem 31.7 (c)

Internal problem ID [13581]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 31. Delta Functions. Additional Exercises. page 572
Problem number: 31.7 (c).
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }+3 y^{\prime }=\delta \left (-1+t \right )} \] With initial conditions \begin {align*} [y \left (0\right ) = 0, y^{\prime }\left (0\right ) = 1] \end {align*}

Solution by Maple

Time used: 0.078 (sec). Leaf size: 28

dsolve([diff(y(t),t$2)+3*diff(y(t),t)=Dirac(t-1),y(0) = 0, D(y)(0) = 1],y(t), singsol=all)
 

\[ y \left (t \right ) = -\frac {\operatorname {Heaviside}\left (t -1\right ) {\mathrm e}^{-3 t +3}}{3}+\frac {\operatorname {Heaviside}\left (t -1\right )}{3}+\frac {1}{3}-\frac {{\mathrm e}^{-3 t}}{3} \]

Solution by Mathematica

Time used: 0.14 (sec). Leaf size: 37

DSolve[{y''[t]+3*y'[t]==DiracDelta[t-1],{y[0]==0,y'[0]==1}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {1}{3} e^{-3 t} \left (\left (e^{3 t}-e^3\right ) \theta (t-1)+e^{3 t}-1\right ) \]