Integrand size = 13, antiderivative size = 12 \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=-\text {arctanh}(\cosh (x))+i \coth (x) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 12, 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 = {2785, 3852, 8, 3855} \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=-\text {arctanh}(\cosh (x))+i \coth (x) \]
[In]
[Out]
Rule 8
Rule 2785
Rule 3852
Rule 3855
Rubi steps \begin{align*} \text {integral}& = -\left (i \int \text {csch}^2(x) \, dx\right )+\int \text {csch}(x) \, dx \\ & = -\text {arctanh}(\cosh (x))-\text {Subst}(\int 1 \, dx,x,-i \coth (x)) \\ & = -\text {arctanh}(\cosh (x))+i \coth (x) \\ \end{align*}
Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(41\) vs. \(2(12)=24\).
Time = 0.08 (sec) , antiderivative size = 41, normalized size of antiderivative = 3.42 \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=\frac {1}{2} i \coth \left (\frac {x}{2}\right )-\log \left (\cosh \left (\frac {x}{2}\right )\right )+\log \left (\sinh \left (\frac {x}{2}\right )\right )+\frac {1}{2} i \tanh \left (\frac {x}{2}\right ) \]
[In]
[Out]
Time = 6.12 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.92
method | result | size |
default | \(\frac {i \tanh \left (\frac {x}{2}\right )}{2}+\frac {i}{2 \tanh \left (\frac {x}{2}\right )}+\ln \left (\tanh \left (\frac {x}{2}\right )\right )\) | \(23\) |
risch | \(\frac {2 i}{{\mathrm e}^{2 x}-1}+\ln \left ({\mathrm e}^{x}-1\right )-\ln \left ({\mathrm e}^{x}+1\right )\) | \(25\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 37 vs. \(2 (10) = 20\).
Time = 0.28 (sec) , antiderivative size = 37, normalized size of antiderivative = 3.08 \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=-\frac {{\left (e^{\left (2 \, x\right )} - 1\right )} \log \left (e^{x} + 1\right ) - {\left (e^{\left (2 \, x\right )} - 1\right )} \log \left (e^{x} - 1\right ) - 2 i}{e^{\left (2 \, x\right )} - 1} \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 22 vs. \(2 (8) = 16\).
Time = 0.07 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.83 \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=\log {\left (e^{x} - 1 \right )} - \log {\left (e^{x} + 1 \right )} + \frac {2 i}{e^{2 x} - 1} \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 27 vs. \(2 (10) = 20\).
Time = 0.22 (sec) , antiderivative size = 27, normalized size of antiderivative = 2.25 \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=-\frac {2 i}{e^{\left (-2 \, x\right )} - 1} - \log \left (e^{\left (-x\right )} + 1\right ) + \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. 24 vs. \(2 (10) = 20\).
Time = 0.26 (sec) , antiderivative size = 24, normalized size of antiderivative = 2.00 \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=\frac {2 i}{e^{\left (2 \, x\right )} - 1} - \log \left (e^{x} + 1\right ) + \log \left ({\left | e^{x} - 1 \right |}\right ) \]
[In]
[Out]
Time = 0.19 (sec) , antiderivative size = 28, normalized size of antiderivative = 2.33 \[ \int \frac {\coth ^2(x)}{i+\sinh (x)} \, dx=\ln \left (2-2\,{\mathrm {e}}^x\right )-\ln \left (-2\,{\mathrm {e}}^x-2\right )+\frac {2{}\mathrm {i}}{{\mathrm {e}}^{2\,x}-1} \]
[In]
[Out]