Optimal. Leaf size=102 \[ -\frac {2 i \sqrt {a+b \cosh (x)+c \sinh (x)} E\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}}}} \]
[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 = {3119, 2653} \[ -\frac {2 i \sqrt {a+b \cosh (x)+c \sinh (x)} E\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}}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2653
Rule 3119
Rubi steps
\begin {align*} \int \sqrt {a+b \cosh (x)+c \sinh (x)} \, dx &=\frac {\sqrt {a+b \cosh (x)+c \sinh (x)} \int \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 {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}\\ &=-\frac {2 i E\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)}}{\sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.11, size = 1401, normalized size = 13.74 \[ \text {result too large to display} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\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 \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 [B] time = 0.80, size = 314, normalized size = 3.08 \[ \frac {\left (-b^{2}+c^{2}\right ) \cosh \relax (x )}{\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}}}}}+\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}}}}\, a \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 \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 \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 \sqrt {a + b \cosh {\relax (x )} + c \sinh {\relax (x )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________