Derivative of log(x)

Answer

1x\frac{1}{x}
x^(-1)

Derivative of ln(x)

Rule Used
Logarithmic Rule
Steps
  1. Recognize the natural logarithm log⁡(x)\log(x), written ln⁡(x)\ln(x) on this site. Its derivative is the reciprocal because ln is the inverse of e^x and the derivative of e^x is itself.
  2. Apply the rule: ddxlog⁡(x)\frac{d}{dx} \log(x) = 1/x.
  3. Final answer: x−1x^{-1}

The derivative of log(x), taken as the natural logarithm, is 1/x, defined only for x > 0.

Instant step-by-step solution for ln(x)

Share this result
Share on X

Derivative of ln(x) = x^(-1) Solve step-by-step for free: https://derivativecalculatorai.com/derivative-of-log-x

Derivative

log(x) → 1/xengine: x^(-1)

Graph of the function and its derivative

f(x) f'(x)

The solid curve is f. The dashed curve is f′. Vertical gaps are asymptotes or jumps, not extra zeros.

Why the derivative has this form

On this calculator log(x) means the natural logarithm, the same function as ln(x). The derivative is 1/x. Base-10 log is written log10(x), and that one does carry a factor 1/ln(10). Mixing the two notations is the point of this page: the symbol log is not automatically base 10 here, because the math engine treats log as ln.

Apply the logarithm rule to log(x). The form to remember, already simplified, is 1/x.

The expression needs x > 0. At 0 and on the negatives it is undefined as a real function, so the derivative is too.

At x = 1, substitute into the simplified form 1/x. That number is the slope of log(x) there; a secant over a small step in x lands next to it.

Worked derivative

  1. Write f(x) = log(x).
  2. Apply the logarithm rule to log(x). The form to remember, already simplified, is 1/x.
  3. At x = 1, substitute into the simplified form 1/x. That number is the slope of log(x) there; a secant over a small step in x lands next to it.

Common mistakes

Answering 1/(x·ln 10) instead of 1/x

1/(x ln 10) is the derivative of log10(x), not of the natural log that this page computes. If you wanted base 10, the input has to be log10(x).

Confusing the base of log(x)

Natural log differentiates to 1/x. A constant inside the log often cancels. Base 10 is a different function and needs log10.

Frequently asked questions

What is the derivative of log(x)?

1/x. On this calculator log(x) means the natural logarithm, the same function as ln(x). The derivative is 1/x. Base-10 log is written log10(x), and that one does carry a factor 1/ln(10). Mixing the two notations is the point of this page: the symbol log is not automatically base 10 here, because the math engine treats log as ln.

Which wrong answer shows up for log(x)?

1/(x ln 10) is the derivative of log10(x), not of the natural log that this page computes. If you wanted base 10, the input has to be log10(x).

Where is the derivative of log(x) defined?

The expression needs x > 0. At 0 and on the negatives it is undefined as a real function, so the derivative is too.