Optimal. Leaf size=37 \[ \frac {1}{3 x}-\frac {2 \cot ^{-1}\left (\sqrt {x}\right )}{3 x^{3/2}}+\frac {\log (x)}{3}-\frac {1}{3} \log (1+x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {4947, 46}
\begin {gather*} -\frac {2 \cot ^{-1}\left (\sqrt {x}\right )}{3 x^{3/2}}+\frac {1}{3 x}+\frac {\log (x)}{3}-\frac {1}{3} \log (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 4947
Rubi steps
\begin {align*} \int \frac {\cot ^{-1}\left (\sqrt {x}\right )}{x^{5/2}} \, dx &=-\frac {2 \cot ^{-1}\left (\sqrt {x}\right )}{3 x^{3/2}}-\frac {1}{3} \int \frac {1}{x^2 (1+x)} \, dx\\ &=-\frac {2 \cot ^{-1}\left (\sqrt {x}\right )}{3 x^{3/2}}-\frac {1}{3} \int \left (\frac {1}{x^2}-\frac {1}{x}+\frac {1}{1+x}\right ) \, dx\\ &=\frac {1}{3 x}-\frac {2 \cot ^{-1}\left (\sqrt {x}\right )}{3 x^{3/2}}+\frac {\log (x)}{3}-\frac {1}{3} \log (1+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 0.78 \begin {gather*} \frac {1}{3} \left (\frac {1}{x}-\frac {2 \cot ^{-1}\left (\sqrt {x}\right )}{x^{3/2}}+\log (x)-\log (1+x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 26, normalized size = 0.70
method | result | size |
derivativedivides | \(\frac {1}{3 x}-\frac {2 \,\mathrm {arccot}\left (\sqrt {x}\right )}{3 x^{\frac {3}{2}}}+\frac {\ln \left (x \right )}{3}-\frac {\ln \left (1+x \right )}{3}\) | \(26\) |
default | \(\frac {1}{3 x}-\frac {2 \,\mathrm {arccot}\left (\sqrt {x}\right )}{3 x^{\frac {3}{2}}}+\frac {\ln \left (x \right )}{3}-\frac {\ln \left (1+x \right )}{3}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 25, normalized size = 0.68 \begin {gather*} -\frac {2 \, \operatorname {arccot}\left (\sqrt {x}\right )}{3 \, x^{\frac {3}{2}}} + \frac {1}{3 \, x} - \frac {1}{3} \, \log \left (x + 1\right ) + \frac {1}{3} \, \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.70, size = 33, normalized size = 0.89 \begin {gather*} -\frac {x^{2} \log \left (x + 1\right ) - x^{2} \log \left (x\right ) + 2 \, \sqrt {x} \operatorname {arccot}\left (\sqrt {x}\right ) - x}{3 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 143 vs.
\(2 (31) = 62\).
time = 1.30, size = 143, normalized size = 3.86 \begin {gather*} - \frac {2 x^{\frac {3}{2}} \operatorname {acot}{\left (\sqrt {x} \right )}}{3 x^{3} + 3 x^{2}} - \frac {2 \sqrt {x} \operatorname {acot}{\left (\sqrt {x} \right )}}{3 x^{3} + 3 x^{2}} + \frac {x^{3} \log {\left (x \right )}}{3 x^{3} + 3 x^{2}} - \frac {x^{3} \log {\left (x + 1 \right )}}{3 x^{3} + 3 x^{2}} + \frac {x^{2} \log {\left (x \right )}}{3 x^{3} + 3 x^{2}} - \frac {x^{2} \log {\left (x + 1 \right )}}{3 x^{3} + 3 x^{2}} + \frac {x^{2}}{3 x^{3} + 3 x^{2}} + \frac {x}{3 x^{3} + 3 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 23, normalized size = 0.62 \begin {gather*} -\frac {2 \, \arctan \left (\frac {1}{\sqrt {x}}\right )}{3 \, x^{\frac {3}{2}}} + \frac {1}{3 \, x} - \frac {1}{3} \, \log \left (\frac {1}{x} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.65, size = 27, normalized size = 0.73 \begin {gather*} \frac {2\,\ln \left (\sqrt {x}\right )}{3}-\frac {\ln \left (x+1\right )}{3}-\frac {2\,\mathrm {acot}\left (\sqrt {x}\right )}{3\,x^{3/2}}+\frac {1}{3\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________