Optimal. Leaf size=26 \[ -\frac{2 i}{1-i \sinh (x)}-i \log (\sinh (x)+i) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0403777, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {2667, 43} \[ -\frac{2 i}{1-i \sinh (x)}-i \log (\sinh (x)+i) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2667
Rule 43
Rubi steps
\begin{align*} \int \frac{\cosh ^3(x)}{(1-i \sinh (x))^3} \, dx &=i \operatorname{Subst}\left (\int \frac{1-x}{(1+x)^2} \, dx,x,-i \sinh (x)\right )\\ &=i \operatorname{Subst}\left (\int \left (\frac{1}{-1-x}+\frac{2}{(1+x)^2}\right ) \, dx,x,-i \sinh (x)\right )\\ &=-i \log (i+\sinh (x))-\frac{2 i}{1-i \sinh (x)}\\ \end{align*}
Mathematica [A] time = 0.0861882, size = 45, normalized size = 1.73 \[ \frac{-2 i \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )+\log (\cosh (x))-2 \sinh (x) \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )-i \sinh (x) \log (\cosh (x))+2}{\sinh (x)+i} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.055, size = 56, normalized size = 2.2 \begin{align*} i\ln \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) +i\ln \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) +{4\,i \left ( \tanh \left ({\frac{x}{2}} \right ) +i \right ) ^{-2}}-2\,i\ln \left ( \tanh \left ({\frac{x}{2}} \right ) +i \right ) -4\, \left ( \tanh \left ( x/2 \right ) +i \right ) ^{-1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.13683, size = 45, normalized size = 1.73 \begin{align*} -i \, x - \frac{4 \, e^{\left (-x\right )}}{-2 i \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1} - 2 i \, \log \left (e^{\left (-x\right )} - i\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.89091, size = 142, normalized size = 5.46 \begin{align*} \frac{i \, x e^{\left (2 \, x\right )} - 2 \,{\left (x - 2\right )} e^{x} +{\left (-2 i \, e^{\left (2 \, x\right )} + 4 \, e^{x} + 2 i\right )} \log \left (e^{x} + i\right ) - i \, x}{e^{\left (2 \, x\right )} + 2 i \, e^{x} - 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 27.5166, size = 31, normalized size = 1.19 \begin{align*} i x - 2 i \log{\left (e^{x} + i \right )} + \frac{4 e^{x}}{e^{2 x} + 2 i e^{x} - 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.22038, size = 36, normalized size = 1.38 \begin{align*} \frac{4 \, e^{x}}{{\left (e^{x} + i\right )}^{2}} + i \, \log \left (-i \, e^{x}\right ) - 2 i \, \log \left (i \, e^{x} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]