Optimal. Leaf size=15 \[ \frac{\tan ^{-1}\left (\sqrt{2} \sinh (x)\right )}{\sqrt{2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0164232, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 7, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {4356, 203} \[ \frac{\tan ^{-1}\left (\sqrt{2} \sinh (x)\right )}{\sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4356
Rule 203
Rubi steps
\begin{align*} \int \cosh (x) \text{sech}(2 x) \, dx &=\operatorname{Subst}\left (\int \frac{1}{1+2 x^2} \, dx,x,\sinh (x)\right )\\ &=\frac{\tan ^{-1}\left (\sqrt{2} \sinh (x)\right )}{\sqrt{2}}\\ \end{align*}
Mathematica [A] time = 0.0079444, size = 15, normalized size = 1. \[ \frac{\tan ^{-1}\left (\sqrt{2} \sinh (x)\right )}{\sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.033, size = 44, normalized size = 2.9 \begin{align*}{\frac{i}{4}}\sqrt{2}\ln \left ({{\rm e}^{2\,x}}+i\sqrt{2}{{\rm e}^{x}}-1 \right ) -{\frac{i}{4}}\sqrt{2}\ln \left ({{\rm e}^{2\,x}}-i\sqrt{2}{{\rm e}^{x}}-1 \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.76938, size = 58, normalized size = 3.87 \begin{align*} -\frac{1}{2} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} + 2 \, e^{\left (-x\right )}\right )}\right ) - \frac{1}{2} \, \sqrt{2} \arctan \left (-\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} - 2 \, e^{\left (-x\right )}\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.02641, size = 254, normalized size = 16.93 \begin{align*} \frac{1}{2} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2} \cosh \left (x\right ) + \frac{1}{2} \, \sqrt{2} \sinh \left (x\right )\right ) - \frac{1}{2} \, \sqrt{2} \arctan \left (-\frac{\sqrt{2} \cosh \left (x\right )^{2} + 2 \, \sqrt{2} \cosh \left (x\right ) \sinh \left (x\right ) + \sqrt{2} \sinh \left (x\right )^{2} + \sqrt{2}}{2 \,{\left (\cosh \left (x\right ) - \sinh \left (x\right )\right )}}\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 \cosh{\left (x \right )} \operatorname{sech}{\left (2 x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.12215, size = 53, normalized size = 3.53 \begin{align*} \frac{1}{2} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} + 2 \, e^{x}\right )}\right ) + \frac{1}{2} \, \sqrt{2} \arctan \left (-\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} - 2 \, e^{x}\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]