Optimal. Leaf size=57 \[ \frac {2 \cosh (x)}{\sqrt {a+i a \sinh (x)}}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{\sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2751, 2649, 206} \[ \frac {2 \cosh (x)}{\sqrt {a+i a \sinh (x)}}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{\sqrt {a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2649
Rule 2751
Rubi steps
\begin {align*} \int \frac {\sinh (x)}{\sqrt {a+i a \sinh (x)}} \, dx &=\frac {2 \cosh (x)}{\sqrt {a+i a \sinh (x)}}+i \int \frac {1}{\sqrt {a+i a \sinh (x)}} \, dx\\ &=\frac {2 \cosh (x)}{\sqrt {a+i a \sinh (x)}}-2 \operatorname {Subst}\left (\int \frac {1}{2 a-x^2} \, dx,x,\frac {a \cosh (x)}{\sqrt {a+i a \sinh (x)}}\right )\\ &=-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{\sqrt {a}}+\frac {2 \cosh (x)}{\sqrt {a+i a \sinh (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 75, normalized size = 1.32 \[ \frac {2 \left (\cosh \left (\frac {x}{2}\right )+i \sinh \left (\frac {x}{2}\right )\right ) \left (-i \sinh \left (\frac {x}{2}\right )+\cosh \left (\frac {x}{2}\right )+(1+i) \sqrt [4]{-1} \tan ^{-1}\left (\frac {\tanh \left (\frac {x}{4}\right )+i}{\sqrt {2}}\right )\right )}{\sqrt {a+i a \sinh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 76, normalized size = 1.33 \[ -\frac {\sqrt {2} \sqrt {a} \log \left (\frac {1}{2} \, \sqrt {2} \sqrt {a} + \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}}\right ) - \sqrt {2} \sqrt {a} \log \left (-\frac {1}{2} \, \sqrt {2} \sqrt {a} + \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}}\right ) + 2 \, \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}} {\left (i \, e^{x} - 1\right )}}{a} \]
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 {\sinh \relax (x)}{\sqrt {i \, a \sinh \relax (x) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.41, size = 0, normalized size = 0.00 \[ \int \frac {\sinh \relax (x )}{\sqrt {a +i a \sinh \relax (x )}}\, dx \]
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 {\sinh \relax (x)}{\sqrt {i \, a \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.02 \[ \int \frac {\mathrm {sinh}\relax (x)}{\sqrt {a+a\,\mathrm {sinh}\relax (x)\,1{}\mathrm {i}}} \,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 {\sinh {\relax (x )}}{\sqrt {i a \left (\sinh {\relax (x )} - i\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________