How to integrate cotangent^2 x with respect to x.
Thanks in advance.
integrate cot^2 x dx
= integrate cosec^2 x - 1 dx
= -cot x - x + c
because differentiate cot x gives you - cosec^2 x