Integrand size = 11, antiderivative size = 16 \[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=\log (i-\sinh (x))-i \sinh (x) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {3957, 2912, 45} \[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=\log (-\sinh (x)+i)-i \sinh (x) \]
[In]
[Out]
Rule 45
Rule 2912
Rule 3957
Rubi steps \begin{align*} \text {integral}& = i \int \frac {\cosh (x) \sinh (x)}{i-\sinh (x)} \, dx \\ & = i \text {Subst}\left (\int \frac {x}{i+x} \, dx,x,-\sinh (x)\right ) \\ & = i \text {Subst}\left (\int \left (1-\frac {i}{i+x}\right ) \, dx,x,-\sinh (x)\right ) \\ & = \log (i-\sinh (x))-i \sinh (x) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 16, normalized size of antiderivative = 1.00 \[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=\log (i-\sinh (x))-i \sinh (x) \]
[In]
[Out]
Time = 2.26 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.56
method | result | size |
risch | \(-x -\frac {i {\mathrm e}^{x}}{2}+\frac {i {\mathrm e}^{-x}}{2}+2 \ln \left ({\mathrm e}^{x}-i\right )\) | \(25\) |
derivativedivides | \(-\ln \left (\operatorname {csch}\left (x \right )\right )-\frac {i}{\operatorname {csch}\left (x \right )}+\frac {\ln \left (1+\operatorname {csch}\left (x \right )^{2}\right )}{2}-i \arctan \left (\operatorname {csch}\left (x \right )\right )\) | \(29\) |
default | \(-\ln \left (\operatorname {csch}\left (x \right )\right )-\frac {i}{\operatorname {csch}\left (x \right )}+\frac {\ln \left (1+\operatorname {csch}\left (x \right )^{2}\right )}{2}-i \arctan \left (\operatorname {csch}\left (x \right )\right )\) | \(29\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 28 vs. \(2 (12) = 24\).
Time = 0.25 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.75 \[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=-\frac {1}{2} \, {\left (2 \, x e^{x} - 4 \, e^{x} \log \left (e^{x} - i\right ) + i \, e^{\left (2 \, x\right )} - i\right )} e^{\left (-x\right )} \]
[In]
[Out]
\[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=\int \frac {\cosh {\left (x \right )}}{\operatorname {csch}{\left (x \right )} + i}\, dx \]
[In]
[Out]
none
Time = 0.17 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.31 \[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=x + \frac {1}{2} i \, e^{\left (-x\right )} - \frac {1}{2} i \, e^{x} + 2 \, \log \left (e^{\left (-x\right )} + i\right ) \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.31 \[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=-x + \frac {1}{2} i \, e^{\left (-x\right )} - \frac {1}{2} i \, e^{x} + 2 \, \log \left (e^{x} - i\right ) \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.75 \[ \int \frac {\cosh (x)}{i+\text {csch}(x)} \, dx=\ln \left (\mathrm {sinh}\left (x\right )-\mathrm {i}\right )-\mathrm {sinh}\left (x\right )\,1{}\mathrm {i} \]
[In]
[Out]