Integrand size = 13, antiderivative size = 17 \[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=-\text {arctanh}(\cosh (x))+\frac {\coth (x)}{i+\text {csch}(x)} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 17, 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.231, Rules used = {3874, 3855, 3879} \[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=-\text {arctanh}(\cosh (x))+\frac {\coth (x)}{\text {csch}(x)+i} \]
[In]
[Out]
Rule 3855
Rule 3874
Rule 3879
Rubi steps \begin{align*} \text {integral}& = -\left (i \int \frac {\text {csch}(x)}{i+\text {csch}(x)} \, dx\right )+\int \text {csch}(x) \, dx \\ & = -\text {arctanh}(\cosh (x))+\frac {\coth (x)}{i+\text {csch}(x)} \\ \end{align*}
Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(46\) vs. \(2(17)=34\).
Time = 0.13 (sec) , antiderivative size = 46, normalized size of antiderivative = 2.71 \[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=-\log \left (\cosh \left (\frac {x}{2}\right )\right )+\log \left (\sinh \left (\frac {x}{2}\right )\right )-\frac {2 i \sinh \left (\frac {x}{2}\right )}{\cosh \left (\frac {x}{2}\right )+i \sinh \left (\frac {x}{2}\right )} \]
[In]
[Out]
Time = 0.45 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.12
method | result | size |
default | \(-\frac {2 i}{\tanh \left (\frac {x}{2}\right )-i}+\ln \left (\tanh \left (\frac {x}{2}\right )\right )\) | \(19\) |
risch | \(\frac {2}{{\mathrm e}^{x}-i}+\ln \left ({\mathrm e}^{x}-1\right )-\ln \left ({\mathrm e}^{x}+1\right )\) | \(23\) |
parallelrisch | \(\frac {2 i+\ln \left (\tanh \left (\frac {x}{2}\right )\right ) \left (-\tanh \left (\frac {x}{2}\right )+i\right )}{-\tanh \left (\frac {x}{2}\right )+i}\) | \(31\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 31 vs. \(2 (15) = 30\).
Time = 0.25 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.82 \[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=-\frac {{\left (e^{x} - i\right )} \log \left (e^{x} + 1\right ) - {\left (e^{x} - i\right )} \log \left (e^{x} - 1\right ) - 2}{e^{x} - i} \]
[In]
[Out]
\[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=\int \frac {\operatorname {csch}^{2}{\left (x \right )}}{\operatorname {csch}{\left (x \right )} + i}\, dx \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.59 \[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=\frac {2}{e^{\left (-x\right )} + i} - \log \left (e^{\left (-x\right )} + 1\right ) + \log \left (e^{\left (-x\right )} - 1\right ) \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.29 \[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=\frac {2}{e^{x} - i} - \log \left (e^{x} + 1\right ) + \log \left ({\left | e^{x} - 1 \right |}\right ) \]
[In]
[Out]
Time = 0.20 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.53 \[ \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx=\ln \left (2-2\,{\mathrm {e}}^x\right )-\ln \left (-2\,{\mathrm {e}}^x-2\right )+\frac {2}{{\mathrm {e}}^x-\mathrm {i}} \]
[In]
[Out]