Study Guide

Derivatives of tan, cot, sec, csc

AP Calculus BCΒ· AP Calculus BC CED β€” Differentiation: Definition and Fundamental PropertiesΒ· 14 min read

1. Deriving the Four Trigonometric Derivative Formulasβ˜…β˜…β˜†β˜†β˜†β± 4 min

All four derivatives can be derived directly by rewriting the target trigonometric function in terms of sine and cosine, then applying the quotient rule. This is a useful skill to confirm formulas on exam day if you forget the sign or form.

Recall the quotient rule for :

fβ€²(x)=gβ€²(x)h(x)βˆ’g(x)hβ€²(x)[h(x)]2f'(x) = \frac{g'(x)h(x) - g(x)h'(x)}{[h(x)]^2}

We start with . Using () and (), substitute into the quotient rule:

ddxtan⁑x=(cos⁑x)(cos⁑x)βˆ’(sin⁑x)(βˆ’sin⁑x)cos⁑2x=cos⁑2x+sin⁑2xcos⁑2x\frac{d}{dx}\tan x = \frac{(\cos x)(\cos x) - (\sin x)(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x}

Using the Pythagorean identity , this simplifies to . Repeating this process for the other three functions gives the full set of standard formulas:

πŸ“ Worked Example

Derive using the quotient rule, confirming the standard derivative formula.

  1. 1

    Rewrite in terms of sine: , so with and .

  2. 2

    Identify derivatives of the numerator and denominator: , .

  3. 3

    Apply the quotient rule:

    fβ€²(x)=(0)(sin⁑x)βˆ’(1)(cos⁑x)sin⁑2x=βˆ’cos⁑xsin⁑2xf'(x) = \frac{(0)(\sin x) - (1)(\cos x)}{\sin^2 x} = \frac{-\cos x}{\sin^2 x}
  4. 4

    Rewrite in terms of cosecant and cotangent:

    βˆ’cos⁑xsin⁑2x=βˆ’1sin⁑xβ‹…cos⁑xsin⁑x=βˆ’csc⁑xcot⁑x,whichmatchesthestandardformula.\frac{-\cos x}{\sin^2 x} = -\frac{1}{\sin x} \cdot \frac{\cos x}{\sin x} = -\csc x \cot x, which matches the standard formula.

Exam tip:

If you blank on the sign or form of a derivative on exam day, quickly rederive it in the margin using the quotient ruleβ€”this takes 30 seconds and eliminates guesswork.

2. Routine Differentiation of Combined Functionsβ˜…β˜…β˜†β˜†β˜†β± 3 min

Once you memorize the four derivative formulas, you can combine them with other basic differentiation rules (sum, difference, constant multiple, product, quotient) to differentiate functions that include these trigonometric terms. This is the most common direct application tested on the AP Calculus BC multiple-choice section.

Domain rules from trigonometry still apply: a function is only differentiable at points where it is defined, so derivatives of these functions will be undefined at the same points where the original function has vertical asymptotes. For example, is undefined at for all integers , so its derivative is also undefined at these points.

πŸ“ Worked Example

Find the derivative of , and evaluate .

  1. 1

    Differentiate term-by-term using the sum/difference and constant multiple rules:

  2. 2

    Combine terms to get the general derivative:

    fβ€²(x)=4sec⁑xtan⁑x+2csc⁑2x+2xf'(x) = 4\sec x \tan x + 2\csc^2 x + 2x
  3. 3

    Substitute and use unit circle values (, , ):

    fβ€²(Ο€4)=4(2)(1)+2(2)2+2(Ο€4)=42+4+Ο€2f'\left(\frac{\pi}{4}\right) = 4(\sqrt{2})(1) + 2(\sqrt{2})^2 + 2\left(\frac{\pi}{4}\right) = 4\sqrt{2} + 4 + \frac{\pi}{2}

Exam tip:

When evaluating derivatives at common angles, double-check your unit circle valuesβ€”AP exam distractors often use incorrect trigonometric values for angles like or .

3. Differentiating Composite Functions with the Chain Ruleβ˜…β˜…β˜…β˜†β˜†β± 4 min

Most AP exam questions involving these derivatives use composite functions, where the trigonometric term is a function of a non-trivial inner function (e.g. , ). For these problems, you must always apply the chain rule.

The process is: (1) identify the outer trigonometric function and inner function, (2) compute the derivative of the outer function (using the standard trigonometric derivative formula) evaluated at the inner function, (3) multiply by the derivative of the inner function, (4) substitute the inner function back into the final result. This skill is foundational for advanced topics like implicit differentiation, related rates, and integration by substitution.

πŸ“ Worked Example

Find the derivative of .

  1. 1

    Identify outer and inner functions: let (inner), so (outer).

  2. 2

    Compute derivatives of outer and inner: (from the standard derivative formula), .

  3. 3

    Apply the chain rule :

    dydx=βˆ’csc⁑ucot⁑uβ‹…(6x+5)\frac{dy}{dx} = -\csc u \cot u \cdot (6x + 5)
  4. 4

    Substitute back to get the final result:

    dydx=βˆ’(6x+5)csc⁑(3x2+5x)cot⁑(3x2+5x)\frac{dy}{dx} = -(6x + 5)\csc(3x^2 + 5x)\cot(3x^2 + 5x)

Exam tip:

Even for simple composite functions like , explicitly write down the inner derivative before finishing your workβ€”this eliminates the common mistake of forgetting the chain rule factor.

4. AP-Style Worked Practice Problemsβ˜…β˜…β˜…β˜†β˜†β± 3 min

πŸ“ Worked Example

What is the derivative of ?

A. B. C. D.

  1. 1

    Use the product rule for differentiation: . Let so , and so .

  2. 2

    Substitute into the product rule:

    fβ€²(x)=(1)cot⁑x+(x)(βˆ’csc⁑2x)=βˆ’xcsc⁑2x+cot⁑xf'(x) = (1)\cot x + (x)(-\csc^2 x) = -x \csc^2 x + \cot x
  3. 3

    Options A, C, and D have incorrect signs or miss the product rule term, so the correct answer is B.

πŸ“ Worked Example

Let for . (a) Find (b) Find the slope of the tangent line at (c) Write the equation of the tangent line at

  1. 1

    (a) Differentiate term-by-term, applying the chain rule to the first term. For , outer derivative is and inner derivative of is . For , derivative is .

    fβ€²(x)=12sec⁑2(x2)+sec⁑xtan⁑xf'(x) = \frac{1}{2}\sec^2\left(\frac{x}{2}\right) + \sec x \tan x
  2. 2

    (b) The slope of the tangent line at is . Substitute , using , :

    fβ€²(0)=12sec⁑2(0)+sec⁑(0)tan⁑(0)=12(1)2+(1)(0)=12f'(0) = \frac{1}{2}\sec^2(0) + \sec(0)\tan(0) = \frac{1}{2}(1)^2 + (1)(0) = \frac{1}{2}
  3. 3

    (c) First find the point : . Use point-slope form :

    yβˆ’1=12xβ€…β€ŠβŸΉβ€…β€Šy=12x+1y - 1 = \frac{1}{2}x \implies y = \frac{1}{2}x + 1

5. Common Pitfalls

Wrong move:

Writing instead of

Why:

Students confuse the derivative patterns of tangent and cotangent, mixing up which reciprocal function matches which derivative.

Correct move:

If you can't remember the form, rederive the derivative of in 30 seconds using the quotient rule to confirm.

Wrong move:

Writing and , swapping the product terms

Why:

The product structures for secant and cosecant derivatives are similar, so students mix up the paired trigonometric factors.

Correct move:

Use the mnemonic: sec pairs with tan, csc pairs with cot, all co-functions get a negative sign.

Wrong move:

Forgetting the inner derivative factor for , missing the factor of 5

Why:

Students memorize the outer derivative and stop, forgetting the chain rule requirement for any composite function.

Correct move:

For any trigonometric function of anything other than just , always ask 'what is the derivative of the inside?' and multiply by that result before finishing.

Wrong move:

Missing the negative sign on , writing it as

Why:

Students forget the negative sign that arises naturally from the quotient rule derivation for co-functions.

Correct move:

Always add a negative sign when differentiating any trigonometric function that starts with 'co-' (cotangent, cosecant).

Wrong move:

Calculating for , claiming the derivative exists at this point

Why:

Students confuse the derivative formula with domain of differentiabilityβ€”if the original function is undefined at a point, it cannot be differentiable there.

Correct move:

Always confirm the original function is defined at a point before evaluating the derivative at that point.

6. Quick Reference Cheatsheet

Function

Derivative Formula

Key Notes

Undefined at

Negative for co-function; undefined at

No negative sign; undefined at

Negative for co-function; undefined at

Composite

Always multiply by inner derivative when

Product

Use when are multiplied by another function

Quotient rule

Use to re-derive formulas on exam day if you forget

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2023 Β· BC MCQ

    Standalone differentiation question

  • 2022 Β· BC FRQ

    Tangent line slope calculation

What's Next

Mastering the derivatives of is an essential prerequisite for all upcoming differentiation topics, starting with implicit differentiation and derivatives of inverse trigonometric functions. Many implicit differentiation problems include combinations of all six trigonometric functions, so you need to differentiate these four terms quickly and correctly to avoid early errors that cascade through the rest of your work. This topic also feeds into chain rule applications, related rates, optimization, integration of trigonometric functions, and differential equations later in the course. Without these four derivative formulas memorized and readily accessible, you will struggle to make progress on nearly all multi-step FRQ problems that involve trigonometric functions.