Optimal. Leaf size=25 \[ -\frac {\tanh ^{-1}(\cosh (a+b x))}{b^2}-\frac {x \text {csch}(a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {5419, 3770} \[ -\frac {\tanh ^{-1}(\cosh (a+b x))}{b^2}-\frac {x \text {csch}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3770
Rule 5419
Rubi steps
\begin {align*} \int x \coth (a+b x) \text {csch}(a+b x) \, dx &=-\frac {x \text {csch}(a+b x)}{b}+\frac {\int \text {csch}(a+b x) \, dx}{b}\\ &=-\frac {\tanh ^{-1}(\cosh (a+b x))}{b^2}-\frac {x \text {csch}(a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.05, size = 114, normalized size = 4.56 \[ \frac {\log \left (\sinh \left (\frac {a}{2}+\frac {b x}{2}\right )\right )}{b^2}-\frac {\log \left (\cosh \left (\frac {a}{2}+\frac {b x}{2}\right )\right )}{b^2}-\frac {x \text {csch}(a)}{b}+\frac {x \text {csch}\left (\frac {a}{2}\right ) \sinh \left (\frac {b x}{2}\right ) \text {csch}\left (\frac {a}{2}+\frac {b x}{2}\right )}{2 b}+\frac {x \text {sech}\left (\frac {a}{2}\right ) \sinh \left (\frac {b x}{2}\right ) \text {sech}\left (\frac {a}{2}+\frac {b x}{2}\right )}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.51, size = 169, normalized size = 6.76 \[ -\frac {2 \, b x \cosh \left (b x + a\right ) + 2 \, b x \sinh \left (b x + a\right ) + {\left (\cosh \left (b x + a\right )^{2} + 2 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + \sinh \left (b x + a\right )^{2} - 1\right )} \log \left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right ) + 1\right ) - {\left (\cosh \left (b x + a\right )^{2} + 2 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + \sinh \left (b x + a\right )^{2} - 1\right )} \log \left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right ) - 1\right )}{b^{2} \cosh \left (b x + a\right )^{2} + 2 \, b^{2} \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + b^{2} \sinh \left (b x + a\right )^{2} - b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.15, size = 93, normalized size = 3.72 \[ -\frac {2 \, b x e^{\left (b x + a\right )} + e^{\left (2 \, b x + 2 \, a\right )} \log \left (e^{\left (b x + a\right )} + 1\right ) - e^{\left (2 \, b x + 2 \, a\right )} \log \left (e^{\left (b x + a\right )} - 1\right ) - \log \left (e^{\left (b x + a\right )} + 1\right ) + \log \left (e^{\left (b x + a\right )} - 1\right )}{b^{2} e^{\left (2 \, b x + 2 \, a\right )} - b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.14, size = 54, normalized size = 2.16 \[ -\frac {2 \,{\mathrm e}^{b x +a} x}{b \left ({\mathrm e}^{2 b x +2 a}-1\right )}-\frac {\ln \left (1+{\mathrm e}^{b x +a}\right )}{b^{2}}+\frac {\ln \left ({\mathrm e}^{b x +a}-1\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.52, size = 64, normalized size = 2.56 \[ -\frac {2 \, x e^{\left (b x + a\right )}}{b e^{\left (2 \, b x + 2 \, a\right )} - b} - \frac {\log \left ({\left (e^{\left (b x + a\right )} + 1\right )} e^{\left (-a\right )}\right )}{b^{2}} + \frac {\log \left ({\left (e^{\left (b x + a\right )} - 1\right )} e^{\left (-a\right )}\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 53, normalized size = 2.12 \[ -\frac {2\,\mathrm {atan}\left (\frac {{\mathrm {e}}^{b\,x}\,{\mathrm {e}}^a\,\sqrt {-b^4}}{b^2}\right )}{\sqrt {-b^4}}-\frac {2\,x\,{\mathrm {e}}^{a+b\,x}}{b\,\left ({\mathrm {e}}^{2\,a+2\,b\,x}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x \cosh {\left (a + b x \right )} \operatorname {csch}^{2}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________