3.1.52 \(\int \frac {\cot ^{-1}(x)^n}{1+x^2} \, dx\) [52]

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

[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 = {5005} \begin {gather*} -\frac {\cot ^{-1}(x)^{n+1}}{n+1} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 5005

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 \begin {gather*} -\frac {\cot ^{-1}(x)^{1+n}}{1+n} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]
time = 0.18, size = 14, normalized size = 1.08

method result size
derivativedivides \(-\frac {\mathrm {arccot}\left (x \right )^{1+n}}{1+n}\) \(14\)
default \(-\frac {\mathrm {arccot}\left (x \right )^{1+n}}{1+n}\) \(14\)
risch \(-\frac {\left (\pi -i \ln \left (-i \left (i+x \right )\right )+i \ln \left (-i \left (i-x \right )\right )\right ) \left (\frac {1}{2}\right )^{n} \left (\pi -i \ln \left (-i \left (i+x \right )\right )+i \ln \left (-i \left (i-x \right )\right )\right )^{n}}{2 \left (1+n \right )}\) \(65\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 13, normalized size = 1.00 \begin {gather*} -\frac {\operatorname {arccot}\left (x\right )^{n + 1}}{n + 1} \end {gather*}

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)

________________________________________________________________________________________

Fricas [A]
time = 2.81, size = 13, normalized size = 1.00 \begin {gather*} -\frac {\operatorname {arccot}\left (x\right )^{n} \operatorname {arccot}\left (x\right )}{n + 1} \end {gather*}

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)

________________________________________________________________________________________

Sympy [A]
time = 0.92, size = 17, normalized size = 1.31 \begin {gather*} - \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 {gather*}

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))

________________________________________________________________________________________

Giac [A]
time = 0.41, size = 15, normalized size = 1.15 \begin {gather*} -\frac {\arctan \left (\frac {1}{x}\right )^{n + 1}}{n + 1} \end {gather*}

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)

________________________________________________________________________________________

Mupad [B]
time = 0.61, size = 13, normalized size = 1.00 \begin {gather*} -\frac {{\mathrm {acot}\left (x\right )}^{n+1}}{n+1} \end {gather*}

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)

________________________________________________________________________________________