Derivative of sin(x²)
The derivative of sin(x²) is 2x cos(x²). The x² stays inside the cosine, and the chain rule multiplies by its derivative, 2x.
How to find the derivative of sin(x²)
Method: chain rule.
- 1Let u = x², so the function is sin u.
- 2The derivative of sin u with respect to u is cos u.
- 3The derivative of the inside function is du/dx = 2x.
- 4Multiply them: cos(x²) · 2x = 2x cos(x²).
What it means on the graph
sin(x²) oscillates faster and faster as x grows, because x² grows faster than x. The factor of 2x in the derivative shows the same thing: the possible slope increases with x.
In the window shown, the derivative is zero at 9 points in this window. 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²) | 2x cos(x²) | Slope, measured |
|---|---|---|---|
| −2 | −0.756802 | 2.61457 | 2.61457 |
| −1 | 0.841471 | −1.0806 | −1.0806 |
| 0 | 0 | 0 | 0 |
| 1 | 0.841471 | 1.0806 | 1.0806 |
| 2 | −0.756802 | −2.61457 | −2.61457 |
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 |
|---|---|
cos(x2) | −2xsin(x2) |
sin(x3) | 3x2cos(x3) |
Common mistakes
- Writing cos(2x), which differentiates the inside but puts it in the wrong place.
- Confusing sin(x²) with sin²x. Those are different functions.
Frequently asked questions
What is the derivative of sin(x²)?
What is the second derivative of sin(x²)?
What is the difference between sin(x²) and sin²x?
Keep going
Type your own function into the derivative calculator and see every rule applied, step by step.