Optimal. Leaf size=106 \[ \frac{2 x^4+3}{12 x \sqrt{x^2}}-\frac{7 x \log (x)}{3 \sqrt{x^2}}+\frac{\left (x^2-1\right )^{5/2} \csc ^{-1}(x)}{3 x^2}-\frac{5 \left (x^2-1\right )^{3/2} \csc ^{-1}(x)}{3 x^2}-\frac{5 \sqrt{x^2-1} \csc ^{-1}(x)}{2 x^2}-\frac{5 x \csc ^{-1}(x)^2}{4 \sqrt{x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19574, antiderivative size = 133, normalized size of antiderivative = 1.25, number of steps used = 11, number of rules used = 8, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.533, Rules used = {5243, 4695, 4647, 4641, 30, 14, 266, 43} \[ \frac{x \sqrt{x^2}}{6}+\frac{\sqrt{x^2}}{4 x^3}-\frac{7 \sqrt{x^2} \log (x)}{3 x}+\frac{1}{3} \left (x^2\right )^{3/2} \left (1-\frac{1}{x^2}\right )^{5/2} \csc ^{-1}(x)-\frac{5}{3} \sqrt{x^2} \left (1-\frac{1}{x^2}\right )^{3/2} \csc ^{-1}(x)-\frac{5 \sqrt{1-\frac{1}{x^2}} \csc ^{-1}(x)}{2 \sqrt{x^2}}-\frac{5 \sqrt{x^2} \csc ^{-1}(x)^2}{4 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5243
Rule 4695
Rule 4647
Rule 4641
Rule 30
Rule 14
Rule 266
Rule 43
Rubi steps
\begin{align*} \int \frac{\left (-1+x^2\right )^{5/2} \csc ^{-1}(x)}{x^3} \, dx &=-\frac{\sqrt{x^2} \operatorname{Subst}\left (\int \frac{\left (1-x^2\right )^{5/2} \sin ^{-1}(x)}{x^4} \, dx,x,\frac{1}{x}\right )}{x}\\ &=\frac{1}{3} \left (1-\frac{1}{x^2}\right )^{5/2} \left (x^2\right )^{3/2} \csc ^{-1}(x)-\frac{\sqrt{x^2} \operatorname{Subst}\left (\int \frac{\left (1-x^2\right )^2}{x^3} \, dx,x,\frac{1}{x}\right )}{3 x}+\frac{\left (5 \sqrt{x^2}\right ) \operatorname{Subst}\left (\int \frac{\left (1-x^2\right )^{3/2} \sin ^{-1}(x)}{x^2} \, dx,x,\frac{1}{x}\right )}{3 x}\\ &=-\frac{5}{3} \left (1-\frac{1}{x^2}\right )^{3/2} \sqrt{x^2} \csc ^{-1}(x)+\frac{1}{3} \left (1-\frac{1}{x^2}\right )^{5/2} \left (x^2\right )^{3/2} \csc ^{-1}(x)-\frac{\sqrt{x^2} \operatorname{Subst}\left (\int \frac{(1-x)^2}{x^2} \, dx,x,\frac{1}{x^2}\right )}{6 x}+\frac{\left (5 \sqrt{x^2}\right ) \operatorname{Subst}\left (\int \frac{1-x^2}{x} \, dx,x,\frac{1}{x}\right )}{3 x}-\frac{\left (5 \sqrt{x^2}\right ) \operatorname{Subst}\left (\int \sqrt{1-x^2} \sin ^{-1}(x) \, dx,x,\frac{1}{x}\right )}{x}\\ &=-\frac{5 \sqrt{1-\frac{1}{x^2}} \csc ^{-1}(x)}{2 \sqrt{x^2}}-\frac{5}{3} \left (1-\frac{1}{x^2}\right )^{3/2} \sqrt{x^2} \csc ^{-1}(x)+\frac{1}{3} \left (1-\frac{1}{x^2}\right )^{5/2} \left (x^2\right )^{3/2} \csc ^{-1}(x)-\frac{\sqrt{x^2} \operatorname{Subst}\left (\int \left (1+\frac{1}{x^2}-\frac{2}{x}\right ) \, dx,x,\frac{1}{x^2}\right )}{6 x}+\frac{\left (5 \sqrt{x^2}\right ) \operatorname{Subst}\left (\int \left (\frac{1}{x}-x\right ) \, dx,x,\frac{1}{x}\right )}{3 x}+\frac{\left (5 \sqrt{x^2}\right ) \operatorname{Subst}\left (\int x \, dx,x,\frac{1}{x}\right )}{2 x}-\frac{\left (5 \sqrt{x^2}\right ) \operatorname{Subst}\left (\int \frac{\sin ^{-1}(x)}{\sqrt{1-x^2}} \, dx,x,\frac{1}{x}\right )}{2 x}\\ &=\frac{\sqrt{x^2}}{4 x^3}+\frac{x \sqrt{x^2}}{6}-\frac{5 \sqrt{1-\frac{1}{x^2}} \csc ^{-1}(x)}{2 \sqrt{x^2}}-\frac{5}{3} \left (1-\frac{1}{x^2}\right )^{3/2} \sqrt{x^2} \csc ^{-1}(x)+\frac{1}{3} \left (1-\frac{1}{x^2}\right )^{5/2} \left (x^2\right )^{3/2} \csc ^{-1}(x)-\frac{5 \sqrt{x^2} \csc ^{-1}(x)^2}{4 x}-\frac{7 \sqrt{x^2} \log (x)}{3 x}\\ \end{align*}
Mathematica [A] time = 0.294714, size = 86, normalized size = 0.81 \[ \frac{\sqrt{x^2-1} \left (4 x^2+\csc ^{-1}(x) \left (8 \sqrt{1-\frac{1}{x^2}} x \left (x^2-7\right )-6 \sin \left (2 \csc ^{-1}(x)\right )\right )+48 \log \left (\frac{1}{x}\right )-8 \log (x)-30 \csc ^{-1}(x)^2-3 \cos \left (2 \csc ^{-1}(x)\right )\right )}{24 \sqrt{1-\frac{1}{x^2}} x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.322, size = 305, normalized size = 2.9 \begin{align*} -{\frac{5\,x \left ({\rm arccsc} \left (x\right ) \right ) ^{2}}{4}\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{\frac{1}{\sqrt{{x}^{2}-1}}}}+{\frac{2\,{\rm arccsc} \left (x\right )+i}{16\,{x}^{2}} \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{-i+2\,{\rm arccsc} \left (x\right )}{16\,{x}^{2}} \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{14\,i}{3}}x{\rm arccsc} \left (x\right )\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{\frac{1}{\sqrt{{x}^{2}-1}}}}+{\frac{1}{6\,{x}^{4}-90\,{x}^{2}+378} \left ({x}^{4}+7\,i\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x-8\,{x}^{2}+7 \right ) \left ( 2\,{\rm arccsc} \left (x\right ){x}^{4}+\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}{x}^{3}-30\,{\rm arccsc} \left (x\right ){x}^{2}-7\,\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}x+126\,{\rm arccsc} \left (x\right )-7\,i \right ){\frac{1}{\sqrt{{x}^{2}-1}}}}+{\frac{7\,x}{3}\sqrt{{\frac{{x}^{2}-1}{{x}^{2}}}}\ln \left ( \left ({\frac{i}{x}}+\sqrt{1-{x}^{-2}} \right ) ^{2}-1 \right ){\frac{1}{\sqrt{{x}^{2}-1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (x^{2} - 1\right )}^{\frac{5}{2}} \operatorname{arccsc}\left (x\right )}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.75193, size = 146, normalized size = 1.38 \begin{align*} \frac{2 \, x^{4} - 15 \, x^{2} \operatorname{arccsc}\left (x\right )^{2} - 28 \, x^{2} \log \left (x\right ) + 2 \,{\left (2 \, x^{4} - 14 \, x^{2} - 3\right )} \sqrt{x^{2} - 1} \operatorname{arccsc}\left (x\right ) + 3}{12 \, x^{2}} \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 [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (x^{2} - 1\right )}^{\frac{5}{2}} \operatorname{arccsc}\left (x\right )}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]