Lesson 6 of 8 · 18 min
Differentiating logarithms
Discover that the derivative of is , use , and simplify with the log laws before differentiating.
What you will be able to do
- Use , and explain where it comes from.
- Differentiate as , including and logarithms of polynomials.
- Use the log laws to simplify a logarithm before differentiating it.
The graph of is steep near the -axis and flattens as grows. Before reaching for a rule, measure some gradients and look for the pattern.
Read the gradient at , , and . The traced gradient function is a curve you know from Unit 2.
The gradients are 2 at , 1 at , at and at . Each is the reciprocal of .
Key idea
The derivative of ln(x)
Why the derivative is 1/x
For , . Differentiate both sides with respect to . On the left, the rule for with gives
Since , this says , so .
There is a picture behind this too. Reflecting a graph in swaps rise and run, so a tangent of gradient on at becomes a tangent of gradient on at . On , , which is the -coordinate of the reflected point. So the gradient of at is .
Determine the gradient of the tangent to at .
For a logarithm of a function, use the chain rule with and : and , so
Key idea
The derivative of ln of a function
The derivative of the inside goes on top; the inside itself goes underneath. For a linear inside, .
Worked example
Differentiate three logarithmic functions
Differentiate with respect to :
(a) (b) , (c) ,
Step 1: (a) Derivative of the inside over the inside
, so and .
Step 2: (b) Keep the constant multiple
, so .
Step 3: (c) Apply the rule and simplify
.
, and the constant has derivative 0, which is why the 7 disappears.
Try it yourself first, then check the working one step at a time.
Answer
(a) (b) (c)
Method
Identify the inside, .
Write and multiply by any constant in front.
Simplify.
Watch out for
Writing for (a): the derivative of the inside belongs on top.
Writing for (c): the 7 cancels.
Differentiate .
What is ?
The log laws can turn a hard derivative into an easy one. Before you differentiate the logarithm of a product, a quotient, a power or a root, split it:
Each term is now a one-step derivative. This only works for products, quotients and powers inside the logarithm, never sums.
Worked example
Use log laws, then differentiate
Let , . Find and write it as a single fraction.
Step 1: Split with the log laws
.
Logs turn quotients into differences and powers into multiples, leaving two one-step derivatives.
Step 2: Differentiate each term
.
Step 3: Combine over a common denominator
.
Try it yourself first, then check the working one step at a time.
Answer
Method
Split the logarithm of a product, quotient or power with the log laws.
Differentiate each term with .
Combine over a common denominator if asked.
Watch out for
Splitting into : the log of a sum does not split.
Sign error when combining: , not .
Differentiate .
Common mistake
Missing the top
is , not . Writing is only right when the inside is itself.
Exam tip
Domain and simplest form
State the domain where it matters: only for , where the original function exists. When you split a logarithm with log laws, you can recombine the answer over a common denominator if a question asks for a single fraction.
Summary
for .
: the derivative of the inside over the inside.
, and for any constant .
Use log laws to split products, quotients, powers and roots before differentiating.
The rule follows from differentiating , or from reflecting tangents of in .
Finished the lesson?
Try the 4 quick checks above and the lesson completes itself, or mark it complete now.