96.61 Problem number 131

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

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

command

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

Giac 1.9.0-11 via sagemath 9.6 output

\[ -\frac {1}{2} \, b x^{2} + \frac {1}{2} \, x \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 \operatorname {arcoth}\left (\tanh \left (b x + a\right )\right )\,{d x} \]________________________________________________________________________________________