Optimal. Leaf size=27 \[ -\frac{2 i \sqrt{\cosh (x)} \text{EllipticF}\left (\frac{i x}{2},2\right )}{\sqrt{a \cosh (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.014622, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {2642, 2641} \[ -\frac{2 i \sqrt{\cosh (x)} F\left (\left .\frac{i x}{2}\right |2\right )}{\sqrt{a \cosh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2642
Rule 2641
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a \cosh (x)}} \, dx &=\frac{\sqrt{\cosh (x)} \int \frac{1}{\sqrt{\cosh (x)}} \, dx}{\sqrt{a \cosh (x)}}\\ &=-\frac{2 i \sqrt{\cosh (x)} F\left (\left .\frac{i x}{2}\right |2\right )}{\sqrt{a \cosh (x)}}\\ \end{align*}
Mathematica [A] time = 0.0113846, size = 27, normalized size = 1. \[ -\frac{2 i \sqrt{\cosh (x)} \text{EllipticF}\left (\frac{i x}{2},2\right )}{\sqrt{a \cosh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.037, size = 100, normalized size = 3.7 \begin{align*}{\sqrt{2}\sqrt{a \left ( 2\, \left ( \cosh \left ( x/2 \right ) \right ) ^{2}-1 \right ) \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{2}}\sqrt{-2\, \left ( \cosh \left ( x/2 \right ) \right ) ^{2}+1}\sqrt{- \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{2}}{\it EllipticF} \left ( \cosh \left ({\frac{x}{2}} \right ) \sqrt{2},{\frac{\sqrt{2}}{2}} \right ){\frac{1}{\sqrt{a \left ( 2\, \left ( \sinh \left ( x/2 \right ) \right ) ^{4}+ \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{2} \right ) }}} \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{-1}{\frac{1}{\sqrt{a \left ( 2\, \left ( \cosh \left ( x/2 \right ) \right ) ^{2}-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 \frac{1}{\sqrt{a \cosh \left (x\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{a \cosh \left (x\right )}}{a \cosh \left (x\right )}, x\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 \frac{1}{\sqrt{a \cosh{\left (x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{a \cosh \left (x\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]