Optimal. Leaf size=11 \[ \tan ^{-1}\left (e^x\right )-\tanh ^{-1}\left (e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0127131, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.625, Rules used = {2282, 12, 298, 203, 206} \[ \tan ^{-1}\left (e^x\right )-\tanh ^{-1}\left (e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 12
Rule 298
Rule 203
Rule 206
Rubi steps
\begin{align*} \int e^x \text{csch}(2 x) \, dx &=\operatorname{Subst}\left (\int \frac{2 x^2}{-1+x^4} \, dx,x,e^x\right )\\ &=2 \operatorname{Subst}\left (\int \frac{x^2}{-1+x^4} \, dx,x,e^x\right )\\ &=-\operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,e^x\right )+\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,e^x\right )\\ &=\tan ^{-1}\left (e^x\right )-\tanh ^{-1}\left (e^x\right )\\ \end{align*}
Mathematica [A] time = 0.0091644, size = 11, normalized size = 1. \[ \tan ^{-1}\left (e^x\right )-\tanh ^{-1}\left (e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.045, size = 34, normalized size = 3.1 \begin{align*}{\frac{\ln \left ({{\rm e}^{x}}-1 \right ) }{2}}+{\frac{i}{2}}\ln \left ({{\rm e}^{x}}+i \right ) -{\frac{i}{2}}\ln \left ({{\rm e}^{x}}-i \right ) -{\frac{\ln \left ({{\rm e}^{x}}+1 \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.5826, size = 24, normalized size = 2.18 \begin{align*} \arctan \left (e^{x}\right ) - \frac{1}{2} \, \log \left (e^{x} + 1\right ) + \frac{1}{2} \, \log \left (e^{x} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.06641, size = 126, normalized size = 11.45 \begin{align*} \arctan \left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) - \frac{1}{2} \, \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) + \frac{1}{2} \, \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int e^{x} \operatorname{csch}{\left (2 x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.1461, size = 26, normalized size = 2.36 \begin{align*} \arctan \left (e^{x}\right ) - \frac{1}{2} \, \log \left (e^{x} + 1\right ) + \frac{1}{2} \, \log \left ({\left | e^{x} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]