Derivative of cot x
The derivative of cot x is −csc^2 x, by the quotient rule. The second derivative is 2 csc^2 x cot x. Defined where sin x ≠ 0.
📐 The quotient rule
d/dx cot x = −csc2 x.
d/dx cot x = −csc2 x, and d²/dx² cot x = 2 csc2 x cot x.
✍️ Differentiating cot x
- Write cot x = cos x / sin x.
- Quotient rule: (u/v)′ = (u′v − uv′)/v2.
- Work it: (−sin x · sin x − cos x · cos x) / sin2 x = −(sin2 x + cos2 x) / sin2 x = −1/sin2 x = −csc2 x.
- So d/dx cot x = −csc2 x.
🔍 Where the rule comes from
cot x = cos x/sin x, so the quotient rule and sin2 x + cos2 x = 1 give −1/sin2 x = −csc2 x. cot x decreases on every interval where it is defined, so its derivative is never positive.
📍 The slope of cot x at a point, and the tangent line
f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.
| Point | cot x | −csc2 x | Tangent line |
|---|---|---|---|
| x = −2 | 0.4577 | −1.2095 | y = −1.2095x − 1.9612 |
| x = −1 | −0.6421 | −1.4123 | y = −1.4123x − 2.0544 |
| x = −0.5 | −1.8305 | −4.3507 | y = −4.3507x − 4.0058 |
| x = 0.5 | 1.8305 | −4.3507 | y = −4.3507x + 4.0058 |
| x = 1 | 0.6421 | −1.4123 | y = −1.4123x + 2.0544 |
| x = 2 | −0.4577 | −1.2095 | y = −1.2095x + 1.9612 |
| x = 3 | −7.0153 | −50.2138 | y = −50.2138x + 143.6261 |
👪 Trigonometric functions: the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
⚠️ The mistakes that lose the marks
- Guessing a pattern from sin and cos: the derivative of cot x is −csc2 x, which has to be derived, not remembered as a swap.
- Dropping the minus sign on the co-functions (cos, csc, cot): each of their derivatives is negative.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate cot(2x).
Answer: −2 csc^2(2x)
2. Differentiate 3 cot x.
Answer: −3 csc^2 x
3. Differentiate x·cot x.
Answer: cot x − x·csc^2 x
4. What is the slope of y = cot x at x = π/4?
Answer: −2
5. Find the second derivative of cot x.
Answer: 2 csc^2 x cot x
📚 The class this belongs to
Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
