Logarithmic Derivative Notes

Published on: September 29, 2026

These Logarithmic Derivative Notes explain how to differentiate natural and common logarithms, with the working shown line by line. The derivative of the natural logarithm is one over x, and a logarithm to another base picks up a division by the logarithm of that base. A constant multiple in front is carried through unchanged. Following the same pattern every time keeps the base factor from being dropped.

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for the natural logarithm.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula: Derivative of ln(x)

The derivative of the natural logarithm of x is 1 over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Useful Tips to Remember

The derivative of \(\ln x\) is \(\frac{1}{x}\), and by the chain rule the derivative of \(\ln(g(x))\) is \(\frac{g'(x)}{g(x)}\). Use the log laws to simplify before differentiating, such as turning \(\ln(x^3)\) into \(3\ln x\). For other bases, \(\frac{d}{dx}\log_a x = \frac{1}{x\ln a}\). The logarithm is only defined for positive inputs.

Required knowledge

Where Are Logarithmic Derivatives Used?

The derivative of \(\ln x\) is \(\frac{1}{x}\), which shows that logarithmic growth keeps rising but more and more slowly. Logarithms describe scales such as decibels for sound, the Richter scale for earthquakes and pH for acidity, so their derivatives show how sensitive these scales are to change. In economics, the derivative of a logarithm gives a percentage rate of change, which is how growth rates and elasticity are measured. It also appears in information theory and in the training of many machine learning models.

  • Measuring percentage growth rates in economics
  • Working with decibel, Richter and pH scales
  • Finding the elasticity of demand
  • Training models with logarithmic loss functions
  • Differentiating formulas that contain \(\ln x\)

Logarithmic Derivative Practice Problems

Example 1 differentiates \(\ln x\), and Example 2 differentiates \(3\ln x\) with a constant in front. Examples 3 and 4 give you two more of the same kind to try, \(f\left(x\right) = 7 \ln\left(x\right)\) and \(f\left(x\right) = 6 \ln\left(x\right)\). Try each one yourself before checking.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(f\left(x\right) = \ln\left(x\right)\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for the natural logarithm.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula

Formula: Derivative of ln(x)

The derivative of the natural logarithm of x is 1 over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 1

Step 1 - Identify the logarithmic function and any constant multiple.

In this problem: The function is \(\ln\left(x\right)\).

\(f\left(x\right) = \ln\left(x\right)\)

Step 2

Step 2 - Write the derivative rule for the natural logarithm.

In this problem: The derivative of the natural logarithm is one over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 3

Step 3 - Apply the derivative rule.

In this problem: Put \(\ln\left(x\right)\) into the rule from Step 2.

\(f'\left(x\right) = \frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Final Answer

\(f'\left(x\right) = \frac{1}{x}\)
See Example 2 Hide Example 2

Problem

\(f\left(x\right) = 3 \ln\left(x\right)\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for the natural logarithm.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula

Formula: Derivative of ln(x)

The derivative of the natural logarithm of x is 1 over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 1

Step 1 - Identify the logarithmic function and any constant multiple.

In this problem: The function is \(\ln\left(x\right)\). The constant multiple \(3\) stays in front.

\(f\left(x\right) = 3 \ln\left(x\right)\)

Step 2

Step 2 - Write the derivative rule for the natural logarithm.

In this problem: The derivative of the natural logarithm is one over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 3

Step 3 - Move the constant multiple in front of the derivative.

In this problem: The number \(3\) in front is a constant multiple, so it moves in front of the derivative and only \(\ln\left(x\right)\) is differentiated.

\(\frac{d}{dx}\left(3 \ln\left(x\right)\right) = 3\cdot \frac{d}{dx}\left(\ln\left(x\right)\right)\)

Step 4

Step 4 - Apply the derivative rule.

In this problem: Replace \(\frac{d}{d x} \ln\left(x\right)\) with \(\frac{1}{x}\) from Step 2.

\(f'\left(x\right) = 3\cdot \frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{3}{x}\)

Final Answer

\(f'\left(x\right) = \frac{3}{x}\)
See Example 3 Hide Example 3

Problem

\(f\left(x\right) = 7 \ln\left(x\right)\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for the natural logarithm.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula

Formula: Derivative of ln(x)

The derivative of the natural logarithm of x is 1 over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 1

Step 1 - Identify the logarithmic function and any constant multiple.

In this problem: The function is \(\ln\left(x\right)\). The constant multiple \(7\) stays in front.

\(f\left(x\right) = 7 \ln\left(x\right)\)

Step 2

Step 2 - Write the derivative rule for the natural logarithm.

In this problem: The derivative of the natural logarithm is one over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 3

Step 3 - Move the constant multiple in front of the derivative.

In this problem: The number \(7\) in front is a constant multiple, so it moves in front of the derivative and only \(\ln\left(x\right)\) is differentiated.

\(\frac{d}{dx}\left(7 \ln\left(x\right)\right) = 7\cdot \frac{d}{dx}\left(\ln\left(x\right)\right)\)

Step 4

Step 4 - Apply the derivative rule.

In this problem: Replace \(\frac{d}{d x} \ln\left(x\right)\) with \(\frac{1}{x}\) from Step 2.

\(f'\left(x\right) = 7\cdot \frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{7}{x}\)

Final Answer

\(f'\left(x\right) = \frac{7}{x}\)
See Example 4 Hide Example 4

Problem

\(f\left(x\right) = 6 \ln\left(x\right)\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the derivative rule for the natural logarithm.
  3. Move the constant multiple in front of the derivative.
  4. Apply the derivative rule.

Formula

Formula: Derivative of ln(x)

The derivative of the natural logarithm of x is 1 over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 1

Step 1 - Identify the logarithmic function and any constant multiple.

In this problem: The function is \(\ln\left(x\right)\). The constant multiple \(6\) stays in front.

\(f\left(x\right) = 6 \ln\left(x\right)\)

Step 2

Step 2 - Write the derivative rule for the natural logarithm.

In this problem: The derivative of the natural logarithm is one over x.

\(\frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{1}{x}\)

Step 3

Step 3 - Move the constant multiple in front of the derivative.

In this problem: The number \(6\) in front is a constant multiple, so it moves in front of the derivative and only \(\ln\left(x\right)\) is differentiated.

\(\frac{d}{dx}\left(6 \ln\left(x\right)\right) = 6\cdot \frac{d}{dx}\left(\ln\left(x\right)\right)\)

Step 4

Step 4 - Apply the derivative rule.

In this problem: Replace \(\frac{d}{d x} \ln\left(x\right)\) with \(\frac{1}{x}\) from Step 2.

\(f'\left(x\right) = 6\cdot \frac{d}{dx}\left(\ln\left(x\right)\right) = \frac{6}{x}\)

Final Answer

\(f'\left(x\right) = \frac{6}{x}\)

Calculator and Practice Mode