3.1.54 \(\int \frac {\coth ^{-1}(x)^n}{1-x^2} \, dx\) [54]

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

[Out]

arccoth(x)^(1+n)/(1+n)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {6096} \begin {gather*} \frac {\coth ^{-1}(x)^{n+1}}{n+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[ArcCoth[x]^n/(1 - x^2),x]

[Out]

ArcCoth[x]^(1 + n)/(1 + n)

Rule 6096

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

Rubi steps

\begin {align*} \int \frac {\coth ^{-1}(x)^n}{1-x^2} \, dx &=\frac {\coth ^{-1}(x)^{1+n}}{1+n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 12, normalized size = 1.00 \begin {gather*} \frac {\coth ^{-1}(x)^{1+n}}{1+n} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[ArcCoth[x]^n/(1 - x^2),x]

[Out]

ArcCoth[x]^(1 + n)/(1 + n)

________________________________________________________________________________________

Maple [A]
time = 0.08, size = 13, normalized size = 1.08

method result size
default \(\frac {\mathrm {arccoth}\left (x \right )^{1+n}}{1+n}\) \(13\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

arccoth(x)^(1+n)/(1+n)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

arccoth(x)^(n + 1)/(n + 1)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 62 vs. \(2 (12) = 24\).
time = 0.35, size = 62, normalized size = 5.17 \begin {gather*} \frac {\cosh \left (n \log \left (\frac {1}{2} \, \log \left (\frac {x + 1}{x - 1}\right )\right )\right ) \log \left (\frac {x + 1}{x - 1}\right ) + \log \left (\frac {x + 1}{x - 1}\right ) \sinh \left (n \log \left (\frac {1}{2} \, \log \left (\frac {x + 1}{x - 1}\right )\right )\right )}{2 \, {\left (n + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*(cosh(n*log(1/2*log((x + 1)/(x - 1))))*log((x + 1)/(x - 1)) + log((x + 1)/(x - 1))*sinh(n*log(1/2*log((x +
 1)/(x - 1)))))/(n + 1)

________________________________________________________________________________________

Sympy [A]
time = 1.10, size = 15, normalized size = 1.25 \begin {gather*} \begin {cases} \frac {\operatorname {acoth}^{n + 1}{\left (x \right )}}{n + 1} & \text {for}\: n \neq -1 \\\log {\left (\operatorname {acoth}{\left (x \right )} \right )} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(acoth(x)**n/(-x**2+1),x)

[Out]

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

________________________________________________________________________________________

Giac [A]
time = 0.40, size = 22, normalized size = 1.83 \begin {gather*} \frac {\left (\frac {1}{2} \, \log \left (\frac {x + 1}{x - 1}\right )\right )^{n + 1}}{n + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(1/2*log((x + 1)/(x - 1)))^(n + 1)/(n + 1)

________________________________________________________________________________________

Mupad [B]
time = 1.36, size = 22, normalized size = 1.83 \begin {gather*} \left \{\begin {array}{cl} \ln \left (\mathrm {acoth}\left (x\right )\right ) & \text {\ if\ \ }n=-1\\ \frac {{\mathrm {acoth}\left (x\right )}^{n+1}}{n+1} & \text {\ if\ \ }n\neq -1 \end {array}\right . \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-acoth(x)^n/(x^2 - 1),x)

[Out]

piecewise(n == -1, log(acoth(x)), n ~= -1, acoth(x)^(n + 1)/(n + 1))

________________________________________________________________________________________