Optimal. Leaf size=24 \[ \frac{\text{sech}^3(x)}{3}+\frac{1}{2} \tan ^{-1}(\sinh (x))+\frac{1}{2} \tanh (x) \text{sech}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0422554, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 3, 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}^3(x)}{3}+\frac{1}{2} \tan ^{-1}(\sinh (x))+\frac{1}{2} \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}^5(x)}{1+\tanh (x)} \, dx &=\frac{\text{sech}^3(x)}{3}+\int \text{sech}^3(x) \, dx\\ &=\frac{\text{sech}^3(x)}{3}+\frac{1}{2} \text{sech}(x) \tanh (x)+\frac{1}{2} \int \text{sech}(x) \, dx\\ &=\frac{1}{2} \tan ^{-1}(\sinh (x))+\frac{\text{sech}^3(x)}{3}+\frac{1}{2} \text{sech}(x) \tanh (x)\\ \end{align*}
Mathematica [A] time = 0.0270483, size = 24, normalized size = 1. \[ \frac{\text{sech}^3(x)}{3}+\tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )+\frac{1}{2} \tanh (x) \text{sech}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.026, size = 41, normalized size = 1.7 \begin{align*} 2\,{\frac{-1/2\, \left ( \tanh \left ( x/2 \right ) \right ) ^{5}+ \left ( \tanh \left ( x/2 \right ) \right ) ^{4}+1/2\,\tanh \left ( x/2 \right ) +1/3}{ \left ( \left ( \tanh \left ( x/2 \right ) \right ) ^{2}+1 \right ) ^{3}}}+\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.63739, size = 66, normalized size = 2.75 \begin{align*} \frac{3 \, e^{\left (-x\right )} + 8 \, e^{\left (-3 \, x\right )} - 3 \, e^{\left (-5 \, x\right )}}{3 \,{\left (3 \, e^{\left (-2 \, x\right )} + 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} + 1\right )}} - \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.21472, size = 968, normalized size = 40.33 \begin{align*} \frac{3 \, \cosh \left (x\right )^{5} + 15 \, \cosh \left (x\right ) \sinh \left (x\right )^{4} + 3 \, \sinh \left (x\right )^{5} + 2 \,{\left (15 \, \cosh \left (x\right )^{2} + 4\right )} \sinh \left (x\right )^{3} + 8 \, \cosh \left (x\right )^{3} + 6 \,{\left (5 \, \cosh \left (x\right )^{3} + 4 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{2} + 3 \,{\left (\cosh \left (x\right )^{6} + 6 \, \cosh \left (x\right ) \sinh \left (x\right )^{5} + \sinh \left (x\right )^{6} + 3 \,{\left (5 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right )^{4} + 3 \, \cosh \left (x\right )^{4} + 4 \,{\left (5 \, \cosh \left (x\right )^{3} + 3 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} + 3 \,{\left (5 \, \cosh \left (x\right )^{4} + 6 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right )^{2} + 3 \, \cosh \left (x\right )^{2} + 6 \,{\left (\cosh \left (x\right )^{5} + 2 \, \cosh \left (x\right )^{3} + \cosh \left (x\right )\right )} \sinh \left (x\right ) + 1\right )} \arctan \left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) + 3 \,{\left (5 \, \cosh \left (x\right )^{4} + 8 \, \cosh \left (x\right )^{2} - 1\right )} \sinh \left (x\right ) - 3 \, \cosh \left (x\right )}{3 \,{\left (\cosh \left (x\right )^{6} + 6 \, \cosh \left (x\right ) \sinh \left (x\right )^{5} + \sinh \left (x\right )^{6} + 3 \,{\left (5 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right )^{4} + 3 \, \cosh \left (x\right )^{4} + 4 \,{\left (5 \, \cosh \left (x\right )^{3} + 3 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} + 3 \,{\left (5 \, \cosh \left (x\right )^{4} + 6 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right )^{2} + 3 \, \cosh \left (x\right )^{2} + 6 \,{\left (\cosh \left (x\right )^{5} + 2 \, \cosh \left (x\right )^{3} + \cosh \left (x\right )\right )} \sinh \left (x\right ) + 1\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}^{5}{\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.22936, size = 42, normalized size = 1.75 \begin{align*} \frac{3 \, e^{\left (5 \, x\right )} + 8 \, e^{\left (3 \, x\right )} - 3 \, e^{x}}{3 \,{\left (e^{\left (2 \, x\right )} + 1\right )}^{3}} + \arctan \left (e^{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]