Year 11 Maths Advanced Module 4 ~35 min Lesson 11 of 15

Differentiating $\ln x$

In information theory, Claude Shannon defined entropy as a measure of uncertainty. When analysing how information content changes with probability, we encounter the natural logarithm. The derivative of $\ln x$ being $\frac{1}{x}$ appears in economics (marginal utility), physics (entropy), biology (allometric scaling), and computer science (algorithm analysis). This simple reciprocal rule connects to some of the deepest ideas in science — all because the natural logarithm and the exponential function are inverses.

📊
Printable worksheet

Download this lesson's worksheet

Use the PDF for classwork, homework or revision.

Think First

If $y = \ln x$, what might $\frac{dy}{dx}$ be? Think about the relationship between $\ln x$ and $e^x$ — they are inverse functions. How does this affect their derivatives?

Write your initial thinking in your book
Saved
📐

Formula Reference — This Lesson

Basic rule
$\frac{d}{dx}(\ln x) = \frac{1}{x}$
Chain rule
$\frac{d}{dx}(\ln u) = \frac{1}{u} \cdot \frac{du}{dx}$ $\frac{d}{dx}(\ln(kx)) = \frac{1}{x}$
Logarithm of absolute value
$\frac{d}{dx}(\ln|x|) = \frac{1}{x}$ for $x \neq 0$
Product / Quotient reminder
$(uv)' = u'v + uv'$ $(u/v)' = (u'v - uv')/v^2$
Key insight: The derivative of $\ln x$ is $\frac{1}{x}$ because $\ln x$ and $e^x$ are inverse functions. If $y = \ln x$, then $x = e^y$, so $\frac{dx}{dy} = e^y = x$, giving $\frac{dy}{dx} = \frac{1}{x}$.
Know

