Integrand size = 11, antiderivative size = 34 \[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=\text {arctanh}(\cosh (x))+\frac {\cosh (x)}{3 (i+\sinh (x))^2}-\frac {4 i \cosh (x)}{3 (i+\sinh (x))} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 34, 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.364, Rules used = {2845, 3057, 12, 3855} \[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=\text {arctanh}(\cosh (x))-\frac {4 i \cosh (x)}{3 (\sinh (x)+i)}+\frac {\cosh (x)}{3 (\sinh (x)+i)^2} \]
[In]
[Out]
Rule 12
Rule 2845
Rule 3057
Rule 3855
Rubi steps \begin{align*} \text {integral}& = \frac {\cosh (x)}{3 (i+\sinh (x))^2}-\frac {1}{3} \int \frac {\text {csch}(x) (3 i-\sinh (x))}{i+\sinh (x)} \, dx \\ & = \frac {\cosh (x)}{3 (i+\sinh (x))^2}-\frac {4 i \cosh (x)}{3 (i+\sinh (x))}+\frac {1}{3} i \int 3 i \text {csch}(x) \, dx \\ & = \frac {\cosh (x)}{3 (i+\sinh (x))^2}-\frac {4 i \cosh (x)}{3 (i+\sinh (x))}-\int \text {csch}(x) \, dx \\ & = \text {arctanh}(\cosh (x))+\frac {\cosh (x)}{3 (i+\sinh (x))^2}-\frac {4 i \cosh (x)}{3 (i+\sinh (x))} \\ \end{align*}
Time = 0.72 (sec) , antiderivative size = 68, normalized size of antiderivative = 2.00 \[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=\log \left (\cosh \left (\frac {x}{2}\right )\right )-\log \left (\sinh \left (\frac {x}{2}\right )\right )-\frac {i}{3 i+3 \sinh (x)}-\frac {2 \sinh \left (\frac {x}{2}\right ) (5 i+4 \sinh (x))}{3 \left (\cosh \left (\frac {x}{2}\right )-i \sinh \left (\frac {x}{2}\right )\right )^3} \]
[In]
[Out]
Time = 2.33 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.06
method | result | size |
risch | \(-\frac {2 \left (9 i {\mathrm e}^{x}+3 \,{\mathrm e}^{2 x}-4\right )}{3 \left ({\mathrm e}^{x}+i\right )^{3}}+\ln \left ({\mathrm e}^{x}+1\right )-\ln \left ({\mathrm e}^{x}-1\right )\) | \(36\) |
default | \(-\ln \left (\tanh \left (\frac {x}{2}\right )\right )+\frac {4 i}{3 \left (\tanh \left (\frac {x}{2}\right )+i\right )^{3}}-\frac {4 i}{\tanh \left (\frac {x}{2}\right )+i}-\frac {2}{\left (\tanh \left (\frac {x}{2}\right )+i\right )^{2}}\) | \(44\) |
parallelrisch | \(\frac {\left (-3 \tanh \left (\frac {x}{2}\right )^{3}-9 i \tanh \left (\frac {x}{2}\right )^{2}+9 \tanh \left (\frac {x}{2}\right )+3 i\right ) \ln \left (\tanh \left (\frac {x}{2}\right )\right )+4 \tanh \left (\frac {x}{2}\right )^{3}+6 i+6 \tanh \left (\frac {x}{2}\right )}{3 \tanh \left (\frac {x}{2}\right )^{3}+9 i \tanh \left (\frac {x}{2}\right )^{2}-9 \tanh \left (\frac {x}{2}\right )-3 i}\) | \(79\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 78 vs. \(2 (24) = 48\).
Time = 0.25 (sec) , antiderivative size = 78, normalized size of antiderivative = 2.29 \[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=\frac {3 \, {\left (e^{\left (3 \, x\right )} + 3 i \, e^{\left (2 \, x\right )} - 3 \, e^{x} - i\right )} \log \left (e^{x} + 1\right ) - 3 \, {\left (e^{\left (3 \, x\right )} + 3 i \, e^{\left (2 \, x\right )} - 3 \, e^{x} - i\right )} \log \left (e^{x} - 1\right ) - 6 \, e^{\left (2 \, x\right )} - 18 i \, e^{x} + 8}{3 \, {\left (e^{\left (3 \, x\right )} + 3 i \, e^{\left (2 \, x\right )} - 3 \, e^{x} - i\right )}} \]
[In]
[Out]
\[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=\int \frac {\operatorname {csch}{\left (x \right )}}{\left (\sinh {\left (x \right )} + i\right )^{2}}\, dx \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 55 vs. \(2 (24) = 48\).
Time = 0.18 (sec) , antiderivative size = 55, normalized size of antiderivative = 1.62 \[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=\frac {2 \, {\left (-9 i \, e^{\left (-x\right )} + 3 \, e^{\left (-2 \, x\right )} - 4\right )}}{3 \, {\left (3 \, e^{\left (-x\right )} + 3 i \, e^{\left (-2 \, x\right )} - e^{\left (-3 \, x\right )} - i\right )}} + \log \left (e^{\left (-x\right )} + 1\right ) - \log \left (e^{\left (-x\right )} - 1\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.00 \[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=-\frac {2 \, {\left (3 \, e^{\left (2 \, x\right )} + 9 i \, e^{x} - 4\right )}}{3 \, {\left (e^{x} + i\right )}^{3}} + \log \left (e^{x} + 1\right ) - \log \left ({\left | e^{x} - 1 \right |}\right ) \]
[In]
[Out]
Time = 0.31 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.21 \[ \int \frac {\text {csch}(x)}{(i+\sinh (x))^2} \, dx=\ln \left ({\mathrm {e}}^x+1\right )-\ln \left ({\mathrm {e}}^x-1\right )-\frac {2}{{\mathrm {e}}^x+1{}\mathrm {i}}-\frac {2{}\mathrm {i}}{{\left ({\mathrm {e}}^x+1{}\mathrm {i}\right )}^2}-\frac {4}{3\,{\left ({\mathrm {e}}^x+1{}\mathrm {i}\right )}^3} \]
[In]
[Out]