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 ln(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[\ln\left(-x\right)\right] = \frac{-1}{-x} \]
\[ f(x) = \ln\left(-x\right) \]
\[ g(x) = -x,\quad g'(x) = -1 \]
\[ f'(x) = \left[\frac{1}{u}\right]_{u=g(x)} \cdot g'(x) \]
\[ f'(x) = \frac{-1}{-x} \]
\[ f''(x) = \frac{-1}{\left(-x\right)^{2}} \]Values of f and f' for ln(-x)
| x | f(x) | f'(x) |
|---|---|---|
| -2 | 0.69314718 | -0.5 |
| -1 | 0 | -1 |
Questions
What is the derivative of ln(-x)?
The derivative of is .
What is the second derivative of ln(-x)?
-1 / (-x)^2.
Which rule do you use for ln(-x)?
The chain rule.
What is the slope of ln(-x) at x = -2?
-0.5.