Optimal. Leaf size=23 \[ \frac {1}{4} i \coth ^4(x)-\frac {\text {csch}^3(x)}{3}-\text {csch}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {2706, 2607, 30, 2606} \[ \frac {1}{4} i \coth ^4(x)-\frac {\text {csch}^3(x)}{3}-\text {csch}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2606
Rule 2607
Rule 2706
Rubi steps
\begin {align*} \int \frac {\coth ^5(x)}{i+\sinh (x)} \, dx &=-\left (i \int \coth ^3(x) \text {csch}^2(x) \, dx\right )+\int \coth ^3(x) \text {csch}(x) \, dx\\ &=i \operatorname {Subst}\left (\int x^3 \, dx,x,i \coth (x)\right )+i \operatorname {Subst}\left (\int \left (-1+x^2\right ) \, dx,x,-i \text {csch}(x)\right )\\ &=\frac {1}{4} i \coth ^4(x)-\text {csch}(x)-\frac {\text {csch}^3(x)}{3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 33, normalized size = 1.43 \[ \frac {1}{4} i \text {csch}^4(x)-\frac {\text {csch}^3(x)}{3}+\frac {1}{2} i \text {csch}^2(x)-\text {csch}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.99, size = 63, normalized size = 2.74 \[ -\frac {6 \, e^{\left (7 \, x\right )} - 6 i \, e^{\left (6 \, x\right )} - 10 \, e^{\left (5 \, x\right )} + 10 \, e^{\left (3 \, x\right )} - 6 i \, e^{\left (2 \, x\right )} - 6 \, e^{x}}{3 \, {\left (e^{\left (8 \, x\right )} - 4 \, e^{\left (6 \, x\right )} + 6 \, e^{\left (4 \, x\right )} - 4 \, e^{\left (2 \, x\right )} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.18, size = 51, normalized size = 2.22 \[ \frac {6 \, {\left (e^{\left (-x\right )} - e^{x}\right )}^{3} + 6 i \, {\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 8 \, e^{\left (-x\right )} - 8 \, e^{x} + 12 i}{3 \, {\left (e^{\left (-x\right )} - e^{x}\right )}^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.09, size = 68, normalized size = 2.96 \[ \frac {3 \tanh \left (\frac {x}{2}\right )}{8}+\frac {i \left (\tanh ^{4}\left (\frac {x}{2}\right )\right )}{64}+\frac {\left (\tanh ^{3}\left (\frac {x}{2}\right )\right )}{24}+\frac {i \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )}{16}-\frac {1}{24 \tanh \left (\frac {x}{2}\right )^{3}}+\frac {i}{64 \tanh \left (\frac {x}{2}\right )^{4}}-\frac {3}{8 \tanh \left (\frac {x}{2}\right )}+\frac {i}{16 \tanh \left (\frac {x}{2}\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.48, size = 205, normalized size = 8.91 \[ \frac {2 \, e^{\left (-x\right )}}{4 \, e^{\left (-2 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} - e^{\left (-8 \, x\right )} - 1} - \frac {2 i \, e^{\left (-2 \, x\right )}}{4 \, e^{\left (-2 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} - e^{\left (-8 \, x\right )} - 1} - \frac {10 \, e^{\left (-3 \, x\right )}}{3 \, {\left (4 \, e^{\left (-2 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} - e^{\left (-8 \, x\right )} - 1\right )}} + \frac {10 \, e^{\left (-5 \, x\right )}}{3 \, {\left (4 \, e^{\left (-2 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} - e^{\left (-8 \, x\right )} - 1\right )}} - \frac {2 i \, e^{\left (-6 \, x\right )}}{4 \, e^{\left (-2 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} - e^{\left (-8 \, x\right )} - 1} - \frac {2 \, e^{\left (-7 \, x\right )}}{4 \, e^{\left (-2 \, x\right )} - 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} - e^{\left (-8 \, x\right )} - 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.61, size = 44, normalized size = 1.91 \[ \frac {2\,{\mathrm {e}}^x\,\left (5\,{\mathrm {e}}^{4\,x}-5\,{\mathrm {e}}^{2\,x}-3\,{\mathrm {e}}^{6\,x}+3+{\mathrm {e}}^{5\,x}\,3{}\mathrm {i}+{\mathrm {e}}^x\,3{}\mathrm {i}\right )}{3\,{\left ({\mathrm {e}}^{2\,x}-1\right )}^4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.21, size = 70, normalized size = 3.04 \[ \frac {- 6 e^{7 x} + 6 i e^{6 x} + 10 e^{5 x} - 10 e^{3 x} + 6 i e^{2 x} + 6 e^{x}}{3 e^{8 x} - 12 e^{6 x} + 18 e^{4 x} - 12 e^{2 x} + 3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________