Optimal. Leaf size=71 \[ \frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2-\sqrt {2}}}\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}-\frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 71, normalized size of antiderivative = 1.00, 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 = {4356, 1093, 203} \[ \frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2-\sqrt {2}}}\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}-\frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 1093
Rule 4356
Rubi steps
\begin {align*} \int \cosh (x) \text {sech}(4 x) \, dx &=\operatorname {Subst}\left (\int \frac {1}{1+8 x^2+8 x^4} \, dx,x,\sinh (x)\right )\\ &=\sqrt {2} \operatorname {Subst}\left (\int \frac {1}{4-2 \sqrt {2}+8 x^2} \, dx,x,\sinh (x)\right )-\sqrt {2} \operatorname {Subst}\left (\int \frac {1}{4+2 \sqrt {2}+8 x^2} \, dx,x,\sinh (x)\right )\\ &=\frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2-\sqrt {2}}}\right )}{2 \sqrt {2 \left (2-\sqrt {2}\right )}}-\frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 67, normalized size = 0.94 \[ \frac {1}{4} \sqrt {2+\sqrt {2}} \tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2-\sqrt {2}}}\right )-\frac {\tan ^{-1}\left (\frac {2 \sinh (x)}{\sqrt {2+\sqrt {2}}}\right )}{2 \sqrt {2 \left (2+\sqrt {2}\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.45, size = 142, normalized size = 2.00 \[ -\frac {1}{2} \, \sqrt {\sqrt {2} + 2} \arctan \left (-\frac {1}{2} \, {\left ({\left (\sqrt {2} e^{\left (2 \, x\right )} - \sqrt {2}\right )} \sqrt {\sqrt {2} + 2} - \sqrt {2} \sqrt {-\sqrt {2} e^{\left (2 \, x\right )} + e^{\left (4 \, x\right )} + 1} \sqrt {\sqrt {2} + 2}\right )} e^{\left (-x\right )}\right ) + \frac {1}{2} \, \sqrt {-\sqrt {2} + 2} \arctan \left (-\frac {1}{2} \, {\left ({\left (\sqrt {2} e^{\left (2 \, x\right )} - \sqrt {2}\right )} \sqrt {-\sqrt {2} + 2} - \sqrt {2} \sqrt {\sqrt {2} e^{\left (2 \, x\right )} + e^{\left (4 \, x\right )} + 1} \sqrt {-\sqrt {2} + 2}\right )} e^{\left (-x\right )}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.22, size = 135, normalized size = 1.90 \[ \frac {1}{4} \, \sqrt {\sqrt {2} + 2} \arctan \left (\frac {\sqrt {\sqrt {2} + 2} + 2 \, e^{x}}{\sqrt {-\sqrt {2} + 2}}\right ) + \frac {1}{4} \, \sqrt {\sqrt {2} + 2} \arctan \left (-\frac {\sqrt {\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {-\sqrt {2} + 2}}\right ) - \frac {1}{4} \, \sqrt {-\sqrt {2} + 2} \arctan \left (\frac {\sqrt {-\sqrt {2} + 2} + 2 \, e^{x}}{\sqrt {\sqrt {2} + 2}}\right ) - \frac {1}{4} \, \sqrt {-\sqrt {2} + 2} \arctan \left (-\frac {\sqrt {-\sqrt {2} + 2} - 2 \, e^{x}}{\sqrt {\sqrt {2} + 2}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.26, size = 40, normalized size = 0.56 \[ 2 \left (\munderset {\textit {\_R} =\RootOf \left (32768 \textit {\_Z}^{4}+512 \textit {\_Z}^{2}+1\right )}{\sum }\textit {\_R} \ln \left ({\mathrm e}^{2 x}+\left (-4096 \textit {\_R}^{3}-48 \textit {\_R} \right ) {\mathrm e}^{x}-1\right )\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \cosh \relax (x) \operatorname {sech}\left (4 \, x\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.95, size = 126, normalized size = 1.77 \[ \frac {\mathrm {atan}\left (\frac {3\,{\mathrm {e}}^{2\,x}-2\,\sqrt {2}+2\,\sqrt {2}\,{\mathrm {e}}^{2\,x}-3}{{\mathrm {e}}^x\,\sqrt {\sqrt {2}+2}+\sqrt {2}\,{\mathrm {e}}^x\,\sqrt {\sqrt {2}+2}}\right )\,\sqrt {\sqrt {2}+2}}{4}+\frac {\mathrm {atan}\left (\frac {3\,{\mathrm {e}}^{2\,x}+2\,\sqrt {2}-2\,\sqrt {2}\,{\mathrm {e}}^{2\,x}-3}{{\mathrm {e}}^x\,\sqrt {2-\sqrt {2}}-\sqrt {2}\,{\mathrm {e}}^x\,\sqrt {2-\sqrt {2}}}\right )\,\sqrt {2-\sqrt {2}}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \cosh {\relax (x )} \operatorname {sech}{\left (4 x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________