IB Maths AA HL Topic 5 — Calculus Paper 1 & 2 HL ~10 min read

Differentiating Reciprocal Trigonometric Functions

sec, cosec, and cot are just the reciprocals of cos, sin, and tan — so their derivatives drop out of the quotient rule applied to 1/(cosx), 1/(sinx), and cosx/sinx. All three results are in the formula booklet, but the patterns (especially the negative signs) are easy to muddle up under exam pressure. Always cross-check with the booklet before submitting.

📘 What you need to know

The three derivatives — and the pattern

Formula booklet — reciprocal trig derivatives ddx[sec x] = sec x tan x   |   ddx[cosec x] = − cosec x cot x   |   ddx[cot x] = − cosec² x
The three reciprocal trig derivatives — note the minus signs sec x y = sec x dy/dx = sec x tan x positive — no minus sign cosec x y = cosec x dy/dx = cosec x cot x NEGATIVE — minus sign cot x y = cot x dy/dx = cosec² x NEGATIVE and SQUARED
The “co-” functions (cosec and cot) both pick up a minus sign — mirroring how cos and cot have negative derivatives in their families. Sec is the only positive one.
Why the proofs work: each derivative drops out of the quotient rule on the definition. For sec x = 1/cos x, the quotient rule gives sin x/cos² x, which splits as (1/cos x)(sin x/cos x) = sec x tan x. Same idea for cosec and cot.

🧭 Recipe — differentiate any reciprocal trig expression

  1. Identify the base reciprocal trig function (sec, cosec, or cot) and the argument (just x, a linear ax+b, or something nonlinear like x²).
  2. Quote the formula-booklet result for the base function: sec → sec·tan; cosec → −cosec·cot; cot → −cosec². Check the negative signs.
  3. Apply chain rule if the argument is anything other than x: multiply by the derivative of the inner expression. For linear ax+b, the inner derivative is just a.
  4. Use product or quotient rule on top of that if the expression involves x·sec x, cotx/x, secx·tanx, etc. — the formula-booklet derivatives plug into whichever rule applies.
  5. For a specific point, substitute the x-value AFTER differentiating. Use exact values from the unit circle: sin(π/4) = √2/2, sin(π/6) = 1/2, cos(π/3) = 1/2, tan(π/4) = 1, etc.

Linear-argument shortcuts (not in the booklet)

For expressions like sec(ax+b), cosec(ax+b), cot(ax+b), the chain rule just multiplies the formula-booklet derivative by a:

sec — linear argument
ddx[sec(ax+b)] = a sec(ax+b) tan(ax+b)
SAME argument inside both trig factors
cosec — linear argument
ddx[cosec(ax+b)] = −a cosec(ax+b) cot(ax+b)
SAME argument inside both trig factors

Worked examples

WE 1

Prove d/dx[cosec x] = −cosec x cot x from first definitions

Show that the derivative of y = cosec x is −cosec x · cot x.

Step 1 — rewrite using the definition y = cosec x = 1/sin x Step 2 — apply the quotient rule. numerator = 1, denominator = sin x d/dx[u/v] = (v · u’ − u · v’)/v² u = 1, u’ = 0; v = sin x, v’ = cos x dy/dx = (sin x · 0 − 1 · cos x)/sin²x = −cos x/sin²x Step 3 — split into the reciprocal trig form −cos x/sin²x = −(1/sin x) · (cos x/sin x) = −cosec x · cot x ∴ d/dx[cosec x] = −cosec x cot x ✓ the “trick” in the last step is splitting cos x/sin²x as TWO factors: one is 1/sin x (which is cosec x), the other is cos x/sin x (which is cot x). Look for this kind of splitting in any reciprocal trig proof.
WE 2

Chain rule — sec with a linear argument

Find dydx for y = 4 sec(2x − π/6).

