Optimal. Leaf size=38 \[ -\frac {1}{4 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {1}{4} \coth ^{-1}(x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6104, 267}
\begin {gather*} -\frac {1}{4 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {1}{4} \coth ^{-1}(x)^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 6104
Rubi steps
\begin {align*} \int \frac {\coth ^{-1}(x)}{\left (1-x^2\right )^2} \, dx &=\frac {x \coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {1}{4} \coth ^{-1}(x)^2-\frac {1}{2} \int \frac {x}{\left (1-x^2\right )^2} \, dx\\ &=-\frac {1}{4 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {1}{4} \coth ^{-1}(x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 28, normalized size = 0.74 \begin {gather*} \frac {1-2 x \coth ^{-1}(x)+\left (-1+x^2\right ) \coth ^{-1}(x)^2}{4 \left (-1+x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(98\) vs.
\(2(32)=64\).
time = 0.11, size = 99, normalized size = 2.61
method | result | size |
risch | \(\frac {\ln \left (1+x \right )^{2}}{16}-\frac {\left (\ln \left (-1+x \right ) x^{2}+2 x -\ln \left (-1+x \right )\right ) \ln \left (1+x \right )}{8 \left (x^{2}-1\right )}+\frac {x^{2} \ln \left (-1+x \right )^{2}+4 \ln \left (-1+x \right ) x -\ln \left (-1+x \right )^{2}+4}{16 \left (-1+x \right ) \left (1+x \right )}\) | \(80\) |
default | \(-\frac {\mathrm {arccoth}\left (x \right )}{4 \left (1+x \right )}+\frac {\mathrm {arccoth}\left (x \right ) \ln \left (1+x \right )}{4}-\frac {\mathrm {arccoth}\left (x \right )}{4 \left (-1+x \right )}-\frac {\mathrm {arccoth}\left (x \right ) \ln \left (-1+x \right )}{4}+\frac {\left (\ln \left (1+x \right )-\ln \left (\frac {1}{2}+\frac {x}{2}\right )\right ) \ln \left (\frac {1}{2}-\frac {x}{2}\right )}{8}-\frac {\ln \left (1+x \right )^{2}}{16}+\frac {\ln \left (-1+x \right ) \ln \left (\frac {1}{2}+\frac {x}{2}\right )}{8}-\frac {\ln \left (-1+x \right )^{2}}{16}-\frac {1}{8 \left (1+x \right )}+\frac {1}{-8+8 x}\) | \(99\) |
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. 76 vs.
\(2 (28) = 56\).
time = 0.25, size = 76, normalized size = 2.00 \begin {gather*} -\frac {1}{4} \, {\left (\frac {2 \, x}{x^{2} - 1} - \log \left (x + 1\right ) + \log \left (x - 1\right )\right )} \operatorname {arcoth}\left (x\right ) - \frac {{\left (x^{2} - 1\right )} \log \left (x + 1\right )^{2} - 2 \, {\left (x^{2} - 1\right )} \log \left (x + 1\right ) \log \left (x - 1\right ) + {\left (x^{2} - 1\right )} \log \left (x - 1\right )^{2} - 4}{16 \, {\left (x^{2} - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 42, normalized size = 1.11 \begin {gather*} \frac {{\left (x^{2} - 1\right )} \log \left (\frac {x + 1}{x - 1}\right )^{2} - 4 \, x \log \left (\frac {x + 1}{x - 1}\right ) + 4}{16 \, {\left (x^{2} - 1\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 \frac {\operatorname {acoth}{\left (x \right )}}{\left (x - 1\right )^{2} \left (x + 1\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 80 vs.
\(2 (28) = 56\).
time = 0.42, size = 80, normalized size = 2.11 \begin {gather*} -\frac {{\left (x - 1\right )} \log \left (-\frac {\frac {\frac {x + 1}{x - 1} - 1}{\frac {x + 1}{x - 1} + 1} + 1}{\frac {\frac {x + 1}{x - 1} - 1}{\frac {x + 1}{x - 1} + 1} - 1}\right )}{8 \, {\left (x + 1\right )}} - \frac {x - 1}{8 \, {\left (x + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.22, size = 81, normalized size = 2.13 \begin {gather*} \frac {{\ln \left (\frac {1}{x}+1\right )}^2}{16}-\ln \left (1-\frac {1}{x}\right )\,\left (\frac {\ln \left (\frac {1}{x}+1\right )}{8}-\frac {x}{4\,\left (x^2-1\right )}\right )+\frac {{\ln \left (1-\frac {1}{x}\right )}^2}{16}+\frac {1}{4\,\left (x^2-1\right )}-\frac {x\,\ln \left (\frac {1}{x}+1\right )}{4\,\left (x^2-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________