96.89 Problem number 162

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

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

command

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

Giac 1.9.0-11 via sagemath 9.6 output

\[ \frac {\log \left (\pi - 2 i \, b x - 2 i \, a\right )}{b} \]

Giac 1.7.0 via sagemath 9.3 output

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