Primitive of Square of Tangent Function

Theorem

 * $\ds \int \tan^2 x \rd x = \tan x - x + C$

where $C$ is an arbitrary constant.