4.8 problem 8

Internal problem ID [852]

Book: Elementary differential equations and boundary value problems, 11th ed., Boyce, DiPrima, Meade
Section: Chapter 6.4, The Laplace Transform. Differential equations with discontinuous forcing functions. page 268
Problem number: 8.
ODE order: 4.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime \prime \prime }+5 y^{\prime \prime }+4 y-1+\theta \left (-\pi +t \right )=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 0, y^{\prime }\relax (0) = 0, y^{\prime \prime }\relax (0) = 0, y^{\prime \prime \prime }\relax (0) = 0] \end {align*}

Solution by Maple

Time used: 0.033 (sec). Leaf size: 36

dsolve([diff(y(t),t$4)+5*diff(y(t),t$2)+4*y(t)=1-Heaviside(t-Pi),y(0) = 0, D(y)(0) = 0, (D@@2)(y)(0) = 0, (D@@3)(y)(0) = 0],y(t), singsol=all)
 

\[ y \relax (t ) = \frac {\left (-4 \cos \relax (t )-\cos \left (2 t \right )-3\right ) \theta \left (-\pi +t \right )}{12}-\frac {\cos \relax (t )}{3}+\frac {\cos \left (2 t \right )}{12}+\frac {1}{4} \]

Solution by Mathematica

Time used: 0.009 (sec). Leaf size: 29

DSolve[{y''''[t]+5*y''[t]+4*y[t]==1-UnitStep[t-Pi],{y[0]==0,y'[0]==0,y''[0]==0,y'''[0]==0}},y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to {cc} \{ & {cc} \frac {2}{3} \sin ^4\left (\frac {t}{2}\right ) & t\leq \pi \\ -\frac {2 \cos (t)}{3} & \text {True} \\ \\ \\ \\ \\ \end{align*}