Primitive of x over 1 minus Cosine of a x

Theorem

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

Also see

 * Primitive of $\dfrac x {1 - \sin a x}$