Optimal. Leaf size=83 \[ \frac{\text{PolyLog}\left (3,-e^{-a-b x}\right )}{2 b^2}-\frac{\text{PolyLog}\left (3,e^{-a-b x}\right )}{2 b^2}+\frac{x \text{PolyLog}\left (2,-e^{-a-b x}\right )}{2 b}-\frac{x \text{PolyLog}\left (2,e^{-a-b x}\right )}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0642786, antiderivative size = 83, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 4, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {6214, 2531, 2282, 6589} \[ \frac{\text{PolyLog}\left (3,-e^{-a-b x}\right )}{2 b^2}-\frac{\text{PolyLog}\left (3,e^{-a-b x}\right )}{2 b^2}+\frac{x \text{PolyLog}\left (2,-e^{-a-b x}\right )}{2 b}-\frac{x \text{PolyLog}\left (2,e^{-a-b x}\right )}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6214
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int x \coth ^{-1}\left (e^{a+b x}\right ) \, dx &=-\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 \text{Li}_2\left (-e^{-a-b x}\right )}{2 b}-\frac{x \text{Li}_2\left (e^{-a-b x}\right )}{2 b}-\frac{\int \text{Li}_2\left (-e^{-a-b x}\right ) \, dx}{2 b}+\frac{\int \text{Li}_2\left (e^{-a-b x}\right ) \, dx}{2 b}\\ &=\frac{x \text{Li}_2\left (-e^{-a-b x}\right )}{2 b}-\frac{x \text{Li}_2\left (e^{-a-b x}\right )}{2 b}+\frac{\operatorname{Subst}\left (\int \frac{\text{Li}_2(-x)}{x} \, dx,x,e^{-a-b x}\right )}{2 b^2}-\frac{\operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{-a-b x}\right )}{2 b^2}\\ &=\frac{x \text{Li}_2\left (-e^{-a-b x}\right )}{2 b}-\frac{x \text{Li}_2\left (e^{-a-b x}\right )}{2 b}+\frac{\text{Li}_3\left (-e^{-a-b x}\right )}{2 b^2}-\frac{\text{Li}_3\left (e^{-a-b x}\right )}{2 b^2}\\ \end{align*}
Mathematica [A] time = 0.0309224, size = 113, normalized size = 1.36 \[ \frac{-2 b x \text{PolyLog}\left (2,-e^{a+b x}\right )+2 b x \text{PolyLog}\left (2,e^{a+b x}\right )+2 \text{PolyLog}\left (3,-e^{a+b x}\right )-2 \text{PolyLog}\left (3,e^{a+b x}\right )+b^2 x^2 \log \left (1-e^{a+b x}\right )-b^2 x^2 \log \left (e^{a+b x}+1\right )+2 b^2 x^2 \coth ^{-1}\left (e^{a+b x}\right )}{4 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.07, size = 153, normalized size = 1.8 \begin{align*}{\frac{{x}^{2}{\rm arccoth} \left ({{\rm e}^{bx+a}}\right )}{2}}-{\frac{\ln \left ({{\rm e}^{bx+a}}+1 \right ){x}^{2}}{4}}+{\frac{\ln \left ({{\rm e}^{bx+a}}+1 \right ){a}^{2}}{4\,{b}^{2}}}-{\frac{{\it polylog} \left ( 2,-{{\rm e}^{bx+a}} \right ) x}{2\,b}}+{\frac{{\it polylog} \left ( 3,-{{\rm e}^{bx+a}} \right ) }{2\,{b}^{2}}}+{\frac{\ln \left ( 1-{{\rm e}^{bx+a}} \right ){x}^{2}}{4}}-{\frac{\ln \left ( 1-{{\rm e}^{bx+a}} \right ){a}^{2}}{4\,{b}^{2}}}+{\frac{{\it polylog} \left ( 2,{{\rm e}^{bx+a}} \right ) x}{2\,b}}-{\frac{{\it polylog} \left ( 3,{{\rm e}^{bx+a}} \right ) }{2\,{b}^{2}}}-{\frac{{a}^{2}{\it Artanh} \left ({{\rm e}^{bx+a}} \right ) }{2\,{b}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.1348, size = 146, normalized size = 1.76 \begin{align*} \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 )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 1.61181, size = 583, normalized size = 7.02 \begin{align*} \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}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{acoth}{\left (e^{a} e^{b x} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{arcoth}\left (e^{\left (b x + a\right )}\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]