Integrand size = 6, antiderivative size = 36 \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {x}{8}-\frac {1}{6 (1+\coth (x))^3}-\frac {1}{8 (1+\coth (x))^2}-\frac {1}{8 (1+\coth (x))} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3560, 8} \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {x}{8}-\frac {1}{8 (\coth (x)+1)}-\frac {1}{8 (\coth (x)+1)^2}-\frac {1}{6 (\coth (x)+1)^3} \]
[In]
[Out]
Rule 8
Rule 3560
Rubi steps \begin{align*} \text {integral}& = -\frac {1}{6 (1+\coth (x))^3}+\frac {1}{2} \int \frac {1}{(1+\coth (x))^2} \, dx \\ & = -\frac {1}{6 (1+\coth (x))^3}-\frac {1}{8 (1+\coth (x))^2}+\frac {1}{4} \int \frac {1}{1+\coth (x)} \, dx \\ & = -\frac {1}{6 (1+\coth (x))^3}-\frac {1}{8 (1+\coth (x))^2}-\frac {1}{8 (1+\coth (x))}+\frac {\int 1 \, dx}{8} \\ & = \frac {x}{8}-\frac {1}{6 (1+\coth (x))^3}-\frac {1}{8 (1+\coth (x))^2}-\frac {1}{8 (1+\coth (x))} \\ \end{align*}
Time = 0.29 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.92 \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {10+27 \tanh (x)+21 \tanh ^2(x)+3 \text {arctanh}(\tanh (x)) (1+\tanh (x))^3}{24 (1+\tanh (x))^3} \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.64
method | result | size |
risch | \(\frac {x}{8}+\frac {3 \,{\mathrm e}^{-2 x}}{16}-\frac {3 \,{\mathrm e}^{-4 x}}{32}+\frac {{\mathrm e}^{-6 x}}{48}\) | \(23\) |
parallelrisch | \(\frac {3 \tanh \left (x \right )^{3} x +\left (9 x +21\right ) \tanh \left (x \right )^{2}+\left (9 x +27\right ) \tanh \left (x \right )+3 x +10}{24 \left (1+\tanh \left (x \right )\right )^{3}}\) | \(39\) |
derivativedivides | \(-\frac {1}{6 \left (1+\coth \left (x \right )\right )^{3}}-\frac {1}{8 \left (1+\coth \left (x \right )\right )^{2}}-\frac {1}{8 \left (1+\coth \left (x \right )\right )}+\frac {\ln \left (1+\coth \left (x \right )\right )}{16}-\frac {\ln \left (\coth \left (x \right )-1\right )}{16}\) | \(40\) |
default | \(-\frac {1}{6 \left (1+\coth \left (x \right )\right )^{3}}-\frac {1}{8 \left (1+\coth \left (x \right )\right )^{2}}-\frac {1}{8 \left (1+\coth \left (x \right )\right )}+\frac {\ln \left (1+\coth \left (x \right )\right )}{16}-\frac {\ln \left (\coth \left (x \right )-1\right )}{16}\) | \(40\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 86 vs. \(2 (28) = 56\).
Time = 0.24 (sec) , antiderivative size = 86, normalized size of antiderivative = 2.39 \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {2 \, {\left (6 \, x + 1\right )} \cosh \left (x\right )^{3} + 6 \, {\left (6 \, x + 1\right )} \cosh \left (x\right ) \sinh \left (x\right )^{2} + 2 \, {\left (6 \, x - 1\right )} \sinh \left (x\right )^{3} + 3 \, {\left (2 \, {\left (6 \, x - 1\right )} \cosh \left (x\right )^{2} + 9\right )} \sinh \left (x\right ) + 9 \, \cosh \left (x\right )}{96 \, {\left (\cosh \left (x\right )^{3} + 3 \, \cosh \left (x\right )^{2} \sinh \left (x\right ) + 3 \, \cosh \left (x\right ) \sinh \left (x\right )^{2} + \sinh \left (x\right )^{3}\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 182 vs. \(2 (31) = 62\).
Time = 0.57 (sec) , antiderivative size = 182, normalized size of antiderivative = 5.06 \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {3 x \tanh ^{3}{\left (x \right )}}{24 \tanh ^{3}{\left (x \right )} + 72 \tanh ^{2}{\left (x \right )} + 72 \tanh {\left (x \right )} + 24} + \frac {9 x \tanh ^{2}{\left (x \right )}}{24 \tanh ^{3}{\left (x \right )} + 72 \tanh ^{2}{\left (x \right )} + 72 \tanh {\left (x \right )} + 24} + \frac {9 x \tanh {\left (x \right )}}{24 \tanh ^{3}{\left (x \right )} + 72 \tanh ^{2}{\left (x \right )} + 72 \tanh {\left (x \right )} + 24} + \frac {3 x}{24 \tanh ^{3}{\left (x \right )} + 72 \tanh ^{2}{\left (x \right )} + 72 \tanh {\left (x \right )} + 24} + \frac {21 \tanh ^{2}{\left (x \right )}}{24 \tanh ^{3}{\left (x \right )} + 72 \tanh ^{2}{\left (x \right )} + 72 \tanh {\left (x \right )} + 24} + \frac {27 \tanh {\left (x \right )}}{24 \tanh ^{3}{\left (x \right )} + 72 \tanh ^{2}{\left (x \right )} + 72 \tanh {\left (x \right )} + 24} + \frac {10}{24 \tanh ^{3}{\left (x \right )} + 72 \tanh ^{2}{\left (x \right )} + 72 \tanh {\left (x \right )} + 24} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.61 \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {1}{8} \, x + \frac {3}{16} \, e^{\left (-2 \, x\right )} - \frac {3}{32} \, e^{\left (-4 \, x\right )} + \frac {1}{48} \, e^{\left (-6 \, x\right )} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.67 \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {1}{96} \, {\left (18 \, e^{\left (4 \, x\right )} - 9 \, e^{\left (2 \, x\right )} + 2\right )} e^{\left (-6 \, x\right )} + \frac {1}{8} \, x \]
[In]
[Out]
Time = 0.06 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.61 \[ \int \frac {1}{(1+\coth (x))^3} \, dx=\frac {x}{8}+\frac {3\,{\mathrm {e}}^{-2\,x}}{16}-\frac {3\,{\mathrm {e}}^{-4\,x}}{32}+\frac {{\mathrm {e}}^{-6\,x}}{48} \]
[In]
[Out]