Optimal. Leaf size=15 \[ -\text {csch}(x)+\frac {1}{2} i \text {csch}^2(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 15, 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 = {2785, 2686, 30,
8} \begin {gather*} -\text {csch}(x)+\frac {1}{2} i \text {csch}^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 30
Rule 2686
Rule 2785
Rubi steps
\begin {align*} \int \frac {\coth ^3(x)}{i+\sinh (x)} \, dx &=-\left (i \int \coth (x) \text {csch}^2(x) \, dx\right )+\int \coth (x) \text {csch}(x) \, dx\\ &=-(i \text {Subst}(\int 1 \, dx,x,-i \text {csch}(x)))-i \text {Subst}(\int x \, dx,x,-i \text {csch}(x))\\ &=-\text {csch}(x)+\frac {1}{2} i \text {csch}^2(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 15, normalized size = 1.00 \begin {gather*} -\text {csch}(x)+\frac {1}{2} i \text {csch}^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 33 vs. \(2 (12 ) = 24\).
time = 0.61, size = 34, normalized size = 2.27
method | result | size |
risch | \(-\frac {2 \,{\mathrm e}^{x} \left (-i {\mathrm e}^{x}+{\mathrm e}^{2 x}-1\right )}{\left ({\mathrm e}^{2 x}-1\right )^{2}}\) | \(24\) |
default | \(\frac {\tanh \left (\frac {x}{2}\right )}{2}+\frac {i \left (\tanh ^{2}\left (\frac {x}{2}\right )\right )}{8}-\frac {1}{2 \tanh \left (\frac {x}{2}\right )}+\frac {i}{8 \tanh \left (\frac {x}{2}\right )^{2}}\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Both result and optimal contain complex but leaf count of result is larger than
twice the leaf count of optimal. 67 vs. \(2 (11) = 22\).
time = 0.28, size = 67, normalized size = 4.47 \begin {gather*} \frac {2 \, e^{\left (-x\right )}}{2 \, e^{\left (-2 \, x\right )} - e^{\left (-4 \, x\right )} - 1} - \frac {2 i \, e^{\left (-2 \, x\right )}}{2 \, e^{\left (-2 \, x\right )} - e^{\left (-4 \, x\right )} - 1} - \frac {2 \, e^{\left (-3 \, x\right )}}{2 \, e^{\left (-2 \, x\right )} - e^{\left (-4 \, x\right )} - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 31 vs. \(2 (11) = 22\).
time = 0.41, size = 31, normalized size = 2.07 \begin {gather*} -\frac {2 \, {\left (e^{\left (3 \, x\right )} - i \, e^{\left (2 \, x\right )} - e^{x}\right )}}{e^{\left (4 \, x\right )} - 2 \, e^{\left (2 \, x\right )} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 32 vs. \(2 (10) = 20\).
time = 0.06, size = 32, normalized size = 2.13 \begin {gather*} \frac {- 2 e^{3 x} + 2 i e^{2 x} + 2 e^{x}}{e^{4 x} - 2 e^{2 x} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 23 vs. \(2 (11) = 22\).
time = 0.42, size = 23, normalized size = 1.53 \begin {gather*} \frac {2 \, {\left (e^{\left (-x\right )} - e^{x} + i\right )}}{{\left (e^{\left (-x\right )} - e^{x}\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.57, size = 25, normalized size = 1.67 \begin {gather*} \frac {2\,{\mathrm {e}}^x\,\left (1-{\mathrm {e}}^{2\,x}+{\mathrm {e}}^x\,1{}\mathrm {i}\right )}{{\left ({\mathrm {e}}^{2\,x}-1\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________