96.60 Problem number 130

\[ \int x \coth ^{-1}(\tanh (a+b x)) \, dx \]

Optimal antiderivative \[ -\frac {b \,x^{3}}{6}+\frac {x^{2} \mathrm {arccoth}\left (\tanh \left (b x +a \right )\right )}{2} \]

command

integrate(x*arccoth(tanh(b*x+a)),x, algorithm="giac")

Giac 1.9.0-11 via sagemath 9.6 output

\[ -\frac {1}{6} \, b x^{3} + \frac {1}{4} \, x^{2} \log \left (-\frac {\frac {e^{\left (2 \, b x + 2 \, a\right )} + 1}{e^{\left (2 \, b x + 2 \, a\right )} - 1} + 1}{\frac {e^{\left (2 \, b x + 2 \, a\right )} + 1}{e^{\left (2 \, b x + 2 \, a\right )} - 1} - 1}\right ) \]

Giac 1.7.0 via sagemath 9.3 output

\[ \int x \operatorname {arcoth}\left (\tanh \left (b x + a\right )\right )\,{d x} \]________________________________________________________________________________________