Derivative of cos(2x)
The derivative of cos(2x) is −2 sin(2x), by the trigonometric derivatives with the chain rule. The second derivative is −4 cos(2x).
📐 The trigonometric derivatives with the chain rule
d/dx sin x = cos x and d/dx cos x = −sin x; with an inside kx, multiply by k.
d/dx cos(2x) = −2 sin(2x), and d²/dx² cos(2x) = −4 cos(2x).
✍️ Differentiating cos(2x)
- Chain rule with u = 2x: d/dx cos u = −sin u · du/dx.
- du/dx = 2.
- So d/dx cos(2x) = −sin(2x) × 2 = −2 sin(2x).
🔍 Where the rule comes from
cos(2x) runs through its cycle 2 times as fast as cos x, so its slopes are 2 times as steep: that factor 2 is what the chain rule supplies. Forgetting it is the most common error on this page.
📍 The slope of cos(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 | cos(2x) | −2 sin(2x) | Tangent line |
|---|---|---|---|
| x = −2 | −0.6536 | −1.5136 | y = −1.5136x − 3.6809 |
| x = −1 | −0.4161 | 1.8186 | y = 1.8186x + 1.4024 |
| x = −0.5 | 0.5403 | 1.6829 | y = 1.6829x + 1.3818 |
| x = 0 | 1 | 0 | y = 1 |
| x = 0.5 | 0.5403 | −1.6829 | y = −1.6829x + 1.3818 |
| x = 1 | −0.4161 | −1.8186 | y = −1.8186x + 1.4024 |
| x = 2 | −0.6536 | 1.5136 | y = 1.5136x − 3.6809 |
| x = 3 | 0.9602 | 0.5588 | y = 0.5588x − 0.7163 |
👪 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
- Losing the minus sign: d/dx cos x = −sin x.
- Forgetting the chain-rule factor 2.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate cos(3x).
Answer: −3 sin(3x)
2. Differentiate 3 cos(2x).
Answer: −6 sin(2x)
3. Find the second derivative of cos(2x).
Answer: −4 cos(2x)
4. Differentiate sin(2x).
Answer: 2 cos(2x)
5. What is the slope of y = cos(2x) at x = 0?
Answer: 0
📚 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.
