d/dx tan(2x) = 2 sec^2(2x) · the chain rule

Derivative of tan(2x)

0methods worked0practice questions0students taught0teaching online since
the answer

The derivative of tan(2x) is 2 sec^2(2x), by the chain rule. Defined where cos 2x ≠ 0.

the rule

📐 The chain rule

d/dx tan u = sec2 u · du/dx.

d/dx tan(2x) = 2 sec2(2x).

step by step

✍️ Differentiating tan(2x)

  1. Chain rule with u = 2x: d/dx tan u = sec2 u · du/dx.
  2. du/dx = 2.
  3. So d/dx tan(2x) = 2 sec2(2x).
why it is true

🔍 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.

at a point

📍 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.

Pointtan(2x)2 sec2(2x)Tangent line
x = −2−1.15784.6811y = 4.6811x + 8.2044
x = −12.18511.5488y = 11.5488x + 13.7338
x = −0.5−1.55746.851y = 6.851x + 1.8681
x = 002y = 2x
x = 0.51.55746.851y = 6.851x − 1.8681
x = 1−2.18511.5488y = 11.5488x − 13.7338
x = 21.15784.6811y = 4.6811x − 8.2044
x = 3−0.2912.1694y = 2.1694x − 6.7991
the family

👪 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.

FunctionDerivative
sin xcos xthe page
cos x−sin xthe page
tan xsec2 xthe page
sec xsec x tan xthe page
csc x−csc x cot xthe page
cot x−csc2 xthe page
sin(2x)2 cos(2x)the page
cos(2x)−2 sin(2x)the page
sin(3x)3 cos(3x)the page
cos(3x)−3 sin(3x)the page
sin(x2)2x cos(x2)the page
cos(x2)−2x sin(x2)the page
mistakes

⚠️ The mistakes that lose the marks

  • Writing sec2(2x) without the 2.
  • Confusing tan(2x) with tan2 x.
try another number

🧮 Calculator

The answer appears here, with the working in words.

practice

✏️ 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)

where this is taught

📚 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.

Book a free demoLet's go!

The maths library, by topic
Questions

Asked about Derivative of tan(2x)

1What is the derivative of tan(2x)?
2 sec^2(2x), by the chain rule. Defined where cos 2x ≠ 0.
2Which rule differentiates tan(2x)?
The chain rule: d/dx tan u = sec^2 u · du/dx.
3How do you differentiate tan(2x) step by step?
Chain rule with u = 2x: d/dx tan u = sec^2 u · du/dx. du/dx = 2.
4What is the slope of y = tan(2x) at x = 3?
2.1694 (to four decimal places): the derivative evaluated at that point. The tangent line there is y = 2.1694x − 6.7991.