7.9 problem 36

Internal problem ID [5943]

Book: DIFFERENTIAL EQUATIONS with Boundary Value Problems. DENNIS G. ZILL, WARREN S. WRIGHT, MICHAEL R. CULLEN. Brooks/Cole. Boston, MA. 2013. 8th edition.
Section: CHAPTER 7 THE LAPLACE TRANSFORM. 7.4.1 DERIVATIVES OF A TRANSFORM. Page 309
Problem number: 36.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

Solve \begin {gather*} \boxed {y^{\prime \prime }+y-\sin \relax (t )-t \sin \relax (t )=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 0, y^{\prime }\relax (0) = 0] \end {align*}

Solution by Maple

Time used: 0.011 (sec). Leaf size: 18

dsolve([diff(y(t),t$2)+y(t)=sin(t)+t*sin(t),y(0) = 0, D(y)(0) = 0],y(t), singsol=all)
 

\[ y \relax (t ) = -\frac {\left (t +2\right ) \left (\cos \relax (t ) t -\sin \relax (t )\right )}{4} \]

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 21

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

\begin{align*} y(t)\to -\frac {1}{4} (t+2) (t \cos (t)-\sin (t)) \\ \end{align*}