Skip to content
ihateDesmos

Derivative of csc x

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The derivative of csc x
ddx(csc(x))=−csc(x)cot(x)

The derivative of csc x is −csc x cot x. It is the “co-” partner of sec x, and like every “co-” function, its derivative starts with a minus sign.

0.51.01.52.02.53.0−55
Open in calculator
y=csc(x)
in blue and its derivative
y=−csc(x)cot(x)
in red. Defined for x ≠ nπ.

How to find the derivative of csc x

Method: chain rule.

  1. 1
    Write csc x as a power: csc x = (sin x)⁻¹.
  2. 2
    Apply the chain rule: −1 · (sin x)⁻² · cos x.
  3. 3
    Simplify: −cos x / sin²x.
  4. 4
    Split it into two fractions: −(1/sin x) · (cos x / sin x).
  5. 5
    That is −csc x cot x.

What it means on the graph

The cosecant has a U-shaped branch between 0 and π with a minimum of 1 at x = π/2. There the slope is 0, and −csc x cot x is 0 because cot(π/2) = 0.

In the window shown, the derivative is zero at x = π/2. Those are the points where the graph of csc x has a horizontal tangent.

Table of values

The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.

Values of csc x and its derivative
xcsc x−csc x cot xSlope, measured
1/22.08583−3.81809−3.81809
π/62−2√3−2√3
π/4√2−√2−√2
π/2100
21.099750.5033090.503309
13/51.939863.224523.22452

Second derivative

Differentiating once more gives:

d2dx2(csc(x))=csc(x)cot(x)2+csc(x)3

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.

Related derivatives
FunctionDerivative
csc(2x)
−2csc(2x)cot(2x)

Common mistakes

  • Dropping the minus sign.
  • Mixing it up with the derivative of cot x, which is −csc²x.

Frequently asked questions

What is the derivative of csc x?
The derivative of csc x is −csc x cot x, for x ≠ nπ.
What is the second derivative of csc x?
Differentiate −csc x cot x again to get the second derivative. The result is shown on this page under “Second derivative”.

Keep going

Differentiate any function

Type your own function into the derivative calculator and see every rule applied, step by step.

Open the derivative calculator