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.0559671, antiderivative size = 57, normalized size of antiderivative = 1., 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 2751
Rule 2649
Rule 206
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.073706, 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]
________________________________________________________________________________________
Maple [F] time = 0.355, size = 0, normalized size = 0. \begin{align*} \int{\sinh \left ( x \right ){\frac{1}{\sqrt{a+ia\sinh \left ( x \right ) }}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh \left (x\right )}{\sqrt{i \, a \sinh \left (x\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.12969, size = 501, normalized size = 8.79 \begin{align*} -\frac{2 \, \sqrt{\frac{1}{2}} \sqrt{i \, a e^{\left (2 \, x\right )} + 2 \, a e^{x} - i \, a}{\left (i \, e^{x} - 1\right )} e^{\left (-\frac{1}{2} \, x\right )} + \frac{\sqrt{2}{\left (a e^{x} - i \, a\right )} \log \left (\frac{2 \, \sqrt{\frac{1}{2}} \sqrt{i \, a e^{\left (2 \, x\right )} + 2 \, a e^{x} - i \, a} e^{\left (-\frac{1}{2} \, x\right )} + \frac{\sqrt{2}{\left (a e^{x} - i \, a\right )}}{\sqrt{a}}}{2 \, e^{x} - 2 i}\right )}{\sqrt{a}} - \frac{\sqrt{2}{\left (a e^{x} - i \, a\right )} \log \left (\frac{2 \, \sqrt{\frac{1}{2}} \sqrt{i \, a e^{\left (2 \, x\right )} + 2 \, a e^{x} - i \, a} e^{\left (-\frac{1}{2} \, x\right )} - \frac{\sqrt{2}{\left (a e^{x} - i \, a\right )}}{\sqrt{a}}}{2 \, e^{x} - 2 i}\right )}{\sqrt{a}}}{a e^{x} - i \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh{\left (x \right )}}{\sqrt{a \left (i \sinh{\left (x \right )} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh \left (x\right )}{\sqrt{i \, a \sinh \left (x\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]