3.2 \(\int \text{csch}^2(a+b x) \, dx\)

Optimal. Leaf size=11 \[ -\frac{\coth (a+b x)}{b} \]

[Out]

-(Coth[a + b*x]/b)

________________________________________________________________________________________

Rubi [A]  time = 0.009889, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {3767, 8} \[ -\frac{\coth (a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Int[Csch[a + b*x]^2,x]

[Out]

-(Coth[a + b*x]/b)

Rule 3767

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin{align*} \int \text{csch}^2(a+b x) \, dx &=-\frac{i \operatorname{Subst}(\int 1 \, dx,x,-i \coth (a+b x))}{b}\\ &=-\frac{\coth (a+b x)}{b}\\ \end{align*}

Mathematica [A]  time = 0.0099317, size = 11, normalized size = 1. \[ -\frac{\coth (a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[Csch[a + b*x]^2,x]

[Out]

-(Coth[a + b*x]/b)

________________________________________________________________________________________

Maple [A]  time = 0.005, size = 12, normalized size = 1.1 \begin{align*} -{\frac{{\rm coth} \left (bx+a\right )}{b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csch(b*x+a)^2,x)

[Out]

-coth(b*x+a)/b

________________________________________________________________________________________

Maxima [A]  time = 0.990234, size = 24, normalized size = 2.18 \begin{align*} \frac{2}{b{\left (e^{\left (-2 \, b x - 2 \, a\right )} - 1\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(b*x+a)^2,x, algorithm="maxima")

[Out]

2/(b*(e^(-2*b*x - 2*a) - 1))

________________________________________________________________________________________

Fricas [B]  time = 1.5139, size = 111, normalized size = 10.09 \begin{align*} -\frac{2}{b \cosh \left (b x + a\right )^{2} + 2 \, b \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + b \sinh \left (b x + a\right )^{2} - b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(b*x+a)^2,x, algorithm="fricas")

[Out]

-2/(b*cosh(b*x + a)^2 + 2*b*cosh(b*x + a)*sinh(b*x + a) + b*sinh(b*x + a)^2 - b)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{csch}^{2}{\left (a + b x \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(b*x+a)**2,x)

[Out]

Integral(csch(a + b*x)**2, x)

________________________________________________________________________________________

Giac [A]  time = 1.1387, size = 24, normalized size = 2.18 \begin{align*} -\frac{2}{b{\left (e^{\left (2 \, b x + 2 \, a\right )} - 1\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(b*x+a)^2,x, algorithm="giac")

[Out]

-2/(b*(e^(2*b*x + 2*a) - 1))