Integrand size = 16, antiderivative size = 57 \[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=-\frac {\sqrt {2} \text {arctanh}\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)}} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2830, 2728, 212} \[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=\frac {2 \cosh (x)}{\sqrt {a-i a \sinh (x)}}-\frac {\sqrt {2} \text {arctanh}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a-i a \sinh (x)}}\right )}{\sqrt {a}} \]
[In]
[Out]
Rule 212
Rule 2728
Rule 2830
Rubi steps \begin{align*} \text {integral}& = \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 \text {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} \text {arctanh}\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*}
Time = 0.28 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.33 \[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=\frac {2 \left (\cosh \left (\frac {x}{2}\right )-i \sinh \left (\frac {x}{2}\right )\right ) \left (\cosh \left (\frac {x}{2}\right )+i \left ((1+i) (-1)^{3/4} \arctan \left (\frac {-i+\tanh \left (\frac {x}{4}\right )}{\sqrt {2}}\right )+\sinh \left (\frac {x}{2}\right )\right )\right )}{\sqrt {a-i a \sinh (x)}} \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 107 vs. \(2 (44 ) = 88\).
Time = 4.37 (sec) , antiderivative size = 108, normalized size of antiderivative = 1.89
method | result | size |
risch | \(\frac {\left ({\mathrm e}^{x}+i\right )^{2} \sqrt {2}\, {\mathrm e}^{-x}}{\sqrt {-a \left (i {\mathrm e}^{2 x}-2 \,{\mathrm e}^{x}-i\right ) {\mathrm e}^{-x}}}-\frac {2 i \left ({\mathrm e}^{x}+i\right ) \left (a^{\frac {3}{2}}+\arctan \left (\frac {\sqrt {-i a \,{\mathrm e}^{x}}}{\sqrt {a}}\right ) a \sqrt {-i a \,{\mathrm e}^{x}}\right ) \sqrt {2}\, {\mathrm e}^{-x}}{a^{\frac {3}{2}} \sqrt {-a \left (i {\mathrm e}^{2 x}-2 \,{\mathrm e}^{x}-i\right ) {\mathrm e}^{-x}}}\) | \(108\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.33 \[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=-\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} \]
[In]
[Out]
\[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=\int \frac {\sinh {\left (x \right )}}{\sqrt {- i a \left (\sinh {\left (x \right )} + i\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=\int { \frac {\sinh \left (x\right )}{\sqrt {-i \, a \sinh \left (x\right ) + a}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=\int { \frac {\sinh \left (x\right )}{\sqrt {-i \, a \sinh \left (x\right ) + a}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sinh (x)}{\sqrt {a-i a \sinh (x)}} \, dx=\int \frac {\mathrm {sinh}\left (x\right )}{\sqrt {a-a\,\mathrm {sinh}\left (x\right )\,1{}\mathrm {i}}} \,d x \]
[In]
[Out]