Optimal. Leaf size=42 \[ \frac {1}{6 x^{3/2}}-\frac {1}{2 \sqrt {x}}-\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}-\frac {\text {ArcTan}\left (\sqrt {x}\right )}{2} \]
[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 = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4947, 53, 65,
209} \begin {gather*} -\frac {\text {ArcTan}\left (\sqrt {x}\right )}{2}+\frac {1}{6 x^{3/2}}-\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}-\frac {1}{2 \sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 209
Rule 4947
Rubi steps
\begin {align*} \int \frac {\cot ^{-1}\left (\sqrt {x}\right )}{x^3} \, dx &=-\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}-\frac {1}{4} \int \frac {1}{x^{5/2} (1+x)} \, dx\\ &=\frac {1}{6 x^{3/2}}-\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {1}{4} \int \frac {1}{x^{3/2} (1+x)} \, dx\\ &=\frac {1}{6 x^{3/2}}-\frac {1}{2 \sqrt {x}}-\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}-\frac {1}{4} \int \frac {1}{\sqrt {x} (1+x)} \, dx\\ &=\frac {1}{6 x^{3/2}}-\frac {1}{2 \sqrt {x}}-\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}-\frac {1}{2} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=\frac {1}{6 x^{3/2}}-\frac {1}{2 \sqrt {x}}-\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}-\frac {1}{2} \tan ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.01, size = 34, normalized size = 0.81 \begin {gather*} -\frac {\cot ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {\, _2F_1\left (-\frac {3}{2},1;-\frac {1}{2};-x\right )}{6 x^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 27, normalized size = 0.64
method | result | size |
derivativedivides | \(\frac {1}{6 x^{\frac {3}{2}}}-\frac {\mathrm {arccot}\left (\sqrt {x}\right )}{2 x^{2}}-\frac {\arctan \left (\sqrt {x}\right )}{2}-\frac {1}{2 \sqrt {x}}\) | \(27\) |
default | \(\frac {1}{6 x^{\frac {3}{2}}}-\frac {\mathrm {arccot}\left (\sqrt {x}\right )}{2 x^{2}}-\frac {\arctan \left (\sqrt {x}\right )}{2}-\frac {1}{2 \sqrt {x}}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.46, size = 26, normalized size = 0.62 \begin {gather*} -\frac {3 \, x - 1}{6 \, x^{\frac {3}{2}}} - \frac {\operatorname {arccot}\left (\sqrt {x}\right )}{2 \, x^{2}} - \frac {1}{2} \, \arctan \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.91, size = 27, normalized size = 0.64 \begin {gather*} \frac {3 \, {\left (x^{2} - 1\right )} \operatorname {arccot}\left (\sqrt {x}\right ) - {\left (3 \, x - 1\right )} \sqrt {x}}{6 \, 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. 160 vs.
\(2 (36) = 72\).
time = 1.21, size = 160, normalized size = 3.81 \begin {gather*} \frac {3 x^{\frac {7}{2}} \operatorname {acot}{\left (\sqrt {x} \right )}}{6 x^{\frac {7}{2}} + 6 x^{\frac {5}{2}}} + \frac {3 x^{\frac {5}{2}} \operatorname {acot}{\left (\sqrt {x} \right )}}{6 x^{\frac {7}{2}} + 6 x^{\frac {5}{2}}} - \frac {3 x^{\frac {3}{2}} \operatorname {acot}{\left (\sqrt {x} \right )}}{6 x^{\frac {7}{2}} + 6 x^{\frac {5}{2}}} - \frac {3 \sqrt {x} \operatorname {acot}{\left (\sqrt {x} \right )}}{6 x^{\frac {7}{2}} + 6 x^{\frac {5}{2}}} - \frac {3 x^{3}}{6 x^{\frac {7}{2}} + 6 x^{\frac {5}{2}}} - \frac {2 x^{2}}{6 x^{\frac {7}{2}} + 6 x^{\frac {5}{2}}} + \frac {x}{6 x^{\frac {7}{2}} + 6 x^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 26, normalized size = 0.62 \begin {gather*} -\frac {1}{2 \, \sqrt {x}} - \frac {\arctan \left (\frac {1}{\sqrt {x}}\right )}{2 \, x^{2}} + \frac {1}{6 \, x^{\frac {3}{2}}} + \frac {1}{2} \, \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 = 24, normalized size = 0.57 \begin {gather*} -\frac {\mathrm {atan}\left (\sqrt {x}\right )}{2}-\frac {x-\frac {1}{3}}{2\,x^{3/2}}-\frac {\mathrm {acot}\left (\sqrt {x}\right )}{2\,x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________