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