Optimal. Leaf size=33 \[ \frac {(a-a \cosh (x))^4}{4 a^5}-\frac {2 (a-a \cosh (x))^3}{3 a^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2667, 43} \[ \frac {(a-a \cosh (x))^4}{4 a^5}-\frac {2 (a-a \cosh (x))^3}{3 a^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2667
Rubi steps
\begin {align*} \int \frac {\sinh ^5(x)}{a+a \cosh (x)} \, dx &=\frac {\operatorname {Subst}\left (\int (a-x)^2 (a+x) \, dx,x,a \cosh (x)\right )}{a^5}\\ &=\frac {\operatorname {Subst}\left (\int \left (2 a (a-x)^2-(a-x)^3\right ) \, dx,x,a \cosh (x)\right )}{a^5}\\ &=-\frac {2 (a-a \cosh (x))^3}{3 a^4}+\frac {(a-a \cosh (x))^4}{4 a^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 21, normalized size = 0.64 \[ \frac {2 \sinh ^6\left (\frac {x}{2}\right ) (3 \cosh (x)+5)}{3 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 52, normalized size = 1.58 \[ \frac {3 \, \cosh \relax (x)^{4} + 3 \, \sinh \relax (x)^{4} - 8 \, \cosh \relax (x)^{3} + 6 \, {\left (3 \, \cosh \relax (x)^{2} - 4 \, \cosh \relax (x) - 2\right )} \sinh \relax (x)^{2} - 12 \, \cosh \relax (x)^{2} + 72 \, \cosh \relax (x)}{96 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 51, normalized size = 1.55 \[ \frac {{\left (72 \, e^{\left (3 \, x\right )} - 12 \, e^{\left (2 \, x\right )} - 8 \, e^{x} + 3\right )} e^{\left (-4 \, x\right )} + 3 \, e^{\left (4 \, x\right )} - 8 \, e^{\left (3 \, x\right )} - 12 \, e^{\left (2 \, x\right )} + 72 \, e^{x}}{192 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.08, size = 87, normalized size = 2.64 \[ \frac {\frac {1}{4 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{4}}+\frac {5}{6 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{3}}+\frac {5}{8 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{2}}-\frac {5}{8 \left (\tanh \left (\frac {x}{2}\right )-1\right )}+\frac {1}{4 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{4}}-\frac {5}{6 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{3}}+\frac {5}{8 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{2}}+\frac {5}{8 \left (\tanh \left (\frac {x}{2}\right )+1\right )}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 60, normalized size = 1.82 \[ -\frac {{\left (8 \, e^{\left (-x\right )} + 12 \, e^{\left (-2 \, x\right )} - 72 \, e^{\left (-3 \, x\right )} - 3\right )} e^{\left (4 \, x\right )}}{192 \, a} + \frac {72 \, e^{\left (-x\right )} - 12 \, e^{\left (-2 \, x\right )} - 8 \, e^{\left (-3 \, x\right )} + 3 \, e^{\left (-4 \, x\right )}}{192 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.98, size = 71, normalized size = 2.15 \[ \frac {3\,{\mathrm {e}}^{-x}}{8\,a}-\frac {{\mathrm {e}}^{-2\,x}}{16\,a}-\frac {{\mathrm {e}}^{2\,x}}{16\,a}-\frac {{\mathrm {e}}^{-3\,x}}{24\,a}-\frac {{\mathrm {e}}^{3\,x}}{24\,a}+\frac {{\mathrm {e}}^{-4\,x}}{64\,a}+\frac {{\mathrm {e}}^{4\,x}}{64\,a}+\frac {3\,{\mathrm {e}}^x}{8\,a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 2.22, size = 150, normalized size = 4.55 \[ \frac {24 \tanh ^{4}{\left (\frac {x}{2} \right )}}{3 a \tanh ^{8}{\left (\frac {x}{2} \right )} - 12 a \tanh ^{6}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} - 12 a \tanh ^{2}{\left (\frac {x}{2} \right )} + 3 a} - \frac {16 \tanh ^{2}{\left (\frac {x}{2} \right )}}{3 a \tanh ^{8}{\left (\frac {x}{2} \right )} - 12 a \tanh ^{6}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} - 12 a \tanh ^{2}{\left (\frac {x}{2} \right )} + 3 a} + \frac {4}{3 a \tanh ^{8}{\left (\frac {x}{2} \right )} - 12 a \tanh ^{6}{\left (\frac {x}{2} \right )} + 18 a \tanh ^{4}{\left (\frac {x}{2} \right )} - 12 a \tanh ^{2}{\left (\frac {x}{2} \right )} + 3 a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________