Optimal. Leaf size=27 \[ \frac {\text {sech}^3(a+b x)}{3 b}-\frac {\text {sech}(a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2606} \[ \frac {\text {sech}^3(a+b x)}{3 b}-\frac {\text {sech}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2606
Rubi steps
\begin {align*} \int \text {sech}(a+b x) \tanh ^3(a+b x) \, dx &=\frac {\operatorname {Subst}\left (\int \left (-1+x^2\right ) \, dx,x,\text {sech}(a+b x)\right )}{b}\\ &=-\frac {\text {sech}(a+b x)}{b}+\frac {\text {sech}^3(a+b x)}{3 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 27, normalized size = 1.00 \[ \frac {\text {sech}^3(a+b x)}{3 b}-\frac {\text {sech}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.44, size = 172, normalized size = 6.37 \[ -\frac {2 \, {\left (3 \, \cosh \left (b x + a\right )^{3} + 9 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{2} + 3 \, \sinh \left (b x + a\right )^{3} + {\left (9 \, \cosh \left (b x + a\right )^{2} - 1\right )} \sinh \left (b x + a\right ) + 5 \, \cosh \left (b x + a\right )\right )}}{3 \, {\left (b \cosh \left (b x + a\right )^{4} + 4 \, b \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + b \sinh \left (b x + a\right )^{4} + 4 \, b \cosh \left (b x + a\right )^{2} + 2 \, {\left (3 \, b \cosh \left (b x + a\right )^{2} + 2 \, b\right )} \sinh \left (b x + a\right )^{2} + 4 \, {\left (b \cosh \left (b x + a\right )^{3} + b \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right ) + 3 \, b\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 49, normalized size = 1.81 \[ -\frac {2 \, {\left (3 \, e^{\left (5 \, b x + 5 \, a\right )} + 2 \, e^{\left (3 \, b x + 3 \, a\right )} + 3 \, e^{\left (b x + a\right )}\right )}}{3 \, b {\left (e^{\left (2 \, b x + 2 \, a\right )} + 1\right )}^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.16, size = 34, normalized size = 1.26 \[ \frac {-\frac {\sinh ^{2}\left (b x +a \right )}{\cosh \left (b x +a \right )^{3}}-\frac {2}{3 \cosh \left (b x +a \right )^{3}}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.45, size = 148, normalized size = 5.48 \[ -\frac {2 \, e^{\left (-b x - a\right )}}{b {\left (3 \, e^{\left (-2 \, b x - 2 \, a\right )} + 3 \, e^{\left (-4 \, b x - 4 \, a\right )} + e^{\left (-6 \, b x - 6 \, a\right )} + 1\right )}} - \frac {4 \, e^{\left (-3 \, b x - 3 \, a\right )}}{3 \, b {\left (3 \, e^{\left (-2 \, b x - 2 \, a\right )} + 3 \, e^{\left (-4 \, b x - 4 \, a\right )} + e^{\left (-6 \, b x - 6 \, a\right )} + 1\right )}} - \frac {2 \, e^{\left (-5 \, b x - 5 \, a\right )}}{b {\left (3 \, e^{\left (-2 \, b x - 2 \, a\right )} + 3 \, e^{\left (-4 \, b x - 4 \, a\right )} + e^{\left (-6 \, b x - 6 \, a\right )} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.41, size = 48, normalized size = 1.78 \[ -\frac {2\,{\mathrm {e}}^{a+b\,x}\,\left (2\,{\mathrm {e}}^{2\,a+2\,b\,x}+3\,{\mathrm {e}}^{4\,a+4\,b\,x}+3\right )}{3\,b\,{\left ({\mathrm {e}}^{2\,a+2\,b\,x}+1\right )}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.85, size = 41, normalized size = 1.52 \[ \begin {cases} - \frac {\tanh ^{2}{\left (a + b x \right )} \operatorname {sech}{\left (a + b x \right )}}{3 b} - \frac {2 \operatorname {sech}{\left (a + b x \right )}}{3 b} & \text {for}\: b \neq 0 \\x \tanh ^{3}{\relax (a )} \operatorname {sech}{\relax (a )} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________