Derivative of sin 2x
The derivative of sin 2x is 2 cos 2x. The chain rule brings out a factor of 2, because the inside function 2x changes 2 times as fast as x.
How to find the derivative of sin 2x
Method: chain rule.
- 1Let u = 2x, so the function is sin u.
- 2The derivative of the outside function sin u with respect to u is cos u.
- 3The derivative of the inside function is du/dx = 2.
- 4Multiply them: d/dx sin 2x = cos(2x) · 2 = 2 cos 2x.
What it means on the graph
sin 2x oscillates 2 times as fast as sin x, so its steepest slope is 2 instead of 1. That is why the derivative has amplitude 2.
In the window shown, the derivative is zero at x = −3π/4, x = −π/4, x = π/4, x = 3π/4. Those are the points where the graph of sin 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 | sin 2x | 2 cos 2x | Slope, measured |
|---|---|---|---|
| −2.51 | 0.95306 | 0.605565 | 0.605565 |
| −1.57 | −0.00159265 | −2 | −2 |
| −0.628 | −0.950859 | 0.619246 | 0.619246 |
| 0 | 0 | 2 | 2 |
| 0.942 | 0.951351 | −0.616216 | −0.616216 |
| 1.88 | −0.579738 | −1.62961 | −1.62961 |
| 2.51 | −0.95306 | 0.605565 | 0.605565 |
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 |
|---|---|
sin(2x+1) | 2cos(2x+1) |
xsin(2x) | sin(2x)+2xcos(2x) |
Common mistakes
- Writing cos 2x and forgetting the factor of 2 from the chain rule.
- Writing 2 cos x, which changes the inside of the function. The 2x stays inside.
Frequently asked questions
What is the derivative of sin 2x?
What is the second derivative of sin 2x?
What is the second derivative of sin 2x?
Keep going
Type your own function into the derivative calculator and see every rule applied, step by step.