Integrand size = 11, antiderivative size = 19 \[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=i \text {arctanh}(\cosh (x))+\frac {\cosh (x)}{i+\sinh (x)} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 19, 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.273, Rules used = {2826, 2727, 3855} \[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=i \text {arctanh}(\cosh (x))+\frac {\cosh (x)}{\sinh (x)+i} \]
[In]
[Out]
Rule 2727
Rule 2826
Rule 3855
Rubi steps \begin{align*} \text {integral}& = -(i \int \text {csch}(x) \, dx)+i \int \frac {1}{i+\sinh (x)} \, dx \\ & = i \text {arctanh}(\cosh (x))+\frac {\cosh (x)}{i+\sinh (x)} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.58 \[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=\text {sech}(x) \left (-i+i \text {arctanh}\left (\sqrt {\cosh ^2(x)}\right ) \sqrt {\cosh ^2(x)}+\sinh (x)\right ) \]
[In]
[Out]
Time = 1.64 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.11
method | result | size |
default | \(-i \ln \left (\tanh \left (\frac {x}{2}\right )\right )+\frac {2}{\tanh \left (\frac {x}{2}\right )+i}\) | \(21\) |
risch | \(-\frac {2 i}{{\mathrm e}^{x}+i}+i \ln \left ({\mathrm e}^{x}+1\right )-i \ln \left ({\mathrm e}^{x}-1\right )\) | \(28\) |
parallelrisch | \(\frac {\ln \left (\tanh \left (\frac {x}{2}\right )\right )-i \ln \left (\tanh \left (\frac {x}{2}\right )\right ) \tanh \left (\frac {x}{2}\right )+2}{\tanh \left (\frac {x}{2}\right )+i}\) | \(30\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 33 vs. \(2 (15) = 30\).
Time = 0.24 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.74 \[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=\frac {{\left (i \, e^{x} - 1\right )} \log \left (e^{x} + 1\right ) + {\left (-i \, e^{x} + 1\right )} \log \left (e^{x} - 1\right ) - 2 i}{e^{x} + i} \]
[In]
[Out]
\[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=\int \frac {\operatorname {csch}{\left (x \right )}}{\sinh {\left (x \right )} + i}\, dx \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.53 \[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=-\frac {2 i}{e^{\left (-x\right )} - i} + i \, \log \left (e^{\left (-x\right )} + 1\right ) - i \, \log \left (e^{\left (-x\right )} - 1\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.26 \[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=-\frac {2 i}{e^{x} + i} + i \, \log \left (e^{x} + 1\right ) - i \, \log \left ({\left | e^{x} - 1 \right |}\right ) \]
[In]
[Out]
Time = 0.19 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.84 \[ \int \frac {\text {csch}(x)}{i+\sinh (x)} \, dx=-\ln \left ({\mathrm {e}}^x\,2{}\mathrm {i}-2{}\mathrm {i}\right )\,1{}\mathrm {i}+\ln \left ({\mathrm {e}}^x\,2{}\mathrm {i}+2{}\mathrm {i}\right )\,1{}\mathrm {i}-\frac {2{}\mathrm {i}}{{\mathrm {e}}^x+1{}\mathrm {i}} \]
[In]
[Out]