Logarithmic Differentiation
Logs turn multiplication into addition and pull exponents down in front. So when a function is a tangle of products, quotients and powers, take of both sides first, and the derivative becomes a sum of easy pieces. It's also how you handle functions like , where no other rule applies.
What the symbols mean
- Relative rate of change
The derivative divided by the function: growth as a fraction of the current size.
Explanation
Logarithmic differentiation is simply a trick: take the log of a messy function first, because logs make it simpler, and then differentiate. It's good for two things: big products and quotients, and functions with in both the base and the exponent. The formula looks odd, but it's just the chain rule on : (the derivative of , which is times ) equals the derivative of the log of your function. That ratio even has a meaning of its own: the growth rate as a fraction of the current size.
This builds on two things you already have. Log rules turn products into sums, quotients into differences, and powers into multipliers. And implicit differentiation lets you differentiate even though is the unknown function: the chain rule gives .
Steps:
- Take of both sides and expand with log rules.
- Differentiate implicitly: the left side becomes .
- Multiply through by and substitute the original function back in.
A common mistake. looks a lot like things you already know how to differentiate, so it's tempting to grab a familiar rule. The power rule would give , and the exponential rule would give . Neither is right. The power rule needs a constant exponent, and the exponential rule needs a constant base, and has neither. Logs fix that: is just a product, which you can handle. (Interestingly, the right answer turns out to be the sum of those two wrong ones.)
Big products and quotients. For something like , the quotient rule with a product rule inside would be a mess. Taking logs turns it into three easy terms, one per factor.
See it
Worked examples
Differentiate .
- 1
Take of both sides, and the exponent comes down: .
Differentiate .
- 1
Take and split it up with log rules. The square root is a power of : .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Find the slope of at .
Differentiate .
Differentiate .
For , find .
Differentiate .
A country's GDP grows per year and its population grows per year. How fast does GDP per person grow, in percent per year?
The hardest one here. Get it, and you've got this lesson.
Differentiate for .
Where it's used
Relative rates are everywhere: growth rates in economics, percentage error propagation in physics (the error in is about ).