Optimal. Leaf size=167 \[ -\frac{6 e^{c (a+b x)} \, _2F_1\left (1,\frac{b c}{2 e};\frac{b c}{2 e}+1;-e^{2 (d+e x)}\right )}{b c}+\frac{12 e^{c (a+b x)} \, _2F_1\left (2,\frac{b c}{2 e};\frac{b c}{2 e}+1;-e^{2 (d+e x)}\right )}{b c}-\frac{8 e^{c (a+b x)} \, _2F_1\left (3,\frac{b c}{2 e};\frac{b c}{2 e}+1;-e^{2 (d+e x)}\right )}{b c}+\frac{e^{c (a+b x)}}{b c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.188268, antiderivative size = 167, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {5484, 2194, 2251} \[ -\frac{6 e^{c (a+b x)} \, _2F_1\left (1,\frac{b c}{2 e};\frac{b c}{2 e}+1;-e^{2 (d+e x)}\right )}{b c}+\frac{12 e^{c (a+b x)} \, _2F_1\left (2,\frac{b c}{2 e};\frac{b c}{2 e}+1;-e^{2 (d+e x)}\right )}{b c}-\frac{8 e^{c (a+b x)} \, _2F_1\left (3,\frac{b c}{2 e};\frac{b c}{2 e}+1;-e^{2 (d+e x)}\right )}{b c}+\frac{e^{c (a+b x)}}{b c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5484
Rule 2194
Rule 2251
Rubi steps
\begin{align*} \int e^{c (a+b x)} \tanh ^3(d+e x) \, dx &=\int \left (e^{c (a+b x)}-\frac{8 e^{c (a+b x)}}{\left (1+e^{2 (d+e x)}\right )^3}+\frac{12 e^{c (a+b x)}}{\left (1+e^{2 (d+e x)}\right )^2}-\frac{6 e^{c (a+b x)}}{1+e^{2 (d+e x)}}\right ) \, dx\\ &=-\left (6 \int \frac{e^{c (a+b x)}}{1+e^{2 (d+e x)}} \, dx\right )-8 \int \frac{e^{c (a+b x)}}{\left (1+e^{2 (d+e x)}\right )^3} \, dx+12 \int \frac{e^{c (a+b x)}}{\left (1+e^{2 (d+e x)}\right )^2} \, dx+\int e^{c (a+b x)} \, dx\\ &=\frac{e^{c (a+b x)}}{b c}-\frac{6 e^{c (a+b x)} \, _2F_1\left (1,\frac{b c}{2 e};1+\frac{b c}{2 e};-e^{2 (d+e x)}\right )}{b c}+\frac{12 e^{c (a+b x)} \, _2F_1\left (2,\frac{b c}{2 e};1+\frac{b c}{2 e};-e^{2 (d+e x)}\right )}{b c}-\frac{8 e^{c (a+b x)} \, _2F_1\left (3,\frac{b c}{2 e};1+\frac{b c}{2 e};-e^{2 (d+e x)}\right )}{b c}\\ \end{align*}
Mathematica [A] time = 4.12859, size = 205, normalized size = 1.23 \[ \frac{1}{2} e^{a c} \left (\frac{2 e^{2 d} \left (b^2 c^2+2 e^2\right ) \left (\frac{e^{x (b c+2 e)} \, _2F_1\left (1,\frac{b c}{2 e}+1;\frac{b c}{2 e}+2;-e^{2 (d+e x)}\right )}{b c+2 e}-\frac{e^{b c x} \, _2F_1\left (1,\frac{b c}{2 e};\frac{b c}{2 e}+1;-e^{2 (d+e x)}\right )}{b c}\right )}{\left (e^{2 d}+1\right ) e^2}-\frac{b c \text{sech}(d) e^{b c x} \sinh (e x) \text{sech}(d+e x)}{e^2}+\frac{e^{b c x} \text{sech}^2(d+e x)}{e}+\frac{2 \tanh (d) e^{b c x}}{b c}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.105, size = 0, normalized size = 0. \begin{align*} \int{{\rm e}^{c \left ( bx+a \right ) }} \left ( \tanh \left ( ex+d \right ) \right ) ^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (e^{\left (b c x + a c\right )} \tanh \left (e x + d\right )^{3}, x\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 [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int e^{\left ({\left (b x + a\right )} c\right )} \tanh \left (e x + d\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]