7.1 problem 9

Internal problem ID [6688]

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: 9.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, `class A`]]

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

Solution by Maple

Time used: 1.703 (sec). Leaf size: 23

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

\[ y \left (t \right ) = -\frac {{\mathrm e}^{-t}}{2}+\frac {\left (1-t \right ) \cos \left (t \right )}{2}+\frac {t \sin \left (t \right )}{2} \]

Solution by Mathematica

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

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

\[ y(t)\to \frac {1}{2} \left (-e^{-t}+t \sin (t)-t \cos (t)+\cos (t)\right ) \]