Integrand size = 10, antiderivative size = 83 \[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\frac {x \operatorname {PolyLog}\left (2,-e^{-a-b x}\right )}{2 b}-\frac {x \operatorname {PolyLog}\left (2,e^{-a-b x}\right )}{2 b}+\frac {\operatorname {PolyLog}\left (3,-e^{-a-b x}\right )}{2 b^2}-\frac {\operatorname {PolyLog}\left (3,e^{-a-b x}\right )}{2 b^2} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {6349, 2611, 2320, 6724} \[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\frac {\operatorname {PolyLog}\left (3,-e^{-a-b x}\right )}{2 b^2}-\frac {\operatorname {PolyLog}\left (3,e^{-a-b x}\right )}{2 b^2}+\frac {x \operatorname {PolyLog}\left (2,-e^{-a-b x}\right )}{2 b}-\frac {x \operatorname {PolyLog}\left (2,e^{-a-b x}\right )}{2 b} \]
[In]
[Out]
Rule 2320
Rule 2611
Rule 6349
Rule 6724
Rubi steps \begin{align*} \text {integral}& = -\left (\frac {1}{2} \int x \log \left (1-e^{-a-b x}\right ) \, dx\right )+\frac {1}{2} \int x \log \left (1+e^{-a-b x}\right ) \, dx \\ & = \frac {x \operatorname {PolyLog}\left (2,-e^{-a-b x}\right )}{2 b}-\frac {x \operatorname {PolyLog}\left (2,e^{-a-b x}\right )}{2 b}-\frac {\int \operatorname {PolyLog}\left (2,-e^{-a-b x}\right ) \, dx}{2 b}+\frac {\int \operatorname {PolyLog}\left (2,e^{-a-b x}\right ) \, dx}{2 b} \\ & = \frac {x \operatorname {PolyLog}\left (2,-e^{-a-b x}\right )}{2 b}-\frac {x \operatorname {PolyLog}\left (2,e^{-a-b x}\right )}{2 b}+\frac {\text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{-a-b x}\right )}{2 b^2}-\frac {\text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{-a-b x}\right )}{2 b^2} \\ & = \frac {x \operatorname {PolyLog}\left (2,-e^{-a-b x}\right )}{2 b}-\frac {x \operatorname {PolyLog}\left (2,e^{-a-b x}\right )}{2 b}+\frac {\operatorname {PolyLog}\left (3,-e^{-a-b x}\right )}{2 b^2}-\frac {\operatorname {PolyLog}\left (3,e^{-a-b x}\right )}{2 b^2} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 113, normalized size of antiderivative = 1.36 \[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\frac {2 b^2 x^2 \coth ^{-1}\left (e^{a+b x}\right )+b^2 x^2 \log \left (1-e^{a+b x}\right )-b^2 x^2 \log \left (1+e^{a+b x}\right )-2 b x \operatorname {PolyLog}\left (2,-e^{a+b x}\right )+2 b x \operatorname {PolyLog}\left (2,e^{a+b x}\right )+2 \operatorname {PolyLog}\left (3,-e^{a+b x}\right )-2 \operatorname {PolyLog}\left (3,e^{a+b x}\right )}{4 b^2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(178\) vs. \(2(71)=142\).
Time = 0.25 (sec) , antiderivative size = 179, normalized size of antiderivative = 2.16
method | result | size |
default | \(\frac {x^{2} \operatorname {arccoth}\left ({\mathrm e}^{b x +a}\right )}{2}+\frac {-a^{2} \operatorname {arctanh}\left ({\mathrm e}^{b x +a}\right )+\frac {\left (b x +a \right )^{2} \ln \left (1-{\mathrm e}^{b x +a}\right )}{2}+\left (b x +a \right ) \operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right )-\operatorname {polylog}\left (3, {\mathrm e}^{b x +a}\right )-\frac {\left (b x +a \right )^{2} \ln \left ({\mathrm e}^{b x +a}+1\right )}{2}-\left (b x +a \right ) \operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right )+\operatorname {polylog}\left (3, -{\mathrm e}^{b x +a}\right )-a \left (b x +a \right ) \ln \left (1-{\mathrm e}^{b x +a}\right )+a \left (b x +a \right ) \ln \left ({\mathrm e}^{b x +a}+1\right )-a \operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right )+a \operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right )}{2 b^{2}}\) | \(179\) |
parts | \(\frac {x^{2} \operatorname {arccoth}\left ({\mathrm e}^{b x +a}\right )}{2}+\frac {-a^{2} \operatorname {arctanh}\left ({\mathrm e}^{b x +a}\right )+\frac {\left (b x +a \right )^{2} \ln \left (1-{\mathrm e}^{b x +a}\right )}{2}+\left (b x +a \right ) \operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right )-\operatorname {polylog}\left (3, {\mathrm e}^{b x +a}\right )-\frac {\left (b x +a \right )^{2} \ln \left ({\mathrm e}^{b x +a}+1\right )}{2}-\left (b x +a \right ) \operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right )+\operatorname {polylog}\left (3, -{\mathrm e}^{b x +a}\right )-a \left (b x +a \right ) \ln \left (1-{\mathrm e}^{b x +a}\right )+a \left (b x +a \right ) \ln \left ({\mathrm e}^{b x +a}+1\right )-a \operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right )+a \operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right )}{2 b^{2}}\) | \(179\) |
risch | \(-\frac {x^{2} \ln \left (-1+{\mathrm e}^{b x +a}\right )}{4}+\frac {x^{2} \ln \left (1-{\mathrm e}^{b x +a}\right )}{4}+\frac {\ln \left (1-{\mathrm e}^{b x +a}\right ) a x}{2 b}+\frac {\ln \left (1-{\mathrm e}^{b x +a}\right ) a^{2}}{4 b^{2}}+\frac {x \operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right )}{2 b}+\frac {a^{2} \ln \left (-1+{\mathrm e}^{b x +a}\right )}{4 b^{2}}+\frac {\operatorname {polylog}\left (2, {\mathrm e}^{b x +a}\right ) a}{2 b^{2}}+\frac {a \operatorname {dilog}\left ({\mathrm e}^{b x +a}\right )}{2 b^{2}}-\frac {\operatorname {polylog}\left (3, {\mathrm e}^{b x +a}\right )}{2 b^{2}}-\frac {x \operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right )}{2 b}+\frac {\operatorname {dilog}\left ({\mathrm e}^{b x +a}+1\right ) a}{2 b^{2}}-\frac {\operatorname {polylog}\left (2, -{\mathrm e}^{b x +a}\right ) a}{2 b^{2}}+\frac {\operatorname {polylog}\left (3, -{\mathrm e}^{b x +a}\right )}{2 b^{2}}\) | \(202\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 198 vs. \(2 (69) = 138\).
Time = 0.25 (sec) , antiderivative size = 198, normalized size of antiderivative = 2.39 \[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\frac {b^{2} x^{2} \log \left (\frac {\cosh \left (b x + a\right ) + \sinh \left (b x + a\right ) + 1}{\cosh \left (b x + a\right ) + \sinh \left (b x + a\right ) - 1}\right ) - b^{2} x^{2} \log \left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right ) + 1\right ) + 2 \, b x {\rm Li}_2\left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right ) - 2 \, b x {\rm Li}_2\left (-\cosh \left (b x + a\right ) - \sinh \left (b x + a\right )\right ) + a^{2} \log \left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right ) - 1\right ) + {\left (b^{2} x^{2} - a^{2}\right )} \log \left (-\cosh \left (b x + a\right ) - \sinh \left (b x + a\right ) + 1\right ) - 2 \, {\rm polylog}\left (3, \cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right ) + 2 \, {\rm polylog}\left (3, -\cosh \left (b x + a\right ) - \sinh \left (b x + a\right )\right )}{4 \, b^{2}} \]
[In]
[Out]
\[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\int x \operatorname {acoth}{\left (e^{a} e^{b x} \right )}\, dx \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 108, normalized size of antiderivative = 1.30 \[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\frac {1}{2} \, x^{2} \operatorname {arcoth}\left (e^{\left (b x + a\right )}\right ) - \frac {1}{4} \, b {\left (\frac {b^{2} x^{2} \log \left (e^{\left (b x + a\right )} + 1\right ) + 2 \, b x {\rm Li}_2\left (-e^{\left (b x + a\right )}\right ) - 2 \, {\rm Li}_{3}(-e^{\left (b x + a\right )})}{b^{3}} - \frac {b^{2} x^{2} \log \left (-e^{\left (b x + a\right )} + 1\right ) + 2 \, b x {\rm Li}_2\left (e^{\left (b x + a\right )}\right ) - 2 \, {\rm Li}_{3}(e^{\left (b x + a\right )})}{b^{3}}\right )} \]
[In]
[Out]
\[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\int { x \operatorname {arcoth}\left (e^{\left (b x + a\right )}\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx=\int x\,\mathrm {acoth}\left ({\mathrm {e}}^{a+b\,x}\right ) \,d x \]
[In]
[Out]