Optimal. Leaf size=34 \[ \frac{\text{sech}^5(x)}{5}+\frac{3}{8} \tan ^{-1}(\sinh (x))+\frac{1}{4} \tanh (x) \text{sech}^3(x)+\frac{3}{8} \tanh (x) \text{sech}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0483828, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {3501, 3768, 3770} \[ \frac{\text{sech}^5(x)}{5}+\frac{3}{8} \tan ^{-1}(\sinh (x))+\frac{1}{4} \tanh (x) \text{sech}^3(x)+\frac{3}{8} \tanh (x) \text{sech}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3501
Rule 3768
Rule 3770
Rubi steps
\begin{align*} \int \frac{\text{sech}^7(x)}{1+\tanh (x)} \, dx &=\frac{\text{sech}^5(x)}{5}+\int \text{sech}^5(x) \, dx\\ &=\frac{\text{sech}^5(x)}{5}+\frac{1}{4} \text{sech}^3(x) \tanh (x)+\frac{3}{4} \int \text{sech}^3(x) \, dx\\ &=\frac{\text{sech}^5(x)}{5}+\frac{3}{8} \text{sech}(x) \tanh (x)+\frac{1}{4} \text{sech}^3(x) \tanh (x)+\frac{3}{8} \int \text{sech}(x) \, dx\\ &=\frac{3}{8} \tan ^{-1}(\sinh (x))+\frac{\text{sech}^5(x)}{5}+\frac{3}{8} \text{sech}(x) \tanh (x)+\frac{1}{4} \text{sech}^3(x) \tanh (x)\\ \end{align*}
Mathematica [A] time = 0.0326179, size = 34, normalized size = 1. \[ \frac{1}{40} \left (8 \text{sech}^5(x)+30 \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )+10 \tanh (x) \text{sech}^3(x)+15 \tanh (x) \text{sech}(x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.028, size = 67, normalized size = 2. \begin{align*} 2\,{\frac{-5/8\, \left ( \tanh \left ( x/2 \right ) \right ) ^{9}+ \left ( \tanh \left ( x/2 \right ) \right ) ^{8}-1/4\, \left ( \tanh \left ( x/2 \right ) \right ) ^{7}+2\, \left ( \tanh \left ( x/2 \right ) \right ) ^{4}+1/4\, \left ( \tanh \left ( x/2 \right ) \right ) ^{3}+5/8\,\tanh \left ( x/2 \right ) +1/5}{ \left ( \left ( \tanh \left ( x/2 \right ) \right ) ^{2}+1 \right ) ^{5}}}+{\frac{3}{4}\arctan \left ( \tanh \left ({\frac{x}{2}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.74522, size = 99, normalized size = 2.91 \begin{align*} \frac{15 \, e^{\left (-x\right )} + 70 \, e^{\left (-3 \, x\right )} + 128 \, e^{\left (-5 \, x\right )} - 70 \, e^{\left (-7 \, x\right )} - 15 \, e^{\left (-9 \, x\right )}}{20 \,{\left (5 \, e^{\left (-2 \, x\right )} + 10 \, e^{\left (-4 \, x\right )} + 10 \, e^{\left (-6 \, x\right )} + 5 \, e^{\left (-8 \, x\right )} + e^{\left (-10 \, x\right )} + 1\right )}} - \frac{3}{4} \, \arctan \left (e^{\left (-x\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.15577, size = 2298, normalized size = 67.59 \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 \frac{\operatorname{sech}^{7}{\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.22723, size = 61, normalized size = 1.79 \begin{align*} \frac{15 \, e^{\left (9 \, x\right )} + 70 \, e^{\left (7 \, x\right )} + 128 \, e^{\left (5 \, x\right )} - 70 \, e^{\left (3 \, x\right )} - 15 \, e^{x}}{20 \,{\left (e^{\left (2 \, x\right )} + 1\right )}^{5}} + \frac{3}{4} \, \arctan \left (e^{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]