Optimal. Leaf size=102 \[ -\frac {2 i \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}} F\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right )}{\sqrt {a+b \cosh (x)+c \sinh (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3127, 2661} \[ -\frac {2 i \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}} F\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right )}{\sqrt {a+b \cosh (x)+c \sinh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2661
Rule 3127
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a+b \cosh (x)+c \sinh (x)}} \, dx &=\frac {\sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}} \int \frac {1}{\sqrt {\frac {a}{a+\sqrt {b^2-c^2}}+\frac {\sqrt {b^2-c^2} \cosh \left (x+i \tan ^{-1}(b,-i c)\right )}{a+\sqrt {b^2-c^2}}}} \, dx}{\sqrt {a+b \cosh (x)+c \sinh (x)}}\\ &=-\frac {2 i F\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right ) \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}{\sqrt {a+b \cosh (x)+c \sinh (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.52, size = 237, normalized size = 2.32 \[ \frac {2 \text {sech}\left (\tanh ^{-1}\left (\frac {b}{c}\right )+x\right ) \sqrt {a+b \cosh (x)+c \sinh (x)} \sqrt {-\frac {-i c \sqrt {1-\frac {b^2}{c^2}}+b \cosh (x)+c \sinh (x)}{a+i c \sqrt {1-\frac {b^2}{c^2}}}} \sqrt {-\frac {i c \sqrt {1-\frac {b^2}{c^2}}+b \cosh (x)+c \sinh (x)}{a-i c \sqrt {1-\frac {b^2}{c^2}}}} F_1\left (\frac {1}{2};\frac {1}{2},\frac {1}{2};\frac {3}{2};\frac {a+b \cosh (x)+c \sinh (x)}{a+i \sqrt {1-\frac {b^2}{c^2}} c},\frac {a+b \cosh (x)+c \sinh (x)}{a-i \sqrt {1-\frac {b^2}{c^2}} c}\right )}{c \sqrt {1-\frac {b^2}{c^2}}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {1}{\sqrt {b \cosh \relax (x) + c \sinh \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) + c \sinh \relax (x) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.64, size = 248, normalized size = 2.43 \[ \frac {\sqrt {\frac {\left (-\sinh \relax (x ) b^{2}+\sinh \relax (x ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \left (\sinh ^{2}\relax (x )\right )}{\sqrt {b^{2}-c^{2}}}}\, \ln \left (\frac {\cosh \relax (x ) \sinh \relax (x ) \left (-b^{2}+c^{2}\right )+\cosh \relax (x ) \sqrt {b^{2}-c^{2}}\, a +\sqrt {\frac {\left (-b^{2}+c^{2}\right ) \left (\sinh ^{3}\relax (x )\right )}{\sqrt {b^{2}-c^{2}}}+a \left (\sinh ^{2}\relax (x )\right )}\, \sqrt {b^{2}-c^{2}}\, \sqrt {\frac {\left (-b^{2}+c^{2}\right ) \sinh \relax (x )}{\sqrt {b^{2}-c^{2}}}+a}}{\sqrt {b^{2}-c^{2}}\, \sqrt {\frac {-\sinh \relax (x ) b^{2}+\sinh \relax (x ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}\right ) \sqrt {b^{2}-c^{2}}}{\left (-\sinh \relax (x ) b^{2}+\sinh \relax (x ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \sinh \relax (x )} \]
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) + c \sinh \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.01 \[ \int \frac {1}{\sqrt {a+b\,\mathrm {cosh}\relax (x)+c\,\mathrm {sinh}\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 )} + c \sinh {\relax (x )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________