Primitive of Reciprocal of Sine of a x by 1 plus Cosine of a x

Theorem

 * $\ds \int \frac {\d x} {\sin a x \paren {1 + \cos a x} } = \frac 1 {2 a \paren {1 + \cos a x} } + \frac 1 {2 a} \ln \size {\tan \frac {a x} 2} + C$

Proof
Let:

Then:

Also see

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


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