Optimal. Leaf size=51 \[ \frac {x^{5/2}}{15}-\frac {x^{3/2}}{9}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {\sqrt {x}}{3}-\frac {1}{3} \tan ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {5034, 50, 63, 203} \[ \frac {x^{5/2}}{15}-\frac {x^{3/2}}{9}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {\sqrt {x}}{3}-\frac {1}{3} \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^2 \cot ^{-1}\left (\sqrt {x}\right ) \, dx &=\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{6} \int \frac {x^{5/2}}{1+x} \, dx\\ &=\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {x^{3/2}}{1+x} \, dx\\ &=-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{6} \int \frac {\sqrt {x}}{1+x} \, dx\\ &=\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {1}{\sqrt {x} (1+x)} \, dx\\ &=\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{3} \tan ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 40, normalized size = 0.78 \[ \frac {1}{45} \left (15 x^3 \cot ^{-1}\left (\sqrt {x}\right )+\left (3 x^2-5 x+15\right ) \sqrt {x}-15 \tan ^{-1}\left (\sqrt {x}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.39, size = 27, normalized size = 0.53 \[ \frac {1}{3} \, {\left (x^{3} + 1\right )} \operatorname {arccot}\left (\sqrt {x}\right ) + \frac {1}{45} \, {\left (3 \, x^{2} - 5 \, x + 15\right )} \sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 33, normalized size = 0.65 \[ \frac {1}{3} \, x^{3} \arctan \left (\frac {1}{\sqrt {x}}\right ) - \frac {1}{45} \, x^{\frac {5}{2}} {\left (\frac {5}{x} - \frac {15}{x^{2}} - 3\right )} + \frac {1}{3} \, \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 = 32, normalized size = 0.63 \[ -\frac {x^{\frac {3}{2}}}{9}+\frac {x^{\frac {5}{2}}}{15}+\frac {x^{3} \mathrm {arccot}\left (\sqrt {x}\right )}{3}-\frac {\arctan \left (\sqrt {x}\right )}{3}+\frac {\sqrt {x}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.56, size = 31, normalized size = 0.61 \[ \frac {1}{3} \, x^{3} \operatorname {arccot}\left (\sqrt {x}\right ) + \frac {1}{15} \, x^{\frac {5}{2}} - \frac {1}{9} \, x^{\frac {3}{2}} + \frac {1}{3} \, \sqrt {x} - \frac {1}{3} \, \arctan \left (\sqrt {x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.65, size = 31, normalized size = 0.61 \[ \frac {x^3\,\mathrm {acot}\left (\sqrt {x}\right )}{3}-\frac {\mathrm {atan}\left (\sqrt {x}\right )}{3}+\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.00, size = 39, normalized size = 0.76 \[ \frac {x^{\frac {5}{2}}}{15} - \frac {x^{\frac {3}{2}}}{9} + \frac {\sqrt {x}}{3} + \frac {x^{3} \operatorname {acot}{\left (\sqrt {x} \right )}}{3} - \frac {\operatorname {atan}{\left (\sqrt {x} \right )}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________