3.1.15 \(\int \coth ^n(a+b x) \, dx\) [15]

Optimal. Leaf size=43 \[ \frac {\coth ^{1+n}(a+b x) \, _2F_1\left (1,\frac {1+n}{2};\frac {3+n}{2};\coth ^2(a+b x)\right )}{b (1+n)} \]

[Out]

coth(b*x+a)^(1+n)*hypergeom([1, 1/2+1/2*n],[3/2+1/2*n],coth(b*x+a)^2)/b/(1+n)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3557, 371} \begin {gather*} \frac {\coth ^{n+1}(a+b x) \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};\coth ^2(a+b x)\right )}{b (n+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Coth[a + b*x]^n,x]

[Out]

(Coth[a + b*x]^(1 + n)*Hypergeometric2F1[1, (1 + n)/2, (3 + n)/2, Coth[a + b*x]^2])/(b*(1 + n))

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 3557

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Dist[b/d, Subst[Int[x^n/(b^2 + x^2), x], x, b*Tan[c + d
*x]], x] /; FreeQ[{b, c, d, n}, x] &&  !IntegerQ[n]

Rubi steps

\begin {align*} \int \coth ^n(a+b x) \, dx &=-\frac {\text {Subst}\left (\int \frac {x^n}{-1+x^2} \, dx,x,\coth (a+b x)\right )}{b}\\ &=\frac {\coth ^{1+n}(a+b x) \, _2F_1\left (1,\frac {1+n}{2};\frac {3+n}{2};\coth ^2(a+b x)\right )}{b (1+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.05, size = 45, normalized size = 1.05 \begin {gather*} \frac {\coth ^{1+n}(a+b x) \, _2F_1\left (1,\frac {1+n}{2};1+\frac {1+n}{2};\coth ^2(a+b x)\right )}{b (1+n)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Coth[a + b*x]^n,x]

[Out]

(Coth[a + b*x]^(1 + n)*Hypergeometric2F1[1, (1 + n)/2, 1 + (1 + n)/2, Coth[a + b*x]^2])/(b*(1 + n))

________________________________________________________________________________________

Maple [F]
time = 1.83, size = 0, normalized size = 0.00 \[\int \coth ^{n}\left (b x +a \right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(coth(b*x+a)^n,x)

[Out]

int(coth(b*x+a)^n,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(b*x+a)^n,x, algorithm="maxima")

[Out]

integrate(coth(b*x + a)^n, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(b*x+a)^n,x, algorithm="fricas")

[Out]

integral(coth(b*x + a)^n, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \coth ^{n}{\left (a + b x \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(b*x+a)**n,x)

[Out]

Integral(coth(a + b*x)**n, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(b*x+a)^n,x, algorithm="giac")

[Out]

integrate(coth(b*x + a)^n, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int {\mathrm {coth}\left (a+b\,x\right )}^n \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(coth(a + b*x)^n,x)

[Out]

int(coth(a + b*x)^n, x)

________________________________________________________________________________________