Integrand size = 13, antiderivative size = 46 \[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\text {arctanh}(\cosh (x))}{8 a}-\frac {\coth (x) \text {csch}(x)}{8 a}-\frac {\coth (x) \text {csch}^3(x)}{4 a}+\frac {\text {csch}^4(x)}{4 a} \]
[Out]
Time = 0.13 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.538, Rules used = {3957, 2914, 2686, 30, 2691, 3853, 3855} \[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\text {arctanh}(\cosh (x))}{8 a}+\frac {\text {csch}^4(x)}{4 a}-\frac {\coth (x) \text {csch}^3(x)}{4 a}-\frac {\coth (x) \text {csch}(x)}{8 a} \]
[In]
[Out]
Rule 30
Rule 2686
Rule 2691
Rule 2914
Rule 3853
Rule 3855
Rule 3957
Rubi steps \begin{align*} \text {integral}& = -\int \frac {\coth (x) \text {csch}^2(x)}{-a-a \cosh (x)} \, dx \\ & = \frac {\int \coth ^2(x) \text {csch}^3(x) \, dx}{a}-\frac {\int \coth (x) \text {csch}^4(x) \, dx}{a} \\ & = -\frac {\coth (x) \text {csch}^3(x)}{4 a}+\frac {\int \text {csch}^3(x) \, dx}{4 a}+\frac {\text {Subst}\left (\int x^3 \, dx,x,-i \text {csch}(x)\right )}{a} \\ & = -\frac {\coth (x) \text {csch}(x)}{8 a}-\frac {\coth (x) \text {csch}^3(x)}{4 a}+\frac {\text {csch}^4(x)}{4 a}-\frac {\int \text {csch}(x) \, dx}{8 a} \\ & = \frac {\text {arctanh}(\cosh (x))}{8 a}-\frac {\coth (x) \text {csch}(x)}{8 a}-\frac {\coth (x) \text {csch}^3(x)}{4 a}+\frac {\text {csch}^4(x)}{4 a} \\ \end{align*}
Time = 0.18 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.28 \[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\cosh ^2\left (\frac {x}{2}\right ) \left (-2 \text {csch}^2\left (\frac {x}{2}\right )+4 \log \left (\cosh \left (\frac {x}{2}\right )\right )-4 \log \left (\sinh \left (\frac {x}{2}\right )\right )+\text {sech}^4\left (\frac {x}{2}\right )\right ) \text {sech}(x)}{16 (a+a \text {sech}(x))} \]
[In]
[Out]
Time = 0.48 (sec) , antiderivative size = 38, normalized size of antiderivative = 0.83
method | result | size |
default | \(\frac {\frac {\tanh \left (\frac {x}{2}\right )^{4}}{4}-\frac {\tanh \left (\frac {x}{2}\right )^{2}}{2}-\ln \left (\tanh \left (\frac {x}{2}\right )\right )-\frac {1}{2 \tanh \left (\frac {x}{2}\right )^{2}}}{8 a}\) | \(38\) |
risch | \(-\frac {{\mathrm e}^{x} \left ({\mathrm e}^{4 x}+2 \,{\mathrm e}^{3 x}+10 \,{\mathrm e}^{2 x}+2 \,{\mathrm e}^{x}+1\right )}{4 \left ({\mathrm e}^{x}+1\right )^{4} a \left ({\mathrm e}^{x}-1\right )^{2}}+\frac {\ln \left ({\mathrm e}^{x}+1\right )}{8 a}-\frac {\ln \left ({\mathrm e}^{x}-1\right )}{8 a}\) | \(63\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 630 vs. \(2 (38) = 76\).
Time = 0.25 (sec) , antiderivative size = 630, normalized size of antiderivative = 13.70 \[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\int \frac {\operatorname {csch}^{3}{\left (x \right )}}{\operatorname {sech}{\left (x \right )} + 1}\, dx}{a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 99 vs. \(2 (38) = 76\).
Time = 0.20 (sec) , antiderivative size = 99, normalized size of antiderivative = 2.15 \[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=-\frac {e^{\left (-x\right )} + 2 \, e^{\left (-2 \, x\right )} + 10 \, e^{\left (-3 \, x\right )} + 2 \, e^{\left (-4 \, x\right )} + e^{\left (-5 \, x\right )}}{4 \, {\left (2 \, a e^{\left (-x\right )} - a e^{\left (-2 \, x\right )} - 4 \, a e^{\left (-3 \, x\right )} - a e^{\left (-4 \, x\right )} + 2 \, a e^{\left (-5 \, x\right )} + a e^{\left (-6 \, x\right )} + a\right )}} + \frac {\log \left (e^{\left (-x\right )} + 1\right )}{8 \, a} - \frac {\log \left (e^{\left (-x\right )} - 1\right )}{8 \, a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 90 vs. \(2 (38) = 76\).
Time = 0.29 (sec) , antiderivative size = 90, normalized size of antiderivative = 1.96 \[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=\frac {\log \left (e^{\left (-x\right )} + e^{x} + 2\right )}{16 \, a} - \frac {\log \left (e^{\left (-x\right )} + e^{x} - 2\right )}{16 \, a} + \frac {e^{\left (-x\right )} + e^{x} - 6}{16 \, a {\left (e^{\left (-x\right )} + e^{x} - 2\right )}} - \frac {3 \, {\left (e^{\left (-x\right )} + e^{x}\right )}^{2} + 12 \, e^{\left (-x\right )} + 12 \, e^{x} - 4}{32 \, a {\left (e^{\left (-x\right )} + e^{x} + 2\right )}^{2}} \]
[In]
[Out]
Time = 1.99 (sec) , antiderivative size = 121, normalized size of antiderivative = 2.63 \[ \int \frac {\text {csch}^3(x)}{a+a \text {sech}(x)} \, dx=\frac {1}{2\,a\,\left ({\mathrm {e}}^{2\,x}+2\,{\mathrm {e}}^x+1\right )}-\frac {1}{4\,a\,\left ({\mathrm {e}}^{2\,x}-2\,{\mathrm {e}}^x+1\right )}+\frac {1}{2\,a\,\left (6\,{\mathrm {e}}^{2\,x}+4\,{\mathrm {e}}^{3\,x}+{\mathrm {e}}^{4\,x}+4\,{\mathrm {e}}^x+1\right )}-\frac {1}{4\,a\,\left ({\mathrm {e}}^x-1\right )}+\frac {\mathrm {atan}\left (\frac {{\mathrm {e}}^x\,\sqrt {-a^2}}{a}\right )}{4\,\sqrt {-a^2}}-\frac {1}{a\,\left (3\,{\mathrm {e}}^{2\,x}+{\mathrm {e}}^{3\,x}+3\,{\mathrm {e}}^x+1\right )} \]
[In]
[Out]