Optimal. Leaf size=85 \[ \frac {\tanh ^{-1}\left (\sqrt {2} \cosh (x)\right )}{3 \sqrt {2}}-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {2-\sqrt {3}}}\right )}{6 \sqrt {2-\sqrt {3}}}-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {2+\sqrt {3}}}\right )}{6 \sqrt {2+\sqrt {3}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 4, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {4357, 2057, 207, 1166} \[ \frac {\tanh ^{-1}\left (\sqrt {2} \cosh (x)\right )}{3 \sqrt {2}}-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {2-\sqrt {3}}}\right )}{6 \sqrt {2-\sqrt {3}}}-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {2+\sqrt {3}}}\right )}{6 \sqrt {2+\sqrt {3}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 207
Rule 1166
Rule 2057
Rule 4357
Rubi steps
\begin {align*} \int \text {sech}(6 x) \sinh (x) \, dx &=\operatorname {Subst}\left (\int \frac {1}{-1+18 x^2-48 x^4+32 x^6} \, dx,x,\cosh (x)\right )\\ &=\operatorname {Subst}\left (\int \left (-\frac {1}{3 \left (-1+2 x^2\right )}+\frac {4 \left (-1+2 x^2\right )}{3 \left (1-16 x^2+16 x^4\right )}\right ) \, dx,x,\cosh (x)\right )\\ &=-\left (\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{-1+2 x^2} \, dx,x,\cosh (x)\right )\right )+\frac {4}{3} \operatorname {Subst}\left (\int \frac {-1+2 x^2}{1-16 x^2+16 x^4} \, dx,x,\cosh (x)\right )\\ &=\frac {\tanh ^{-1}\left (\sqrt {2} \cosh (x)\right )}{3 \sqrt {2}}+\frac {4}{3} \operatorname {Subst}\left (\int \frac {1}{-8-4 \sqrt {3}+16 x^2} \, dx,x,\cosh (x)\right )+\frac {4}{3} \operatorname {Subst}\left (\int \frac {1}{-8+4 \sqrt {3}+16 x^2} \, dx,x,\cosh (x)\right )\\ &=\frac {\tanh ^{-1}\left (\sqrt {2} \cosh (x)\right )}{3 \sqrt {2}}-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {2-\sqrt {3}}}\right )}{6 \sqrt {2-\sqrt {3}}}-\frac {\tanh ^{-1}\left (\frac {2 \cosh (x)}{\sqrt {2+\sqrt {3}}}\right )}{6 \sqrt {2+\sqrt {3}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.28, size = 385, normalized size = 4.53 \[ \frac {\sqrt {2} \text {RootSum}\left [\text {$\#$1}^8-\text {$\#$1}^4+1\& ,\frac {\text {$\#$1}^6 x+2 \text {$\#$1}^6 \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 )-\text {$\#$1}^4 x-2 \text {$\#$1}^4 \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 )+\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}{2 \text {$\#$1}^7-\text {$\#$1}^3}\& \right ]+8 \tanh ^{-1}\left (\sqrt {2}-i \tanh \left (\frac {x}{2}\right )\right )-2 \log \left (\sqrt {2}-2 \cosh (x)\right )+2 \log \left (2 \cosh (x)+\sqrt {2}\right )+4 i \tan ^{-1}\left (\frac {\sinh \left (\frac {x}{2}\right )+\cosh \left (\frac {x}{2}\right )}{\left (1+\sqrt {2}\right ) \cosh \left (\frac {x}{2}\right )-\left (\sqrt {2}-1\right ) \sinh \left (\frac {x}{2}\right )}\right )-4 i \tan ^{-1}\left (\frac {\sinh \left (\frac {x}{2}\right )+\cosh \left (\frac {x}{2}\right )}{\left (\sqrt {2}-1\right ) \cosh \left (\frac {x}{2}\right )-\left (1+\sqrt {2}\right ) \sinh \left (\frac {x}{2}\right )}\right )}{24 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.46, size = 250, normalized size = 2.94 \[ \frac {1}{12} \, \sqrt {\sqrt {3} + 2} \log \left (\cosh \relax (x)^{2} + 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2} + {\left ({\left (\sqrt {3} - 2\right )} \cosh \relax (x) + {\left (\sqrt {3} - 2\right )} \sinh \relax (x)\right )} \sqrt {\sqrt {3} + 2} + 1\right ) - \frac {1}{12} \, \sqrt {\sqrt {3} + 2} \log \left (\cosh \relax (x)^{2} + 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2} - {\left ({\left (\sqrt {3} - 2\right )} \cosh \relax (x) + {\left (\sqrt {3} - 2\right )} \sinh \relax (x)\right )} \sqrt {\sqrt {3} + 2} + 1\right ) - \frac {1}{12} \, \sqrt {-\sqrt {3} + 2} \log \left (\cosh \relax (x)^{2} + 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2} + {\left ({\left (\sqrt {3} + 2\right )} \cosh \relax (x) + {\left (\sqrt {3} + 2\right )} \sinh \relax (x)\right )} \sqrt {-\sqrt {3} + 2} + 1\right ) + \frac {1}{12} \, \sqrt {-\sqrt {3} + 2} \log \left (\cosh \relax (x)^{2} + 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2} - {\left ({\left (\sqrt {3} + 2\right )} \cosh \relax (x) + {\left (\sqrt {3} + 2\right )} \sinh \relax (x)\right )} \sqrt {-\sqrt {3} + 2} + 1\right ) + \frac {1}{12} \, \sqrt {2} \log \left (\frac {\cosh \relax (x)^{2} + \sinh \relax (x)^{2} + 2 \, \sqrt {2} \cosh \relax (x) + 2}{\cosh \relax (x)^{2} + \sinh \relax (x)^{2}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.15, size = 154, normalized size = 1.81 \[ -\frac {1}{24} \, {\left (\sqrt {6} - \sqrt {2}\right )} \log \left (\frac {1}{2} \, {\left (\sqrt {6} + \sqrt {2}\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{24} \, {\left (\sqrt {6} - \sqrt {2}\right )} \log \left (-\frac {1}{2} \, {\left (\sqrt {6} + \sqrt {2}\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) - \frac {1}{24} \, {\left (\sqrt {6} + \sqrt {2}\right )} \log \left (\frac {1}{2} \, {\left (\sqrt {6} - \sqrt {2}\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{24} \, {\left (\sqrt {6} + \sqrt {2}\right )} \log \left (-\frac {1}{2} \, {\left (\sqrt {6} - \sqrt {2}\right )} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \frac {1}{12} \, \sqrt {2} \log \left (\sqrt {2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) - \frac {1}{12} \, \sqrt {2} \log \left (-\sqrt {2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.29, size = 78, normalized size = 0.92 \[ 2 \left (\munderset {\textit {\_R} =\RootOf \left (331776 \textit {\_Z}^{4}-2304 \textit {\_Z}^{2}+1\right )}{\sum }\textit {\_R} \ln \left ({\mathrm e}^{2 x}+\left (13824 \textit {\_R}^{3}-96 \textit {\_R} \right ) {\mathrm e}^{x}+1\right )\right )+\frac {\ln \left (1+{\mathrm e}^{2 x}+{\mathrm e}^{x} \sqrt {2}\right ) \sqrt {2}}{12}-\frac {\ln \left (1+{\mathrm e}^{2 x}-{\mathrm e}^{x} \sqrt {2}\right ) \sqrt {2}}{12} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{12} \, \sqrt {2} \log \left (\sqrt {2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) - \frac {1}{12} \, \sqrt {2} \log \left (-\sqrt {2} e^{x} + e^{\left (2 \, x\right )} + 1\right ) + \int \frac {e^{\left (7 \, x\right )} - e^{\left (5 \, x\right )} + e^{\left (3 \, x\right )} - e^{x}}{3 \, {\left (e^{\left (8 \, x\right )} - e^{\left (4 \, x\right )} + 1\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.72, size = 288, normalized size = 3.39 \[ \frac {\sqrt {2}\,\ln \left ({\mathrm {e}}^{2\,x}+\sqrt {2}\,{\mathrm {e}}^x+1\right )}{12}-\frac {\sqrt {2}\,\ln \left ({\mathrm {e}}^{2\,x}-\sqrt {2}\,{\mathrm {e}}^x+1\right )}{12}+\ln \left (7\,{\mathrm {e}}^{2\,x}-4\,\sqrt {3}-24\,{\mathrm {e}}^x\,\sqrt {\frac {1}{72}-\frac {\sqrt {3}}{144}}-4\,\sqrt {3}\,{\mathrm {e}}^{2\,x}+12\,\sqrt {3}\,{\mathrm {e}}^x\,\sqrt {\frac {1}{72}-\frac {\sqrt {3}}{144}}+7\right )\,\sqrt {\frac {1}{72}-\frac {\sqrt {3}}{144}}-\ln \left (7\,{\mathrm {e}}^{2\,x}-4\,\sqrt {3}+24\,{\mathrm {e}}^x\,\sqrt {\frac {1}{72}-\frac {\sqrt {3}}{144}}-4\,\sqrt {3}\,{\mathrm {e}}^{2\,x}-12\,\sqrt {3}\,{\mathrm {e}}^x\,\sqrt {\frac {1}{72}-\frac {\sqrt {3}}{144}}+7\right )\,\sqrt {\frac {1}{72}-\frac {\sqrt {3}}{144}}+\ln \left (7\,{\mathrm {e}}^{2\,x}+4\,\sqrt {3}-24\,{\mathrm {e}}^x\,\sqrt {\frac {\sqrt {3}}{144}+\frac {1}{72}}+4\,\sqrt {3}\,{\mathrm {e}}^{2\,x}-12\,\sqrt {3}\,{\mathrm {e}}^x\,\sqrt {\frac {\sqrt {3}}{144}+\frac {1}{72}}+7\right )\,\sqrt {\frac {\sqrt {3}}{144}+\frac {1}{72}}-\ln \left (7\,{\mathrm {e}}^{2\,x}+4\,\sqrt {3}+24\,{\mathrm {e}}^x\,\sqrt {\frac {\sqrt {3}}{144}+\frac {1}{72}}+4\,\sqrt {3}\,{\mathrm {e}}^{2\,x}+12\,\sqrt {3}\,{\mathrm {e}}^x\,\sqrt {\frac {\sqrt {3}}{144}+\frac {1}{72}}+7\right )\,\sqrt {\frac {\sqrt {3}}{144}+\frac {1}{72}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sinh {\relax (x )} \operatorname {sech}{\left (6 x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________