Derivative of cot x
The derivative of cot x is −csc²x, which equals −1/sin²x. It is always negative, so the cotangent falls on every branch.
How to find the derivative of cot x
Method: quotient rule.
- 1Write cot x as a fraction: cot x = cos x / sin x.
- 2Apply the quotient rule: (−sin x · sin x − cos x · cos x) / sin²x.
- 3Take out the minus sign: −(sin²x + cos²x) / sin²x.
- 4Use the identity sin²x + cos²x = 1: this is −1/sin²x.
- 5That is −csc²x.
What it means on the graph
At x = π/2 the slope is exactly −1, the gentlest it ever gets. Close to the asymptotes at multiples of π, sin x approaches 0, so the slope plunges toward −∞.
Table of values
The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.
| x | cot x | −csc²x | Slope, measured |
|---|---|---|---|
| 1/2 | 1.83049 | −4.35069 | −4.35069 |
| π/6 | √3 | −4 | −4 |
| π/4 | 1 | −2 | −2 |
| π/2 | 0 | −1 | −1 |
| 2 | −0.457658 | −1.20945 | −1.20945 |
| 13/5 | −1.66224 | −3.76305 | −3.76305 |
Second derivative
Differentiating once more gives:
The second derivative tells you which way the graph bends: positive means it curves upward, and negative means it curves downward.
Related derivatives
The same result with the chain or product rule. Each of these is checked numerically too.
| Function | Derivative |
|---|---|
cot(3x) | −3csc(3x)2 |
xcot(x) | cot(x)−xcsc(x)2 |
Common mistakes
- Dropping the minus sign.
- Writing −csc x. The exponent is 2.
Frequently asked questions
What is the derivative of cot x?
What is the second derivative of cot x?
Keep going
Type your own function into the derivative calculator and see every rule applied, step by step.