Primitive of Square of Hyperbolic Tangent of a x

Theorem

 * $\displaystyle \int \tanh^2 a x \ \mathrm d x = x - \frac {\tanh a x} a + C$

Also see

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