Primitive of Square of Hyperbolic Tangent Function

Theorem

 * $\displaystyle \int \tanh^2 x \ \mathrm d x = x - \tanh x + C$

where $C$ is an arbitrary constant.