Derivative of tan(2x)
The derivative of tan(2x) is 2 sec^2(2x), by the chain rule. Defined where cos 2x ≠ 0.
📐 The chain rule
d/dx tan u = sec2 u · du/dx.
d/dx tan(2x) = 2 sec2(2x).
✍️ Differentiating tan(2x)
- Chain rule with u = 2x: d/dx tan u = sec2 u · du/dx.
- du/dx = 2.
- So d/dx tan(2x) = 2 sec2(2x).
🔍 Where the rule comes from
tan(2x) has a period of π/2, half that of tan x, so it is twice as steep everywhere: the factor 2 from the chain rule.
📍 The slope of tan(2x) at a point, and the tangent line
f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.
| Point | tan(2x) | 2 sec2(2x) | Tangent line |
|---|---|---|---|
| x = −2 | −1.1578 | 4.6811 | y = 4.6811x + 8.2044 |
| x = −1 | 2.185 | 11.5488 | y = 11.5488x + 13.7338 |
| x = −0.5 | −1.5574 | 6.851 | y = 6.851x + 1.8681 |
| x = 0 | 0 | 2 | y = 2x |
| x = 0.5 | 1.5574 | 6.851 | y = 6.851x − 1.8681 |
| x = 1 | −2.185 | 11.5488 | y = 11.5488x − 13.7338 |
| x = 2 | 1.1578 | 4.6811 | y = 4.6811x − 8.2044 |
| x = 3 | −0.291 | 2.1694 | y = 2.1694x − 6.7991 |
👪 Trigonometric functions: the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
⚠️ The mistakes that lose the marks
- Writing sec2(2x) without the 2.
- Confusing tan(2x) with tan2 x.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate tan(3x).
Answer: 3 sec^2(3x)
2. Differentiate tan(x/2).
Answer: (1/2) sec^2(x/2)
3. Differentiate tan^2 x.
Answer: 2 tan x sec^2 x
4. What is the slope of y = tan(2x) at x = 0?
Answer: 2
5. Differentiate tan(x^2).
Answer: 2x sec^2(x^2)
📚 The class this belongs to
Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
