Primitive of Tangent Function/Cosine Form

Theorem

 * $\displaystyle \int \tan x \rd x = -\ln \left \vert {\cos x} \right \vert + C$

where $\cos x \ne 0$.

Also see

 * Primitive of Cotangent Function