Optimal. Leaf size=36 \[ \frac{1}{5} i \coth ^5(x)-\frac{3}{8} \tanh ^{-1}(\cosh (x))-\frac{1}{4} \coth ^3(x) \text{csch}(x)-\frac{3}{8} \coth (x) \text{csch}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0969328, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.385, Rules used = {2706, 2607, 30, 2611, 3770} \[ \frac{1}{5} i \coth ^5(x)-\frac{3}{8} \tanh ^{-1}(\cosh (x))-\frac{1}{4} \coth ^3(x) \text{csch}(x)-\frac{3}{8} \coth (x) \text{csch}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2706
Rule 2607
Rule 30
Rule 2611
Rule 3770
Rubi steps
\begin{align*} \int \frac{\coth ^6(x)}{i+\sinh (x)} \, dx &=-\left (i \int \coth ^4(x) \text{csch}^2(x) \, dx\right )+\int \coth ^4(x) \text{csch}(x) \, dx\\ &=-\frac{1}{4} \coth ^3(x) \text{csch}(x)+\frac{3}{4} \int \coth ^2(x) \text{csch}(x) \, dx+\operatorname{Subst}\left (\int x^4 \, dx,x,i \coth (x)\right )\\ &=\frac{1}{5} i \coth ^5(x)-\frac{3}{8} \coth (x) \text{csch}(x)-\frac{1}{4} \coth ^3(x) \text{csch}(x)+\frac{3}{8} \int \text{csch}(x) \, dx\\ &=-\frac{3}{8} \tanh ^{-1}(\cosh (x))+\frac{1}{5} i \coth ^5(x)-\frac{3}{8} \coth (x) \text{csch}(x)-\frac{1}{4} \coth ^3(x) \text{csch}(x)\\ \end{align*}
Mathematica [B] time = 0.0402153, size = 164, normalized size = 4.56 \[ \frac{1}{10} i \tanh \left (\frac{x}{2}\right )+\frac{1}{10} i \coth \left (\frac{x}{2}\right )-\frac{1}{64} \text{csch}^4\left (\frac{x}{2}\right )-\frac{5}{32} \text{csch}^2\left (\frac{x}{2}\right )+\frac{1}{64} \text{sech}^4\left (\frac{x}{2}\right )-\frac{5}{32} \text{sech}^2\left (\frac{x}{2}\right )+\frac{3}{8} \log \left (\tanh \left (\frac{x}{2}\right )\right )+\frac{1}{160} i \coth \left (\frac{x}{2}\right ) \text{csch}^4\left (\frac{x}{2}\right )+\frac{7}{160} i \coth \left (\frac{x}{2}\right ) \text{csch}^2\left (\frac{x}{2}\right )+\frac{1}{160} i \tanh \left (\frac{x}{2}\right ) \text{sech}^4\left (\frac{x}{2}\right )-\frac{7}{160} i \tanh \left (\frac{x}{2}\right ) \text{sech}^2\left (\frac{x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.07, size = 93, normalized size = 2.6 \begin{align*}{\frac{i}{16}}\tanh \left ({\frac{x}{2}} \right ) +{\frac{i}{160}} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{5}+{\frac{1}{64} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{4}}+{\frac{i}{32}} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{3}+{\frac{1}{8} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{2}}-{\frac{1}{8} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-2}}+{{\frac{i}{16}} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-1}}+{{\frac{i}{160}} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-5}}+{{\frac{i}{32}} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-3}}+{\frac{3}{8}\ln \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) }-{\frac{1}{64} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.08917, size = 123, normalized size = 3.42 \begin{align*} \frac{25 \, e^{\left (-x\right )} - 10 \, e^{\left (-3 \, x\right )} - 80 i \, e^{\left (-4 \, x\right )} + 10 \, e^{\left (-7 \, x\right )} - 40 i \, e^{\left (-8 \, x\right )} - 25 \, e^{\left (-9 \, x\right )} - 8 i}{20 \,{\left (5 \, e^{\left (-2 \, x\right )} - 10 \, e^{\left (-4 \, x\right )} + 10 \, e^{\left (-6 \, x\right )} - 5 \, e^{\left (-8 \, x\right )} + e^{\left (-10 \, x\right )} - 1\right )}} - \frac{3}{8} \, \log \left (e^{\left (-x\right )} + 1\right ) + \frac{3}{8} \, \log \left (e^{\left (-x\right )} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.13792, size = 437, normalized size = 12.14 \begin{align*} -\frac{15 \,{\left (e^{\left (10 \, x\right )} - 5 \, e^{\left (8 \, x\right )} + 10 \, e^{\left (6 \, x\right )} - 10 \, e^{\left (4 \, x\right )} + 5 \, e^{\left (2 \, x\right )} - 1\right )} \log \left (e^{x} + 1\right ) - 15 \,{\left (e^{\left (10 \, x\right )} - 5 \, e^{\left (8 \, x\right )} + 10 \, e^{\left (6 \, x\right )} - 10 \, e^{\left (4 \, x\right )} + 5 \, e^{\left (2 \, x\right )} - 1\right )} \log \left (e^{x} - 1\right ) + 50 \, e^{\left (9 \, x\right )} - 80 i \, e^{\left (8 \, x\right )} - 20 \, e^{\left (7 \, x\right )} - 160 i \, e^{\left (4 \, x\right )} + 20 \, e^{\left (3 \, x\right )} - 50 \, e^{x} - 16 i}{40 \,{\left (e^{\left (10 \, x\right )} - 5 \, e^{\left (8 \, x\right )} + 10 \, e^{\left (6 \, x\right )} - 10 \, e^{\left (4 \, x\right )} + 5 \, e^{\left (2 \, x\right )} - 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 1.37699, size = 104, normalized size = 2.89 \begin{align*} \frac{3 \log{\left (e^{x} - 1 \right )}}{8} - \frac{3 \log{\left (e^{x} + 1 \right )}}{8} + \frac{- \frac{5 e^{9 x}}{4} + 2 i e^{8 x} + \frac{e^{7 x}}{2} + 4 i e^{4 x} - \frac{e^{3 x}}{2} + \frac{5 e^{x}}{4} + \frac{2 i}{5}}{e^{10 x} - 5 e^{8 x} + 10 e^{6 x} - 10 e^{4 x} + 5 e^{2 x} - 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.12559, size = 84, normalized size = 2.33 \begin{align*} -\frac{25 \, e^{\left (9 \, x\right )} - 40 i \, e^{\left (8 \, x\right )} - 10 \, e^{\left (7 \, x\right )} - 80 i \, e^{\left (4 \, x\right )} + 10 \, e^{\left (3 \, x\right )} - 25 \, e^{x} - 8 i}{20 \,{\left (e^{\left (2 \, x\right )} - 1\right )}^{5}} - \frac{3}{8} \, \log \left (e^{x} + 1\right ) + \frac{3}{8} \, \log \left ({\left | e^{x} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]