Optimal. Leaf size=62 \[ \frac {x}{4 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)^2}{2 \left (1-x^2\right )}-\frac {\coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {1}{4} \tanh ^{-1}(x)+\frac {1}{6} \coth ^{-1}(x)^3 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {5957, 5995, 199, 206} \[ \frac {x}{4 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)^2}{2 \left (1-x^2\right )}-\frac {\coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {1}{4} \tanh ^{-1}(x)+\frac {1}{6} \coth ^{-1}(x)^3 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 199
Rule 206
Rule 5957
Rule 5995
Rubi steps
\begin {align*} \int \frac {\coth ^{-1}(x)^2}{\left (1-x^2\right )^2} \, dx &=\frac {x \coth ^{-1}(x)^2}{2 \left (1-x^2\right )}+\frac {1}{6} \coth ^{-1}(x)^3-\int \frac {x \coth ^{-1}(x)}{\left (1-x^2\right )^2} \, dx\\ &=-\frac {\coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)^2}{2 \left (1-x^2\right )}+\frac {1}{6} \coth ^{-1}(x)^3+\frac {1}{2} \int \frac {1}{\left (1-x^2\right )^2} \, dx\\ &=\frac {x}{4 \left (1-x^2\right )}-\frac {\coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)^2}{2 \left (1-x^2\right )}+\frac {1}{6} \coth ^{-1}(x)^3+\frac {1}{4} \int \frac {1}{1-x^2} \, dx\\ &=\frac {x}{4 \left (1-x^2\right )}-\frac {\coth ^{-1}(x)}{2 \left (1-x^2\right )}+\frac {x \coth ^{-1}(x)^2}{2 \left (1-x^2\right )}+\frac {1}{6} \coth ^{-1}(x)^3+\frac {1}{4} \tanh ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 61, normalized size = 0.98 \[ \frac {-3 \left (x^2-1\right ) \log (1-x)+3 \left (x^2-1\right ) \log (x+1)+4 \left (x^2-1\right ) \coth ^{-1}(x)^3-6 x-12 x \coth ^{-1}(x)^2+12 \coth ^{-1}(x)}{24 \left (x^2-1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 63, normalized size = 1.02 \[ \frac {{\left (x^{2} - 1\right )} \log \left (\frac {x + 1}{x - 1}\right )^{3} - 6 \, x \log \left (\frac {x + 1}{x - 1}\right )^{2} + 6 \, {\left (x^{2} + 1\right )} \log \left (\frac {x + 1}{x - 1}\right ) - 12 \, x}{48 \, {\left (x^{2} - 1\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 {\operatorname {arcoth}\relax (x)^{2}}{{\left (x^{2} - 1\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 2.00, size = 707, normalized size = 11.40 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.31, size = 171, normalized size = 2.76 \[ -\frac {1}{4} \, {\left (\frac {2 \, x}{x^{2} - 1} - \log \left (x + 1\right ) + \log \left (x - 1\right )\right )} \operatorname {arcoth}\relax (x)^{2} - \frac {{\left ({\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\right )} \operatorname {arcoth}\relax (x)}{8 \, {\left (x^{2} - 1\right )}} + \frac {{\left (x^{2} - 1\right )} \log \left (x + 1\right )^{3} - 3 \, {\left (x^{2} - 1\right )} \log \left (x + 1\right )^{2} \log \left (x - 1\right ) - {\left (x^{2} - 1\right )} \log \left (x - 1\right )^{3} + 3 \, {\left ({\left (x^{2} - 1\right )} \log \left (x - 1\right )^{2} + 2 \, x^{2} - 2\right )} \log \left (x + 1\right ) - 6 \, {\left (x^{2} - 1\right )} \log \left (x - 1\right ) - 12 \, x}{48 \, {\left (x^{2} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.68, size = 201, normalized size = 3.24 \[ \frac {{\ln \left (\frac {1}{x}+1\right )}^3}{48}-\frac {{\ln \left (1-\frac {1}{x}\right )}^3}{48}-\frac {x}{4\,\left (x^2-1\right )}+\ln \left (1-\frac {1}{x}\right )\,\left (\frac {\frac {3\,x}{32}-\frac {1}{8}}{x^2-1}-\frac {\frac {x}{8}+\frac {1}{8}}{x^2-1}-\frac {{\ln \left (\frac {1}{x}+1\right )}^2}{16}+\frac {x}{32\,\left (x^2-1\right )}+\ln \left (\frac {1}{x}+1\right )\,\left (\frac {\frac {x}{4}+\frac {1}{16}}{x^2-1}-\frac {1}{16\,\left (x^2-1\right )}\right )\right )+{\ln \left (1-\frac {1}{x}\right )}^2\,\left (\frac {\ln \left (\frac {1}{x}+1\right )}{16}-\frac {x}{8\,\left (x^2-1\right )}\right )+\frac {\ln \left (\frac {1}{x}+1\right )}{4\,\left (x^2-1\right )}-\frac {x\,{\ln \left (\frac {1}{x}+1\right )}^2}{8\,\left (x^2-1\right )}-\frac {\mathrm {atan}\left (x\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{4} \]
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 {\operatorname {acoth}^{2}{\relax (x )}}{\left (x - 1\right )^{2} \left (x + 1\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________