Derivative of sin²x
The derivative of sin²x is 2 sin x cos x, which is also sin 2x. It is the power rule combined with the chain rule.
How to find the derivative of sin²x
Method: chain rule.
- 1Write the function as (sin x)², with u = sin x.
- 2The power rule on the outside gives 2u = 2 sin x.
- 3The derivative of the inside is cos x.
- 4Multiply them: 2 sin x cos x.
- 5Using the double angle identity, this equals sin 2x.
What it means on the graph
sin²x wobbles between 0 and 1 with period π. Its slope is 0 at each peak and valley, and sin 2x is 0 at those same places.
In the window shown, the derivative is zero at x = −π, x = −π/2, x = 0, x = π/2, x = π. Those are the points where the graph of sin²x 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²x | 2 sin x cos x | Slope, measured |
|---|---|---|---|
| −2.51 | 0.348609 | 0.95306 | 0.95306 |
| −1.57 | 0.999999 | −0.00159265 | −0.00159265 |
| −0.628 | 0.345189 | −0.950859 | −0.950859 |
| 0 | 0 | 0 | 0 |
| 0.942 | 0.654054 | 0.951351 | 0.951351 |
| 1.88 | 0.907401 | −0.579738 | −0.579738 |
| 2.51 | 0.348609 | −0.95306 | −0.95306 |
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)2 | 2sin(4x) |
sin(x)3 | 3sin(x)2cos(x) |
Common mistakes
- Writing 2 sin x, by forgetting the chain rule’s factor of cos x.
- Writing cos²x, which differentiates the wrong way.
Frequently asked questions
What is the derivative of sin²x?
What is the second derivative of sin²x?
Is the derivative of sin²x equal to sin 2x?
Keep going
Type your own function into the derivative calculator and see every rule applied, step by step.