Integral of sine reciprocal

46 Views Asked by At

This might be obvious but I cant see it. I have found that this integral holds $2\int \frac{1}{\sin(2x)} =-\ln(\cot(x))$. I read in a paper that this can be written as $2\int \frac{1}{\sin(2x)} =-\ln(\cot(x))=\ln |\tan(x)|$. I cant see where the absolute value comes from. I get: $2\int \frac{1}{\sin(2x)} =-\ln(\cot(x))=\ln(\cot(x)^{-1})=\ln (\tan(x))$ with no absolute value.