Optimal. Leaf size=56 \[ i \text {Li}_2\left (-e^{2 i \sec ^{-1}\left (\sqrt {x}\right )}\right )+i \sec ^{-1}\left (\sqrt {x}\right )^2-2 \sec ^{-1}\left (\sqrt {x}\right ) \log \left (1+e^{2 i \sec ^{-1}\left (\sqrt {x}\right )}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {5218, 4626, 3719, 2190, 2279, 2391} \[ i \text {PolyLog}\left (2,-e^{2 i \sec ^{-1}\left (\sqrt {x}\right )}\right )+i \sec ^{-1}\left (\sqrt {x}\right )^2-2 \sec ^{-1}\left (\sqrt {x}\right ) \log \left (1+e^{2 i \sec ^{-1}\left (\sqrt {x}\right )}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2190
Rule 2279
Rule 2391
Rule 3719
Rule 4626
Rule 5218
Rubi steps
\begin {align*} \int \frac {\sec ^{-1}\left (\sqrt {x}\right )}{x} \, dx &=2 \operatorname {Subst}\left (\int \frac {\sec ^{-1}(x)}{x} \, dx,x,\sqrt {x}\right )\\ &=-\left (2 \operatorname {Subst}\left (\int \frac {\cos ^{-1}(x)}{x} \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=2 \operatorname {Subst}\left (\int x \tan (x) \, dx,x,\cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right )\\ &=i \cos ^{-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,\cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right )\\ &=i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )^2-2 \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right ) \log \left (1+e^{2 i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )}\right )+2 \operatorname {Subst}\left (\int \log \left (1+e^{2 i x}\right ) \, dx,x,\cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )\right )\\ &=i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )^2-2 \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right ) \log \left (1+e^{2 i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )}\right )-i \operatorname {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )}\right )\\ &=i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )^2-2 \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right ) \log \left (1+e^{2 i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )}\right )+i \text {Li}_2\left (-e^{2 i \cos ^{-1}\left (\frac {1}{\sqrt {x}}\right )}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 54, normalized size = 0.96 \[ i \left (\text {Li}_2\left (-e^{2 i \sec ^{-1}\left (\sqrt {x}\right )}\right )+\sec ^{-1}\left (\sqrt {x}\right ) \left (\sec ^{-1}\left (\sqrt {x}\right )+2 i \log \left (1+e^{2 i \sec ^{-1}\left (\sqrt {x}\right )}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.61, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\operatorname {arcsec}\left (\sqrt {x}\right )}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {arcsec}\left (\sqrt {x}\right )}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.12, size = 63, normalized size = 1.12 \[ i \mathrm {arcsec}\left (\sqrt {x}\right )^{2}-2 \,\mathrm {arcsec}\left (\sqrt {x}\right ) \ln \left (1+\left (\frac {1}{\sqrt {x}}+i \sqrt {1-\frac {1}{x}}\right )^{2}\right )+i \polylog \left (2, -\left (\frac {1}{\sqrt {x}}+i \sqrt {1-\frac {1}{x}}\right )^{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {arcsec}\left (\sqrt {x}\right )}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\mathrm {acos}\left (\frac {1}{\sqrt {x}}\right )}{x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {asec}{\left (\sqrt {x} \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________