Derivatives of tan, cot, sec, csc — AP Calculus BC
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) = \frac{g(x)}{h(x)}$:
f'(x) = \frac{g'(x)h(x) - g(x)h'(x)}{[h(x)]^2}
We start with $\tan x = \frac{\sin x}{\cos x}$. Using $g(x) = \sin x$ ($g'(x) = \cos x$) and $h(x) = \cos x$ ($h'(x) = -\sin x$), substitute into the quotient rule:
\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 $\sin^2 x + \cos^2 x = 1$, this simplifies to $\frac{1}{\cos^2 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$
- $\frac{d}{dx}\sec x = \sec x \tan x$
- $\frac{d}{dx}\csc x = -\csc x \cot x$
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, $\tan x$ is undefined at $x = \frac{\pi}{2} + k\pi$ for all integers $k$, so its derivative $\sec^2 x$ is also undefined at these points.
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 $\frac{\pi}{4}$ or $\frac{\pi}{6}$.
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. $\tan(2x^3)$, $\csc(5x + 1)$). 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.
Exam tip: Even for simple composite functions like $\tan(5x)$, 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
Common Pitfalls
Why: Students confuse the derivative patterns of tangent and cotangent, mixing up which reciprocal function matches which derivative.
Why: The product structures for secant and cosecant derivatives are similar, so students mix up the paired trigonometric factors.
Why: Students memorize the outer derivative and stop, forgetting the chain rule requirement for any composite function.
Why: Students forget the negative sign that arises naturally from the quotient rule derivation for co-functions.
Why: Students confuse the derivative formula with domain of differentiability—if the original function is undefined at a point, it cannot be differentiable there.