Primitive of Sine of a x over Sine of a x minus Cosine of a x

Theorem

 * $\displaystyle \int \frac {\sin a x \rd x} {\sin a x - \cos a x} = \frac x 2 + \frac 1 {2 a} \ln \size {\sin a x - \cos a x} + C$

Proof
First note that:

Then:

Also see

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


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


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