Optimal. Leaf size=8 \[ \cosh (x)-i x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2682, 8} \[ \cosh (x)-i x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2682
Rubi steps
\begin {align*} \int \frac {\cosh ^2(x)}{i+\sinh (x)} \, dx &=\cosh (x)-i \int 1 \, dx\\ &=-i x+\cosh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.05, size = 34, normalized size = 4.25 \[ \cosh (x)+2 \sqrt {\cosh ^2(x)} \text {sech}(x) \sin ^{-1}\left (\frac {\sqrt {1-i \sinh (x)}}{\sqrt {2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.61, size = 17, normalized size = 2.12 \[ \frac {1}{2} \, {\left (-2 i \, x e^{x} + e^{\left (2 \, x\right )} + 1\right )} e^{\left (-x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.15, size = 14, normalized size = 1.75 \[ -i \, x + \frac {1}{2} \, e^{\left (-x\right )} + \frac {1}{2} \, e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 40, normalized size = 5.00 \[ i \ln \left (\tanh \left (\frac {x}{2}\right )-1\right )-\frac {1}{\tanh \left (\frac {x}{2}\right )-1}-i \ln \left (\tanh \left (\frac {x}{2}\right )+1\right )+\frac {1}{\tanh \left (\frac {x}{2}\right )+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.31, size = 14, normalized size = 1.75 \[ -i \, x + \frac {1}{2} \, e^{\left (-x\right )} + \frac {1}{2} \, e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.46, size = 7, normalized size = 0.88 \[ \mathrm {cosh}\relax (x)-x\,1{}\mathrm {i} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.12, size = 14, normalized size = 1.75 \[ - i x + \frac {e^{x}}{2} + \frac {e^{- x}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________