3.52 \(\int \frac {\cot ^{-1}(x)^n}{1+x^2} \, dx\)

Optimal. Leaf size=13 \[ -\frac {\cot ^{-1}(x)^{n+1}}{n+1} \]

[Out]

-arccot(x)^(1+n)/(1+n)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 13, normalized size of antiderivative = 1.00, 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]

Int[ArcCot[x]^n/(1 + x^2),x]

[Out]

-(ArcCot[x]^(1 + n)/(1 + n))

Rule 4885

Int[((a_.) + ArcCot[(c_.)*(x_)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)^2), x_Symbol] :> -Simp[(a + b*ArcCot[c*x])^(p
+ 1)/(b*c*d*(p + 1)), x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[e, c^2*d] && NeQ[p, -1]

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.01, size = 13, normalized size = 1.00 \[ -\frac {\cot ^{-1}(x)^{n+1}}{n+1} \]

Antiderivative was successfully verified.

[In]

Integrate[ArcCot[x]^n/(1 + x^2),x]

[Out]

-(ArcCot[x]^(1 + n)/(1 + n))

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 13, normalized size = 1.00 \[ -\frac {\operatorname {arccot}\relax (x)^{n} \operatorname {arccot}\relax (x)}{n + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccot(x)^n/(x^2+1),x, algorithm="fricas")

[Out]

-arccot(x)^n*arccot(x)/(n + 1)

________________________________________________________________________________________

giac [A]  time = 0.12, size = 15, normalized size = 1.15 \[ -\frac {\arctan \left (\frac {1}{x}\right )^{n + 1}}{n + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccot(x)^n/(x^2+1),x, algorithm="giac")

[Out]

-arctan(1/x)^(n + 1)/(n + 1)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 14, normalized size = 1.08 \[ -\frac {\mathrm {arccot}\relax (x )^{1+n}}{1+n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arccot(x)^n/(x^2+1),x)

[Out]

-arccot(x)^(1+n)/(1+n)

________________________________________________________________________________________

maxima [A]  time = 0.32, size = 13, normalized size = 1.00 \[ -\frac {\operatorname {arccot}\relax (x)^{n + 1}}{n + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccot(x)^n/(x^2+1),x, algorithm="maxima")

[Out]

-arccot(x)^(n + 1)/(n + 1)

________________________________________________________________________________________

mupad [B]  time = 0.61, size = 13, normalized size = 1.00 \[ -\frac {{\mathrm {acot}\relax (x)}^{n+1}}{n+1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(acot(x)^n/(x^2 + 1),x)

[Out]

-acot(x)^(n + 1)/(n + 1)

________________________________________________________________________________________

sympy [A]  time = 1.45, size = 17, normalized size = 1.31 \[ - \begin {cases} \frac {\operatorname {acot}^{n + 1}{\relax (x )}}{n + 1} & \text {for}\: n \neq -1 \\\log {\left (\operatorname {acot}{\relax (x )} \right )} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(acot(x)**n/(x**2+1),x)

[Out]

-Piecewise((acot(x)**(n + 1)/(n + 1), Ne(n, -1)), (log(acot(x)), True))

________________________________________________________________________________________