AP Calculus AB and BC
Derivative of tan 2x: Answer, Proof, and Mistakes
The derivative of tan 2x is 2 sec^2(2x). In prime notation, if f(x) = tan 2x then f'(x) = 2 sec^2(2x). The chain rule differentiates the outer tangent into sec^2 of the inside, then multiplies by the inner derivative 2, since the derivative of tan u is sec^2(u) times u'.
How to differentiate tan 2x
The inner function is and the outer is tangent. Differentiate the outer with the standard rule , hold the inside unchanged, then multiply by the derivative of the inside.
The general linear-inner version follows the same way and is worth carrying as one fact.
Where the derivative of tan 2x shows up on the AP exam
The chain rule is Topic 3.1 in Unit 3, on both AB and BC, and a trig function with a linear inside is one of its first standard examples. You are expected to recall and combine it with the inner factor of .
Because is positive wherever it is defined, is always increasing between its asymptotes, which shows up in sign-of-the-derivative and increasing/decreasing questions.
Common mistakes with the derivative of tan 2x
- Answering and dropping the inner factor of . The chain rule is what puts it there.
- Writing instead of , differentiating the inside but forgetting to keep it inside the secant.
- Confusing it with the product , which is a different function than .
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
What is the derivative of ?
It is , equivalently . The comes from the chain rule, the derivative of the inside .
Why is there a factor of 2 in the answer?
The chain rule multiplies by the derivative of the inner function , which is . Without that step you would only have .
What is the derivative of ?
It is for any constant , by the same chain rule step with inner derivative .