AP Calculus AB and BC
Derivative of sec x: Answer, Proof, and Mistakes
The derivative of sec x is sec x tan x. Write sec x as (cos x)^-1 and apply the chain rule: the outer power gives -(cos x)^-2 and the inner derivative of cos x is -sin x, so the two negatives cancel and leave sin x over cos^2 x, which regroups as sec x tan x.
Proving it with the chain rule
Start from the definition of secant. Since , the derivative is just a power of a function, so the chain rule (Topic 3.1) applies directly. The quotient rule (Topic 2.9) on lands on the same result if you prefer that route.
The outer power rule contributes one negative sign and the derivative of the inner contributes another, so the two cancel. Now regroup the single fraction into a product:
That cancellation is exactly why the derivative of carries no leading minus sign, while its co-function does.
The co-function sign pattern
Notice there is no minus sign in . Set it beside its co-function: differentiates to . Across all six trig derivatives, the three co-functions (cosine, cotangent, cosecant) are exactly the ones whose derivatives carry a leading negative sign.
| Function | Derivative | Leading sign |
|---|---|---|
So the sec and csc rules are mirror images. Keep in memory, then swap each factor for its co-function and attach a minus sign to recover . The full six-row table lives in the trig derivatives guide.
Where sec x shows up on the AP exam
The secant derivative is introduced in Unit 2 (Differentiation: Definition and Fundamental Properties), specifically Topic 2.10, Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions. Unit 2 carries 10-15% of the AB exam and 5-10% of BC.
On the exam rarely stands alone. It usually appears inside a composite such as or , which pairs Topic 2.10 with the chain rule (Topic 3.1, Unit 3). It also turns up in tangent-line approximation (Unit 4, Topic 4.6) and related-rates work (Unit 4), where and show up together.
Common mistakes to avoid
- Answering . That is the derivative of , not of . Keep the pair straight: and .
- Attaching a negative sign. The derivative of has no leading minus sign; the minus belongs to its co-function, .
- Dropping the inner derivative on composites. , not . The chain rule factor is required.
- Writing only one factor. The answer is the product ; leaving off either or loses half of it.
- Treating as or as an inverse function. Recall , so its derivative comes from differentiating , not from a reciprocal or an arcsecant rule.
Two worked chain-rule composites
Every composite runs off one template: , where is the derivative of whatever sits inside.
Linear inside. Let , so .
Power inside. Let , so .
Check yourself, not just the answer
Type derivatives and get graded on mathematical equivalence, with rule-level hints when you miss, in the Derivative Practice Checker.
Frequently asked questions
Is the derivative of sec x equal to sec^2 x?
No. is the derivative of . The derivative of is , the product of secant and tangent. The two are easy to swap, so lock in the pair and .
Why does the derivative of sec x have no minus sign, but csc x does?
In the proof, the power rule and the derivative of each contribute a minus sign, and the two cancel, so no minus sign survives. For the inner derivative is , so nothing cancels and a leading minus sign remains: . This is the co-function sign pattern.
How do you differentiate sec(2x) or other composites?
Use the chain rule. Differentiate the outside as , then multiply by the derivative of the inside. For the inside derivative is , giving .
Where is the derivative of sec x undefined?
At (the odd multiples of ), because there. At those points itself is undefined, so neither the function nor its derivative exists.