Derivative of cos 2x
The derivative of cos 2x is −2 sin 2x. The minus sign comes from the derivative of cosine, and the factor of 2 comes from the chain rule.
How to find the derivative of cos 2x
Method: chain rule.
- 1Let u = 2x, so the function is cos u.
- 2The derivative of cos u with respect to u is −sin u.
- 3The derivative of the inside function is du/dx = 2.
- 4Multiply them: d/dx cos 2x = −sin(2x) · 2 = −2 sin 2x.
What it means on the graph
cos 2x completes a cycle 2 times as quickly as cos x, so it can change 2 times as fast. The derivative is largest in size where the graph crosses the axis, and zero at its peaks and troughs.
In the window shown, the derivative is zero at x = −π, x = −π/2, x = 0, x = π/2, x = π. Those are the points where the graph of cos 2x has a horizontal tangent.
Table of values
The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.
| x | cos 2x | −2 sin 2x | Slope, measured |
|---|---|---|---|
| −2.51 | 0.302783 | −1.90612 | −1.90612 |
| −1.57 | −0.999999 | 0.00318531 | 0.00318531 |
| −0.628 | 0.309623 | 1.90172 | 1.90172 |
| 0 | 1 | 0 | 0 |
| 0.942 | −0.308108 | −1.9027 | −1.9027 |
| 1.88 | −0.814803 | 1.15948 | 1.15948 |
| 2.51 | 0.302783 | 1.90612 | 1.90612 |
Second derivative
Differentiating once more gives:
The second derivative tells you which way the graph bends: positive means it curves upward, and negative means it curves downward.
Related derivatives
The same result with the chain or product rule. Each of these is checked numerically too.
| Function | Derivative |
|---|---|
cos(2x−3) | −2sin(2x−3) |
Common mistakes
- Dropping the minus sign. The derivative of cosine is negative sine.
- Forgetting the factor of 2.
Frequently asked questions
What is the derivative of cos 2x?
What is the second derivative of cos 2x?
Keep going
The sine wave shifted left by π/2; starts at its peak.
It is 2 cos 2x.
It is 3 cos 3x.
It is 2 sin x cos x.
It is −2 sin x cos x.
The power, product, quotient and chain rules, with examples.
Type your own function into the derivative calculator and see every rule applied, step by step.