29.2 problem Ex 2

Internal problem ID [11277]

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 )} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 31

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

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

Solution by Mathematica

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

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

\[ 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) \]