Derivative of
The derivative of is .
f(x) =
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
We differentiate with respect to x. The rule that applies is the chain rule.
- 2
Chain rule: differentiate the outer function, keep the inside, then multiply by the derivative of the inside. The inside is .
- 3
The outer function is sin(u); its derivative evaluated at g(x), times g'(x):
- 4
Simplify:
- 5
Differentiating once more gives the second derivative, which tells you about curvature:
LaTeX source of the formulas on this page
\[ \frac{d}{dx}\left[\sin\left(x^{2}\right)\right] = \cos\left(x^{2}\right) 2 x \]
\[ f(x) = \sin\left(x^{2}\right) \]
\[ g(x) = x^{2},\quad g'(x) = 2 x \]
\[ f'(x) = \left[\cos\left(u\right)\right]_{u=g(x)} \cdot g'(x) \]
\[ f'(x) = \cos\left(x^{2}\right) 2 x \]
\[ f''(x) = -\left(\sin\left(x^{2}\right) 2 x 2 x\right) + 2 \cos\left(x^{2}\right) \]Values of f and f' for sin()
| x | f(x) | f'(x) |
|---|---|---|
| -2 | -0.7568025 | 2.6145745 |
| -1 | 0.84147098 | -1.0806046 |
| 0.5 | 0.24740396 | 0.96891242 |
| 1 | 0.84147098 | 1.0806046 |
| 2 | -0.7568025 | -2.6145745 |
| 3 | 0.41211849 | -5.4667816 |
Questions
What is the derivative of sin()?
The derivative of is .
What is the second derivative of sin()?
-(sin() * 2x * 2x) + 2cos().
Which rule do you use for sin()?
The chain rule.
What is the slope of sin() at x = 1?
1.0806046.