3.19 \(\int \frac {1}{\sqrt {a \cosh (x)}} \, dx\)

Optimal. Leaf size=27 \[ -\frac {2 i \sqrt {\cosh (x)} F\left (\left .\frac {i x}{2}\right |2\right )}{\sqrt {a \cosh (x)}} \]

[Out]

-2*I*(cosh(1/2*x)^2)^(1/2)/cosh(1/2*x)*EllipticF(I*sinh(1/2*x),2^(1/2))*cosh(x)^(1/2)/(a*cosh(x))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, 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]

Int[1/Sqrt[a*Cosh[x]],x]

[Out]

((-2*I)*Sqrt[Cosh[x]]*EllipticF[(I/2)*x, 2])/Sqrt[a*Cosh[x]]

Rule 2641

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ
[{c, d}, x]

Rule 2642

Int[1/Sqrt[(b_)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[Sin[c + d*x]]/Sqrt[b*Sin[c + d*x]], Int[1/Sqr
t[Sin[c + d*x]], x], x] /; FreeQ[{b, c, d}, x]

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.01, size = 27, normalized size = 1.00 \[ -\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]

Integrate[1/Sqrt[a*Cosh[x]],x]

[Out]

((-2*I)*Sqrt[Cosh[x]]*EllipticF[(I/2)*x, 2])/Sqrt[a*Cosh[x]]

________________________________________________________________________________________

fricas [F]  time = 0.49, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {a \cosh \relax (x)}}{a \cosh \relax (x)}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(x))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(a*cosh(x))/(a*cosh(x)), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a \cosh \relax (x)}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(x))^(1/2),x, algorithm="giac")

[Out]

integrate(1/sqrt(a*cosh(x)), x)

________________________________________________________________________________________

maple [B]  time = 0.25, size = 100, normalized size = 3.70 \[ \frac {\sqrt {a \left (2 \left (\cosh ^{2}\left (\frac {x}{2}\right )\right )-1\right ) \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \sqrt {2}\, \sqrt {-2 \left (\cosh ^{2}\left (\frac {x}{2}\right )\right )+1}\, \sqrt {-\left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \EllipticF \left (\sqrt {2}\, \cosh \left (\frac {x}{2}\right ), \frac {\sqrt {2}}{2}\right )}{\sqrt {a \left (2 \left (\sinh ^{4}\left (\frac {x}{2}\right )\right )+\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \sinh \left (\frac {x}{2}\right ) \sqrt {a \left (2 \left (\cosh ^{2}\left (\frac {x}{2}\right )\right )-1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a*cosh(x))^(1/2),x)

[Out]

(a*(2*cosh(1/2*x)^2-1)*sinh(1/2*x)^2)^(1/2)*2^(1/2)*(-2*cosh(1/2*x)^2+1)^(1/2)*(-sinh(1/2*x)^2)^(1/2)/(a*(2*si
nh(1/2*x)^4+sinh(1/2*x)^2))^(1/2)*EllipticF(2^(1/2)*cosh(1/2*x),1/2*2^(1/2))/sinh(1/2*x)/(a*(2*cosh(1/2*x)^2-1
))^(1/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a \cosh \relax (x)}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(x))^(1/2),x, algorithm="maxima")

[Out]

integrate(1/sqrt(a*cosh(x)), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.04 \[ \int \frac {1}{\sqrt {a\,\mathrm {cosh}\relax (x)}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a*cosh(x))^(1/2),x)

[Out]

int(1/(a*cosh(x))^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a \cosh {\relax (x )}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(x))**(1/2),x)

[Out]

Integral(1/sqrt(a*cosh(x)), x)

________________________________________________________________________________________