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)}{\ln\left(x\right)}\right] = \frac{-\left(\sin\left(x\right) \ln\left(x\right)\right) - \cos\left(x\right) \frac{1}{x}}{\ln\left(x\right)^{2}} \]
\[ f(x) = \frac{\cos\left(x\right)}{\ln\left(x\right)} \]
\[ u = \cos\left(x\right),\quad v = \ln\left(x\right) \]
\[ u' = -\sin\left(x\right),\quad v' = \frac{1}{x} \]
\[ f'(x) = \frac{\left(-\sin\left(x\right)\right)\left(\ln\left(x\right)\right) - \left(\cos\left(x\right)\right)\left(\frac{1}{x}\right)}{\left(\ln\left(x\right)\right)^{2}} \]
\[ f'(x) = \frac{-\left(\sin\left(x\right) \ln\left(x\right)\right) - \cos\left(x\right) \frac{1}{x}}{\ln\left(x\right)^{2}} \]
\[ f''(x) = \frac{\left(-\left(\cos\left(x\right) \ln\left(x\right) + \sin\left(x\right) \frac{1}{x}\right) - \left(-\left(\sin\left(x\right) \frac{1}{x}\right) + \cos\left(x\right) \frac{-1}{x^{2}}\right)\right) \ln\left(x\right)^{2} - \left(-\left(\sin\left(x\right) \ln\left(x\right)\right) - \cos\left(x\right) \frac{1}{x}\right) 2 \ln\left(x\right) \frac{1}{x}}{\left(\ln\left(x\right)^{2}\right)^{2}} \]Values of f and f' for cos(x) / ln(x)
| x | f(x) | f'(x) |
|---|---|---|
| 0.5 | -1.266084 | -2.9614814 |
| 2 | -0.60037298 | -0.87876133 |
| 3 | -0.90113 | 0.14496166 |
Questions
What is the derivative of cos(x) / ln(x)?
The derivative of is .
What is the second derivative of cos(x) / ln(x)?
((-(cos(x) * ln(x) + sin(x) * 1 / x) - (-(sin(x) * 1 / x) + cos(x) * -1 / )) * ln(x)^2 - (-(sin(x) * ln(x)) - cos(x) * 1 / x) * 2ln(x) * 1 / x) / (ln(x)^2)^2.
Which rule do you use for cos(x) / ln(x)?
The quotient rule.
What is the slope of cos(x) / ln(x) at x = 0.5?
-2.9614814.