Optimal. Leaf size=41 \[ \frac{1}{3 \sqrt{x^2}}-\frac{1}{9 \left (x^2\right )^{3/2}}+\frac{\left (x^2-1\right )^{3/2} \sec ^{-1}(x)}{3 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0519343, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {264, 5238, 12, 14} \[ \frac{1}{3 \sqrt{x^2}}-\frac{1}{9 \left (x^2\right )^{3/2}}+\frac{\left (x^2-1\right )^{3/2} \sec ^{-1}(x)}{3 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 264
Rule 5238
Rule 12
Rule 14
Rubi steps
\begin{align*} \int \frac{\sqrt{-1+x^2} \sec ^{-1}(x)}{x^4} \, dx &=\frac{\left (-1+x^2\right )^{3/2} \sec ^{-1}(x)}{3 x^3}-\frac{x \int \frac{-1+x^2}{3 x^4} \, dx}{\sqrt{x^2}}\\ &=\frac{\left (-1+x^2\right )^{3/2} \sec ^{-1}(x)}{3 x^3}-\frac{x \int \frac{-1+x^2}{x^4} \, dx}{3 \sqrt{x^2}}\\ &=\frac{\left (-1+x^2\right )^{3/2} \sec ^{-1}(x)}{3 x^3}-\frac{x \int \left (-\frac{1}{x^4}+\frac{1}{x^2}\right ) \, dx}{3 \sqrt{x^2}}\\ &=-\frac{1}{9 \left (x^2\right )^{3/2}}+\frac{1}{3 \sqrt{x^2}}+\frac{\left (-1+x^2\right )^{3/2} \sec ^{-1}(x)}{3 x^3}\\ \end{align*}
Mathematica [A] time = 0.0526947, size = 48, normalized size = 1.17 \[ \frac{\sqrt{1-\frac{1}{x^2}} x \left (3 x^2-1\right )+3 \left (x^2-1\right )^2 \sec ^{-1}(x)}{9 x^3 \sqrt{x^2-1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.383, size = 602, normalized size = 14.7 \begin{align*} -{\frac{1}{144\,{x}^{3}}\sqrt{{x}^{2}-1} \left ( \sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{5}-5\,i{x}^{4}-12\,\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}+20\,i{x}^{2}+16\,\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x-16\,i \right ) \left ( -i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+{x}^{2}-1 \right ) ^{-1}}-{\frac{1}{18\,x}\sqrt{{x}^{2}-1} \left ( \sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}-3\,i{x}^{2}-4\,\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+4\,i \right ) \left ( -i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+{x}^{2}-1 \right ) ^{-1}}+{\frac{{\rm arcsec} \left (x\right )}{48\,{x}^{3}} \left ( i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{5}-8\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}+4\,{x}^{4}+8\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x-12\,{x}^{2}+8 \right ){\frac{1}{\sqrt{{x}^{2}-1}}}}+{\frac{{\rm arcsec} \left (x\right )}{24\,x} \left ( i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}-2\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+2\,{x}^{2}-2 \right ){\frac{1}{\sqrt{{x}^{2}-1}}}}+{\frac{x}{8}\sqrt{{x}^{2}-1} \left ( \sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x-i \right ) \left ( -i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+{x}^{2}-1 \right ) ^{-1}}-{\frac{{\rm arcsec} \left (x\right )}{24\,x} \left ( i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}-2\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x-2\,{x}^{2}+2 \right ){\frac{1}{\sqrt{{x}^{2}-1}}}}-{i{x}^{3}\sqrt{{x}^{2}-1} \left ( 18\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}-36\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+36\,{x}^{2}-36 \right ) ^{-1}}-{i{x}^{5}\sqrt{{x}^{2}-1} \left ( 144\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{5}-1152\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}+576\,{x}^{4}+1152\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x-1728\,{x}^{2}+1152 \right ) ^{-1}}-{\frac{{\rm arcsec} \left (x\right )}{48\,{x}^{3}} \left ( i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{5}-8\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}-4\,{x}^{4}+8\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+12\,{x}^{2}-8 \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.4774, size = 36, normalized size = 0.88 \begin{align*} \frac{{\left (x^{2} - 1\right )}^{\frac{3}{2}} \operatorname{arcsec}\left (x\right )}{3 \, x^{3}} + \frac{3 \, x^{2} - 1}{9 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.3381, size = 69, normalized size = 1.68 \begin{align*} \frac{3 \,{\left (x^{2} - 1\right )}^{\frac{3}{2}} \operatorname{arcsec}\left (x\right ) + 3 \, x^{2} - 1}{9 \, x^{3}} \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 [B] time = 1.10548, size = 101, normalized size = 2.46 \begin{align*} -\frac{2 \, \arctan \left (-x + \sqrt{x^{2} - 1}\right )}{3 \, \mathrm{sgn}\left (x\right )} + \frac{2 \,{\left (3 \,{\left (x - \sqrt{x^{2} - 1}\right )}^{4} + 1\right )} \arccos \left (\frac{1}{x}\right )}{3 \,{\left ({\left (x - \sqrt{x^{2} - 1}\right )}^{2} + 1\right )}^{3}} + \frac{3 \, x^{2} - 1}{9 \, x^{3} \mathrm{sgn}\left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]