Derivative of Cot x: Formula, Proofs, and Examples
The derivative of cot x is negative cosecant squared. See the quotient and limit proofs, plus examples of the chain rule and domain checks.
TL;DR
The derivative of is , using radians and excluding multiples of . For , also multiply by the derivative of the inside function.
Key Points
- Cotangent equals cosine divided by sine, so it is undefined where sine is zero.
- The quotient rule gives a numerator of .
- The derivative is negative wherever is defined.
- The chain rule can make the derivative of a composition positive, as with .
What is the derivative of cotangent?
For an angle in radians with , the derivative is
The symbol means . Both the function and its derivative exclude for every integer . OpenStax’s trigonometric derivatives chapter lists the rule and its relation to sine and cosine derivatives.
At , the derivative is . Cotangent is defined there since . This matters if you remember cotangent as , because tangent itself is undefined at . The trigonometry table shows the corresponding values and their domain conditions.
Why does the quotient rule give a negative sign?
Write . The quotient rule takes the derivative of the numerator times the denominator, then subtracts the original numerator times the derivative of the denominator. The University of Nebraska–Lincoln’s calculus lesson applies this argument to the trigonometric quotients.
The Pythagorean identity simplifies the numerator. The negative sign remains outside the square. This is the same quotient-rule method used in the full trigonometric differentiation guide.
How can you derive it from first principles?
Start with the difference quotient. Fix an where , and take small so . The sine subtraction identity gives
Divide by and take the limit as . The factor tends to 1 when is in radians. Continuity sends to , so the result is . Grand Valley State’s calculus chapter and Penn State’s trigonometric derivative notes discuss the trig limits and identities used in these proofs.
How do you differentiate a cotangent with an inner function?
First apply the outside derivative. Then multiply by the derivative of the inside, as in OpenStax’s chain-rule chapter.
Assume is differentiable and . The outer function’s domain still matters, even when an inner derivative happens to vanish. The negative sign comes from cotangent. The sign of the full derivative also depends on .
| Function | Derivative |
|---|---|
The last two rows use different outer functions. In , the square is inside cotangent. In , the square is outside.
Examples of the Derivative of Cotangent
Example 1
Find the slope of at .
- .
- Its square is .
- The slope is .
Example 2
Find the slope at .
- A reciprocal-tangent shortcut would give an undefined expression.
- Use the cotangent rule in terms of sine. Since , the point belongs to the domain.
- The derivative is .
Example 3
Differentiate .
- The outer derivative is .
- The inside derivative is 3.
- The answer is , with .
Example 4
Differentiate .
- The derivative of the inside is .
- Multiply it by the outer derivative .
- The two signs give where .
Example 5
Differentiate .
- The outer square has derivative with respect to its argument.
- Multiply by .
- The result is .
Example 6
Differentiate .
- Use the product rule because both factors depend on .
- Differentiate to get 1 and to get .
- The result is on the original domain.
What mistakes can change the derivative?
Mistake 1: Copying the tangent derivative
The derivative of is . Cotangent has the reciprocal quotient , and its quotient-rule numerator simplifies to . Keep the formulas separate.
Mistake 2: Forgetting the inner derivative
The derivative of needs the factor 3. For , the inner factor changes the overall sign.
Mistake 3: Including a vertical asymptote as a point with a very large slope
At a multiple of , the original function is undefined. The slope formula can grow in magnitude nearby, but there is no point of the graph there at which to assign a derivative.
Try It Yourself
- Differentiate .
- Differentiate and compare with .
- Is the derivative of ever zero on its real domain?
Answers and Reasoning
- The answer is if .
- It is , because shifting sine by changes its sign and squaring removes that sign.
- No. The numerator in stays , and the denominator is positive on the domain.
Questions About Cotangent Differentiation
Does the formula assume radians?
Yes. When a variable is measured numerically in degrees, write and apply the chain rule. The radians guide explains the conversion.
Why is cotangent decreasing only stated between its asymptotes?
Its derivative is negative on each interval , so it decreases throughout each such interval. The function jumps between branches across excluded points. A monotonicity statement on one interval does not extend across those gaps.
Conclusion
- Differentiate real cotangent as where .
- Use the sine denominator to check the original domain.
- Apply the chain or product rule when cotangent appears inside a larger expression.
Read More
Research Behind This Article
- OpenStax, Calculus Volume 1: Derivatives of Trigonometric Functions. OpenStax
- University of Nebraska–Lincoln, Calculus: Derivatives of Other Trigonometric Functions. UNL
- Grand Valley State University, Active Calculus: Derivatives of Other Trigonometric Functions. GVSU
- Penn State, Math 140: Derivatives of Trigonometric Functions. Penn State
- OpenStax, Calculus Volume 1: The Chain Rule. OpenStax