4.45.12 \(y''''(x)=x \cos (x)\)

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

[[_high_order, _quadrature]]

Book solution method
TO DO

Mathematica
cpu = 0.171326 (sec), leaf count = 32

\[\left \{\left \{y(x)\to c_4 x^3+c_3 x^2-4 \sin (x)+x \cos (x)+c_2 x+c_1\right \}\right \}\]

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

\[\left [y \left (x \right ) = \frac {x^{2} \textit {\_C2}}{2}+x \cos \left (x \right )-4 \sin \left (x \right )+\frac {\textit {\_C1} \,x^{3}}{6}+\textit {\_C3} x +\textit {\_C4}\right ]\] Mathematica raw input

DSolve[y''''[x] == x*Cos[x],y[x],x]

Mathematica raw output

{{y[x] -> C[1] + x*C[2] + x^2*C[3] + x^3*C[4] + x*Cos[x] - 4*Sin[x]}}

Maple raw input

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

Maple raw output

[y(x) = 1/2*x^2*_C2+x*cos(x)-4*sin(x)+1/6*_C1*x^3+_C3*x+_C4]