29.2 problem Ex 2

Internal problem ID [10259]

Book: An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section: Chapter VII, Linear differential equations with constant coefficients. Article 52. Summary. Page 117
Problem number: Ex 2.
ODE order: 4.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime \prime \prime }-y-{\mathrm e}^{x} \cos \left (x \right )=0} \]

Solution by Maple

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

dsolve(diff(y(x),x$4)-y(x)=exp(x)*cos(x),y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {{\mathrm e}^{x} \cos \left (x \right )}{5}+c_{1} \cos \left (x \right )+c_{2} {\mathrm e}^{x}+c_{3} \sin \left (x \right )+c_{4} {\mathrm e}^{-x} \]

Solution by Mathematica

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

DSolve[y''''[x]-y[x]==Exp[x]*Cos[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to c_1 e^x+c_3 e^{-x}+\left (-\frac {e^x}{5}+c_2\right ) \cos (x)+c_4 \sin (x) \\ \end{align*}