Integrand size = 3, antiderivative size = 27 \[ \int \coth ^{-1}(\cosh (x)) \, dx=x \coth ^{-1}(\cosh (x))-2 x \text {arctanh}\left (e^x\right )-\operatorname {PolyLog}\left (2,-e^x\right )+\operatorname {PolyLog}\left (2,e^x\right ) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 1.333, Rules used = {6407, 4267, 2317, 2438} \[ \int \coth ^{-1}(\cosh (x)) \, dx=-2 x \text {arctanh}\left (e^x\right )-\operatorname {PolyLog}\left (2,-e^x\right )+\operatorname {PolyLog}\left (2,e^x\right )+x \coth ^{-1}(\cosh (x)) \]
[In]
[Out]
Rule 2317
Rule 2438
Rule 4267
Rule 6407
Rubi steps \begin{align*} \text {integral}& = x \coth ^{-1}(\cosh (x))+\int x \text {csch}(x) \, dx \\ & = x \coth ^{-1}(\cosh (x))-2 x \text {arctanh}\left (e^x\right )-\int \log \left (1-e^x\right ) \, dx+\int \log \left (1+e^x\right ) \, dx \\ & = x \coth ^{-1}(\cosh (x))-2 x \text {arctanh}\left (e^x\right )-\text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^x\right )+\text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^x\right ) \\ & = x \coth ^{-1}(\cosh (x))-2 x \text {arctanh}\left (e^x\right )-\operatorname {PolyLog}\left (2,-e^x\right )+\operatorname {PolyLog}\left (2,e^x\right ) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.44 \[ \int \coth ^{-1}(\cosh (x)) \, dx=x \coth ^{-1}(\cosh (x))+x \left (\log \left (1-e^x\right )-\log \left (1+e^x\right )\right )-\operatorname {PolyLog}\left (2,-e^x\right )+\operatorname {PolyLog}\left (2,e^x\right ) \]
[In]
[Out]
Time = 0.30 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.33
method | result | size |
default | \(x \,\operatorname {arccoth}\left (\cosh \left (x \right )\right )+x \ln \left (1-{\mathrm e}^{x}\right )+\operatorname {polylog}\left (2, {\mathrm e}^{x}\right )-x \ln \left (1+{\mathrm e}^{x}\right )-\operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )\) | \(36\) |
parts | \(x \,\operatorname {arccoth}\left (\cosh \left (x \right )\right )+x \ln \left (1-{\mathrm e}^{x}\right )+\operatorname {polylog}\left (2, {\mathrm e}^{x}\right )-x \ln \left (1+{\mathrm e}^{x}\right )-\operatorname {polylog}\left (2, -{\mathrm e}^{x}\right )\) | \(36\) |
risch | \(-\frac {i \pi \,\operatorname {csgn}\left (i \left ({\mathrm e}^{x}-1\right )^{2}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x} \left ({\mathrm e}^{x}-1\right )^{2}\right )^{2} x}{4}-\frac {i \pi \,\operatorname {csgn}\left (i {\mathrm e}^{-x}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x} \left ({\mathrm e}^{x}-1\right )^{2}\right )^{2} x}{4}+\frac {i \pi {\operatorname {csgn}\left (i \left ({\mathrm e}^{x}-1\right )^{2}\right )}^{3} x}{4}-x \ln \left ({\mathrm e}^{x}-1\right )-\operatorname {dilog}\left ({\mathrm e}^{x}\right )-\operatorname {dilog}\left (1+{\mathrm e}^{x}\right )-\frac {i \pi \operatorname {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{x}\right )^{2}\right )^{3} x}{4}+\frac {i \pi {\operatorname {csgn}\left (i \left ({\mathrm e}^{x}-1\right )\right )}^{2} \operatorname {csgn}\left (i \left ({\mathrm e}^{x}-1\right )^{2}\right ) x}{4}+\frac {i \pi \,\operatorname {csgn}\left (i {\mathrm e}^{-x}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{x}\right )^{2}\right )^{2} x}{4}+\frac {i \pi \,\operatorname {csgn}\left (i \left (1+{\mathrm e}^{x}\right )^{2}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{x}\right )^{2}\right )^{2} x}{4}-\frac {i \pi {\operatorname {csgn}\left (i \left (1+{\mathrm e}^{x}\right )\right )}^{2} \operatorname {csgn}\left (i \left (1+{\mathrm e}^{x}\right )^{2}\right ) x}{4}-\frac {i \pi \,\operatorname {csgn}\left (i \left (1+{\mathrm e}^{x}\right )^{2}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x} \left (1+{\mathrm e}^{x}\right )^{2}\right ) x}{4}-\frac {i \pi {\operatorname {csgn}\left (i \left (1+{\mathrm e}^{x}\right )^{2}\right )}^{3} x}{4}+\frac {i \pi \,\operatorname {csgn}\left (i \left ({\mathrm e}^{x}-1\right )^{2}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x}\right ) \operatorname {csgn}\left (i {\mathrm e}^{-x} \left ({\mathrm e}^{x}-1\right )^{2}\right ) x}{4}+\frac {i \pi \,\operatorname {csgn}\left (i \left (1+{\mathrm e}^{x}\right )\right ) {\operatorname {csgn}\left (i \left (1+{\mathrm e}^{x}\right )^{2}\right )}^{2} x}{2}+\frac {i \pi \operatorname {csgn}\left (i {\mathrm e}^{-x} \left ({\mathrm e}^{x}-1\right )^{2}\right )^{3} x}{4}-\frac {i \pi \,\operatorname {csgn}\left (i \left ({\mathrm e}^{x}-1\right )\right ) {\operatorname {csgn}\left (i \left ({\mathrm e}^{x}-1\right )^{2}\right )}^{2} x}{2}\) | \(392\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 57 vs. \(2 (22) = 44\).
Time = 0.25 (sec) , antiderivative size = 57, normalized size of antiderivative = 2.11 \[ \int \coth ^{-1}(\cosh (x)) \, dx=\frac {1}{2} \, x \log \left (\frac {\cosh \left (x\right ) + 1}{\cosh \left (x\right ) - 1}\right ) - x \log \left (\cosh \left (x\right ) + \sinh \left (x\right ) + 1\right ) + x \log \left (-\cosh \left (x\right ) - \sinh \left (x\right ) + 1\right ) + {\rm Li}_2\left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) - {\rm Li}_2\left (-\cosh \left (x\right ) - \sinh \left (x\right )\right ) \]
[In]
[Out]
\[ \int \coth ^{-1}(\cosh (x)) \, dx=\int \operatorname {acoth}{\left (\cosh {\left (x \right )} \right )}\, dx \]
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.22 \[ \int \coth ^{-1}(\cosh (x)) \, dx=x \operatorname {arcoth}\left (\cosh \left (x\right )\right ) - x \log \left (e^{x} + 1\right ) + x \log \left (-e^{x} + 1\right ) - {\rm Li}_2\left (-e^{x}\right ) + {\rm Li}_2\left (e^{x}\right ) \]
[In]
[Out]
\[ \int \coth ^{-1}(\cosh (x)) \, dx=\int { \operatorname {arcoth}\left (\cosh \left (x\right )\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int \coth ^{-1}(\cosh (x)) \, dx=\int \mathrm {acoth}\left (\mathrm {cosh}\left (x\right )\right ) \,d x \]
[In]
[Out]