Optimal. Leaf size=51 \[ \frac{\sqrt{x^2}}{6 \left (1-x^2\right )}-\frac{x^3 \sec ^{-1}(x)}{3 \left (x^2-1\right )^{3/2}}-\frac{1}{6} \coth ^{-1}\left (\sqrt{x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.063826, antiderivative size = 53, normalized size of antiderivative = 1.04, number of steps used = 4, number of rules used = 5, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {264, 5238, 12, 288, 207} \[ \frac{\sqrt{x^2}}{6 \left (1-x^2\right )}-\frac{x^3 \sec ^{-1}(x)}{3 \left (x^2-1\right )^{3/2}}-\frac{x \tanh ^{-1}(x)}{6 \sqrt{x^2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 264
Rule 5238
Rule 12
Rule 288
Rule 207
Rubi steps
\begin{align*} \int \frac{x^2 \sec ^{-1}(x)}{\left (-1+x^2\right )^{5/2}} \, dx &=-\frac{x^3 \sec ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}-\frac{x \int -\frac{x^2}{3 \left (-1+x^2\right )^2} \, dx}{\sqrt{x^2}}\\ &=-\frac{x^3 \sec ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}+\frac{x \int \frac{x^2}{\left (-1+x^2\right )^2} \, dx}{3 \sqrt{x^2}}\\ &=\frac{\sqrt{x^2}}{6 \left (1-x^2\right )}-\frac{x^3 \sec ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}+\frac{x \int \frac{1}{-1+x^2} \, dx}{6 \sqrt{x^2}}\\ &=\frac{\sqrt{x^2}}{6 \left (1-x^2\right )}-\frac{x^3 \sec ^{-1}(x)}{3 \left (-1+x^2\right )^{3/2}}-\frac{x \tanh ^{-1}(x)}{6 \sqrt{x^2}}\\ \end{align*}
Mathematica [A] time = 0.116783, size = 61, normalized size = 1.2 \[ \frac{\sqrt{1-\frac{1}{x^2}} x \left (\left (x^2-1\right ) \log (1-x)-\left (x^2-1\right ) \log (x+1)-2 x\right )-4 x^3 \sec ^{-1}(x)}{12 \left (x^2-1\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.248, size = 121, normalized size = 2.4 \begin{align*} -{\frac{{x}^{2}}{6\,{x}^{4}-12\,{x}^{2}+6}\sqrt{{x}^{2}-1} \left ( 2\,{\rm arcsec} \left (x\right )x+\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}} \right ) }+{\frac{x}{6}\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}\ln \left ({x}^{-1}+i\sqrt{1-{x}^{-2}}-1 \right ){\frac{1}{\sqrt{{x}^{2}-1}}}}-{\frac{x}{6}\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}\ln \left ({x}^{-1}+i\sqrt{1-{x}^{-2}}+1 \right ){\frac{1}{\sqrt{{x}^{2}-1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.15586, size = 62, normalized size = 1.22 \begin{align*} -\frac{1}{3} \,{\left (\frac{x}{\sqrt{x^{2} - 1}} + \frac{x}{{\left (x^{2} - 1\right )}^{\frac{3}{2}}}\right )} \operatorname{arcsec}\left (x\right ) - \frac{x}{6 \,{\left (x^{2} - 1\right )}} - \frac{1}{12} \, \log \left (x + 1\right ) + \frac{1}{12} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.64376, size = 180, normalized size = 3.53 \begin{align*} -\frac{4 \, \sqrt{x^{2} - 1} x^{3} \operatorname{arcsec}\left (x\right ) + 2 \, x^{3} +{\left (x^{4} - 2 \, x^{2} + 1\right )} \log \left (x + 1\right ) -{\left (x^{4} - 2 \, x^{2} + 1\right )} \log \left (x - 1\right ) - 2 \, x}{12 \,{\left (x^{4} - 2 \, x^{2} + 1\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.09206, size = 72, normalized size = 1.41 \begin{align*} -\frac{x^{3} \arccos \left (\frac{1}{x}\right )}{3 \,{\left (x^{2} - 1\right )}^{\frac{3}{2}}} - \frac{\log \left ({\left | x + 1 \right |}\right )}{12 \, \mathrm{sgn}\left (x\right )} + \frac{\log \left ({\left | x - 1 \right |}\right )}{12 \, \mathrm{sgn}\left (x\right )} - \frac{x}{6 \,{\left (x^{2} - 1\right )} \mathrm{sgn}\left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]