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.0506488, antiderivative size = 62, normalized size of antiderivative = 1., 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 5957
Rule 5995
Rule 199
Rule 206
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.0831476, 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]
________________________________________________________________________________________
Maple [C] time = 0.494, size = 707, normalized size = 11.4 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.02543, size = 231, normalized size = 3.73 \begin{align*} -\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 )^{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}\left (x\right )}{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 )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56907, size = 165, normalized size = 2.66 \begin{align*} \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 )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{acoth}^{2}{\left (x \right )}}{\left (x - 1\right )^{2} \left (x + 1\right )^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{arcoth}\left (x\right )^{2}}{{\left (x^{2} - 1\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]