Optimal. Leaf size=25 \[ \frac{1}{4} (1-\tanh (x))^4-\frac{2}{3} (1-\tanh (x))^3 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0405961, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {3487, 43} \[ \frac{1}{4} (1-\tanh (x))^4-\frac{2}{3} (1-\tanh (x))^3 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3487
Rule 43
Rubi steps
\begin{align*} \int \frac{\text{sech}^6(x)}{1+\tanh (x)} \, dx &=\operatorname{Subst}\left (\int (1-x)^2 (1+x) \, dx,x,\tanh (x)\right )\\ &=\operatorname{Subst}\left (\int \left (2 (1-x)^2-(1-x)^3\right ) \, dx,x,\tanh (x)\right )\\ &=-\frac{2}{3} (1-\tanh (x))^3+\frac{1}{4} (1-\tanh (x))^4\\ \end{align*}
Mathematica [A] time = 0.0298958, size = 20, normalized size = 0.8 \[ \frac{1}{12} (4 \sinh (2 x)+\sinh (4 x)+3) \text{sech}^4(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.024, size = 56, normalized size = 2.2 \begin{align*} -2\,{\frac{- \left ( \tanh \left ( x/2 \right ) \right ) ^{7}+ \left ( \tanh \left ( x/2 \right ) \right ) ^{6}-5/3\, \left ( \tanh \left ( x/2 \right ) \right ) ^{5}-5/3\, \left ( \tanh \left ( x/2 \right ) \right ) ^{3}+ \left ( \tanh \left ( x/2 \right ) \right ) ^{2}-\tanh \left ( x/2 \right ) }{ \left ( \left ( \tanh \left ( x/2 \right ) \right ) ^{2}+1 \right ) ^{4}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.11806, size = 126, normalized size = 5.04 \begin{align*} \frac{16 \, e^{\left (-2 \, x\right )}}{3 \,{\left (4 \, e^{\left (-2 \, x\right )} + 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} + e^{\left (-8 \, x\right )} + 1\right )}} + \frac{8 \, e^{\left (-4 \, x\right )}}{4 \, e^{\left (-2 \, x\right )} + 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} + e^{\left (-8 \, x\right )} + 1} + \frac{4}{3 \,{\left (4 \, e^{\left (-2 \, x\right )} + 6 \, e^{\left (-4 \, x\right )} + 4 \, e^{\left (-6 \, x\right )} + e^{\left (-8 \, x\right )} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.15348, size = 467, normalized size = 18.68 \begin{align*} -\frac{4 \,{\left (5 \, \cosh \left (x\right ) + 3 \, \sinh \left (x\right )\right )}}{3 \,{\left (\cosh \left (x\right )^{7} + 7 \, \cosh \left (x\right ) \sinh \left (x\right )^{6} + \sinh \left (x\right )^{7} +{\left (21 \, \cosh \left (x\right )^{2} + 4\right )} \sinh \left (x\right )^{5} + 4 \, \cosh \left (x\right )^{5} + 5 \,{\left (7 \, \cosh \left (x\right )^{3} + 4 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{4} +{\left (35 \, \cosh \left (x\right )^{4} + 40 \, \cosh \left (x\right )^{2} + 6\right )} \sinh \left (x\right )^{3} + 6 \, \cosh \left (x\right )^{3} +{\left (21 \, \cosh \left (x\right )^{5} + 40 \, \cosh \left (x\right )^{3} + 18 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{2} +{\left (7 \, \cosh \left (x\right )^{6} + 20 \, \cosh \left (x\right )^{4} + 18 \, \cosh \left (x\right )^{2} + 3\right )} \sinh \left (x\right ) + 5 \, \cosh \left (x\right )\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 \frac{\operatorname{sech}^{6}{\left (x \right )}}{\tanh{\left (x \right )} + 1}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20393, size = 24, normalized size = 0.96 \begin{align*} -\frac{4 \,{\left (4 \, e^{\left (2 \, x\right )} + 1\right )}}{3 \,{\left (e^{\left (2 \, x\right )} + 1\right )}^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]