Optimal. Leaf size=37 \[ \frac {1}{2} \text {Li}_2\left (\frac {x+1}{x-1}\right )-\frac {1}{2} \coth ^{-1}(x)^2+\log \left (\frac {2}{1-x}\right ) \coth ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {5985, 5919, 2402, 2315} \[ \frac {1}{2} \text {PolyLog}\left (2,\frac {x+1}{x-1}\right )-\frac {1}{2} \coth ^{-1}(x)^2+\log \left (\frac {2}{1-x}\right ) \coth ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2315
Rule 2402
Rule 5919
Rule 5985
Rubi steps
\begin {align*} \int \frac {x \coth ^{-1}(x)}{1-x^2} \, dx &=-\frac {1}{2} \coth ^{-1}(x)^2+\int \frac {\coth ^{-1}(x)}{1-x} \, dx\\ &=-\frac {1}{2} \coth ^{-1}(x)^2+\coth ^{-1}(x) \log \left (\frac {2}{1-x}\right )-\int \frac {\log \left (\frac {2}{1-x}\right )}{1-x^2} \, dx\\ &=-\frac {1}{2} \coth ^{-1}(x)^2+\coth ^{-1}(x) \log \left (\frac {2}{1-x}\right )+\operatorname {Subst}\left (\int \frac {\log (2 x)}{1-2 x} \, dx,x,\frac {1}{1-x}\right )\\ &=-\frac {1}{2} \coth ^{-1}(x)^2+\coth ^{-1}(x) \log \left (\frac {2}{1-x}\right )+\frac {1}{2} \text {Li}_2\left (\frac {1+x}{-1+x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 34, normalized size = 0.92 \[ \frac {1}{2} \left (\coth ^{-1}(x) \left (\coth ^{-1}(x)+2 \log \left (1-e^{-2 \coth ^{-1}(x)}\right )\right )-\text {Li}_2\left (e^{-2 \coth ^{-1}(x)}\right )\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {x \operatorname {arcoth}\relax (x)}{x^{2} - 1}, 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 -\frac {x \operatorname {arcoth}\relax (x)}{x^{2} - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 75, normalized size = 2.03 \[ -\frac {\mathrm {arccoth}\relax (x ) \ln \left (-1+x \right )}{2}-\frac {\mathrm {arccoth}\relax (x ) \ln \left (1+x \right )}{2}-\frac {\ln \left (-1+x \right )^{2}}{8}+\frac {\dilog \left (\frac {1}{2}+\frac {x}{2}\right )}{2}+\frac {\ln \left (-1+x \right ) \ln \left (\frac {1}{2}+\frac {x}{2}\right )}{4}+\frac {\ln \left (1+x \right )^{2}}{8}-\frac {\left (\ln \left (1+x \right )-\ln \left (\frac {1}{2}+\frac {x}{2}\right )\right ) \ln \left (-\frac {x}{2}+\frac {1}{2}\right )}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.30, size = 76, normalized size = 2.05 \[ \frac {1}{4} \, {\left (\log \left (x + 1\right ) - \log \left (x - 1\right )\right )} \log \left (x^{2} - 1\right ) - \frac {1}{2} \, \operatorname {arcoth}\relax (x) \log \left (x^{2} - 1\right ) - \frac {1}{8} \, \log \left (x + 1\right )^{2} - \frac {1}{4} \, \log \left (x + 1\right ) \log \left (x - 1\right ) + \frac {1}{8} \, \log \left (x - 1\right )^{2} + \frac {1}{2} \, \log \left (x - 1\right ) \log \left (\frac {1}{2} \, x + \frac {1}{2}\right ) + \frac {1}{2} \, {\rm Li}_2\left (-\frac {1}{2} \, x + \frac {1}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ -\int \frac {x\,\mathrm {acoth}\relax (x)}{x^2-1} \,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 \frac {x \operatorname {acoth}{\relax (x )}}{x^{2} - 1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________