Key Facts

  • $\frac{d}{dx}(\ln x) = \frac{1}{x}$
  • $\frac{d}{dx}(\ln u) = \frac{u'}{u}$
  • $\frac{d}{dx}(\ln|x|) = \frac{1}{x}$
Understand

Concepts

  • Why the derivative is $\frac{1}{x}$ (inverse function theorem)
  • How the chain rule applies to composite logarithms
  • The domain restriction ($x > 0$) and its implications
Can Do

Skills

  • Differentiate $\ln x$, $\ln(kx)$, and $\ln(f(x))$
  • Use product and quotient rules with logarithms
  • Find tangents to logarithmic curves
01Deriving the Rule

Deriving $\frac{d}{dx}(\ln x) = \frac{1}{x}$

Method 1: Inverse functions

If $y = \ln x$, then $x = e^y$. Differentiate implicitly with respect to $y$:

dx/dy = e^y = x

Therefore:

dy/dx = 1/(dx/dy) = 1/x

Method 2: First principles

f'(x) = lim_{h→0} (ln(x+h) - ln(x))/h = lim_{h→0} (1/h)·ln((x+h)/x) = lim_{h→0} ln((1 + h/x)^{1/h})

Let $t = h/x$, so $h = xt$ and $1/h = 1/(xt)$:

= lim_{t→0} ln((1 + t)^{1/(xt)}) = lim_{t→0} (1/x)·ln((1+t)^{1/t}) = (1/x)·ln(e) = 1/x

since $\lim_{t \to 0} (1+t)^{1/t} = e$.

02Chain Rule

The Chain Rule with $\ln(f(x))$

For composite functions:

d/dx(ln(u)) = (1/u) · du/dx = u'/u

Examples:

  • $\frac{d}{dx}(\ln(3x)) = \frac{3}{3x} = \frac{1}{x}$
  • $\frac{d}{dx}(\ln(x^2)) = \frac{2x}{x^2} = \frac{2}{x}$
  • $\frac{d}{dx}(\ln(x^2 + 1)) = \frac{2x}{x^2 + 1}$
  • $\frac{d}{dx}(\ln(\sin x)) = \frac{\cos x}{\sin x} = \cot x$

Important: $\frac{d}{dx}(\ln(kx)) = \frac{1}{x}$ for any constant $k > 0$. The constant cancels out! This means all curves $y = \ln(kx)$ have the same gradient at each $x$-value.

Real-World Anchor Utility Theory in Economics. Economists model diminishing marginal utility with logarithmic functions. If your wealth is $W$, the utility (satisfaction) might be $U = \ln(W)$. The marginal utility is $\frac{dU}{dW} = \frac{1}{W}$ — it decreases as wealth increases. This means an extra dollar provides less additional satisfaction to a billionaire than to someone earning minimum wage. This logarithmic model explains why progressive taxation (where the rich pay a higher percentage) can be economically justified: the "pain" of losing a dollar is inversely proportional to one's wealth. The derivative $\frac{1}{W}$ is the mathematical heart of this argument.
Worked Example

GIVEN

Find the derivative of $f(x) = x^2 \ln x$.

FIND

$f'(x)$ in simplified form.

METHOD

Use product rule: u = x^2, v = ln(x)
u' = 2x
v' = 1/x
f'(x) = u'v + uv' = 2x·ln(x) + x^2·(1/x)
= 2x ln(x) + x
= x(2 ln(x) + 1)

ANSWER

$f'(x) = x(2\ln x + 1)$.

Try It Now

Find the derivative of $f(x) = \frac{\ln x}{x}$.

Answer:

$f'(x) = \frac{(1/x) \cdot x - \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^2}$.

03Absolute Value

The Derivative of $\ln|x|$

The natural logarithm $\ln x$ is only defined for $x > 0$. But $\ln|x|$ is defined for all $x \neq 0$:

  • For $x > 0$: $\ln|x| = \ln x$, so $\frac{d}{dx}(\ln|x|) = \frac{1}{x}$
  • For $x < 0$: $\ln|x| = \ln(-x)$, so by chain rule $\frac{d}{dx}(\ln(-x)) = \frac{-1}{-x} = \frac{1}{x}$

Therefore:

d/dx(ln|x|) = 1/x for all x ≠ 0

This is useful when integrating (Y12) and when working with functions that can take negative values.

Copy Into Your Books

Basic rule

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

Chain rule

$\frac{d}{dx}(\ln u) = \frac{u'}{u}$

Special case

$\frac{d}{dx}(\ln(kx)) = \frac{1}{x}$

Absolute value

$\frac{d}{dx}(\ln|x|) = \frac{1}{x}$

AActivities

Activities

Activity 1 — Calculate and Interpret

  1. Differentiate $f(x) = \ln(5x)$.
  2. Differentiate $f(x) = \ln(x^3)$.
  3. Differentiate $f(x) = x \ln x$.
  4. Differentiate $f(x) = \frac{\ln x}{x^2}$.
  5. Find the equation of the tangent to $y = \ln x$ at $x = 1$.

Activity 2 — Analyse and Connect

  1. Explain why $\frac{d}{dx}(\ln(kx)) = \frac{1}{x}$ for any constant $k > 0$.
  2. Show that $\frac{d}{dx}(\ln(x^2 + 1)) = \frac{2x}{x^2 + 1}$. Where is the derivative zero?
  3. If utility is $U = \ln(W)$, find the marginal utility when $W = 100$ and when $W = 10{,}000$. What does this tell us about wealth and satisfaction?
Revisit Your Initial Thinking

$\frac{d}{dx}(\ln x) = \frac{1}{x}$. This follows from the inverse function relationship: if $y = \ln x$, then $x = e^y$, so $\frac{dx}{dy} = e^y = x$, giving $\frac{dy}{dx} = \frac{1}{x}$. The derivative is a simple reciprocal, but it is only defined for $x > 0$ (the domain of $\ln x$).

Write your reflection in your book
Saved
MC

Multiple Choice

5 random questions from a replayable lesson bank — feedback shown immediately

📝

Extended Questions

ApplyBand 4

8. Differentiate $f(x) = x^3 \ln x$. Show all working and simplify. 3 MARKS

Answer in your workbook
ApplyBand 4

9. Find the equation of the tangent to $y = \ln x$ at $x = e$. Give your answer in exact form. 3 MARKS

Answer in your workbook
AnalyseBand 5

10. In economics, the utility of wealth $W$ is sometimes modelled as $U = \ln(W)$. A person has $W = 100$. Find the marginal utility $\frac{dU}{dW}$ and interpret its meaning. If a tax reduces their wealth by 10%, calculate the percentage decrease in utility. Explain why this model supports progressive taxation (where wealthier people pay a higher percentage of income in tax). 3 MARKS

Answer in your workbook

Comprehensive Answers

Activity 1 — Model Answers

1. $f'(x) = \frac{5}{5x} = \frac{1}{x}$.

2. $f'(x) = \frac{3x^2}{x^3} = \frac{3}{x}$. Or: $\ln(x^3) = 3\ln x$, so derivative = $3/x$.

3. $f'(x) = \ln x + x \cdot \frac{1}{x} = \ln x + 1$.

4. $f'(x) = \frac{(1/x) \cdot x^2 - \ln x \cdot 2x}{x^4} = \frac{x - 2x\ln x}{x^4} = \frac{1 - 2\ln x}{x^3}$.

5. At $x = 1$: $y = 0$, $m = 1$. Tangent: $y = x - 1$.

Activity 2 — Model Answers

1. $\frac{d}{dx}(\ln(kx)) = \frac{k}{kx} = \frac{1}{x}$. The constant $k$ cancels.

2. $\frac{d}{dx}(\ln(x^2+1)) = \frac{2x}{x^2+1} = 0$ when $x = 0$.

3. $\frac{dU}{dW} = \frac{1}{W}$. At $W = 100$: $0.01$. At $W = 10{,}000$: $0.0001$. Marginal utility is 100 times smaller for the wealthier person, meaning each extra dollar provides much less satisfaction.

Short Answer Model Answers

Q8 (3 marks): Let $u = x^3$, $v = \ln x$ [0.5]. $u' = 3x^2$, $v' = 1/x$ [0.5]. $f'(x) = 3x^2 \ln x + x^3 \cdot \frac{1}{x}$ [0.5] $= 3x^2 \ln x + x^2$ [0.5] $= x^2(3\ln x + 1)$ [1].

Q9 (3 marks): At $x = e$: $y = \ln(e) = 1$ [0.5]. $\frac{dy}{dx} = \frac{1}{x}$ [0.5]. At $x = e$: $m = \frac{1}{e}$ [0.5]. Equation: $y - 1 = \frac{1}{e}(x - e)$ [0.5] $\Rightarrow y = \frac{x}{e} - 1 + 1 = \frac{x}{e}$ [1].

Q10 (3 marks): $\frac{dU}{dW} = \frac{1}{W}$ [0.5]. At $W = 100$: $\frac{dU}{dW} = 0.01$ per dollar [0.25]. This means each additional dollar provides 0.01 units of utility at this wealth level [0.25]. After 10% tax: $W_{new} = 90$ [0.25]. $U_{before} = \ln(100) \approx 4.605$, $U_{after} = \ln(90) \approx 4.500$ [0.5]. Decrease = $4.605 - 4.500 = 0.105$. Percentage decrease = $\frac{0.105}{4.605} \times 100\% \approx 2.28\%$ [0.5]. This supports progressive taxation because the utility loss from a 10% tax is much smaller for a wealthy person (2.28% utility loss) than for a poor person [0.5]. For example, at $W = 10$, a 10% tax reduces utility from $\ln(10) \approx 2.303$ to $\ln(9) \approx 2.197$, a 4.6% loss — roughly double the proportional impact [0.25].

Science Jump

Jump Through Logarithmic Derivatives!

Climb platforms using derivatives of ln x, chain rule, and tangent equations. Pool: lesson 11.

Mark lesson as complete

Tick when you've finished all activities and checked your answers.