10.5 problem 5

Internal problem ID [1758]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 2.4, The method of variation of parameters. Page 154
Problem number: 5.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.031 (sec). Leaf size: 32

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

\[ y \relax (t ) = \frac {\left (2 \cos \relax (t )-3 \sin \relax (t )-13\right ) {\mathrm e}^{-t}}{13}+\frac {24 \,{\mathrm e}^{-\frac {t}{3}}}{13} \]

Solution by Mathematica

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

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

\begin{align*} y(t)\to \frac {1}{13} e^{-t} \left (24 e^{2 t/3}-3 \sin (t)+2 \cos (t)-13\right ) \\ \end{align*}