The derivative of cosec x is -cot x cosec x. This can be derived using the quotient rule, which involves rewriting cosec x in terms of sin x and using the formula dy/dx = vu - uv/v^2. Alternatively, the derivative of cosec x can be calculated using the derivative of sin x.