# Integral of 1/cotx

Rewrite it as $\displaystyle \int{\frac{\sin{\theta}}{\cos{\theta}}\,d\theta}$ and solve using a substitution.