Integrand size = 8, antiderivative size = 27 \[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=-\frac {2 i \sqrt {\cosh (x)} \operatorname {EllipticF}\left (\frac {i x}{2},2\right )}{\sqrt {a \cosh (x)}} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2721, 2720} \[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=-\frac {2 i \sqrt {\cosh (x)} \operatorname {EllipticF}\left (\frac {i x}{2},2\right )}{\sqrt {a \cosh (x)}} \]
[In]
[Out]
Rule 2720
Rule 2721
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {\cosh (x)} \int \frac {1}{\sqrt {\cosh (x)}} \, dx}{\sqrt {a \cosh (x)}} \\ & = -\frac {2 i \sqrt {\cosh (x)} \operatorname {EllipticF}\left (\frac {i x}{2},2\right )}{\sqrt {a \cosh (x)}} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=-\frac {2 i \sqrt {\cosh (x)} \operatorname {EllipticF}\left (\frac {i x}{2},2\right )}{\sqrt {a \cosh (x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(99\) vs. \(2(38)=76\).
Time = 0.13 (sec) , antiderivative size = 100, normalized size of antiderivative = 3.70
method | result | size |
default | \(\frac {\sqrt {a \left (2 \cosh \left (\frac {x}{2}\right )^{2}-1\right ) \sinh \left (\frac {x}{2}\right )^{2}}\, \sqrt {2}\, \sqrt {-2 \cosh \left (\frac {x}{2}\right )^{2}+1}\, \sqrt {-\sinh \left (\frac {x}{2}\right )^{2}}\, \operatorname {EllipticF}\left (\sqrt {2}\, \cosh \left (\frac {x}{2}\right ), \frac {\sqrt {2}}{2}\right )}{\sqrt {a \left (2 \sinh \left (\frac {x}{2}\right )^{4}+\sinh \left (\frac {x}{2}\right )^{2}\right )}\, \sinh \left (\frac {x}{2}\right ) \sqrt {a \left (2 \cosh \left (\frac {x}{2}\right )^{2}-1\right )}}\) | \(100\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.08 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.59 \[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=\frac {2 \, \sqrt {2} {\rm weierstrassPInverse}\left (-4, 0, \cosh \left (x\right ) + \sinh \left (x\right )\right )}{\sqrt {a}} \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=\int \frac {1}{\sqrt {a \cosh {\left (x \right )}}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=\int { \frac {1}{\sqrt {a \cosh \left (x\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=\int { \frac {1}{\sqrt {a \cosh \left (x\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {a \cosh (x)}} \, dx=\int \frac {1}{\sqrt {a\,\mathrm {cosh}\left (x\right )}} \,d x \]
[In]
[Out]