Optimal. Leaf size=31 \[ -i \text {PolyLog}\left (2,-\frac {i}{\sqrt {x}}\right )+i \text {PolyLog}\left (2,\frac {i}{\sqrt {x}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {4945, 4941,
2438} \begin {gather*} i \text {Li}_2\left (\frac {i}{\sqrt {x}}\right )-i \text {Li}_2\left (-\frac {i}{\sqrt {x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2438
Rule 4941
Rule 4945
Rubi steps
\begin {align*} \int \frac {\cot ^{-1}\left (\sqrt {x}\right )}{x} \, dx &=2 \text {Subst}\left (\int \frac {\cot ^{-1}(x)}{x} \, dx,x,\sqrt {x}\right )\\ &=i \text {Subst}\left (\int \frac {\log \left (1-\frac {i}{x}\right )}{x} \, dx,x,\sqrt {x}\right )-i \text {Subst}\left (\int \frac {\log \left (1+\frac {i}{x}\right )}{x} \, dx,x,\sqrt {x}\right )\\ &=-i \text {Li}_2\left (-\frac {i}{\sqrt {x}}\right )+i \text {Li}_2\left (\frac {i}{\sqrt {x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 31, normalized size = 1.00 \begin {gather*} -i \text {PolyLog}\left (2,-\frac {i}{\sqrt {x}}\right )+i \text {PolyLog}\left (2,\frac {i}{\sqrt {x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 60 vs. \(2 (23 ) = 46\).
time = 0.02, size = 61, normalized size = 1.97
method | result | size |
derivativedivides | \(\ln \left (x \right ) \mathrm {arccot}\left (\sqrt {x}\right )-\frac {i \ln \left (x \right ) \ln \left (1+i \sqrt {x}\right )}{2}+\frac {i \ln \left (x \right ) \ln \left (1-i \sqrt {x}\right )}{2}-i \dilog \left (1+i \sqrt {x}\right )+i \dilog \left (1-i \sqrt {x}\right )\) | \(61\) |
default | \(\ln \left (x \right ) \mathrm {arccot}\left (\sqrt {x}\right )-\frac {i \ln \left (x \right ) \ln \left (1+i \sqrt {x}\right )}{2}+\frac {i \ln \left (x \right ) \ln \left (1-i \sqrt {x}\right )}{2}-i \dilog \left (1+i \sqrt {x}\right )+i \dilog \left (1-i \sqrt {x}\right )\) | \(61\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Both result and optimal contain complex but leaf count of result is larger than
twice the leaf count of optimal. 35 vs. \(2 (17) = 34\).
time = 0.49, size = 35, normalized size = 1.13 \begin {gather*} \frac {1}{2} \, \pi \log \left (x + 1\right ) + \operatorname {arccot}\left (\sqrt {x}\right ) \log \left (x\right ) + i \, {\rm Li}_2\left (i \, \sqrt {x} + 1\right ) - i \, {\rm Li}_2\left (-i \, \sqrt {x} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {acot}{\left (\sqrt {x} \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 19, normalized size = 0.61 \begin {gather*} -x \arctan \left (\frac {1}{\sqrt {x}}\right ) - \sqrt {x} - \arctan \left (\frac {1}{\sqrt {x}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\mathrm {acot}\left (\sqrt {x}\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________