Derivative of sin x
The derivative of sin x is cos x, by the trigonometric derivatives. The second derivative is −sin x.
📐 The trigonometric derivatives
d/dx sin x = cos x and d/dx cos x = −sin x; with an inside kx, multiply by k.
d/dx sin x = cos x, and d²/dx² sin x = −sin x.
✍️ Differentiating sin x
- d/dx sin x = cos x: one of the two derivatives every calculus student memorises.
- The second derivative is −sin x: differentiating twice brings back sin x with a minus sign.
🔍 Where the rule comes from
From the limit definition: (sin(x+h) − sin x)/h = sin x·(cos h − 1)/h + cos x·(sin h)/h, and as h → 0 the first fraction → 0 and the second → 1, leaving cos x. On the unit circle the point (cos x, sin x) moves at unit speed, so the rate of change of the height sin x is the horizontal coordinate cos x.
📍 The slope of sin x 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 x | cos x | Tangent line |
|---|---|---|---|
| x = −2 | −0.9093 | −0.4161 | y = −0.4161x − 1.7416 |
| x = −1 | −0.8415 | 0.5403 | y = 0.5403x − 0.3012 |
| x = −0.5 | −0.4794 | 0.8776 | y = 0.8776x − 0.0406 |
| x = 0 | 0 | 1 | y = x |
| x = 0.5 | 0.4794 | 0.8776 | y = 0.8776x + 0.0406 |
| x = 1 | 0.8415 | 0.5403 | y = 0.5403x + 0.3012 |
| x = 2 | 0.9093 | −0.4161 | y = −0.4161x + 1.7416 |
| x = 3 | 0.1411 | −0.99 | y = −0.99x + 3.1111 |
👪 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.
- Writing cos x as the derivative of sin x but then forgetting the chain rule for sin(2x), sin(x2) and the rest.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate sin(2x).
Answer: 2 cos(2x)
2. Differentiate 3 sin x.
Answer: 3 cos x
3. Find the second derivative of sin x.
Answer: −sin x
4. Differentiate cos x.
Answer: −sin x
5. What is the slope of y = sin x at x = 0?
Answer: 1
📚 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.
