Optimal. Leaf size=71 \[ \frac{\tanh ^{-1}\left (\frac{2 \cosh (x)}{\sqrt{2-\sqrt{2}}}\right )}{2 \sqrt{2 \left (2-\sqrt{2}\right )}}-\frac{\tanh ^{-1}\left (\frac{2 \cosh (x)}{\sqrt{2+\sqrt{2}}}\right )}{2 \sqrt{2 \left (2+\sqrt{2}\right )}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0735708, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 7, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.429, Rules used = {4357, 1093, 207} \[ \frac{\tanh ^{-1}\left (\frac{2 \cosh (x)}{\sqrt{2-\sqrt{2}}}\right )}{2 \sqrt{2 \left (2-\sqrt{2}\right )}}-\frac{\tanh ^{-1}\left (\frac{2 \cosh (x)}{\sqrt{2+\sqrt{2}}}\right )}{2 \sqrt{2 \left (2+\sqrt{2}\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4357
Rule 1093
Rule 207
Rubi steps
\begin{align*} \int \text{sech}(4 x) \sinh (x) \, dx &=\operatorname{Subst}\left (\int \frac{1}{1-8 x^2+8 x^4} \, dx,x,\cosh (x)\right )\\ &=\sqrt{2} \operatorname{Subst}\left (\int \frac{1}{-4-2 \sqrt{2}+8 x^2} \, dx,x,\cosh (x)\right )-\sqrt{2} \operatorname{Subst}\left (\int \frac{1}{-4+2 \sqrt{2}+8 x^2} \, dx,x,\cosh (x)\right )\\ &=\frac{\tanh ^{-1}\left (\frac{2 \cosh (x)}{\sqrt{2-\sqrt{2}}}\right )}{2 \sqrt{2 \left (2-\sqrt{2}\right )}}-\frac{\tanh ^{-1}\left (\frac{2 \cosh (x)}{\sqrt{2+\sqrt{2}}}\right )}{2 \sqrt{2 \left (2+\sqrt{2}\right )}}\\ \end{align*}
Mathematica [C] time = 0.0237442, size = 110, normalized size = 1.55 \[ \frac{1}{16} \text{RootSum}\left [\text{$\#$1}^8+1\& ,\frac{\text{$\#$1}^2 x+2 \text{$\#$1}^2 \log \left (-\text{$\#$1} \sinh \left (\frac{x}{2}\right )+\text{$\#$1} \cosh \left (\frac{x}{2}\right )-\sinh \left (\frac{x}{2}\right )-\cosh \left (\frac{x}{2}\right )\right )-2 \log \left (-\text{$\#$1} \sinh \left (\frac{x}{2}\right )+\text{$\#$1} \cosh \left (\frac{x}{2}\right )-\sinh \left (\frac{x}{2}\right )-\cosh \left (\frac{x}{2}\right )\right )-x}{\text{$\#$1}^5}\& \right ] \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.046, size = 40, normalized size = 0.6 \begin{align*} 2\,\sum _{{\it \_R}={\it RootOf} \left ( 32768\,{{\it \_Z}}^{4}-512\,{{\it \_Z}}^{2}+1 \right ) }{\it \_R}\,\ln \left ({{\rm e}^{2\,x}}+ \left ( 4096\,{{\it \_R}}^{3}-48\,{\it \_R} \right ){{\rm e}^{x}}+1 \right ) \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*} \int \operatorname{sech}\left (4 \, x\right ) \sinh \left (x\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.16482, size = 776, normalized size = 10.93 \begin{align*} \frac{1}{8} \, \sqrt{\sqrt{2} + 2} \log \left (\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2} +{\left ({\left (\sqrt{2} - 1\right )} \cosh \left (x\right ) +{\left (\sqrt{2} - 1\right )} \sinh \left (x\right )\right )} \sqrt{\sqrt{2} + 2} + 1\right ) - \frac{1}{8} \, \sqrt{\sqrt{2} + 2} \log \left (\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2} -{\left ({\left (\sqrt{2} - 1\right )} \cosh \left (x\right ) +{\left (\sqrt{2} - 1\right )} \sinh \left (x\right )\right )} \sqrt{\sqrt{2} + 2} + 1\right ) - \frac{1}{8} \, \sqrt{-\sqrt{2} + 2} \log \left (\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2} +{\left ({\left (\sqrt{2} + 1\right )} \cosh \left (x\right ) +{\left (\sqrt{2} + 1\right )} \sinh \left (x\right )\right )} \sqrt{-\sqrt{2} + 2} + 1\right ) + \frac{1}{8} \, \sqrt{-\sqrt{2} + 2} \log \left (\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2} -{\left ({\left (\sqrt{2} + 1\right )} \cosh \left (x\right ) +{\left (\sqrt{2} + 1\right )} \sinh \left (x\right )\right )} \sqrt{-\sqrt{2} + 2} + 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 \sinh{\left (x \right )} \operatorname{sech}{\left (4 x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.22065, size = 155, normalized size = 2.18 \begin{align*} -\frac{1}{8} \, \sqrt{-\sqrt{2} + 2} \log \left (\sqrt{\sqrt{2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac{1}{8} \, \sqrt{-\sqrt{2} + 2} \log \left (-\sqrt{\sqrt{2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac{1}{8} \, \sqrt{\sqrt{2} + 2} \log \left (\sqrt{-\sqrt{2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) - \frac{1}{8} \, \sqrt{\sqrt{2} + 2} \log \left (-\sqrt{-\sqrt{2} + 2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]