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 cos(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[\cos\left(x^{3}\right)\right] = -\left(\sin\left(x^{3}\right) 3 x^{2}\right) \]
\[ f(x) = \cos\left(x^{3}\right) \]
\[ g(x) = x^{3},\quad g'(x) = 3 x^{2} \]
\[ f'(x) = \left[-\sin\left(u\right)\right]_{u=g(x)} \cdot g'(x) \]
\[ f'(x) = -\left(\sin\left(x^{3}\right) 3 x^{2}\right) \]
\[ f''(x) = -\left(\cos\left(x^{3}\right) 3 x^{2} 3 x^{2} + \sin\left(x^{3}\right) 6 x\right) \]Values of f and f' for cos()
| x | f(x) | f'(x) |
|---|---|---|
| -2 | -0.14550003 | 11.872299 |
| -1 | 0.54030231 | 2.524413 |
| 0.5 | 0.99219767 | -0.09350605 |
| 1 | 0.54030231 | -2.524413 |
| 2 | -0.14550003 | -11.872299 |
| 3 | -0.29213881 | -25.82215 |
Questions
What is the derivative of cos()?
The derivative of is .
What is the second derivative of cos()?
-(cos() * 3 * * 3 * + sin() * 6x).
Which rule do you use for cos()?
The chain rule.
What is the slope of cos() at x = 1?
-2.524413.