3.94 \(\int \frac {\text {csch}^2(x)}{1+\coth (x)} \, dx\)

Optimal. Leaf size=7 \[ -\log (\coth (x)+1) \]

[Out]

-ln(1+coth(x))

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 7, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {3487, 31} \[ -\log (\coth (x)+1) \]

Antiderivative was successfully verified.

[In]

Int[Csch[x]^2/(1 + Coth[x]),x]

[Out]

-Log[1 + Coth[x]]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 3487

Int[sec[(e_.) + (f_.)*(x_)]^(m_)*((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Dist[1/(a^(m - 2)*b
*f), Subst[Int[(a - x)^(m/2 - 1)*(a + x)^(n + m/2 - 1), x], x, b*Tan[e + f*x]], x] /; FreeQ[{a, b, e, f, n}, x
] && EqQ[a^2 + b^2, 0] && IntegerQ[m/2]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 7, normalized size = 1.00 \[ \log (\sinh (x))-x \]

Antiderivative was successfully verified.

[In]

Integrate[Csch[x]^2/(1 + Coth[x]),x]

[Out]

-x + Log[Sinh[x]]

________________________________________________________________________________________

fricas [B]  time = 0.41, size = 18, normalized size = 2.57 \[ -2 \, x + \log \left (\frac {2 \, \sinh \relax (x)}{\cosh \relax (x) - \sinh \relax (x)}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(x)^2/(1+coth(x)),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.13, size = 12, normalized size = 1.71 \[ -2 \, x + \log \left ({\left | e^{\left (2 \, x\right )} - 1 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(x)^2/(1+coth(x)),x, algorithm="giac")

[Out]

-2*x + log(abs(e^(2*x) - 1))

________________________________________________________________________________________

maple [A]  time = 0.07, size = 8, normalized size = 1.14 \[ -\ln \left (1+\coth \relax (x )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csch(x)^2/(1+coth(x)),x)

[Out]

-ln(1+coth(x))

________________________________________________________________________________________

maxima [A]  time = 0.30, size = 7, normalized size = 1.00 \[ -\log \left (\coth \relax (x) + 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(x)^2/(1+coth(x)),x, algorithm="maxima")

[Out]

-log(coth(x) + 1)

________________________________________________________________________________________

mupad [B]  time = 1.18, size = 11, normalized size = 1.57 \[ \ln \left ({\mathrm {e}}^{2\,x}-1\right )-2\,x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(sinh(x)^2*(coth(x) + 1)),x)

[Out]

log(exp(2*x) - 1) - 2*x

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {csch}^{2}{\relax (x )}}{\coth {\relax (x )} + 1}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(x)**2/(1+coth(x)),x)

[Out]

Integral(csch(x)**2/(coth(x) + 1), x)

________________________________________________________________________________________