Integrand size = 13, antiderivative size = 26 \[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(x)} \, dx=i \text {arctanh}(\cosh (x))-\coth (x)-\frac {i \coth (x)}{i+\text {csch}(x)} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {3875, 3874, 3855, 3879} \[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(x)} \, dx=i \text {arctanh}(\cosh (x))-\coth (x)-\frac {i \coth (x)}{\text {csch}(x)+i} \]
[In]
[Out]
Rule 3855
Rule 3874
Rule 3875
Rule 3879
Rubi steps \begin{align*} \text {integral}& = -\coth (x)-i \int \frac {\text {csch}^2(x)}{i+\text {csch}(x)} \, dx \\ & = -\coth (x)-i \int \text {csch}(x) \, dx-\int \frac {\text {csch}(x)}{i+\text {csch}(x)} \, dx \\ & = i \text {arctanh}(\cosh (x))-\coth (x)-\frac {i \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. \(70\) vs. \(2(26)=52\).
Time = 0.20 (sec) , antiderivative size = 70, normalized size of antiderivative = 2.69 \[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(x)} \, dx=-\frac {1}{2} \coth \left (\frac {x}{2}\right )+i \log \left (\cosh \left (\frac {x}{2}\right )\right )-i \log \left (\sinh \left (\frac {x}{2}\right )\right )-\frac {2 \sinh \left (\frac {x}{2}\right )}{\cosh \left (\frac {x}{2}\right )+i \sinh \left (\frac {x}{2}\right )}-\frac {1}{2} \tanh \left (\frac {x}{2}\right ) \]
[In]
[Out]
Time = 0.77 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.35
method | result | size |
default | \(-\frac {\tanh \left (\frac {x}{2}\right )}{2}-\frac {1}{2 \tanh \left (\frac {x}{2}\right )}-i \ln \left (\tanh \left (\frac {x}{2}\right )\right )-\frac {2}{\tanh \left (\frac {x}{2}\right )-i}\) | \(35\) |
risch | \(-\frac {2 i \left ({\mathrm e}^{2 x}-2-i {\mathrm e}^{x}\right )}{\left ({\mathrm e}^{2 x}-1\right ) \left ({\mathrm e}^{x}-i\right )}+i \ln \left ({\mathrm e}^{x}+1\right )-i \ln \left ({\mathrm e}^{x}-1\right )\) | \(47\) |
parallelrisch | \(\frac {2 i \tanh \left (\frac {x}{2}\right ) \ln \left (\tanh \left (\frac {x}{2}\right )\right )-i \coth \left (\frac {x}{2}\right )+\tanh \left (\frac {x}{2}\right )^{2}+2 \ln \left (\tanh \left (\frac {x}{2}\right )\right )+6}{-2 \tanh \left (\frac {x}{2}\right )+2 i}\) | \(47\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 77 vs. \(2 (20) = 40\).
Time = 0.27 (sec) , antiderivative size = 77, normalized size of antiderivative = 2.96 \[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(x)} \, dx=\frac {{\left (i \, e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} - i \, e^{x} - 1\right )} \log \left (e^{x} + 1\right ) + {\left (-i \, e^{\left (3 \, x\right )} - e^{\left (2 \, x\right )} + i \, e^{x} + 1\right )} \log \left (e^{x} - 1\right ) - 2 i \, e^{\left (2 \, x\right )} - 2 \, e^{x} + 4 i}{e^{\left (3 \, x\right )} - i \, e^{\left (2 \, x\right )} - e^{x} + i} \]
[In]
[Out]
\[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(x)} \, dx=\int \frac {\operatorname {csch}^{3}{\left (x \right )}}{\operatorname {csch}{\left (x \right )} + i}\, dx \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 53 vs. \(2 (20) = 40\).
Time = 0.17 (sec) , antiderivative size = 53, normalized size of antiderivative = 2.04 \[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(x)} \, dx=-\frac {2 \, {\left (e^{\left (-x\right )} - i \, e^{\left (-2 \, x\right )} + 2 i\right )}}{e^{\left (-x\right )} - i \, e^{\left (-2 \, x\right )} - e^{\left (-3 \, x\right )} + i} + i \, \log \left (e^{\left (-x\right )} + 1\right ) - i \, \log \left (e^{\left (-x\right )} - 1\right ) \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 46 vs. \(2 (20) = 40\).
Time = 0.28 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.77 \[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(x)} \, dx=\frac {2 \, {\left (e^{\left (2 \, x\right )} - i \, e^{x} - 2\right )}}{i \, e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} - i \, e^{x} - 1} + i \, \log \left (e^{x} + 1\right ) - i \, \log \left ({\left | e^{x} - 1 \right |}\right ) \]
[In]
[Out]
Time = 2.48 (sec) , antiderivative size = 60, normalized size of antiderivative = 2.31 \[ \int \frac {\text {csch}^3(x)}{i+\text {csch}(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 {{\mathrm {e}}^{2\,x}\,2{}\mathrm {i}+2\,{\mathrm {e}}^x-4{}\mathrm {i}}{{\mathrm {e}}^{2\,x}\,1{}\mathrm {i}-{\mathrm {e}}^{3\,x}+{\mathrm {e}}^x-\mathrm {i}} \]
[In]
[Out]