Optimal. Leaf size=37 \[ -120 \cosh (x)-60 x^2 \cosh (x)-5 x^4 \cosh (x)+120 x \sinh (x)+20 x^3 \sinh (x)+x^5 \sinh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 2, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3377, 2718}
\begin {gather*} x^5 \sinh (x)-5 x^4 \cosh (x)+20 x^3 \sinh (x)-60 x^2 \cosh (x)+120 x \sinh (x)-120 \cosh (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2718
Rule 3377
Rubi steps
\begin {align*} \int x^5 \cosh (x) \, dx &=x^5 \sinh (x)-5 \int x^4 \sinh (x) \, dx\\ &=-5 x^4 \cosh (x)+x^5 \sinh (x)+20 \int x^3 \cosh (x) \, dx\\ &=-5 x^4 \cosh (x)+20 x^3 \sinh (x)+x^5 \sinh (x)-60 \int x^2 \sinh (x) \, dx\\ &=-60 x^2 \cosh (x)-5 x^4 \cosh (x)+20 x^3 \sinh (x)+x^5 \sinh (x)+120 \int x \cosh (x) \, dx\\ &=-60 x^2 \cosh (x)-5 x^4 \cosh (x)+120 x \sinh (x)+20 x^3 \sinh (x)+x^5 \sinh (x)-120 \int \sinh (x) \, dx\\ &=-120 \cosh (x)-60 x^2 \cosh (x)-5 x^4 \cosh (x)+120 x \sinh (x)+20 x^3 \sinh (x)+x^5 \sinh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 0.78 \begin {gather*} -5 \left (24+12 x^2+x^4\right ) \cosh (x)+x \left (120+20 x^2+x^4\right ) \sinh (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.50, size = 37, normalized size = 1.00 \begin {gather*} 120 x \text {Sinh}\left [x\right ]-60 x^2 \text {Cosh}\left [x\right ]+20 x^3 \text {Sinh}\left [x\right ]-5 x^4 \text {Cosh}\left [x\right ]+x^5 \text {Sinh}\left [x\right ]-120 \text {Cosh}\left [x\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 38, normalized size = 1.03
method | result | size |
default | \(-120 \cosh \left (x \right )-60 x^{2} \cosh \left (x \right )-5 x^{4} \cosh \left (x \right )+120 x \sinh \left (x \right )+20 x^{3} \sinh \left (x \right )+x^{5} \sinh \left (x \right )\) | \(38\) |
meijerg | \(-32 \sqrt {\pi }\, \left (-\frac {15}{4 \sqrt {\pi }}+\frac {\left (\frac {15}{8} x^{4}+\frac {45}{2} x^{2}+45\right ) \cosh \left (x \right )}{12 \sqrt {\pi }}-\frac {x \left (\frac {3}{8} x^{4}+\frac {15}{2} x^{2}+45\right ) \sinh \left (x \right )}{12 \sqrt {\pi }}\right )\) | \(51\) |
risch | \(\left (10 x^{3}-30 x^{2}+60 x -60-\frac {5}{2} x^{4}+\frac {1}{2} x^{5}\right ) {\mathrm e}^{x}+\left (-10 x^{3}-30 x^{2}-60 x -60-\frac {5}{2} x^{4}-\frac {1}{2} x^{5}\right ) {\mathrm e}^{-x}\) | \(60\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 74, normalized size = 2.00 \begin {gather*} \frac {1}{6} \, x^{6} \cosh \left (x\right ) - \frac {1}{12} \, {\left (x^{6} + 6 \, x^{5} + 30 \, x^{4} + 120 \, x^{3} + 360 \, x^{2} + 720 \, x + 720\right )} e^{\left (-x\right )} - \frac {1}{12} \, {\left (x^{6} - 6 \, x^{5} + 30 \, x^{4} - 120 \, x^{3} + 360 \, x^{2} - 720 \, x + 720\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 30, normalized size = 0.81 \begin {gather*} -5 \, {\left (x^{4} + 12 \, x^{2} + 24\right )} \cosh \left (x\right ) + {\left (x^{5} + 20 \, x^{3} + 120 \, x\right )} \sinh \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.32, size = 42, normalized size = 1.14 \begin {gather*} x^{5} \sinh {\left (x \right )} - 5 x^{4} \cosh {\left (x \right )} + 20 x^{3} \sinh {\left (x \right )} - 60 x^{2} \cosh {\left (x \right )} + 120 x \sinh {\left (x \right )} - 120 \cosh {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 64, normalized size = 1.73 \begin {gather*} \frac {\left (x^{5}-5 x^{4}+20 x^{3}-60 x^{2}+120 x-120\right ) \mathrm {e}^{x}+\left (-x^{5}-5 x^{4}-20 x^{3}-60 x^{2}-120 x-120\right ) \mathrm {e}^{-x}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.21, size = 37, normalized size = 1.00 \begin {gather*} 20\,x^3\,\mathrm {sinh}\left (x\right )-60\,x^2\,\mathrm {cosh}\left (x\right )-5\,x^4\,\mathrm {cosh}\left (x\right )-120\,\mathrm {cosh}\left (x\right )+x^5\,\mathrm {sinh}\left (x\right )+120\,x\,\mathrm {sinh}\left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________