Optimal. Leaf size=23 \[ -\frac {\tanh (a+b x)}{b}-\frac {\coth (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2620, 14} \[ -\frac {\tanh (a+b x)}{b}-\frac {\coth (a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2620
Rubi steps
\begin {align*} \int \text {csch}^2(a+b x) \text {sech}^2(a+b x) \, dx &=\frac {i \operatorname {Subst}\left (\int \frac {1+x^2}{x^2} \, dx,x,i \tanh (a+b x)\right )}{b}\\ &=\frac {i \operatorname {Subst}\left (\int \left (1+\frac {1}{x^2}\right ) \, dx,x,i \tanh (a+b x)\right )}{b}\\ &=-\frac {\coth (a+b x)}{b}-\frac {\tanh (a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 13, normalized size = 0.57 \[ -\frac {2 \coth (2 (a+b x))}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 81, normalized size = 3.52 \[ -\frac {4}{b \cosh \left (b x + a\right )^{4} + 4 \, b \cosh \left (b x + a\right )^{3} \sinh \left (b x + a\right ) + 6 \, b \cosh \left (b x + a\right )^{2} \sinh \left (b x + a\right )^{2} + 4 \, b \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + b \sinh \left (b x + a\right )^{4} - b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 18, normalized size = 0.78 \[ -\frac {4}{b {\left (e^{\left (4 \, b x + 4 \, a\right )} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.33, size = 32, normalized size = 1.39 \[ \frac {-\frac {1}{\sinh \left (b x +a \right ) \cosh \left (b x +a \right )}-2 \tanh \left (b x +a \right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 18, normalized size = 0.78 \[ \frac {4}{b {\left (e^{\left (-4 \, b x - 4 \, a\right )} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 18, normalized size = 0.78 \[ -\frac {4}{b\,\left ({\mathrm {e}}^{4\,a+4\,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 \operatorname {csch}^{2}{\left (a + b x \right )} \operatorname {sech}^{2}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________