Integrand size = 6, antiderivative size = 51 \[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{2} x \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{-x}\right )+\frac {\operatorname {PolyLog}\left (3,-e^{-x}\right )}{2}-\frac {\operatorname {PolyLog}\left (3,e^{-x}\right )}{2} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {6349, 2611, 2320, 6724} \[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{2} x \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{-x}\right )+\frac {\operatorname {PolyLog}\left (3,-e^{-x}\right )}{2}-\frac {\operatorname {PolyLog}\left (3,e^{-x}\right )}{2} \]
[In]
[Out]
Rule 2320
Rule 2611
Rule 6349
Rule 6724
Rubi steps \begin{align*} \text {integral}& = -\left (\frac {1}{2} \int x \log \left (1-e^{-x}\right ) \, dx\right )+\frac {1}{2} \int x \log \left (1+e^{-x}\right ) \, dx \\ & = \frac {1}{2} x \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{-x}\right )-\frac {1}{2} \int \operatorname {PolyLog}\left (2,-e^{-x}\right ) \, dx+\frac {1}{2} \int \operatorname {PolyLog}\left (2,e^{-x}\right ) \, dx \\ & = \frac {1}{2} x \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{-x}\right )+\frac {1}{2} \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{-x}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{-x}\right ) \\ & = \frac {1}{2} x \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x \operatorname {PolyLog}\left (2,e^{-x}\right )+\frac {\operatorname {PolyLog}\left (3,-e^{-x}\right )}{2}-\frac {\operatorname {PolyLog}\left (3,e^{-x}\right )}{2} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 71, normalized size of antiderivative = 1.39 \[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{4} \left (2 x^2 \coth ^{-1}\left (e^x\right )+x^2 \log \left (1-e^x\right )-x^2 \log \left (1+e^x\right )-2 x \operatorname {PolyLog}\left (2,-e^x\right )+2 x \operatorname {PolyLog}\left (2,e^x\right )+2 \operatorname {PolyLog}\left (3,-e^x\right )-2 \operatorname {PolyLog}\left (3,e^x\right )\right ) \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 54, normalized size of antiderivative = 1.06
method | result | size |
risch | \(-\frac {x^{2} \ln \left ({\mathrm e}^{x}-1\right )}{4}-\frac {x \operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )}{2}+\frac {\operatorname {polylog}\left (3, -{\mathrm e}^{x}\right )}{2}+\frac {x^{2} \ln \left (1-{\mathrm e}^{x}\right )}{4}+\frac {x \operatorname {polylog}\left (2, {\mathrm e}^{x}\right )}{2}-\frac {\operatorname {polylog}\left (3, {\mathrm e}^{x}\right )}{2}\) | \(54\) |
default | \(\frac {x^{2} \operatorname {arccoth}\left ({\mathrm e}^{x}\right )}{2}+\frac {x^{2} \ln \left (1-{\mathrm e}^{x}\right )}{4}+\frac {x \operatorname {polylog}\left (2, {\mathrm e}^{x}\right )}{2}-\frac {\operatorname {polylog}\left (3, {\mathrm e}^{x}\right )}{2}-\frac {x^{2} \ln \left (1+{\mathrm e}^{x}\right )}{4}-\frac {x \operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )}{2}+\frac {\operatorname {polylog}\left (3, -{\mathrm e}^{x}\right )}{2}\) | \(62\) |
parts | \(\frac {x^{2} \operatorname {arccoth}\left ({\mathrm e}^{x}\right )}{2}+\frac {x^{2} \ln \left (1-{\mathrm e}^{x}\right )}{4}+\frac {x \operatorname {polylog}\left (2, {\mathrm e}^{x}\right )}{2}-\frac {\operatorname {polylog}\left (3, {\mathrm e}^{x}\right )}{2}-\frac {x^{2} \ln \left (1+{\mathrm e}^{x}\right )}{4}-\frac {x \operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )}{2}+\frac {\operatorname {polylog}\left (3, -{\mathrm e}^{x}\right )}{2}\) | \(62\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 94 vs. \(2 (37) = 74\).
Time = 0.26 (sec) , antiderivative size = 94, normalized size of antiderivative = 1.84 \[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{4} \, x^{2} \log \left (\frac {\cosh \left (x\right ) + \sinh \left (x\right ) + 1}{\cosh \left (x\right ) + \sinh \left (x\right ) - 1}\right ) - \frac {1}{4} \, x^{2} \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) + \frac {1}{4} \, x^{2} \log \left (-\cosh \left (x\right ) - \sinh \left (x\right ) + 1\right ) + \frac {1}{2} \, x {\rm Li}_2\left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) - \frac {1}{2} \, x {\rm Li}_2\left (-\cosh \left (x\right ) - \sinh \left (x\right )\right ) - \frac {1}{2} \, {\rm polylog}\left (3, \cosh \left (x\right ) + \sinh \left (x\right )\right ) + \frac {1}{2} \, {\rm polylog}\left (3, -\cosh \left (x\right ) - \sinh \left (x\right )\right ) \]
[In]
[Out]
\[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\int x \operatorname {acoth}{\left (e^{x} \right )}\, dx \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.16 \[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{2} \, x^{2} \operatorname {arcoth}\left (e^{x}\right ) - \frac {1}{4} \, x^{2} \log \left (e^{x} + 1\right ) + \frac {1}{4} \, x^{2} \log \left (-e^{x} + 1\right ) - \frac {1}{2} \, x {\rm Li}_2\left (-e^{x}\right ) + \frac {1}{2} \, x {\rm Li}_2\left (e^{x}\right ) + \frac {1}{2} \, {\rm Li}_{3}(-e^{x}) - \frac {1}{2} \, {\rm Li}_{3}(e^{x}) \]
[In]
[Out]
\[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\int { x \operatorname {arcoth}\left (e^{x}\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int x \coth ^{-1}\left (e^x\right ) \, dx=\int x\,\mathrm {acoth}\left ({\mathrm {e}}^x\right ) \,d x \]
[In]
[Out]