Optimal. Leaf size=56 \[ i \text{PolyLog}\left (2,e^{2 i \csc ^{-1}\left (\sqrt{x}\right )}\right )+i \csc ^{-1}\left (\sqrt{x}\right )^2-2 \csc ^{-1}\left (\sqrt{x}\right ) \log \left (1-e^{2 i \csc ^{-1}\left (\sqrt{x}\right )}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0826394, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.6, Rules used = {5219, 4625, 3717, 2190, 2279, 2391} \[ i \text{PolyLog}\left (2,e^{2 i \csc ^{-1}\left (\sqrt{x}\right )}\right )+i \csc ^{-1}\left (\sqrt{x}\right )^2-2 \csc ^{-1}\left (\sqrt{x}\right ) \log \left (1-e^{2 i \csc ^{-1}\left (\sqrt{x}\right )}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5219
Rule 4625
Rule 3717
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{\csc ^{-1}\left (\sqrt{x}\right )}{x} \, dx &=2 \operatorname{Subst}\left (\int \frac{\csc ^{-1}(x)}{x} \, dx,x,\sqrt{x}\right )\\ &=-\left (2 \operatorname{Subst}\left (\int \frac{\sin ^{-1}(x)}{x} \, dx,x,\frac{1}{\sqrt{x}}\right )\right )\\ &=-\left (2 \operatorname{Subst}\left (\int x \cot (x) \, dx,x,\sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )\right )\right )\\ &=i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )^2+4 i \operatorname{Subst}\left (\int \frac{e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )\right )\\ &=i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )^2-2 \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right ) \log \left (1-e^{2 i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )}\right )+2 \operatorname{Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )\right )\\ &=i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )^2-2 \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right ) \log \left (1-e^{2 i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )}\right )-i \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )}\right )\\ &=i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )^2-2 \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right ) \log \left (1-e^{2 i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )}\right )+i \text{Li}_2\left (e^{2 i \sin ^{-1}\left (\frac{1}{\sqrt{x}}\right )}\right )\\ \end{align*}
Mathematica [A] time = 0.031124, size = 54, normalized size = 0.96 \[ i \left (\text{PolyLog}\left (2,e^{2 i \csc ^{-1}\left (\sqrt{x}\right )}\right )+\csc ^{-1}\left (\sqrt{x}\right ) \left (\csc ^{-1}\left (\sqrt{x}\right )+2 i \log \left (1-e^{2 i \csc ^{-1}\left (\sqrt{x}\right )}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.168, size = 105, normalized size = 1.9 \begin{align*} i \left ({\rm arccsc} \left (\sqrt{x}\right ) \right ) ^{2}-2\,{\rm arccsc} \left (\sqrt{x}\right )\ln \left ( 1-{\frac{i}{\sqrt{x}}}-\sqrt{1-{x}^{-1}} \right ) -2\,{\rm arccsc} \left (\sqrt{x}\right )\ln \left ( 1+{\frac{i}{\sqrt{x}}}+\sqrt{1-{x}^{-1}} \right ) +2\,i{\it polylog} \left ( 2,{-i{\frac{1}{\sqrt{x}}}}-\sqrt{1-{x}^{-1}} \right ) +2\,i{\it polylog} \left ( 2,{i{\frac{1}{\sqrt{x}}}}+\sqrt{1-{x}^{-1}} \right ) \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{\operatorname{arccsc}\left (\sqrt{x}\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\operatorname{arccsc}\left (\sqrt{x}\right )}{x}, x\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{acsc}{\left (\sqrt{x} \right )}}{x}\, 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{arccsc}\left (\sqrt{x}\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]