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 quotient rule.
- 2
Quotient rule: . Let and .
- 3
Differentiate each piece:
- 4
Put them in the rule:
- 5
Simplify:
- 6
Differentiating once more gives the second derivative, which tells you about curvature:
LaTeX source of the formulas on this page
\[ \frac{d}{dx}\left[\frac{x^{2}}{\cos\left(x\right)}\right] = \frac{2 x \cos\left(x\right) - x^{2} -\sin\left(x\right)}{\cos\left(x\right)^{2}} \]
\[ f(x) = \frac{x^{2}}{\cos\left(x\right)} \]
\[ u = x^{2},\quad v = \cos\left(x\right) \]
\[ u' = 2 x,\quad v' = -\sin\left(x\right) \]
\[ f'(x) = \frac{\left(2 x\right)\left(\cos\left(x\right)\right) - \left(x^{2}\right)\left(-\sin\left(x\right)\right)}{\left(\cos\left(x\right)\right)^{2}} \]
\[ f'(x) = \frac{2 x \cos\left(x\right) - x^{2} -\sin\left(x\right)}{\cos\left(x\right)^{2}} \]
\[ f''(x) = \frac{\left(2 \cos\left(x\right) + 2 x -\sin\left(x\right) - \left(2 x -\sin\left(x\right) + x^{2} -\cos\left(x\right)\right)\right) \cos\left(x\right)^{2} - \left(2 x \cos\left(x\right) - x^{2} -\sin\left(x\right)\right) 2 \cos\left(x\right) -\sin\left(x\right)}{\left(\cos\left(x\right)^{2}\right)^{2}} \]Values of f and f' for / cos(x)
| x | f(x) | f'(x) |
|---|---|---|
| -2 | -9.6119918 | -11.390594 |
| -1 | 1.8508157 | -6.5841061 |
| 0.5 | 0.28487348 | 1.295121 |
| 1 | 1.8508157 | 6.5841061 |
| 2 | -9.6119918 | 11.390594 |
| 3 | -9.090978 | -4.7647645 |
Questions
What is the derivative of / cos(x)?
The derivative of is .
What is the second derivative of / cos(x)?
((2cos(x) + 2x * -sin(x) - (2x * -sin(x) + * -cos(x))) * cos(x)^2 - (2x * cos(x) - * -sin(x)) * 2cos(x) * -sin(x)) / (cos(x)^2)^2.
Which rule do you use for / cos(x)?
The quotient rule.
What is the slope of / cos(x) at x = 1?
6.5841061.