AP® Calculus BC · Unit 2 · Topic 2.10
Finding the Derivatives of tan x, cot x, sec x, and csc x
The derivatives of the four remaining trig functions all come from writing them as quotients of sin x and cos x, then applying the quotient rule: tan x gives sec2 x, cot x gives -csc2 x, sec x gives sec x tan x, and csc x gives -csc x cot x.
You already know the derivatives of sin x and cos x. The other four trig functions are built from those two as fractions, so the quotient rule hands you their derivatives for free. Write tan x as sin x over cos x, apply the quotient rule, and the numerator simplifies using sin2 x + cos2 x = 1 until only sec2 x is left. The same process on cos x over sin x gives cot x a derivative of -csc2 x. Near x = π/2, cos x approaches 0, so tan x shoots up to infinity and its slope, sec2 x, blows up too since sec x = 1/cos x is also exploding there.
Sec x and csc x are reciprocals of cos x and sin x, so their derivatives come out as sec x tan x and -csc x cot x. Notice the pattern: every 'co' function (cosine, cotangent, cosecant) picks up a negative sign in its derivative, while tan, sec, and sin do not. Memorize these four alongside sin x and cos x, because from here on they show up constantly inside the product, quotient, and chain rules.
This topic is where differentiation rules stop being separate tricks and start working together. Expect to combine these derivatives with the product rule, as in sec x tan x, or with the chain rule, as when csc2 x requires an extra factor of -csc x cot x from differentiating the inside function. Getting these six derivatives automatic now makes implicit differentiation and related rates, both coming up soon, far less error prone.
Key terms
- Quotient rule
- The rule for differentiating a fraction of two functions, used to derive tan x and cot x from sin x and cos x.
- sec x
- Shorthand for 1/cos x, the reciprocal of cosine.
- csc x
- Shorthand for 1/sin x, the reciprocal of sine.
- Chain rule
- The rule for differentiating a function inside another function, needed whenever a trig function is raised to a power.
Watch it explained
Check yourself
End of topic.