2.31 problem Problem 42

Internal problem ID [10846]

Book: Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section: Chapter 2, DIFFERENTIAL EQUATIONS OF THE SECOND ORDER AND HIGHER. Problems page 172
Problem number: Problem 42.
ODE order: 4.
ODE degree: 1.

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

\[ \boxed {x^{\prime \prime \prime \prime }+2 x^{\prime \prime }+x-\cos \left (t \right )=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 38

dsolve(diff(x(t),t$4)+2*diff(x(t),t$2)+x(t)=cos(t),x(t), singsol=all)
 

\[ x \left (t \right ) = \left (-\frac {t^{2}}{8}+\frac {1}{4}\right ) \cos \left (t \right )+\frac {3 t \sin \left (t \right )}{8}+c_{1} \cos \left (t \right )+c_{2} \sin \left (t \right )+\cos \left (t \right ) c_{3} t +c_{4} t \sin \left (t \right ) \]

Solution by Mathematica

Time used: 0.044 (sec). Leaf size: 43

DSolve[x''''[t]+2*x''[t]+x[t]==Cos[t],x[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to \left (-\frac {t^2}{8}+c_2 t+\frac {5}{16}+c_1\right ) \cos (t)+\frac {1}{4} (t+4 c_4 t+4 c_3) \sin (t) \\ \end{align*}