Optimal. Leaf size=13 \[ -\frac{\cot ^{-1}(x)^{n+1}}{n+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0235998, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {4885} \[ -\frac{\cot ^{-1}(x)^{n+1}}{n+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4885
Rubi steps
\begin{align*} \int \frac{\cot ^{-1}(x)^n}{1+x^2} \, dx &=-\frac{\cot ^{-1}(x)^{1+n}}{1+n}\\ \end{align*}
Mathematica [A] time = 0.0070566, size = 13, normalized size = 1. \[ -\frac{\cot ^{-1}(x)^{n+1}}{n+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.038, size = 14, normalized size = 1.1 \begin{align*} -{\frac{ \left ({\rm arccot} \left (x\right ) \right ) ^{1+n}}{1+n}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.99926, size = 43, normalized size = 3.31 \begin{align*} -\frac{\operatorname{arccot}\left (x\right )^{n} \operatorname{arccot}\left (x\right )}{n + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 4.60103, size = 17, normalized size = 1.31 \begin{align*} - \begin{cases} \frac{\operatorname{acot}^{n + 1}{\left (x \right )}}{n + 1} & \text{for}\: n \neq -1 \\\log{\left (\operatorname{acot}{\left (x \right )} \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09028, size = 20, normalized size = 1.54 \begin{align*} -\frac{\arctan \left (\frac{1}{x}\right )^{n + 1}}{n + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]