Optimal. Leaf size=25 \[ \frac {1}{2} \text {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} \text {PolyLog}\left (2,e^{-x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {2320, 6032}
\begin {gather*} \frac {\text {Li}_2\left (-e^{-x}\right )}{2}-\frac {\text {Li}_2\left (e^{-x}\right )}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2320
Rule 6032
Rubi steps
\begin {align*} \int \coth ^{-1}\left (e^x\right ) \, dx &=\text {Subst}\left (\int \frac {\coth ^{-1}(x)}{x} \, dx,x,e^x\right )\\ &=\frac {\text {Li}_2\left (-e^{-x}\right )}{2}-\frac {\text {Li}_2\left (e^{-x}\right )}{2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 46, normalized size = 1.84 \begin {gather*} x \coth ^{-1}\left (e^x\right )+\frac {1}{2} \left (-x \left (-\log \left (1-e^x\right )+\log \left (1+e^x\right )\right )-\text {PolyLog}\left (2,-e^x\right )+\text {PolyLog}\left (2,e^x\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 31, normalized size = 1.24
method | result | size |
risch | \(-\frac {\dilog \left ({\mathrm e}^{x}+1\right )}{2}-\frac {\dilog \left ({\mathrm e}^{x}\right )}{2}-\frac {\ln \left ({\mathrm e}^{x}-1\right ) \ln \left ({\mathrm e}^{x}\right )}{2}\) | \(24\) |
derivativedivides | \(\ln \left ({\mathrm e}^{x}\right ) \mathrm {arccoth}\left ({\mathrm e}^{x}\right )-\frac {\dilog \left ({\mathrm e}^{x}\right )}{2}-\frac {\dilog \left ({\mathrm e}^{x}+1\right )}{2}-\frac {\ln \left ({\mathrm e}^{x}\right ) \ln \left ({\mathrm e}^{x}+1\right )}{2}\) | \(31\) |
default | \(\ln \left ({\mathrm e}^{x}\right ) \mathrm {arccoth}\left ({\mathrm e}^{x}\right )-\frac {\dilog \left ({\mathrm e}^{x}\right )}{2}-\frac {\dilog \left ({\mathrm e}^{x}+1\right )}{2}-\frac {\ln \left ({\mathrm e}^{x}\right ) \ln \left ({\mathrm e}^{x}+1\right )}{2}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 58 vs.
\(2 (17) = 34\).
time = 0.26, size = 58, normalized size = 2.32 \begin {gather*} -\frac {1}{2} \, x {\left (\log \left (e^{x} + 1\right ) - \log \left (e^{x} - 1\right )\right )} + x \operatorname {arcoth}\left (e^{x}\right ) + \frac {1}{2} \, \log \left (-e^{x}\right ) \log \left (e^{x} + 1\right ) - \frac {1}{2} \, x \log \left (e^{x} - 1\right ) + \frac {1}{2} \, {\rm Li}_2\left (e^{x} + 1\right ) - \frac {1}{2} \, {\rm Li}_2\left (-e^{x} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 64 vs.
\(2 (17) = 34\).
time = 0.34, size = 64, normalized size = 2.56 \begin {gather*} \frac {1}{2} \, x \log \left (\frac {\cosh \left (x\right ) + \sinh \left (x\right ) + 1}{\cosh \left (x\right ) + \sinh \left (x\right ) - 1}\right ) - \frac {1}{2} \, x \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) + \frac {1}{2} \, x \log \left (-\cosh \left (x\right ) - \sinh \left (x\right ) + 1\right ) + \frac {1}{2} \, {\rm Li}_2\left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) - \frac {1}{2} \, {\rm Li}_2\left (-\cosh \left (x\right ) - \sinh \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \operatorname {acoth}{\left (e^{x} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \mathrm {acoth}\left ({\mathrm {e}}^x\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________