Optimal. Leaf size=55 \[ \frac{3 \tan ^{-1}(\sinh (a+b x))}{8 b}-\frac{\tanh ^3(a+b x) \text{sech}(a+b x)}{4 b}-\frac{3 \tanh (a+b x) \text{sech}(a+b x)}{8 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.044051, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {2611, 3770} \[ \frac{3 \tan ^{-1}(\sinh (a+b x))}{8 b}-\frac{\tanh ^3(a+b x) \text{sech}(a+b x)}{4 b}-\frac{3 \tanh (a+b x) \text{sech}(a+b x)}{8 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2611
Rule 3770
Rubi steps
\begin{align*} \int \text{sech}(a+b x) \tanh ^4(a+b x) \, dx &=-\frac{\text{sech}(a+b x) \tanh ^3(a+b x)}{4 b}+\frac{3}{4} \int \text{sech}(a+b x) \tanh ^2(a+b x) \, dx\\ &=-\frac{3 \text{sech}(a+b x) \tanh (a+b x)}{8 b}-\frac{\text{sech}(a+b x) \tanh ^3(a+b x)}{4 b}+\frac{3}{8} \int \text{sech}(a+b x) \, dx\\ &=\frac{3 \tan ^{-1}(\sinh (a+b x))}{8 b}-\frac{3 \text{sech}(a+b x) \tanh (a+b x)}{8 b}-\frac{\text{sech}(a+b x) \tanh ^3(a+b x)}{4 b}\\ \end{align*}
Mathematica [A] time = 0.16624, size = 59, normalized size = 1.07 \[ \frac{3 \tan ^{-1}(\sinh (a+b x))-6 \tanh (a+b x) \text{sech}^3(a+b x)+\left (3 \tanh (a+b x)-8 \tanh ^3(a+b x)\right ) \text{sech}(a+b x)}{8 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 90, normalized size = 1.6 \begin{align*} -{\frac{ \left ( \sinh \left ( bx+a \right ) \right ) ^{3}}{b \left ( \cosh \left ( bx+a \right ) \right ) ^{4}}}-{\frac{\sinh \left ( bx+a \right ) }{b \left ( \cosh \left ( bx+a \right ) \right ) ^{4}}}+{\frac{ \left ({\rm sech} \left (bx+a\right ) \right ) ^{3}\tanh \left ( bx+a \right ) }{4\,b}}+{\frac{3\,{\rm sech} \left (bx+a\right )\tanh \left ( bx+a \right ) }{8\,b}}+{\frac{3\,\arctan \left ({{\rm e}^{bx+a}} \right ) }{4\,b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.74562, size = 151, normalized size = 2.75 \begin{align*} -\frac{3 \, \arctan \left (e^{\left (-b x - a\right )}\right )}{4 \, b} - \frac{5 \, e^{\left (-b x - a\right )} - 3 \, e^{\left (-3 \, b x - 3 \, a\right )} + 3 \, e^{\left (-5 \, b x - 5 \, a\right )} - 5 \, e^{\left (-7 \, b x - 7 \, a\right )}}{4 \, b{\left (4 \, e^{\left (-2 \, b x - 2 \, a\right )} + 6 \, e^{\left (-4 \, b x - 4 \, a\right )} + 4 \, e^{\left (-6 \, b x - 6 \, a\right )} + e^{\left (-8 \, b x - 8 \, a\right )} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.86569, size = 2257, normalized size = 41.04 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \tanh ^{4}{\left (a + b x \right )} \operatorname{sech}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.23525, size = 96, normalized size = 1.75 \begin{align*} -\frac{\frac{5 \, e^{\left (7 \, b x + 7 \, a\right )} - 3 \, e^{\left (5 \, b x + 5 \, a\right )} + 3 \, e^{\left (3 \, b x + 3 \, a\right )} - 5 \, e^{\left (b x + a\right )}}{{\left (e^{\left (2 \, b x + 2 \, a\right )} + 1\right )}^{4}} - 3 \, \arctan \left (e^{\left (b x + a\right )}\right )}{4 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]