Primitive of Reciprocal of 1 minus Sine of a x

Theorem

 * $\ds \int \frac {\d x} {1 - \sin a x} = \frac 1 a \map \tan {\frac \pi 4 + \frac {a x} 2} + C$

Proof
Then:

Also see

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