Optimal. Leaf size=51 \[ \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 {\text {ArcTan}\left (\sqrt {x}\right )}{3} \]
[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 = {4947, 52, 65,
209} \begin {gather*} -\frac {\text {ArcTan}\left (\sqrt {x}\right )}{3}+\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} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 209
Rule 4947
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} \text {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.01, size = 40, normalized size = 0.78 \begin {gather*} \frac {1}{45} \left (\sqrt {x} \left (15-5 x+3 x^2\right )+15 x^3 \cot ^{-1}\left (\sqrt {x}\right )-15 \text {ArcTan}\left (\sqrt {x}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 32, normalized size = 0.63
method | result | size |
derivativedivides | \(-\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}\) | \(32\) |
default | \(-\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}\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 31, normalized size = 0.61 \begin {gather*} \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 ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.99, size = 27, normalized size = 0.53 \begin {gather*} \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} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.31, size = 39, normalized size = 0.76 \begin {gather*} \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} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 33, normalized size = 0.65 \begin {gather*} \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 ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.65, size = 31, normalized size = 0.61 \begin {gather*} \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} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________