Optimal. Leaf size=22 \[ \sqrt{x}-\tan ^{-1}\left (\sqrt{x}\right )+x \cot ^{-1}\left (\sqrt{x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0055551, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.667, Rules used = {5028, 50, 63, 203} \[ \sqrt{x}-\tan ^{-1}\left (\sqrt{x}\right )+x \cot ^{-1}\left (\sqrt{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5028
Rule 50
Rule 63
Rule 203
Rubi steps
\begin{align*} \int \cot ^{-1}\left (\sqrt{x}\right ) \, dx &=x \cot ^{-1}\left (\sqrt{x}\right )+\frac{1}{2} \int \frac{\sqrt{x}}{1+x} \, dx\\ &=\sqrt{x}+x \cot ^{-1}\left (\sqrt{x}\right )-\frac{1}{2} \int \frac{1}{\sqrt{x} (1+x)} \, dx\\ &=\sqrt{x}+x \cot ^{-1}\left (\sqrt{x}\right )-\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sqrt{x}\right )\\ &=\sqrt{x}+x \cot ^{-1}\left (\sqrt{x}\right )-\tan ^{-1}\left (\sqrt{x}\right )\\ \end{align*}
Mathematica [A] time = 0.005846, size = 22, normalized size = 1. \[ \sqrt{x}-\tan ^{-1}\left (\sqrt{x}\right )+x \cot ^{-1}\left (\sqrt{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.023, size = 17, normalized size = 0.8 \begin{align*} x{\rm arccot} \left (\sqrt{x}\right )-\arctan \left ( \sqrt{x} \right ) +\sqrt{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.45385, size = 22, normalized size = 1. \begin{align*} x \operatorname{arccot}\left (\sqrt{x}\right ) + \sqrt{x} - \arctan \left (\sqrt{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.21215, size = 47, normalized size = 2.14 \begin{align*}{\left (x + 1\right )} \operatorname{arccot}\left (\sqrt{x}\right ) + \sqrt{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{acot}{\left (\sqrt{x} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10771, size = 22, normalized size = 1. \begin{align*} x \arctan \left (\frac{1}{\sqrt{x}}\right ) + \sqrt{x} - \arctan \left (\sqrt{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]