Primitive of x by Square of Hyperbolic Cotangent of a x

Theorem

 * $\displaystyle \int x \coth^2 a x \ \mathrm d x = \frac {x^2} 2 - \frac {x \coth a x} a + \frac 1 {a^2} \ln \left\vert{\sinh a x}\right\vert + C$

Proof
With a view to expressing the primitive in the form:
 * $\displaystyle \int u \frac {\mathrm d v}{\mathrm d x} \ \mathrm d x = u v - \int v \frac {\mathrm d u}{\mathrm d x} \ \mathrm d x$

let:

and let:

Then:

Also see

 * Primitive of $x \sinh^2 a x$
 * Primitive of $x \cosh^2 a x$
 * Primitive of $x \tanh^2 a x$
 * Primitive of $x \operatorname{sech}^2 a x$
 * Primitive of $x \operatorname{csch}^2 a x$