practicecalculus
Trigonometric derivatives

Derivative of csc x: Formula, Proof and Examples

The derivative of csc x is -csc x cot x. See the proof from 1/sin x, the chain rule for csc(u), a graph and worked examples like csc(3x).

Trigonometric derivatives Updated 2 min read

At a glance

\frac{d}{dx}\,\csc x = -\csc x\cot x
Derivative
-\csc x\cot x for x \ne k\pi
In sin and cos
-\dfrac{\cos x}{\sin^2 x}
Chain rule form
\dfrac{d}{dx}\csc u = -\csc u\cot u \cdot u'
Slope at x = π/2
-\csc\frac{\pi}{2}\cot\frac{\pi}{2} = 0
Integral version
\int \csc x\cot x\,dx = -\csc x + C
On this page
  1. Graph of csc x and its derivative
  2. Proof with the chain rule
  3. A pattern worth knowing
  4. The chain rule version: derivative of csc(u)
  5. More worked examples
  6. How to read the graph
  7. Common mistakes

The derivative of \csc x is -\csc x\cot x. Cosecant is \frac{1}{\sin x}, and like every "co" trig function, its derivative carries a minus sign.

\frac{d}{dx}\,\csc x = -\csc x\cot x

Graph of csc x and its derivative

Graph of y = csc x and its derivative y = -csc x cot x
One branch of \csc x on (0, \pi). It falls to a minimum at x = \frac{\pi}{2}, where the slope is 0, then rises.

Proof with the chain rule

Write \csc x = (\sin x)^{-1}. With the chain rule:

\frac{d}{dx}(\sin x)^{-1} = -(\sin x)^{-2}\cdot\cos x = -\frac{\cos x}{\sin^2 x}

Split the fraction:

-\frac{\cos x}{\sin^2 x} = -\frac{1}{\sin x}\cdot\frac{\cos x}{\sin x} = -\csc x\cot x

This is a special case of the derivative of 1/x pattern, \frac{d}{dx}\frac{1}{u} = -\frac{u'}{u^2}, with u = \sin x.

A pattern worth knowing

The six trig derivatives come in pairs. Swap each function for its "co" partner and flip the sign:

Function Derivative Partner Derivative
\sin x \cos x \cos x -\sin x
\tan x \sec^2 x \cot x -\csc^2 x
\sec x \sec x\tan x \csc x -\csc x\cot x

So if you remember the derivative of sec x, you get the one for \csc x for free.

The chain rule version: derivative of csc(u)

\frac{d}{dx}\,\csc u = -\csc u\cot u\cdot u'

Example 1. \frac{d}{dx}\csc(3x) = -3\csc(3x)\cot(3x).

Example 2. \frac{d}{dx}\csc(x^2) = -2x\csc(x^2)\cot(x^2).

Example 3. \frac{d}{dx}\csc\left(\frac{x}{2}\right) = -\frac{1}{2}\csc\frac{x}{2}\cot\frac{x}{2}.

More worked examples

Example 4: a product. \frac{d}{dx}(x^2\csc x) = 2x\csc x - x^2\csc x\cot x.

Example 5: a power. \frac{d}{dx}\csc^2 x = 2\csc x\cdot(-\csc x\cot x) = -2\csc^2 x\cot x.

Example 6: a value. At x = \frac{\pi}{6}, \csc\frac{\pi}{6} = 2 and \cot\frac{\pi}{6} = \sqrt{3}, so the slope is -2\sqrt{3} \approx -3.46. The curve is falling steeply there, which matches the graph.

How to read the graph

Each branch of cosecant is a U shape sitting above or below the axis. On the upper branch between 0 and \pi, the curve falls on the left half and rises on the right half, with its lowest point at x = \frac{\pi}{2}. The derivative follows the same story: negative on the left, zero at the bottom, positive on the right. Near the asymptotes at 0 and \pi the curve is almost vertical, so the derivative grows without bound in size there. Keeping this picture in mind is a fast way to check the sign of any answer you compute.

Common mistakes

  1. Dropping the minus sign. The "co" rule: \cos, \cot and \csc all have negative derivatives.
  2. Writing -\cot^2 x or -\csc^2 x. -\csc^2 x is the derivative of \cot x. The derivative of \csc x is -\csc x\cot x.
  3. Mixing up the reciprocal. \csc x = \frac{1}{\sin x}, not \frac{1}{\cos x}.

The integral side is on the integral of csc x page. For more practice, try the trig derivative problems.

Practice it now

Sine, cosine and tangent

Solve real problems on this topic with instant feedback, hints and a step-by-step walkthrough for every answer. Free, no sign-up needed to start.

Practice this lesson

Frequently asked questions

What is the derivative of csc x?

The derivative of \csc x is -\csc x\cot x.

How do you prove the derivative of csc x?

Write \csc x = (\sin x)^{-1}. The chain rule gives -(\sin x)^{-2}\cos x = -\frac{1}{\sin x}\cdot\frac{\cos x}{\sin x} = -\csc x\cot x.

What is the derivative of csc(2x)?

By the chain rule, -2\csc(2x)\cot(2x).

Is cosec x the same as csc x?

Yes. Both mean \frac{1}{\sin x}, and the derivative of cosec x is -\operatorname{cosec}x\cot x.

Written by the PracticeCalculus team

We build interactive calculus lessons and write every page to be clear and correct. Spotted something off? Tell us and we will fix it.