Calculus AB · Differentiation: Definition and Fundamental Properties · 14 min read · Updated 2026-05-10
Derivatives of tan, cot, sec, csc — AP Calculus AB
AP Calculus AB · Differentiation: Definition and Fundamental Properties · 14 min read
1. Deriving Formulas With the Quotient Rule★★☆☆☆⏱ 4 min
All four trigonometric functions studied here are defined as ratios of sine and cosine, so their derivatives can be derived using the quotient rule and the known derivatives of $
$ and $oxed{ ext{cos}}
$. Recall the quotient rule for $f(x) = \frac{g(x)}{h(x)}$:
f'(x) = \frac{g'(x)h(x) - g(x)h'(x)}{[h(x)]^2}
To derive the derivative of $
$, start with the identity $
= \frac{\sin x}{\cos x}$. Substituting into the quotient rule gives:
Using the Pythagorean identity $
^2 x + \sin^2 x = 1$, this simplifies to $\frac{1}{\cos^2 x} = \sec^2 x$, so $\frac{d}{dx}[\tan x] = \sec^2 x$. Repeating this process for the other three functions gives the full set of standard formulas:
$\frac{d}{dx}[\cot x] = -\csc^2 x$ (negative sign for co-functions)
$\frac{d}{dx}[\sec x] = \sec x \tan x$
$\frac{d}{dx}[\csc x] = -\csc x \cot x$ (negative sign for the co-function)
Exam tip: If you blank out on a formula during the exam, you can re-derive any of these four derivatives in under one minute using the quotient rule, which is always acceptable for full credit.
2. Evaluating Derivatives at a Point★★☆☆☆⏱ 3 min
The most common routine AP exam question asks you to differentiate a linear combination of these trigonometric functions, then evaluate the derivative at a specific input to find the slope of a tangent line or instantaneous rate of change. This requires correct application of the constant multiple rule and sum/difference rule, plus simplification using known trigonometric values for common angles.
Exam tip: Explicitly write down the trigonometric value for each function before substituting, to avoid mixing up values for reciprocal trig functions.
3. Differentiating Composite Functions (Chain Rule)★★★☆☆⏱ 4 min
Most non-routine problems on the AP exam involve composite functions, where one of the four trigonometric functions is the outer function of a more complex expression. Recall the chain rule: for $f(x) = u(v(x))$, $f'(x) = u'(v(x)) \cdot v'(x)$. For a trigonometric outer function, you compute the derivative of the trig function, evaluate it at the inner function, then multiply by the derivative of the inner function.
Exam tip: Even if the question does not require you to simplify your final answer on an FRQ, always write the chain rule factor explicitly to earn full credit; omitting it will cost you a point even if the rest of the derivative is correct.
4. AP-Style Practice Problems★★★☆☆⏱ 3 min
Common Pitfalls
Why: Students forget that all co-trig derivatives have a negative sign from the quotient rule derivation, and mix up the sign pattern.
Why: Students memorize the derivative of $\tan x$ and forget to multiply by the derivative of the inner linear term.
Why: Similar notation leads to mixing up which formula pairs with which function.
Why: Students focus on the trigonometric derivative and ignore that it is multiplied by another function.
Why: Students mix up the reciprocal relationship between cosine and secant, flipping the fraction incorrectly.