Internal problem ID [2873]
Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth
edition, 2015
Section: Chapter 10, The Laplace Transform and Some Elementary Applications. Exercises for
10.7. page 704
Problem number: Problem 33.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {y^{\prime }-3 y=-10 \,{\mathrm e}^{-t +a} \sin \left (-2 t +2 a \right ) \operatorname {Heaviside}\left (t -a \right )} \] With initial conditions \begin {align*} [y \left (0\right ) = 5] \end {align*}
✓ Solution by Maple
Time used: 0.172 (sec). Leaf size: 100
dsolve([diff(y(t),t)-3*y(t)=10*exp(-(t-a))*sin(2*(t-a))*Heaviside(t-a),y(0) = 5],y(t), singsol=all)
\[ y \left (t \right ) = -\left (\left (\left (\cos \left (2 t \right )+2 \sin \left (2 t \right )\right ) \cos \left (2 a \right )-2 \sin \left (2 a \right ) \left (\cos \left (2 t \right )-\frac {\sin \left (2 t \right )}{2}\right )\right ) \operatorname {Heaviside}\left (t -a \right ) {\mathrm e}^{4 a -4 t}-\operatorname {Heaviside}\left (t -a \right )+\left (\operatorname {Heaviside}\left (a \right )-1\right ) {\mathrm e}^{4 a} \cos \left (2 a \right )+\left (-2 \operatorname {Heaviside}\left (a \right )+2\right ) \sin \left (2 a \right ) {\mathrm e}^{4 a}-5 \,{\mathrm e}^{3 a}-\operatorname {Heaviside}\left (a \right )+1\right ) {\mathrm e}^{3 t -3 a} \]
✓ Solution by Mathematica
Time used: 0.461 (sec). Leaf size: 103
DSolve[{y'[t]-3*y[t]==10*Exp[-(t-a)]*Sin[2*(t-a)]*UnitStep[t-a],{y[0]==5}},y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to e^{-3 a-t} \left (e^{4 t} \theta (-a) \left (-2 e^{4 a} \sin (2 a)+e^{4 a} \cos (2 a)-1\right )+\theta (t-a) \left (2 e^{4 a} \sin (2 (a-t))-e^{4 a} \cos (2 (a-t))+e^{4 t}\right )+5 e^{3 a+4 t}\right ) \]