Derivative of sin(3x)
The derivative of sin(3x) is 3 cos(3x), by the trigonometric derivatives with the chain rule. The second derivative is −9 sin(3x).
📐 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 sin(3x) = 3 cos(3x), and d²/dx² sin(3x) = −9 sin(3x).
✍️ Differentiating sin(3x)
- Chain rule with u = 3x: d/dx sin u = cos u · du/dx.
- du/dx = 3.
- So d/dx sin(3x) = cos(3x) × 3 = 3 cos(3x).
🔍 Where the rule comes from
sin(3x) runs through its cycle 3 times as fast as sin x, so its slopes are 3 times as steep: that factor 3 is what the chain rule supplies. Forgetting it is the most common error on this page.
📍 The slope of sin(3x) 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 | sin(3x) | 3 cos(3x) | Tangent line |
|---|---|---|---|
| x = −2 | 0.2794 | 2.8805 | y = 2.8805x + 6.0404 |
| x = −1 | −0.1411 | −2.97 | y = −2.97x − 3.1111 |
| x = −0.5 | −0.9975 | 0.2122 | y = 0.2122x − 0.8914 |
| x = 0 | 0 | 3 | y = 3x |
| x = 0.5 | 0.9975 | 0.2122 | y = 0.2122x + 0.8914 |
| x = 1 | 0.1411 | −2.97 | y = −2.97x + 3.1111 |
| x = 2 | −0.2794 | 2.8805 | y = 2.8805x − 6.0404 |
| x = 3 | 0.4121 | −2.7334 | y = −2.7334x + 8.6123 |
👪 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
- Adding a minus sign: d/dx sin x = +cos x; the minus belongs to the derivative of cos.
- Forgetting the chain-rule factor 3.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate sin(4x).
Answer: 4 cos(4x)
2. Differentiate 3 sin(3x).
Answer: 9 cos(3x)
3. Find the second derivative of sin(3x).
Answer: −9 sin(3x)
4. Differentiate cos(3x).
Answer: −3 sin(3x)
5. What is the slope of y = sin(3x) at x = 0?
Answer: 3
📚 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.
