Optimal. Leaf size=70 \[ -\frac{1}{\sqrt{x^2}}+\frac{\sqrt{x^2}}{6 \left (x^2-1\right )}+\frac{\left (8 x^4-12 x^2+3\right ) \csc ^{-1}(x)}{3 x \left (x^2-1\right )^{3/2}}-\frac{11}{6} \coth ^{-1}\left (\sqrt{x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.085914, antiderivative size = 91, normalized size of antiderivative = 1.3, number of steps used = 5, number of rules used = 8, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.533, Rules used = {271, 192, 191, 5239, 12, 1259, 453, 206} \[ -\frac{1}{\sqrt{x^2}}-\frac{\sqrt{x^2}}{6 \left (1-x^2\right )}+\frac{8 x \csc ^{-1}(x)}{3 \sqrt{x^2-1}}-\frac{4 x \csc ^{-1}(x)}{3 \left (x^2-1\right )^{3/2}}+\frac{\csc ^{-1}(x)}{x \left (x^2-1\right )^{3/2}}-\frac{11 x \tanh ^{-1}(x)}{6 \sqrt{x^2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 271
Rule 192
Rule 191
Rule 5239
Rule 12
Rule 1259
Rule 453
Rule 206
Rubi steps
\begin{align*} \int \frac{\csc ^{-1}(x)}{x^2 \left (-1+x^2\right )^{5/2}} \, dx &=\frac{\csc ^{-1}(x)}{x \left (-1+x^2\right )^{3/2}}-\frac{4 x \csc ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}+\frac{8 x \csc ^{-1}(x)}{3 \sqrt{-1+x^2}}+\frac{x \int \frac{3-12 x^2+8 x^4}{3 x^2 \left (1-x^2\right )^2} \, dx}{\sqrt{x^2}}\\ &=\frac{\csc ^{-1}(x)}{x \left (-1+x^2\right )^{3/2}}-\frac{4 x \csc ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}+\frac{8 x \csc ^{-1}(x)}{3 \sqrt{-1+x^2}}+\frac{x \int \frac{3-12 x^2+8 x^4}{x^2 \left (1-x^2\right )^2} \, dx}{3 \sqrt{x^2}}\\ &=-\frac{\sqrt{x^2}}{6 \left (1-x^2\right )}+\frac{\csc ^{-1}(x)}{x \left (-1+x^2\right )^{3/2}}-\frac{4 x \csc ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}+\frac{8 x \csc ^{-1}(x)}{3 \sqrt{-1+x^2}}-\frac{x \int \frac{-6+17 x^2}{x^2 \left (1-x^2\right )} \, dx}{6 \sqrt{x^2}}\\ &=-\frac{1}{\sqrt{x^2}}-\frac{\sqrt{x^2}}{6 \left (1-x^2\right )}+\frac{\csc ^{-1}(x)}{x \left (-1+x^2\right )^{3/2}}-\frac{4 x \csc ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}+\frac{8 x \csc ^{-1}(x)}{3 \sqrt{-1+x^2}}-\frac{(11 x) \int \frac{1}{1-x^2} \, dx}{6 \sqrt{x^2}}\\ &=-\frac{1}{\sqrt{x^2}}-\frac{\sqrt{x^2}}{6 \left (1-x^2\right )}+\frac{\csc ^{-1}(x)}{x \left (-1+x^2\right )^{3/2}}-\frac{4 x \csc ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}+\frac{8 x \csc ^{-1}(x)}{3 \sqrt{-1+x^2}}-\frac{11 x \tanh ^{-1}(x)}{6 \sqrt{x^2}}\\ \end{align*}
Mathematica [A] time = 0.128443, size = 79, normalized size = 1.13 \[ \frac{\sqrt{1-\frac{1}{x^2}} x \left (-10 x^2+11 \left (x^2-1\right ) x \log (1-x)-11 \left (x^2-1\right ) x \log (x+1)+12\right )+4 \left (8 x^4-12 x^2+3\right ) \csc ^{-1}(x)}{12 x \left (x^2-1\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.475, size = 702, normalized size = 10. \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 = 2.57892, size = 166, normalized size = 2.37 \begin{align*} \frac{32 \, x^{4} \arctan \left (1, \sqrt{x + 1} \sqrt{x - 1}\right ) -{\left (x^{3} - x\right )} \sqrt{x + 1} \sqrt{x - 1}{\left (\frac{2 \,{\left (5 \, x^{2} - 6\right )}}{x^{3} - x} + 11 \, \log \left (x + 1\right ) - 11 \, \log \left (x - 1\right )\right )} - 48 \, x^{2} \arctan \left (1, \sqrt{x + 1} \sqrt{x - 1}\right ) + 12 \, \arctan \left (1, \sqrt{x + 1} \sqrt{x - 1}\right )}{12 \,{\left (x^{3} - x\right )} \sqrt{x + 1} \sqrt{x - 1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.53592, size = 223, normalized size = 3.19 \begin{align*} -\frac{10 \, x^{4} - 4 \,{\left (8 \, x^{4} - 12 \, x^{2} + 3\right )} \sqrt{x^{2} - 1} \operatorname{arccsc}\left (x\right ) - 22 \, x^{2} + 11 \,{\left (x^{5} - 2 \, x^{3} + x\right )} \log \left (x + 1\right ) - 11 \,{\left (x^{5} - 2 \, x^{3} + x\right )} \log \left (x - 1\right ) + 12}{12 \,{\left (x^{5} - 2 \, x^{3} + x\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13022, size = 142, normalized size = 2.03 \begin{align*} \frac{1}{3} \,{\left (\frac{{\left (5 \, x^{2} - 6\right )} x}{{\left (x^{2} - 1\right )}^{\frac{3}{2}}} + \frac{6}{{\left (x - \sqrt{x^{2} - 1}\right )}^{2} + 1}\right )} \arcsin \left (\frac{1}{x}\right ) + \frac{2 \, \arctan \left (-x + \sqrt{x^{2} - 1}\right )}{\mathrm{sgn}\left (x\right )} - \frac{11 \, \log \left ({\left | x + 1 \right |}\right )}{12 \, \mathrm{sgn}\left (x\right )} + \frac{11 \, \log \left ({\left | x - 1 \right |}\right )}{12 \, \mathrm{sgn}\left (x\right )} - \frac{5 \, x^{2} - 6}{6 \,{\left (x^{3} - x\right )} \mathrm{sgn}\left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]