Optimal. Leaf size=57 \[ \frac {5 x}{16 a}+\frac {\sinh ^7(x)}{7 a}-\frac {\sinh ^5(x) \cosh (x)}{6 a}+\frac {5 \sinh ^3(x) \cosh (x)}{24 a}-\frac {5 \sinh (x) \cosh (x)}{16 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {2682, 2635, 8} \[ \frac {5 x}{16 a}+\frac {\sinh ^7(x)}{7 a}-\frac {\sinh ^5(x) \cosh (x)}{6 a}+\frac {5 \sinh ^3(x) \cosh (x)}{24 a}-\frac {5 \sinh (x) \cosh (x)}{16 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2635
Rule 2682
Rubi steps
\begin {align*} \int \frac {\sinh ^8(x)}{a+a \cosh (x)} \, dx &=\frac {\sinh ^7(x)}{7 a}-\frac {\int \sinh ^6(x) \, dx}{a}\\ &=-\frac {\cosh (x) \sinh ^5(x)}{6 a}+\frac {\sinh ^7(x)}{7 a}+\frac {5 \int \sinh ^4(x) \, dx}{6 a}\\ &=\frac {5 \cosh (x) \sinh ^3(x)}{24 a}-\frac {\cosh (x) \sinh ^5(x)}{6 a}+\frac {\sinh ^7(x)}{7 a}-\frac {5 \int \sinh ^2(x) \, dx}{8 a}\\ &=-\frac {5 \cosh (x) \sinh (x)}{16 a}+\frac {5 \cosh (x) \sinh ^3(x)}{24 a}-\frac {\cosh (x) \sinh ^5(x)}{6 a}+\frac {\sinh ^7(x)}{7 a}+\frac {5 \int 1 \, dx}{16 a}\\ &=\frac {5 x}{16 a}-\frac {5 \cosh (x) \sinh (x)}{16 a}+\frac {5 \cosh (x) \sinh ^3(x)}{24 a}-\frac {\cosh (x) \sinh ^5(x)}{6 a}+\frac {\sinh ^7(x)}{7 a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 51, normalized size = 0.89 \[ \frac {420 x-105 \sinh (x)-315 \sinh (2 x)+63 \sinh (3 x)+63 \sinh (4 x)-21 \sinh (5 x)-7 \sinh (6 x)+3 \sinh (7 x)}{1344 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.12, size = 101, normalized size = 1.77 \[ \frac {3 \, \sinh \relax (x)^{7} + 21 \, {\left (3 \, \cosh \relax (x)^{2} - 2 \, \cosh \relax (x) - 1\right )} \sinh \relax (x)^{5} + 7 \, {\left (15 \, \cosh \relax (x)^{4} - 20 \, \cosh \relax (x)^{3} - 30 \, \cosh \relax (x)^{2} + 36 \, \cosh \relax (x) + 9\right )} \sinh \relax (x)^{3} + 21 \, {\left (\cosh \relax (x)^{6} - 2 \, \cosh \relax (x)^{5} - 5 \, \cosh \relax (x)^{4} + 12 \, \cosh \relax (x)^{3} + 9 \, \cosh \relax (x)^{2} - 30 \, \cosh \relax (x) - 5\right )} \sinh \relax (x) + 420 \, x}{1344 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 90, normalized size = 1.58 \[ \frac {{\left (105 \, e^{\left (6 \, x\right )} + 315 \, e^{\left (5 \, x\right )} - 63 \, e^{\left (4 \, x\right )} - 63 \, e^{\left (3 \, x\right )} + 21 \, e^{\left (2 \, x\right )} + 7 \, e^{x} - 3\right )} e^{\left (-7 \, x\right )} + 840 \, x + 3 \, e^{\left (7 \, x\right )} - 7 \, e^{\left (6 \, x\right )} - 21 \, e^{\left (5 \, x\right )} + 63 \, e^{\left (4 \, x\right )} + 63 \, e^{\left (3 \, x\right )} - 315 \, e^{\left (2 \, x\right )} - 105 \, e^{x}}{2688 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.10, size = 208, normalized size = 3.65 \[ -\frac {1}{7 a \left (\tanh \left (\frac {x}{2}\right )-1\right )^{7}}-\frac {2}{3 a \left (\tanh \left (\frac {x}{2}\right )-1\right )^{6}}-\frac {1}{a \left (\tanh \left (\frac {x}{2}\right )-1\right )^{5}}-\frac {1}{4 a \left (\tanh \left (\frac {x}{2}\right )-1\right )^{4}}+\frac {11}{24 a \left (\tanh \left (\frac {x}{2}\right )-1\right )^{3}}-\frac {1}{8 a \left (\tanh \left (\frac {x}{2}\right )-1\right )^{2}}-\frac {5}{16 a \left (\tanh \left (\frac {x}{2}\right )-1\right )}-\frac {5 \ln \left (\tanh \left (\frac {x}{2}\right )-1\right )}{16 a}-\frac {1}{7 a \left (\tanh \left (\frac {x}{2}\right )+1\right )^{7}}+\frac {2}{3 a \left (\tanh \left (\frac {x}{2}\right )+1\right )^{6}}-\frac {1}{a \left (\tanh \left (\frac {x}{2}\right )+1\right )^{5}}+\frac {1}{4 a \left (\tanh \left (\frac {x}{2}\right )+1\right )^{4}}+\frac {11}{24 a \left (\tanh \left (\frac {x}{2}\right )+1\right )^{3}}+\frac {1}{8 a \left (\tanh \left (\frac {x}{2}\right )+1\right )^{2}}-\frac {5}{16 a \left (\tanh \left (\frac {x}{2}\right )+1\right )}+\frac {5 \ln \left (\tanh \left (\frac {x}{2}\right )+1\right )}{16 a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.31, size = 102, normalized size = 1.79 \[ -\frac {{\left (7 \, e^{\left (-x\right )} + 21 \, e^{\left (-2 \, x\right )} - 63 \, e^{\left (-3 \, x\right )} - 63 \, e^{\left (-4 \, x\right )} + 315 \, e^{\left (-5 \, x\right )} + 105 \, e^{\left (-6 \, x\right )} - 3\right )} e^{\left (7 \, x\right )}}{2688 \, a} + \frac {5 \, x}{16 \, a} + \frac {105 \, e^{\left (-x\right )} + 315 \, e^{\left (-2 \, x\right )} - 63 \, e^{\left (-3 \, x\right )} - 63 \, e^{\left (-4 \, x\right )} + 21 \, e^{\left (-5 \, x\right )} + 7 \, e^{\left (-6 \, x\right )} - 3 \, e^{\left (-7 \, x\right )}}{2688 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.26, size = 131, normalized size = 2.30 \[ \frac {5\,{\mathrm {e}}^{-x}}{128\,a}+\frac {15\,{\mathrm {e}}^{-2\,x}}{128\,a}-\frac {15\,{\mathrm {e}}^{2\,x}}{128\,a}-\frac {3\,{\mathrm {e}}^{-3\,x}}{128\,a}+\frac {3\,{\mathrm {e}}^{3\,x}}{128\,a}-\frac {3\,{\mathrm {e}}^{-4\,x}}{128\,a}+\frac {3\,{\mathrm {e}}^{4\,x}}{128\,a}+\frac {{\mathrm {e}}^{-5\,x}}{128\,a}-\frac {{\mathrm {e}}^{5\,x}}{128\,a}+\frac {{\mathrm {e}}^{-6\,x}}{384\,a}-\frac {{\mathrm {e}}^{6\,x}}{384\,a}-\frac {{\mathrm {e}}^{-7\,x}}{896\,a}+\frac {{\mathrm {e}}^{7\,x}}{896\,a}+\frac {5\,x}{16\,a}-\frac {5\,{\mathrm {e}}^x}{128\,a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 8.77, size = 1253, normalized size = 21.98 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________