Optimal. Leaf size=44 \[ -\frac{3 x}{8 a}+\frac{\sinh ^5(x)}{5 a}-\frac{\sinh ^3(x) \cosh (x)}{4 a}+\frac{3 \sinh (x) \cosh (x)}{8 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0544319, antiderivative size = 44, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {2682, 2635, 8} \[ -\frac{3 x}{8 a}+\frac{\sinh ^5(x)}{5 a}-\frac{\sinh ^3(x) \cosh (x)}{4 a}+\frac{3 \sinh (x) \cosh (x)}{8 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2682
Rule 2635
Rule 8
Rubi steps
\begin{align*} \int \frac{\sinh ^6(x)}{a+a \cosh (x)} \, dx &=\frac{\sinh ^5(x)}{5 a}-\frac{\int \sinh ^4(x) \, dx}{a}\\ &=-\frac{\cosh (x) \sinh ^3(x)}{4 a}+\frac{\sinh ^5(x)}{5 a}+\frac{3 \int \sinh ^2(x) \, dx}{4 a}\\ &=\frac{3 \cosh (x) \sinh (x)}{8 a}-\frac{\cosh (x) \sinh ^3(x)}{4 a}+\frac{\sinh ^5(x)}{5 a}-\frac{3 \int 1 \, dx}{8 a}\\ &=-\frac{3 x}{8 a}+\frac{3 \cosh (x) \sinh (x)}{8 a}-\frac{\cosh (x) \sinh ^3(x)}{4 a}+\frac{\sinh ^5(x)}{5 a}\\ \end{align*}
Mathematica [A] time = 0.051559, size = 39, normalized size = 0.89 \[ \frac{-60 x+20 \sinh (x)+40 \sinh (2 x)-10 \sinh (3 x)-5 \sinh (4 x)+2 \sinh (5 x)}{160 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.033, size = 156, normalized size = 3.6 \begin{align*} -{\frac{1}{5\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) ^{-5}}+{\frac{3}{4\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) ^{-4}}-{\frac{3}{4\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) ^{-3}}-{\frac{1}{4\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) ^{-2}}+{\frac{3}{8\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) ^{-1}}-{\frac{3}{8\,a}\ln \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) }-{\frac{1}{5\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) ^{-5}}-{\frac{3}{4\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) ^{-4}}-{\frac{3}{4\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) ^{-3}}+{\frac{1}{4\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) ^{-2}}+{\frac{3}{8\,a} \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) ^{-1}}+{\frac{3}{8\,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.10902, size = 105, normalized size = 2.39 \begin{align*} -\frac{{\left (5 \, e^{\left (-x\right )} + 10 \, e^{\left (-2 \, x\right )} - 40 \, e^{\left (-3 \, x\right )} - 20 \, e^{\left (-4 \, x\right )} - 2\right )} e^{\left (5 \, x\right )}}{320 \, a} - \frac{3 \, x}{8 \, a} - \frac{20 \, e^{\left (-x\right )} + 40 \, e^{\left (-2 \, x\right )} - 10 \, e^{\left (-3 \, x\right )} - 5 \, e^{\left (-4 \, x\right )} + 2 \, e^{\left (-5 \, x\right )}}{320 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.89219, size = 188, normalized size = 4.27 \begin{align*} \frac{\sinh \left (x\right )^{5} + 5 \,{\left (2 \, \cosh \left (x\right )^{2} - 2 \, \cosh \left (x\right ) - 1\right )} \sinh \left (x\right )^{3} + 5 \,{\left (\cosh \left (x\right )^{4} - 2 \, \cosh \left (x\right )^{3} - 3 \, \cosh \left (x\right )^{2} + 8 \, \cosh \left (x\right ) + 2\right )} \sinh \left (x\right ) - 30 \, x}{80 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 7.6424, size = 692, normalized size = 15.73 \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.25476, size = 89, normalized size = 2.02 \begin{align*} -\frac{{\left (20 \, e^{\left (4 \, x\right )} + 40 \, e^{\left (3 \, x\right )} - 10 \, e^{\left (2 \, x\right )} - 5 \, e^{x} + 2\right )} e^{\left (-5 \, x\right )} + 120 \, x - 2 \, e^{\left (5 \, x\right )} + 5 \, e^{\left (4 \, x\right )} + 10 \, e^{\left (3 \, x\right )} - 40 \, e^{\left (2 \, x\right )} - 20 \, e^{x}}{320 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]