4.45.15 \(y''''(x)=y(x)+e^x \cos (x)\)

ODE
\[ y''''(x)=y(x)+e^x \cos (x) \] ODE Classification

[[_high_order, _linear, _nonhomogeneous]]

Book solution method
TO DO

Mathematica
cpu = 0.197077 (sec), leaf count = 38

\[\left \{\left \{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)\right \}\right \}\]

Maple
cpu = 0.649 (sec), leaf count = 29

\[\left [y \left (x \right ) = -\frac {{\mathrm e}^{x} \cos \left (x \right )}{5}+\textit {\_C1} \cos \left (x \right )+\textit {\_C2} \,{\mathrm e}^{x}+\textit {\_C3} \sin \left (x \right )+\textit {\_C4} \,{\mathrm e}^{-x}\right ]\] Mathematica raw input

DSolve[y''''[x] == E^x*Cos[x] + y[x],y[x],x]

Mathematica raw output

{{y[x] -> E^x*C[1] + C[3]/E^x + (-1/5*E^x + C[2])*Cos[x] + C[4]*Sin[x]}}

Maple raw input

dsolve(diff(diff(diff(diff(y(x),x),x),x),x) = y(x)+exp(x)*cos(x), y(x))

Maple raw output

[y(x) = -1/5*exp(x)*cos(x)+_C1*cos(x)+_C2*exp(x)+_C3*sin(x)+_C4*exp(-x)]