Optimal. Leaf size=46 \[ -\frac {2 i \sqrt {\frac {a+b \cosh (x)}{a+b}} F\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )}{\sqrt {a+b \cosh (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2663, 2661} \[ -\frac {2 i \sqrt {\frac {a+b \cosh (x)}{a+b}} F\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )}{\sqrt {a+b \cosh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2661
Rule 2663
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a+b \cosh (x)}} \, dx &=\frac {\sqrt {\frac {a+b \cosh (x)}{a+b}} \int \frac {1}{\sqrt {\frac {a}{a+b}+\frac {b \cosh (x)}{a+b}}} \, dx}{\sqrt {a+b \cosh (x)}}\\ &=-\frac {2 i \sqrt {\frac {a+b \cosh (x)}{a+b}} F\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )}{\sqrt {a+b \cosh (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 46, normalized size = 1.00 \[ -\frac {2 i \sqrt {\frac {a+b \cosh (x)}{a+b}} F\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )}{\sqrt {a+b \cosh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.32, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {1}{\sqrt {b \cosh \relax (x) + a}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b \cosh \relax (x) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.36, size = 146, normalized size = 3.17 \[ \frac {2 \sqrt {\left (2 b \left (\cosh ^{2}\left (\frac {x}{2}\right )\right )+a -b \right ) \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \sqrt {\frac {2 b \left (\cosh ^{2}\left (\frac {x}{2}\right )\right )+a -b}{a -b}}\, \sqrt {-\left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \EllipticF \left (\cosh \left (\frac {x}{2}\right ) \sqrt {-\frac {2 b}{a -b}}, \frac {\sqrt {-\frac {2 \left (a -b \right )}{b}}}{2}\right )}{\sqrt {-\frac {2 b}{a -b}}\, \sqrt {2 b \left (\sinh ^{4}\left (\frac {x}{2}\right )\right )+\left (a +b \right ) \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \sinh \left (\frac {x}{2}\right ) \sqrt {2 b \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )+a +b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b \cosh \relax (x) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {1}{\sqrt {a+b\,\mathrm {cosh}\relax (x)}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a + b \cosh {\relax (x )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________