Derivatives of tan, cot, sec, csc
AP Calculus ABΒ· AP Calculus AB CED β 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 $ oxed{ ext{cos}} f(x) = \frac{g(x)}{h(x)}$:
To derive the derivative of $ = \frac{\sin x}{\cos x}$. Substituting into the quotient rule gives:
Using the Pythagorean identity $ ^2 x + \sin^2 x = 1\frac{1}{\cos^2 x} = \sec^2 x\frac{d}{dx}[\tan x] = \sec^2 x$. Repeating this process for the other three functions gives the full set of standard formulas:
(negative sign for co-functions)
(negative sign for the co-function)
Derive the derivative of using the quotient rule and trigonometric identities, showing all steps.
- 1
Rewrite in terms of sine and cosine: By definition, , so (numerator) and (denominator).
- 2
Compute derivatives of the numerator and denominator:
- 3
- 4
Apply the quotient rule:
- 5
- 6
Simplify using the Pythagorean identity, factoring out the negative sign in the numerator:
- 7
- 8
Final result: .
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.
Find the slope of the tangent line to at .
- 1
Differentiate term-by-term using the derivative formulas:
- 2
- 3
Recall trigonometric values at : , , so .
- 4
Substitute into the derivative:
- 5
- 6
The slope of the tangent line equals the derivative at , so the final slope is (or approximately -3.76).
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 , . 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.
Find the derivative of .
- 1
Identify outer and inner functions for the chain rule: Let (outer) and (inner).
- 2
Differentiate the outer function using the cosecant derivative formula: .
- 3
Differentiate the inner function using the power rule: .
- 4
Apply the chain rule, substituting back for :
- 5
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
Test your understanding with this multiple-choice question:
If , what is the value of at ?
Reveal answer
2 βCorrect. Differentiating term-by-term with the chain rule gives , which evaluates to 2 at .
Let for . (a) Find . (b) Find the equation of the tangent line at . (c) Approximate using the tangent line.
- 1
Part (a): Use the product rule for :
- 2
- 3
Part (b): Calculate and
- 4
- 5
Write the tangent line in point-slope form, then simplify:
- 6
- 7
- 8
Part (c): Substitute to get the approximation:
- 9
The position of an oscillating block is , where is in cm and in seconds. Find the instantaneous velocity at and interpret the result.
- 1
Instantaneous velocity is the derivative of position. Apply the chain rule:
- 2
- 3
Evaluate at , where
- 4
- 5
Interpretation: At seconds, the block is moving up the track at ~1.11 cm per second.
5. Common Pitfalls
Wrong move:
Writing or , dropping the negative sign on co-function derivatives.
Why:
Students forget that all co-trig derivatives have a negative sign from the quotient rule derivation, and mix up the sign pattern.
Correct move:
Memorize the pattern: all "co-" functions have negative derivatives; if you are unsure, quickly re-derive the formula to confirm the sign.
Wrong move:
When differentiating , writing , omitting the chain rule factor of 4.
Why:
Students memorize the derivative of and forget to multiply by the derivative of the inner linear term.
Correct move:
For any composite function , always write the derivative as , explicitly adding the term before moving on.
Wrong move:
Confusing derivative formulas, writing and .
Why:
Similar notation leads to mixing up which formula pairs with which function.
Correct move:
If you mix up formulas, spend 30 seconds re-deriving the formula from the quotient rule instead of guessing.
Wrong move:
When differentiating , writing , forgetting to apply the product rule.
Why:
Students focus on the trigonometric derivative and ignore that it is multiplied by another function.
Correct move:
Always check for products, quotients, or composition before differentiating; use the product rule for any product of two functions, regardless of type.
Wrong move:
When simplifying the derivative of , writing instead of .
Why:
Students mix up the reciprocal relationship between cosine and secant, flipping the fraction incorrectly.
Correct move:
Remember that , so the reciprocal of is .
6. Quick Reference Cheatsheet
Category | Formula | Notes |
|---|---|---|
Derivative of tangent | Valid for all (integer ) | |
Derivative of cotangent | Valid for all (integer ); negative for co-function | |
Derivative of secant | Valid for all (integer ) | |
Derivative of cosecant | Valid for all (integer ); negative for co-function | |
Composite tangent | Always multiply by chain rule factor | |
Composite cotangent | Do not forget negative sign or chain rule | |
Composite secant | Avoid mixing up with cosecant formula | |
Composite cosecant | Negative sign for all co-function derivatives |
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 Β· MCQ
Evaluate derivative at a point
- 2022 Β· FRQ
Tangent line problem
What's Next
This topic is a critical building block for all subsequent work with trigonometric functions in AP Calculus AB. Mastery of these four derivative formulas is required for nearly every problem involving trigonometric functions in later units, including implicit differentiation, related rates, optimization, integration, and differential equations. Immediately next, you will apply these formulas when working with the full chain rule for all composite functions, regularly differentiating complex mixed trigonometric-algebraic functions. This topic also lays the foundation for integrating trigonometric functions later in the course, as integral formulas are just the reverse of the derivative formulas you learned here. Tangent line and instantaneous rate of change problems, heavily tested on the AP exam, rely entirely on this skill.
