Optimal. Leaf size=30 \[ -\frac{\coth (a+b x)}{2 b^2}-\frac{x \text{csch}^2(a+b x)}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0299658, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188, Rules used = {5419, 3767, 8} \[ -\frac{\coth (a+b x)}{2 b^2}-\frac{x \text{csch}^2(a+b x)}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5419
Rule 3767
Rule 8
Rubi steps
\begin{align*} \int x \coth (a+b x) \text{csch}^2(a+b x) \, dx &=-\frac{x \text{csch}^2(a+b x)}{2 b}+\frac{\int \text{csch}^2(a+b x) \, dx}{2 b}\\ &=-\frac{x \text{csch}^2(a+b x)}{2 b}-\frac{i \operatorname{Subst}(\int 1 \, dx,x,-i \coth (a+b x))}{2 b^2}\\ &=-\frac{\coth (a+b x)}{2 b^2}-\frac{x \text{csch}^2(a+b x)}{2 b}\\ \end{align*}
Mathematica [A] time = 0.0726683, size = 30, normalized size = 1. \[ -\frac{\coth (a+b x)}{2 b^2}-\frac{x \text{csch}^2(a+b x)}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.028, size = 43, normalized size = 1.4 \begin{align*} -{\frac{2\,bx{{\rm e}^{2\,bx+2\,a}}+{{\rm e}^{2\,bx+2\,a}}-1}{{b}^{2} \left ({{\rm e}^{2\,bx+2\,a}}-1 \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.18956, size = 176, normalized size = 5.87 \begin{align*} \frac{2 \, b x e^{\left (4 \, b x + 4 \, a\right )} -{\left (4 \, b x e^{\left (2 \, a\right )} + e^{\left (2 \, a\right )}\right )} e^{\left (2 \, b x\right )} + 1}{2 \,{\left (b^{2} e^{\left (4 \, b x + 4 \, a\right )} - 2 \, b^{2} e^{\left (2 \, b x + 2 \, a\right )} + b^{2}\right )}} - \frac{2 \, b x e^{\left (4 \, b x + 4 \, a\right )} + e^{\left (2 \, b x + 2 \, a\right )} - 1}{2 \,{\left (b^{2} e^{\left (4 \, b x + 4 \, a\right )} - 2 \, b^{2} e^{\left (2 \, b x + 2 \, a\right )} + b^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.21284, size = 267, normalized size = 8.9 \begin{align*} -\frac{2 \,{\left (b x \cosh \left (b x + a\right ) +{\left (b x + 1\right )} \sinh \left (b x + a\right )\right )}}{b^{2} \cosh \left (b x + a\right )^{3} + 3 \, b^{2} \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{2} + b^{2} \sinh \left (b x + a\right )^{3} - b^{2} \cosh \left (b x + a\right ) + 3 \,{\left (b^{2} \cosh \left (b x + a\right )^{2} - b^{2}\right )} \sinh \left (b x + a\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.16929, size = 248, normalized size = 8.27 \begin{align*} -\frac{4 \, b x e^{\left (2 \, b x + 2 \, a\right )} - e^{\left (4 \, b x + 4 \, a\right )} \log \left (e^{\left (2 \, b x + 2 \, a\right )} - 1\right ) + 2 \, e^{\left (2 \, b x + 2 \, a\right )} \log \left (e^{\left (2 \, b x + 2 \, a\right )} - 1\right ) + e^{\left (4 \, b x + 4 \, a\right )} \log \left (-e^{\left (2 \, b x + 2 \, a\right )} + 1\right ) - 2 \, e^{\left (2 \, b x + 2 \, a\right )} \log \left (-e^{\left (2 \, b x + 2 \, a\right )} + 1\right ) + 2 \, e^{\left (2 \, b x + 2 \, a\right )} - \log \left (e^{\left (2 \, b x + 2 \, a\right )} - 1\right ) + \log \left (-e^{\left (2 \, b x + 2 \, a\right )} + 1\right ) - 2}{2 \,{\left (b^{2} e^{\left (4 \, b x + 4 \, a\right )} - 2 \, b^{2} e^{\left (2 \, b x + 2 \, a\right )} + b^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]