Derivative of sin x cos x
The derivative of sin x cos x is cos^2 x − sin^2 x = cos 2x, by the product rule. The second derivative is −2 sin 2x.
📐 The product rule
(uv)′ = u′v + uv′.
d/dx sin x cos x = cos2 x − sin2 x = cos 2x, and d²/dx² sin x cos x = −2 sin 2x.
✍️ Differentiating sin x cos x
- Product rule: (uv)′ = u′v + uv′, with u = sin x and v = cos x.
- u′ = cos x; v′ = −sin x.
- Put them in: (cos x)(cos x) + (sin x)(−sin x).
- Simplify: d/dx sin x cos x = cos2 x − sin2 x = cos 2x.
🔍 Where the rule comes from
A product changes for two reasons: the first factor changes while the second holds still, and the second changes while the first holds still; the product rule adds the two contributions. Since sin x cos x = (1/2) sin 2x, the chain rule gives (1/2)·2 cos 2x = cos 2x directly, the same answer.
📍 The slope of sin x cos 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 | cos2 x − sin2 x = cos 2x | Tangent line |
|---|---|---|---|
| x = −2 | 0.3784 | −0.6536 | y = −0.6536x − 0.9289 |
| x = −1 | −0.4546 | −0.4161 | y = −0.4161x − 0.8708 |
| x = −0.5 | −0.4207 | 0.5403 | y = 0.5403x − 0.1506 |
| x = 0 | 0 | 1 | y = x |
| x = 0.5 | 0.4207 | 0.5403 | y = 0.5403x + 0.1506 |
| x = 1 | 0.4546 | −0.4161 | y = −0.4161x + 0.8708 |
| x = 2 | −0.3784 | −0.6536 | y = −0.6536x + 0.9289 |
| x = 3 | −0.1397 | 0.9602 | y = 0.9602x − 3.0202 |
👪 Products (the product rule): 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
- Multiplying the two derivatives: (uv)′ is not u′v′.
- Forgetting one of the two terms; both factors get their turn.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate sin x cos x using sin x cos x = (1/2) sin 2x.
Answer: cos 2x
2. Differentiate sin^2 x.
Answer: 2 sin x cos x = sin 2x
3. Find the second derivative of sin x cos x.
Answer: −2 sin 2x
4. What is the slope of y = sin x cos x at x = 0?
Answer: 1
5. Differentiate sin(2x) cos(2x).
Answer: 2 cos 4x
📚 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.
