Primitive of x by Hyperbolic Tangent of a x

Theorem

 * $\displaystyle \int x \tanh a x \ \mathrm d x = \frac 1 {a^2} \left({\frac {\left({a x}\right)^3} 3 - \frac {\left({a x}\right)^5} {15} + \frac {2 \left({a x}\right)^7} {105} + \cdots + \frac {\left({-1}\right)^{n - 1} 2^{2 n} \left({2^{2 n} - 1}\right) B_n \left({a x}\right)^{2 n + 1} } {\left({2 n + 1}\right)!} + \cdots}\right) + C$

where $B_n$ denotes the $n$th Bernoulli number.

Also see

 * Primitive of $\dfrac x {\coth a x}$