Optimal. Leaf size=30 \[ -\frac{1}{3} \text{csch}^3(x)+\frac{1}{2} i \text{csch}^2(x)-\text{csch}(x)-i \log (\sinh (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0459022, antiderivative size = 30, normalized size of antiderivative = 1., 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 = {3879, 75} \[ -\frac{1}{3} \text{csch}^3(x)+\frac{1}{2} i \text{csch}^2(x)-\text{csch}(x)-i \log (\sinh (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3879
Rule 75
Rubi steps
\begin{align*} \int \frac{\coth ^5(x)}{i+\text{csch}(x)} \, dx &=\operatorname{Subst}\left (\int \frac{(i-i x)^2 (i+i x)}{x^4} \, dx,x,i \sinh (x)\right )\\ &=\operatorname{Subst}\left (\int \left (-\frac{i}{x^4}+\frac{i}{x^3}+\frac{i}{x^2}-\frac{i}{x}\right ) \, dx,x,i \sinh (x)\right )\\ &=-\text{csch}(x)+\frac{1}{2} i \text{csch}^2(x)-\frac{\text{csch}^3(x)}{3}-i \log (\sinh (x))\\ \end{align*}
Mathematica [A] time = 0.0145455, size = 30, normalized size = 1. \[ -\frac{1}{3} \text{csch}^3(x)+\frac{1}{2} i \text{csch}^2(x)-\text{csch}(x)-i \log (\sinh (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.068, size = 78, normalized size = 2.6 \begin{align*}{\frac{3}{8}\tanh \left ({\frac{x}{2}} \right ) }+{\frac{1}{24} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{3}}+{\frac{i}{8}} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{2}+i\ln \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) -{\frac{1}{24} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-3}}-i\ln \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) +{{\frac{i}{8}} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-2}}-{\frac{3}{8} \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) ^{-1}}+i\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.02183, size = 101, normalized size = 3.37 \begin{align*} -i \, x + \frac{6 \, e^{\left (-x\right )} - 6 i \, e^{\left (-2 \, x\right )} - 4 \, e^{\left (-3 \, x\right )} + 6 i \, e^{\left (-4 \, x\right )} + 6 \, e^{\left (-5 \, x\right )}}{3 \,{\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} - i \, \log \left (e^{\left (-x\right )} + 1\right ) - i \, \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 = 1.72243, size = 292, normalized size = 9.73 \begin{align*} \frac{3 i \, x e^{\left (6 \, x\right )} +{\left (-9 i \, x + 6 i\right )} e^{\left (4 \, x\right )} +{\left (9 i \, x - 6 i\right )} e^{\left (2 \, x\right )} +{\left (-3 i \, e^{\left (6 \, x\right )} + 9 i \, e^{\left (4 \, x\right )} - 9 i \, e^{\left (2 \, x\right )} + 3 i\right )} \log \left (e^{\left (2 \, x\right )} - 1\right ) - 3 i \, x - 6 \, e^{\left (5 \, x\right )} + 4 \, e^{\left (3 \, x\right )} - 6 \, e^{x}}{3 \,{\left (e^{\left (6 \, x\right )} - 3 \, e^{\left (4 \, x\right )} + 3 \, e^{\left (2 \, x\right )} - 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\coth ^{5}{\left (x \right )}}{\operatorname{csch}{\left (x \right )} + i}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.15493, size = 92, normalized size = 3.07 \begin{align*} -\frac{11 \,{\left (e^{\left (-x\right )} - e^{x}\right )}^{3} - 12 i \,{\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 12 \, e^{\left (-x\right )} - 12 \, e^{x} - 16 i}{6 \,{\left (-i \, e^{\left (-x\right )} + i \, e^{x}\right )}^{3}} - i \, \log \left (-i \, e^{\left (-x\right )} + i \, e^{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]