| Study Guides
AP · Derivatives of tan, cot, sec, csc · 14 min read · Updated 2026-05-10

Derivatives of tan, cot, sec, csc — AP Calculus AB Study Guide

For: AP Calculus AB candidates sitting AP Calculus AB.

Covers: This chapter covers deriving and applying the derivative formulas for tangent, cotangent, secant, and cosecant, combining these formulas with the quotient rule and chain rule, and evaluating derivatives at a point for tangent line problems.

You should already know: The quotient rule for differentiating ratios of functions. The derivative formulas for sine and cosine. Basic Pythagorean trigonometric identities.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus AB style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Derivatives of tan, cot, sec, csc?

Up to this point in the course, you have only differentiated algebraic functions and the core sine and cosine trigonometric functions. The four functions tangent, cotangent, secant, and cosecant are all defined in terms of sine and cosine, so their derivatives can be derived using existing rules, resulting in standard, reusable derivative formulas that you will use repeatedly across the entire course. This topic is explicitly required by the AP Calculus AB Course and Exam Description (CED), and counts toward the 10–12% exam weight allocated to Unit 2: Differentiation: Definition and Fundamental Properties.

Questions on this topic appear in both multiple-choice (MCQ) and free-response (FRQ) sections of the AP exam. You can expect 1–2 direct MCQ questions testing routine application, and this topic will often be embedded as a required step in larger FRQ problems on tangent lines, rates of change, or periodic motion. Mastery of these formulas is non-negotiable: while you can re-derive them if needed, memorization saves critical time on the timed exam.

2. Deriving the Derivative Formulas Using the Quotient Rule

All four trigonometric functions we study here can be rewritten as ratios of sine and cosine, so we can derive their derivatives using the quotient rule and the known derivatives of and . Recall the quotient rule: for , .

To derive the derivative of , start with the identity . Substitute into the quotient rule: , , , . This gives: By the Pythagorean identity , this simplifies to , so .

Repeating this process for the other three functions gives the full set of derivatives:

  • (negative sign from the quotient rule numerator)
  • (another negative sign for the co-function)

Worked Example

Problem: 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: , and .
  3. Apply the quotient rule: .
  4. Simplify using the Pythagorean identity: Factor out the negative sign in the numerator to get .
  5. 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.

3. Evaluating Derivatives at a Point

After learning the formulas, the most common routine AP exam problem asks you to compute the derivative of a linear combination of these functions, then evaluate the derivative at a specific input to find the slope of a tangent line or instantaneous rate of change. This requires you to correctly apply the constant multiple rule and sum/difference rule alongside the new derivative formulas, and simplify using known trigonometric values for common angles.

For example, for , you differentiate term-by-term to get , then substitute the input value and simplify. This type of problem is extremely common in MCQ, as it tests both formula memorization and trigonometric computation skills.

Worked Example

Problem: Find the slope of the tangent line to at .

  1. Differentiate term-by-term using the derivative formulas: We know and . Applying constant multiple and difference rules:
  2. Recall trigonometric values at : , , so .
  3. Substitute into the derivative:
  4. The slope of the tangent line equals the derivative at , so the 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 sine/cosine or reciprocal trig functions.

4. Differentiating Composite Trigonometric Functions (Chain Rule)

Most non-routine problems on the AP exam involve composite functions, where , , , or is the outer function of a more complex expression. For example, or require the chain rule to differentiate correctly.

Recall the chain rule: for , . For a trigonometric outer function, this means you compute the derivative of the trigonometric function (using the formulas you learned), evaluate it at the inner function, then multiply by the derivative of the inner function. This is one of the most commonly tested skills for this topic on the exam.

Worked Example

Problem: 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 : This is the fully simplified derivative.

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.

5. Common Pitfalls (and how to avoid them)

  • 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. Practice Questions (AP Calculus AB Style)

Question 1 (Multiple Choice)

If , what is the value of at ? A) B) C) D)

Worked Solution: We differentiate term-by-term, applying the chain rule to each composite function. For the first term , the derivative is . For the second term , the derivative is . Evaluate at : , so the first term equals . For the second term, , so the entire second term equals . Adding the terms gives . The correct answer is C.


Question 2 (Free Response)

Let for . (a) Find , the derivative of . (b) Find the equation of the tangent line to at . (c) Use your tangent line to approximate .

Worked Solution: (a) Use the product rule for where and . By product rule:

(b) First compute . Next compute . Using point-slope form for the tangent line: Simplifying to slope-intercept form gives:

(c) Substitute into the tangent line: The approximation is approximately .


Question 3 (Application / Real-World Style)

The position of a block attached to a tilted oscillating spring is given by , where is position in centimeters, and is time in seconds, for . Find the instantaneous velocity of the block at seconds, and interpret your result.

Worked Solution: Instantaneous velocity is the derivative of position with respect to time. Apply the chain rule to differentiate : Evaluate at : , and , so . Interpretation: At seconds, the block is moving up the track (position increasing) at a rate of approximately 1.11 centimeters per second.

7. Quick Reference Cheatsheet

Category Formula Notes
Derivative of tangent Valid for all (integer ), where is defined.
Derivative of cotangent Valid for all (integer ); negative sign for co-function.
Derivative of secant Valid for all (integer ), where is defined.
Derivative of cosecant Valid for all (integer ); negative sign for co-function.
Composite tangent Always multiply by the chain rule factor .
Composite cotangent Do not forget the negative sign or the chain rule.
Composite secant Avoid mixing up with the cosecant derivative formula.
Composite cosecant Negative sign applies to all co-function derivatives.

8. What's Next

This topic is a critical building block for all subsequent work with trigonometric functions in AP Calculus AB. Immediately next, you will apply these derivative formulas in the context of the full chain rule for all composite functions, where you will regularly differentiate complex mixed trigonometric-algebraic functions. Without mastering these four derivative formulas, you will lose points on nearly every problem involving trigonometric functions in later units, including implicit differentiation, related rates, optimization, integration, and differential equations. 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, which are heavily tested on the AP exam, rely entirely on this skill.

Product and Quotient Rule The Chain Rule Tangent Line Approximation Trigonometric Integrals

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →