Logarithmic Derivative Notes
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
- Set up the problem.
- Write the derivative rule for the natural logarithm.
- Move the constant multiple in front of the derivative.
- Apply the derivative rule.
Formula: Derivative of ln(x)
The derivative of the natural logarithm of x is 1 over 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
- How a number in front of a function stays in front when differentiating, covered in the Constant Multiple Rule Calculator.
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
Approach
Step-by-step method
- Set up the problem.
- Write the derivative rule for the natural logarithm.
- Move the constant multiple in front of the derivative.
- Apply the derivative rule.
Formula
Formula: Derivative of ln(x)
The derivative of the natural logarithm of x is 1 over x.
Step 1
Step 1 - Identify the logarithmic function and any constant multiple.
In this problem: The function is \(\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.
Step 3
Step 3 - Apply the derivative rule.
In this problem: Put \(\ln\left(x\right)\) into the rule from Step 2.
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the derivative rule for the natural logarithm.
- Move the constant multiple in front of the derivative.
- Apply the derivative rule.
Formula
Formula: Derivative of ln(x)
The derivative of the natural logarithm of x is 1 over 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.
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.
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.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule formula.
- Apply the constant multiple rule.
Step 1
Step 1 - Set up the coefficient and the variable part.
In this problem: We are given \(3 \ln\left(x\right)\). The constant coefficient is \(3\), and the variable part is \(\ln\left(x\right)\).
Step 2
Step 2 - Write the constant multiple rule formula.
In this problem: The constant multiple rule says a constant coefficient stays outside the derivative.
Step 3
Step 3 - Apply the constant multiple rule.
In this problem: Move the constant coefficient \(3\) outside the derivative and leave \(\ln\left(x\right)\) inside the derivative.
Final Answer
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.
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the derivative rule for the natural logarithm.
- Move the constant multiple in front of the derivative.
- Apply the derivative rule.
Formula
Formula: Derivative of ln(x)
The derivative of the natural logarithm of x is 1 over 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.
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.
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.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule formula.
- Apply the constant multiple rule.
Step 1
Step 1 - Set up the coefficient and the variable part.
In this problem: We are given \(7 \ln\left(x\right)\). The constant coefficient is \(7\), and the variable part is \(\ln\left(x\right)\).
Step 2
Step 2 - Write the constant multiple rule formula.
In this problem: The constant multiple rule says a constant coefficient stays outside the derivative.
Step 3
Step 3 - Apply the constant multiple rule.
In this problem: Move the constant coefficient \(7\) outside the derivative and leave \(\ln\left(x\right)\) inside the derivative.
Final Answer
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.
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the derivative rule for the natural logarithm.
- Move the constant multiple in front of the derivative.
- Apply the derivative rule.
Formula
Formula: Derivative of ln(x)
The derivative of the natural logarithm of x is 1 over 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.
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.
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.
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule formula.
- Apply the constant multiple rule.
Step 1
Step 1 - Set up the coefficient and the variable part.
In this problem: We are given \(6 \ln\left(x\right)\). The constant coefficient is \(6\), and the variable part is \(\ln\left(x\right)\).
Step 2
Step 2 - Write the constant multiple rule formula.
In this problem: The constant multiple rule says a constant coefficient stays outside the derivative.
Step 3
Step 3 - Apply the constant multiple rule.
In this problem: Move the constant coefficient \(6\) outside the derivative and leave \(\ln\left(x\right)\) inside the derivative.
Final Answer
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.
Final Answer
Calculator and Practice Mode
Want to check your own working? The Logarithmic Derivative Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Logarithmic Derivative Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.