Primitive of Square of Cosine of a x over Sine of a x

Theorem

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

Also see

 * Primitive of $\dfrac {\sin^2 a x} {\cos a x}$