Integrand size = 17, antiderivative size = 40 \[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=\frac {2 \sqrt {a} \text {arctanh}\left (\frac {\sqrt {a} \coth (c+d x)}{\sqrt {a-i a \text {csch}(c+d x)}}\right )}{d} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {3859, 209} \[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=\frac {2 \sqrt {a} \text {arctanh}\left (\frac {\sqrt {a} \coth (c+d x)}{\sqrt {a-i a \text {csch}(c+d x)}}\right )}{d} \]
[In]
[Out]
Rule 209
Rule 3859
Rubi steps \begin{align*} \text {integral}& = \frac {(2 i a) \text {Subst}\left (\int \frac {1}{a+x^2} \, dx,x,-\frac {i a \coth (c+d x)}{\sqrt {a-i a \text {csch}(c+d x)}}\right )}{d} \\ & = \frac {2 \sqrt {a} \text {arctanh}\left (\frac {\sqrt {a} \coth (c+d x)}{\sqrt {a-i a \text {csch}(c+d x)}}\right )}{d} \\ \end{align*}
Time = 1.01 (sec) , antiderivative size = 80, normalized size of antiderivative = 2.00 \[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=-\frac {2 (-1)^{3/4} \arctan \left ((-1)^{3/4} \sqrt {-i+\text {csch}(c+d x)}\right ) \coth (c+d x) \sqrt {a-i a \text {csch}(c+d x)}}{d \sqrt {-i+\text {csch}(c+d x)} (i+\text {csch}(c+d x))} \]
[In]
[Out]
\[\int \sqrt {a -i a \,\operatorname {csch}\left (d x +c \right )}d x\]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 383 vs. \(2 (32) = 64\).
Time = 0.29 (sec) , antiderivative size = 383, normalized size of antiderivative = 9.58 \[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=\frac {1}{2} \, \sqrt {\frac {a}{d^{2}}} \log \left (\frac {2 \, {\left ({\left (d e^{\left (2 \, d x + 2 \, c\right )} - d\right )} \sqrt {\frac {a}{e^{\left (2 \, d x + 2 \, c\right )} - 1}} \sqrt {\frac {a}{d^{2}}} + a e^{\left (d x + c\right )} - i \, a\right )} e^{\left (-d x - c\right )}}{d}\right ) - \frac {1}{2} \, \sqrt {\frac {a}{d^{2}}} \log \left (-\frac {2 \, {\left ({\left (d e^{\left (2 \, d x + 2 \, c\right )} - d\right )} \sqrt {\frac {a}{e^{\left (2 \, d x + 2 \, c\right )} - 1}} \sqrt {\frac {a}{d^{2}}} - a e^{\left (d x + c\right )} + i \, a\right )} e^{\left (-d x - c\right )}}{d}\right ) + \frac {1}{2} \, \sqrt {\frac {a}{d^{2}}} \log \left (\frac {2 \, {\left ({\left (a e^{\left (3 \, d x + 3 \, c\right )} + 2 i \, a e^{\left (2 \, d x + 2 \, c\right )} - a e^{\left (d x + c\right )} - 2 i \, a\right )} \sqrt {\frac {a}{e^{\left (2 \, d x + 2 \, c\right )} - 1}} + {\left (a d e^{\left (2 \, d x + 2 \, c\right )} + i \, a d e^{\left (d x + c\right )} - 2 \, a d\right )} \sqrt {\frac {a}{d^{2}}}\right )} e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right ) - \frac {1}{2} \, \sqrt {\frac {a}{d^{2}}} \log \left (\frac {2 \, {\left ({\left (a e^{\left (3 \, d x + 3 \, c\right )} + 2 i \, a e^{\left (2 \, d x + 2 \, c\right )} - a e^{\left (d x + c\right )} - 2 i \, a\right )} \sqrt {\frac {a}{e^{\left (2 \, d x + 2 \, c\right )} - 1}} - {\left (a d e^{\left (2 \, d x + 2 \, c\right )} + i \, a d e^{\left (d x + c\right )} - 2 \, a d\right )} \sqrt {\frac {a}{d^{2}}}\right )} e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right ) \]
[In]
[Out]
\[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=\int \sqrt {- i a \operatorname {csch}{\left (c + d x \right )} + a}\, dx \]
[In]
[Out]
\[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=\int { \sqrt {-i \, a \operatorname {csch}\left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
\[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=\int { \sqrt {-i \, a \operatorname {csch}\left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \sqrt {a-i a \text {csch}(c+d x)} \, dx=\int \sqrt {a-\frac {a\,1{}\mathrm {i}}{\mathrm {sinh}\left (c+d\,x\right )}} \,d x \]
[In]
[Out]