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.059228, antiderivative size = 57, normalized size of antiderivative = 1., 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 2682
Rule 2635
Rule 8
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.0671383, 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]
________________________________________________________________________________________
Maple [B] time = 0.04, size = 208, normalized size = 3.7 \begin{align*} -{\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 ) ^{-1}}+{\frac{5}{16\,a}\ln \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) }-{\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 ) ^{-1}}-{\frac{5}{16\,a}\ln \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.11207, size = 138, normalized size = 2.42 \begin{align*} -\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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.99905, size = 340, normalized size = 5.96 \begin{align*} \frac{3 \, \sinh \left (x\right )^{7} + 21 \,{\left (3 \, \cosh \left (x\right )^{2} - 2 \, \cosh \left (x\right ) - 1\right )} \sinh \left (x\right )^{5} + 7 \,{\left (15 \, \cosh \left (x\right )^{4} - 20 \, \cosh \left (x\right )^{3} - 30 \, \cosh \left (x\right )^{2} + 36 \, \cosh \left (x\right ) + 9\right )} \sinh \left (x\right )^{3} + 21 \,{\left (\cosh \left (x\right )^{6} - 2 \, \cosh \left (x\right )^{5} - 5 \, \cosh \left (x\right )^{4} + 12 \, \cosh \left (x\right )^{3} + 9 \, \cosh \left (x\right )^{2} - 30 \, \cosh \left (x\right ) - 5\right )} \sinh \left (x\right ) + 420 \, x}{1344 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 22.9578, size = 1253, normalized size = 21.98 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17844, size = 122, normalized size = 2.14 \begin{align*} \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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]