Step 1 — base derivative from formula booklet d/dx[sec u] = sec u · tan u (where u = 2x − π/6) Step 2 — chain rule: multiply by du/dx u = 2x − π/6 ⟹ du/dx = 2 Step 3 — combine, including the constant 4 dy/dx = 4 · sec(2x − π/6) · tan(2x − π/6) · 2 = 8 sec(2x − π/6) tan(2x − π/6) dy/dx = 8 sec(2x − π/6) tan(2x − π/6) notice both sec and tan share the SAME argument 2x − π/6. A common error is to write 8 sec(2x − π/6) tan(x) — the chain rule keeps the inner expression intact in both factors.
WE 3

Product rule with a reciprocal trig factor

Find dydx for y = x sec x.

Step 1 — identify the two factors for product rule u = x, u’ = 1 v = sec x, v’ = sec x · tan x Step 2 — apply product rule: (uv)’ = u’v + uv’ dy/dx = (1)(sec x) + (x)(sec x tan x) = sec x + x sec x tan x Step 3 — factor sec x for cleaner form = sec x (1 + x tan x) dy/dx = sec x (1 + x tan x) factor sec x out at the end if asked for a “simplified” form. Otherwise both expressions (factored and expanded) are correct.
WE 4

Chain rule with a NONLINEAR argument

Find dydx for y = cot(3x² + 1).

Step 1 — base derivative from formula booklet d/dx[cot u] = −cosec² u (where u = 3x² + 1) Step 2 — chain rule: multiply by du/dx u = 3x² + 1 ⟹ du/dx = 6x Step 3 — combine dy/dx = −cosec²(3x² + 1) · 6x = −6x cosec²(3x² + 1) dy/dx = −6x cosec²(3x² + 1) the inner derivative du/dx = 6x is no longer a constant — that’s the only thing nonlinear arguments change. Everything else (formula booklet result, the negative sign for cot) is identical to the linear case.
WE 5

Gradient at a specific value — exact form

Find the exact value of dydx for y = cosec x at the point where x = π/4.

Step 1 — derivative from formula booklet dy/dx = −cosec x · cot x Step 2 — exact values at x = π/4 sin(π/4) = √2/2 ⟹ cosec(π/4) = 1/(√2/2) = 2/√2 = √2 tan(π/4) = 1 ⟹ cot(π/4) = 1 Step 3 — substitute dy/dx |x = π/4 = −(√2)(1) = −√2 dy/dx = −√2 at x = π/4 the gradient is negative — consistent with cosec x decreasing from its asymptote at x = 0 toward its minimum at x = π/2. Keeping the answer as −√2 is “exact form”; the decimal −1.414… would lose marks on a Paper-1 question asking for exact value.
WE 6

Equation of tangent at a specific point

Find the equation of the tangent to the curve y = cot x at the point where x = π/4.

Step 1 — find the y-coordinate y at x = π/4: cot(π/4) = 1 ⟹ point is (π/4, 1) Step 2 — derivative dy/dx = −cosec² x Step 3 — gradient at the point cosec(π/4) = √2 ⟹ cosec²(π/4) = 2 dy/dx |x = π/4 = −2 Step 4 — tangent equation y − y₀ = m(x − x₀) y − 1 = −2(x − π/4) y − 1 = −2x + π/2 y = −2x + π/2 + 1 tangent: y = −2x + π/2 + 1  (or 2x + y = π/2 + 1) keep π/2 as an exact constant — don’t approximate to 1.571. The intercept has both a numerical and a π part, which is normal for trig-based tangent equations.

💡 Top tips

⚠ Common mistakes

Up next: Differentiating Inverse Trigonometric Functions. arcsin, arccos, arctan are the inverses of sine, cosine, tangent — and their derivatives are surprisingly algebraic, not trigonometric. d/dx[arcsin x] = 1/√(1−x²), d/dx[arccos x] = −1/√(1−x²), d/dx[arctan x] = 1/(1+x²). All proved using the inverse-function technique you saw two notes ago.

Need help with Calculus?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →