Optimal. Leaf size=70 \[ \frac {1}{2} x^2 \text {Li}_2\left (-e^{-x}\right )-\frac {1}{2} x^2 \text {Li}_2\left (e^{-x}\right )+x \text {Li}_3\left (-e^{-x}\right )-x \text {Li}_3\left (e^{-x}\right )+\text {Li}_4\left (-e^{-x}\right )-\text {Li}_4\left (e^{-x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {6214, 2531, 6609, 2282, 6589} \[ \frac {1}{2} x^2 \text {PolyLog}\left (2,-e^{-x}\right )-\frac {1}{2} x^2 \text {PolyLog}\left (2,e^{-x}\right )+x \text {PolyLog}\left (3,-e^{-x}\right )-x \text {PolyLog}\left (3,e^{-x}\right )+\text {PolyLog}\left (4,-e^{-x}\right )-\text {PolyLog}\left (4,e^{-x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 2531
Rule 6214
Rule 6589
Rule 6609
Rubi steps
\begin {align*} \int x^2 \coth ^{-1}\left (e^x\right ) \, dx &=-\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 \text {Li}_2\left (-e^{-x}\right )-\frac {1}{2} x^2 \text {Li}_2\left (e^{-x}\right )-\int x \text {Li}_2\left (-e^{-x}\right ) \, dx+\int x \text {Li}_2\left (e^{-x}\right ) \, dx\\ &=\frac {1}{2} x^2 \text {Li}_2\left (-e^{-x}\right )-\frac {1}{2} x^2 \text {Li}_2\left (e^{-x}\right )+x \text {Li}_3\left (-e^{-x}\right )-x \text {Li}_3\left (e^{-x}\right )-\int \text {Li}_3\left (-e^{-x}\right ) \, dx+\int \text {Li}_3\left (e^{-x}\right ) \, dx\\ &=\frac {1}{2} x^2 \text {Li}_2\left (-e^{-x}\right )-\frac {1}{2} x^2 \text {Li}_2\left (e^{-x}\right )+x \text {Li}_3\left (-e^{-x}\right )-x \text {Li}_3\left (e^{-x}\right )+\operatorname {Subst}\left (\int \frac {\text {Li}_3(-x)}{x} \, dx,x,e^{-x}\right )-\operatorname {Subst}\left (\int \frac {\text {Li}_3(x)}{x} \, dx,x,e^{-x}\right )\\ &=\frac {1}{2} x^2 \text {Li}_2\left (-e^{-x}\right )-\frac {1}{2} x^2 \text {Li}_2\left (e^{-x}\right )+x \text {Li}_3\left (-e^{-x}\right )-x \text {Li}_3\left (e^{-x}\right )+\text {Li}_4\left (-e^{-x}\right )-\text {Li}_4\left (e^{-x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 93, normalized size = 1.33 \[ \frac {1}{6} \left (-3 x^2 \text {Li}_2\left (-e^x\right )+3 x^2 \text {Li}_2\left (e^x\right )+6 x \text {Li}_3\left (-e^x\right )-6 x \text {Li}_3\left (e^x\right )-6 \text {Li}_4\left (-e^x\right )+6 \text {Li}_4\left (e^x\right )+x^3 \log \left (1-e^x\right )-x^3 \log \left (e^x+1\right )+2 x^3 \coth ^{-1}\left (e^x\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [C] time = 0.69, size = 119, normalized size = 1.70 \[ \frac {1}{6} \, x^{3} \log \left (\frac {\cosh \relax (x) + \sinh \relax (x) + 1}{\cosh \relax (x) + \sinh \relax (x) - 1}\right ) - \frac {1}{6} \, x^{3} \log \left (\cosh \relax (x) + \sinh \relax (x) + 1\right ) + \frac {1}{6} \, x^{3} \log \left (-\cosh \relax (x) - \sinh \relax (x) + 1\right ) + \frac {1}{2} \, x^{2} {\rm Li}_2\left (\cosh \relax (x) + \sinh \relax (x)\right ) - \frac {1}{2} \, x^{2} {\rm Li}_2\left (-\cosh \relax (x) - \sinh \relax (x)\right ) - x {\rm polylog}\left (3, \cosh \relax (x) + \sinh \relax (x)\right ) + x {\rm polylog}\left (3, -\cosh \relax (x) - \sinh \relax (x)\right ) + {\rm polylog}\left (4, \cosh \relax (x) + \sinh \relax (x)\right ) - {\rm polylog}\left (4, -\cosh \relax (x) - \sinh \relax (x)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} \operatorname {arcoth}\left (e^{x}\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 79, normalized size = 1.13 \[ \frac {x^{3} \mathrm {arccoth}\left ({\mathrm e}^{x}\right )}{3}-\frac {x^{3} \ln \left ({\mathrm e}^{x}+1\right )}{6}-\frac {x^{2} \polylog \left (2, -{\mathrm e}^{x}\right )}{2}+x \polylog \left (3, -{\mathrm e}^{x}\right )-\polylog \left (4, -{\mathrm e}^{x}\right )+\frac {x^{3} \ln \left (1-{\mathrm e}^{x}\right )}{6}+\frac {x^{2} \polylog \left (2, {\mathrm e}^{x}\right )}{2}-x \polylog \left (3, {\mathrm e}^{x}\right )+\polylog \left (4, {\mathrm e}^{x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 76, normalized size = 1.09 \[ \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}) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^2\,\mathrm {acoth}\left ({\mathrm {e}}^x\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} \operatorname {acoth}{\left (e^{x} \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________