Optimal. Leaf size=19 \[ \frac{\sinh ^2(x)}{2}-\frac{1}{3} i \sinh ^3(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.105568, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.308, Rules used = {3872, 2835, 2564, 30} \[ \frac{\sinh ^2(x)}{2}-\frac{1}{3} i \sinh ^3(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3872
Rule 2835
Rule 2564
Rule 30
Rubi steps
\begin{align*} \int \frac{\cosh ^3(x)}{i+\text{csch}(x)} \, dx &=i \int \frac{\cosh ^3(x) \sinh (x)}{i-\sinh (x)} \, dx\\ &=-\left (i \int \cosh (x) \sinh ^2(x) \, dx\right )+\int \cosh (x) \sinh (x) \, dx\\ &=-\operatorname{Subst}(\int x \, dx,x,i \sinh (x))+\operatorname{Subst}\left (\int x^2 \, dx,x,i \sinh (x)\right )\\ &=\frac{\sinh ^2(x)}{2}-\frac{1}{3} i \sinh ^3(x)\\ \end{align*}
Mathematica [A] time = 0.0097886, size = 19, normalized size = 1. \[ \frac{\sinh ^2(x)}{2}-\frac{1}{3} i \sinh ^3(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.022, size = 15, normalized size = 0.8 \begin{align*}{\frac{1}{2\, \left ({\rm csch} \left (x\right ) \right ) ^{2}}}-{\frac{{\frac{i}{3}}}{ \left ({\rm csch} \left (x\right ) \right ) ^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.03729, size = 53, normalized size = 2.79 \begin{align*} \frac{1}{24} \,{\left (3 \, e^{\left (-x\right )} + 3 i \, e^{\left (-2 \, x\right )} - i\right )} e^{\left (3 \, x\right )} - \frac{1}{8} i \, e^{\left (-x\right )} + \frac{1}{8} \, e^{\left (-2 \, x\right )} + \frac{1}{24} i \, e^{\left (-3 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.85812, size = 108, normalized size = 5.68 \begin{align*} \frac{1}{24} \,{\left (-i \, e^{\left (6 \, x\right )} + 3 \, e^{\left (5 \, x\right )} + 3 i \, e^{\left (4 \, x\right )} - 3 i \, e^{\left (2 \, x\right )} + 3 \, e^{x} + i\right )} e^{\left (-3 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.14124, size = 47, normalized size = 2.47 \begin{align*} -\frac{1}{24} \,{\left (3 i \, e^{\left (2 \, x\right )} - 3 \, e^{x} - i\right )} e^{\left (-3 \, x\right )} - \frac{1}{24} i \, e^{\left (3 \, x\right )} + \frac{1}{8} \, e^{\left (2 \, x\right )} + \frac{1}{8} i \, e^{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]