Integrand size = 8, antiderivative size = 70 \[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,e^{-x}\right )+x \operatorname {PolyLog}\left (3,-e^{-x}\right )-x \operatorname {PolyLog}\left (3,e^{-x}\right )+\operatorname {PolyLog}\left (4,-e^{-x}\right )-\operatorname {PolyLog}\left (4,e^{-x}\right ) \]
[Out]
Time = 0.06 (sec) , antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {6349, 2611, 6744, 2320, 6724} \[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,e^{-x}\right )+x \operatorname {PolyLog}\left (3,-e^{-x}\right )-x \operatorname {PolyLog}\left (3,e^{-x}\right )+\operatorname {PolyLog}\left (4,-e^{-x}\right )-\operatorname {PolyLog}\left (4,e^{-x}\right ) \]
[In]
[Out]
Rule 2320
Rule 2611
Rule 6349
Rule 6724
Rule 6744
Rubi steps \begin{align*} \text {integral}& = -\left (\frac {1}{2} \int x^2 \log \left (1-e^{-x}\right ) \, dx\right )+\frac {1}{2} \int x^2 \log \left (1+e^{-x}\right ) \, dx \\ & = \frac {1}{2} x^2 \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,e^{-x}\right )-\int x \operatorname {PolyLog}\left (2,-e^{-x}\right ) \, dx+\int x \operatorname {PolyLog}\left (2,e^{-x}\right ) \, dx \\ & = \frac {1}{2} x^2 \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,e^{-x}\right )+x \operatorname {PolyLog}\left (3,-e^{-x}\right )-x \operatorname {PolyLog}\left (3,e^{-x}\right )-\int \operatorname {PolyLog}\left (3,-e^{-x}\right ) \, dx+\int \operatorname {PolyLog}\left (3,e^{-x}\right ) \, dx \\ & = \frac {1}{2} x^2 \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,e^{-x}\right )+x \operatorname {PolyLog}\left (3,-e^{-x}\right )-x \operatorname {PolyLog}\left (3,e^{-x}\right )+\text {Subst}\left (\int \frac {\operatorname {PolyLog}(3,-x)}{x} \, dx,x,e^{-x}\right )-\text {Subst}\left (\int \frac {\operatorname {PolyLog}(3,x)}{x} \, dx,x,e^{-x}\right ) \\ & = \frac {1}{2} x^2 \operatorname {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x^2 \operatorname {PolyLog}\left (2,e^{-x}\right )+x \operatorname {PolyLog}\left (3,-e^{-x}\right )-x \operatorname {PolyLog}\left (3,e^{-x}\right )+\operatorname {PolyLog}\left (4,-e^{-x}\right )-\operatorname {PolyLog}\left (4,e^{-x}\right ) \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 93, normalized size of antiderivative = 1.33 \[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{6} \left (2 x^3 \coth ^{-1}\left (e^x\right )+x^3 \log \left (1-e^x\right )-x^3 \log \left (1+e^x\right )-3 x^2 \operatorname {PolyLog}\left (2,-e^x\right )+3 x^2 \operatorname {PolyLog}\left (2,e^x\right )+6 x \operatorname {PolyLog}\left (3,-e^x\right )-6 x \operatorname {PolyLog}\left (3,e^x\right )-6 \operatorname {PolyLog}\left (4,-e^x\right )+6 \operatorname {PolyLog}\left (4,e^x\right )\right ) \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 71, normalized size of antiderivative = 1.01
method | result | size |
risch | \(-\frac {x^{3} \ln \left ({\mathrm e}^{x}-1\right )}{6}-\frac {x^{2} \operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )}{2}+x \operatorname {polylog}\left (3, -{\mathrm e}^{x}\right )-\operatorname {polylog}\left (4, -{\mathrm e}^{x}\right )+\frac {x^{3} \ln \left (1-{\mathrm e}^{x}\right )}{6}+\frac {x^{2} \operatorname {polylog}\left (2, {\mathrm e}^{x}\right )}{2}-x \operatorname {polylog}\left (3, {\mathrm e}^{x}\right )+\operatorname {polylog}\left (4, {\mathrm e}^{x}\right )\) | \(71\) |
default | \(\frac {x^{3} \operatorname {arccoth}\left ({\mathrm e}^{x}\right )}{3}+\frac {x^{3} \ln \left (1-{\mathrm e}^{x}\right )}{6}+\frac {x^{2} \operatorname {polylog}\left (2, {\mathrm e}^{x}\right )}{2}-x \operatorname {polylog}\left (3, {\mathrm e}^{x}\right )+\operatorname {polylog}\left (4, {\mathrm e}^{x}\right )-\frac {x^{3} \ln \left (1+{\mathrm e}^{x}\right )}{6}-\frac {x^{2} \operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )}{2}+x \operatorname {polylog}\left (3, -{\mathrm e}^{x}\right )-\operatorname {polylog}\left (4, -{\mathrm e}^{x}\right )\) | \(79\) |
parts | \(\frac {x^{3} \operatorname {arccoth}\left ({\mathrm e}^{x}\right )}{3}+\frac {x^{3} \ln \left (1-{\mathrm e}^{x}\right )}{6}+\frac {x^{2} \operatorname {polylog}\left (2, {\mathrm e}^{x}\right )}{2}-x \operatorname {polylog}\left (3, {\mathrm e}^{x}\right )+\operatorname {polylog}\left (4, {\mathrm e}^{x}\right )-\frac {x^{3} \ln \left (1+{\mathrm e}^{x}\right )}{6}-\frac {x^{2} \operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )}{2}+x \operatorname {polylog}\left (3, -{\mathrm e}^{x}\right )-\operatorname {polylog}\left (4, -{\mathrm e}^{x}\right )\) | \(79\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 119 vs. \(2 (58) = 116\).
Time = 0.26 (sec) , antiderivative size = 119, normalized size of antiderivative = 1.70 \[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{6} \, x^{3} \log \left (\frac {\cosh \left (x\right ) + \sinh \left (x\right ) + 1}{\cosh \left (x\right ) + \sinh \left (x\right ) - 1}\right ) - \frac {1}{6} \, x^{3} \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) + \frac {1}{6} \, x^{3} \log \left (-\cosh \left (x\right ) - \sinh \left (x\right ) + 1\right ) + \frac {1}{2} \, x^{2} {\rm Li}_2\left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) - \frac {1}{2} \, x^{2} {\rm Li}_2\left (-\cosh \left (x\right ) - \sinh \left (x\right )\right ) - x {\rm polylog}\left (3, \cosh \left (x\right ) + \sinh \left (x\right )\right ) + x {\rm polylog}\left (3, -\cosh \left (x\right ) - \sinh \left (x\right )\right ) + {\rm polylog}\left (4, \cosh \left (x\right ) + \sinh \left (x\right )\right ) - {\rm polylog}\left (4, -\cosh \left (x\right ) - \sinh \left (x\right )\right ) \]
[In]
[Out]
\[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\int x^{2} \operatorname {acoth}{\left (e^{x} \right )}\, dx \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.09 \[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\frac {1}{3} \, x^{3} \operatorname {arcoth}\left (e^{x}\right ) - \frac {1}{6} \, x^{3} \log \left (e^{x} + 1\right ) + \frac {1}{6} \, x^{3} \log \left (-e^{x} + 1\right ) - \frac {1}{2} \, x^{2} {\rm Li}_2\left (-e^{x}\right ) + \frac {1}{2} \, x^{2} {\rm Li}_2\left (e^{x}\right ) + x {\rm Li}_{3}(-e^{x}) - x {\rm Li}_{3}(e^{x}) - {\rm Li}_{4}(-e^{x}) + {\rm Li}_{4}(e^{x}) \]
[In]
[Out]
\[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\int { x^{2} \operatorname {arcoth}\left (e^{x}\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int x^2 \coth ^{-1}\left (e^x\right ) \, dx=\int x^2\,\mathrm {acoth}\left ({\mathrm {e}}^x\right ) \,d x \]
[In]
[Out]