Integrand size = 13, antiderivative size = 38 \[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=\frac {x}{a}-\frac {\coth (x) (3-2 \text {sech}(x))}{3 a}-\frac {\coth ^3(x) (1-\text {sech}(x))}{3 a} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 38, 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.231, Rules used = {3973, 3967, 8} \[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=\frac {x}{a}-\frac {\coth ^3(x) (1-\text {sech}(x))}{3 a}-\frac {\coth (x) (3-2 \text {sech}(x))}{3 a} \]
[In]
[Out]
Rule 8
Rule 3967
Rule 3973
Rubi steps \begin{align*} \text {integral}& = -\frac {\int \coth ^4(x) (-a+a \text {sech}(x)) \, dx}{a^2} \\ & = -\frac {\coth ^3(x) (1-\text {sech}(x))}{3 a}+\frac {\int \coth ^2(x) (3 a-2 a \text {sech}(x)) \, dx}{3 a^2} \\ & = -\frac {\coth (x) (3-2 \text {sech}(x))}{3 a}-\frac {\coth ^3(x) (1-\text {sech}(x))}{3 a}-\frac {\int -3 a \, dx}{3 a^2} \\ & = \frac {x}{a}-\frac {\coth (x) (3-2 \text {sech}(x))}{3 a}-\frac {\coth ^3(x) (1-\text {sech}(x))}{3 a} \\ \end{align*}
Time = 0.31 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.87 \[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=\frac {6 x-4 \coth (x)-2 \text {csch}(x)+6 x \text {sech}(x)-4 \tanh (x)}{6 a+6 a \text {sech}(x)} \]
[In]
[Out]
Time = 0.18 (sec) , antiderivative size = 36, normalized size of antiderivative = 0.95
method | result | size |
risch | \(\frac {x}{a}+\frac {2 \,{\mathrm e}^{3 x}-\frac {10 \,{\mathrm e}^{x}}{3}-\frac {8}{3}}{a \left ({\mathrm e}^{x}+1\right )^{3} \left ({\mathrm e}^{x}-1\right )}\) | \(36\) |
default | \(\frac {-\frac {\tanh \left (\frac {x}{2}\right )^{3}}{3}-4 \tanh \left (\frac {x}{2}\right )+4 \ln \left (\tanh \left (\frac {x}{2}\right )+1\right )-4 \ln \left (\tanh \left (\frac {x}{2}\right )-1\right )-\frac {1}{\tanh \left (\frac {x}{2}\right )}}{4 a}\) | \(47\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.21 \[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=-\frac {2 \, \cosh \left (x\right )^{2} - {\left ({\left (3 \, x + 4\right )} \cosh \left (x\right ) + 3 \, x + 4\right )} \sinh \left (x\right ) + 2 \, \sinh \left (x\right )^{2} + \cosh \left (x\right )}{3 \, {\left (a \cosh \left (x\right ) + a\right )} \sinh \left (x\right )} \]
[In]
[Out]
\[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=\frac {\int \frac {\coth ^{2}{\left (x \right )}}{\operatorname {sech}{\left (x \right )} + 1}\, dx}{a} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.24 \[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=\frac {x}{a} - \frac {2 \, {\left (5 \, e^{\left (-x\right )} - 3 \, e^{\left (-3 \, x\right )} + 4\right )}}{3 \, {\left (2 \, a e^{\left (-x\right )} - 2 \, a e^{\left (-3 \, x\right )} - a e^{\left (-4 \, x\right )} + a\right )}} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.05 \[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=\frac {x}{a} - \frac {1}{2 \, a {\left (e^{x} - 1\right )}} + \frac {15 \, e^{\left (2 \, x\right )} + 24 \, e^{x} + 13}{6 \, a {\left (e^{x} + 1\right )}^{3}} \]
[In]
[Out]
Time = 1.98 (sec) , antiderivative size = 94, normalized size of antiderivative = 2.47 \[ \int \frac {\coth ^2(x)}{a+a \text {sech}(x)} \, dx=\frac {\frac {5\,{\mathrm {e}}^{2\,x}}{6\,a}+\frac {5}{6\,a}+\frac {{\mathrm {e}}^x}{a}}{3\,{\mathrm {e}}^{2\,x}+{\mathrm {e}}^{3\,x}+3\,{\mathrm {e}}^x+1}+\frac {\frac {1}{2\,a}+\frac {5\,{\mathrm {e}}^x}{6\,a}}{{\mathrm {e}}^{2\,x}+2\,{\mathrm {e}}^x+1}+\frac {x}{a}-\frac {1}{2\,a\,\left ({\mathrm {e}}^x-1\right )}+\frac {5}{6\,a\,\left ({\mathrm {e}}^x+1\right )} \]
[In]
[Out]