Optimal. Leaf size=26 \[ \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.0167193, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 4, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {3768, 3770} \[ \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 3768
Rule 3770
Rubi steps
\begin{align*} \int \text{sech}^5(x) \, dx &=\frac{1}{4} \text{sech}^3(x) \tanh (x)+\frac{3}{4} \int \text{sech}^3(x) \, dx\\ &=\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{3}{8} \text{sech}(x) \tanh (x)+\frac{1}{4} \text{sech}^3(x) \tanh (x)\\ \end{align*}
Mathematica [A] time = 0.0037519, size = 30, normalized size = 1.15 \[ \frac{3}{4} \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )+\frac{1}{4} \tanh (x) \text{sech}^3(x)+\frac{3}{8} \tanh (x) \text{sech}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.035, size = 21, normalized size = 0.8 \begin{align*} \left ({\frac{ \left ({\rm sech} \left (x\right ) \right ) ^{3}}{4}}+{\frac{3\,{\rm sech} \left (x\right )}{8}} \right ) \tanh \left ( x \right ) +{\frac{3\,\arctan \left ({{\rm e}^{x}} \right ) }{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.41523, size = 82, normalized size = 3.15 \begin{align*} \frac{3 \, e^{\left (-x\right )} + 11 \, e^{\left (-3 \, x\right )} - 11 \, e^{\left (-5 \, x\right )} - 3 \, e^{\left (-7 \, x\right )}}{4 \,{\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{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.09317, size = 1547, normalized size = 59.5 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 3.98338, size = 422, normalized size = 16.23 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.16145, size = 81, normalized size = 3.12 \begin{align*} \frac{3}{16} \, \pi - \frac{3 \,{\left (e^{\left (-x\right )} - e^{x}\right )}^{3} + 20 \, e^{\left (-x\right )} - 20 \, e^{x}}{4 \,{\left ({\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 4\right )}^{2}} + \frac{3}{8} \, \arctan \left (\frac{1}{2} \,{\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]