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{\cos\left(x\right)}{\frac{1}{x}}\right] = \frac{-\left(\sin\left(x\right) \frac{1}{x}\right) - \cos\left(x\right) \frac{-1}{x^{2}}}{\frac{1}{x}^{2}} \]
\[ f(x) = \frac{\cos\left(x\right)}{\frac{1}{x}} \]
\[ u = \cos\left(x\right),\quad v = \frac{1}{x} \]
\[ u' = -\sin\left(x\right),\quad v' = \frac{-1}{x^{2}} \]
\[ f'(x) = \frac{\left(-\sin\left(x\right)\right)\left(\frac{1}{x}\right) - \left(\cos\left(x\right)\right)\left(\frac{-1}{x^{2}}\right)}{\left(\frac{1}{x}\right)^{2}} \]
\[ f'(x) = \frac{-\left(\sin\left(x\right) \frac{1}{x}\right) - \cos\left(x\right) \frac{-1}{x^{2}}}{\frac{1}{x}^{2}} \]
\[ f''(x) = \frac{\left(-\left(\cos\left(x\right) \frac{1}{x} + \sin\left(x\right) \frac{-1}{x^{2}}\right) - \left(-\left(\sin\left(x\right) \frac{-1}{x^{2}}\right) + \cos\left(x\right) \frac{-\left(\left(-2\right) x\right)}{\left(x^{2}\right)^{2}}\right)\right) \frac{1}{x}^{2} - \left(-\left(\sin\left(x\right) \frac{1}{x}\right) - \cos\left(x\right) \frac{-1}{x^{2}}\right) 2 \frac{1}{x} \frac{-1}{x^{2}}}{\left(\frac{1}{x}^{2}\right)^{2}} \]Values of f and f' for cos(x) / (1 / x)
| x | f(x) | f'(x) |
|---|---|---|
| -2 | 0.83229367 | -2.2347417 |
| -1 | -0.54030231 | -0.30116868 |
| 0.5 | 0.43879128 | 0.63786979 |
| 1 | 0.54030231 | -0.30116868 |
| 2 | -0.83229367 | -2.2347417 |
| 3 | -2.9699775 | -1.4133525 |
Questions
What is the derivative of cos(x) / (1 / x)?
The derivative of is .
What is the second derivative of cos(x) / (1 / x)?
((-(cos(x) * 1 / x + sin(x) * -1 / ) - (-(sin(x) * -1 / ) + cos(x) * -(-2x) / ()^2)) * (1 / x)^2 - (-(sin(x) * 1 / x) - cos(x) * -1 / ) * 2 * 1 / x * -1 / ) / ((1 / x)^2)^2.
Which rule do you use for cos(x) / (1 / x)?
The quotient rule.
What is the slope of cos(x) / (1 / x) at x = 1?
-0.30116868.