Optimal. Leaf size=42 \[ \frac {x^{3/2}}{6}+\frac {1}{2} x^2 \cot ^{-1}\left (\sqrt {x}\right )-\frac {\sqrt {x}}{2}+\frac {1}{2} \tan ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5034, 50, 63, 203} \[ \frac {x^{3/2}}{6}+\frac {1}{2} x^2 \cot ^{-1}\left (\sqrt {x}\right )-\frac {\sqrt {x}}{2}+\frac {1}{2} \tan ^{-1}\left (\sqrt {x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 203
Rule 5034
Rubi steps
\begin {align*} \int x \cot ^{-1}\left (\sqrt {x}\right ) \, dx &=\frac {1}{2} x^2 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{4} \int \frac {x^{3/2}}{1+x} \, dx\\ &=\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{4} \int \frac {\sqrt {x}}{1+x} \, dx\\ &=-\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{4} \int \frac {1}{\sqrt {x} (1+x)} \, dx\\ &=-\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=-\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6}+\frac {1}{2} x^2 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{2} \tan ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 33, normalized size = 0.79 \[ \frac {1}{6} \left (3 x^2 \cot ^{-1}\left (\sqrt {x}\right )+(x-3) \sqrt {x}+3 \tan ^{-1}\left (\sqrt {x}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 20, normalized size = 0.48 \[ \frac {1}{2} \, {\left (x^{2} - 1\right )} \operatorname {arccot}\left (\sqrt {x}\right ) + \frac {1}{6} \, {\left (x - 3\right )} \sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 28, normalized size = 0.67 \[ \frac {1}{2} \, x^{2} \arctan \left (\frac {1}{\sqrt {x}}\right ) - \frac {1}{6} \, x^{\frac {3}{2}} {\left (\frac {3}{x} - 1\right )} - \frac {1}{2} \, \arctan \left (\frac {1}{\sqrt {x}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 27, normalized size = 0.64 \[ \frac {x^{\frac {3}{2}}}{6}+\frac {x^{2} \mathrm {arccot}\left (\sqrt {x}\right )}{2}+\frac {\arctan \left (\sqrt {x}\right )}{2}-\frac {\sqrt {x}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 26, normalized size = 0.62 \[ \frac {1}{2} \, x^{2} \operatorname {arccot}\left (\sqrt {x}\right ) + \frac {1}{6} \, x^{\frac {3}{2}} - \frac {1}{2} \, \sqrt {x} + \frac {1}{2} \, \arctan \left (\sqrt {x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.66, size = 26, normalized size = 0.62 \[ \frac {\mathrm {atan}\left (\sqrt {x}\right )}{2}+\frac {x^2\,\mathrm {acot}\left (\sqrt {x}\right )}{2}-\frac {\sqrt {x}}{2}+\frac {x^{3/2}}{6} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.29, size = 32, normalized size = 0.76 \[ \frac {x^{\frac {3}{2}}}{6} - \frac {\sqrt {x}}{2} + \frac {x^{2} \operatorname {acot}{\left (\sqrt {x} \right )}}{2} + \frac {\operatorname {atan}{\left (\sqrt {x} \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________