Optimal. Leaf size=40 \[ \frac{\cosh ^4(a+b x)}{4 b}-\frac{\cosh ^2(a+b x)}{b}+\frac{\log (\cosh (a+b x))}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0321603, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2590, 266, 43} \[ \frac{\cosh ^4(a+b x)}{4 b}-\frac{\cosh ^2(a+b x)}{b}+\frac{\log (\cosh (a+b x))}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2590
Rule 266
Rule 43
Rubi steps
\begin{align*} \int \sinh ^4(a+b x) \tanh (a+b x) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (1-x^2\right )^2}{x} \, dx,x,\cosh (a+b x)\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int \frac{(1-x)^2}{x} \, dx,x,\cosh ^2(a+b x)\right )}{2 b}\\ &=\frac{\operatorname{Subst}\left (\int \left (-2+\frac{1}{x}+x\right ) \, dx,x,\cosh ^2(a+b x)\right )}{2 b}\\ &=-\frac{\cosh ^2(a+b x)}{b}+\frac{\cosh ^4(a+b x)}{4 b}+\frac{\log (\cosh (a+b x))}{b}\\ \end{align*}
Mathematica [A] time = 0.0302297, size = 34, normalized size = 0.85 \[ \frac{\frac{1}{4} \cosh ^4(a+b x)-\cosh ^2(a+b x)+\log (\cosh (a+b x))}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 39, normalized size = 1. \begin{align*}{\frac{ \left ( \sinh \left ( bx+a \right ) \right ) ^{4}}{4\,b}}-{\frac{ \left ( \sinh \left ( bx+a \right ) \right ) ^{2}}{2\,b}}+{\frac{\ln \left ( \cosh \left ( bx+a \right ) \right ) }{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.5845, size = 109, normalized size = 2.72 \begin{align*} -\frac{{\left (12 \, e^{\left (-2 \, b x - 2 \, a\right )} - 1\right )} e^{\left (4 \, b x + 4 \, a\right )}}{64 \, b} + \frac{b x + a}{b} - \frac{12 \, e^{\left (-2 \, b x - 2 \, a\right )} - e^{\left (-4 \, b x - 4 \, a\right )}}{64 \, b} + \frac{\log \left (e^{\left (-2 \, b x - 2 \, a\right )} + 1\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.81901, size = 1270, normalized size = 31.75 \begin{align*} \frac{\cosh \left (b x + a\right )^{8} + 8 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{7} + \sinh \left (b x + a\right )^{8} + 4 \,{\left (7 \, \cosh \left (b x + a\right )^{2} - 3\right )} \sinh \left (b x + a\right )^{6} - 64 \, b x \cosh \left (b x + a\right )^{4} - 12 \, \cosh \left (b x + a\right )^{6} + 8 \,{\left (7 \, \cosh \left (b x + a\right )^{3} - 9 \, \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )^{5} + 2 \,{\left (35 \, \cosh \left (b x + a\right )^{4} - 32 \, b x - 90 \, \cosh \left (b x + a\right )^{2}\right )} \sinh \left (b x + a\right )^{4} + 8 \,{\left (7 \, \cosh \left (b x + a\right )^{5} - 32 \, b x \cosh \left (b x + a\right ) - 30 \, \cosh \left (b x + a\right )^{3}\right )} \sinh \left (b x + a\right )^{3} + 4 \,{\left (7 \, \cosh \left (b x + a\right )^{6} - 96 \, b x \cosh \left (b x + a\right )^{2} - 45 \, \cosh \left (b x + a\right )^{4} - 3\right )} \sinh \left (b x + a\right )^{2} - 12 \, \cosh \left (b x + a\right )^{2} + 64 \,{\left (\cosh \left (b x + a\right )^{4} + 4 \, \cosh \left (b x + a\right )^{3} \sinh \left (b x + a\right ) + 6 \, \cosh \left (b x + a\right )^{2} \sinh \left (b x + a\right )^{2} + 4 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + \sinh \left (b x + a\right )^{4}\right )} \log \left (\frac{2 \, \cosh \left (b x + a\right )}{\cosh \left (b x + a\right ) - \sinh \left (b x + a\right )}\right ) + 8 \,{\left (\cosh \left (b x + a\right )^{7} - 32 \, b x \cosh \left (b x + a\right )^{3} - 9 \, \cosh \left (b x + a\right )^{5} - 3 \, \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right ) + 1}{64 \,{\left (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}\right )}} \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 \sinh ^{4}{\left (a + b x \right )} \tanh{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.19127, size = 116, normalized size = 2.9 \begin{align*} -\frac{64 \, b x -{\left (48 \, e^{\left (4 \, b x + 4 \, a\right )} - 12 \, e^{\left (2 \, b x + 2 \, a\right )} + 1\right )} e^{\left (-4 \, b x - 4 \, a\right )} -{\left (e^{\left (4 \, b x + 16 \, a\right )} - 12 \, e^{\left (2 \, b x + 14 \, a\right )}\right )} e^{\left (-12 \, a\right )} - 64 \, \log \left (e^{\left (2 \, b x + 2 \, a\right )} + 1\right )}{64 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]