what is logarithmic differentiation? basically, it’s a calculus tool that helps you to find derivatives of complicated functions involving a lot of multiplication, division, or powers. this review article walks you through the methods and provides plenty of example problems to help you succeed on the ap calculus exams!
properties of logarithms
first of all, let’s review what a logarithm is. more specifically, we need to understand how the logarithm function can be used to break down complicated expressions.
you might want to check out the following article before getting started: ap calculus review: properties of exponents and logartithms. however, the most important properties for us will be the product, quotient, and power properties for logarithms. here, we focus on a particular logarithm: the natural logarithm, ln x, though the properties remain true in any base.
in other words, logarithms change…
- products into sums,
- quotients into differences, and
- exponents into multiplication.
using the properties
i like to think of the logarithm as a powerful acid that can dissolve a complicated algebraic expression.
let me illustrate the point with an example.
notice how the original expression involves a huge fraction with roots and powers all over the place. after applying the properties of logarithms, the resulting expression mostly has only plus and minus. (of course, there is a trade-off — there are now three natural logs in the simplified expression.)
logarithmic differentiation
now let’s get down to business! how can we exploit these logarithmic simplification rules to help find derivatives?
the most straightforward case is when the function already has a logarithm involved.
example 1
find the derivative of .
solution
first simplify using the properties of logarithms (see work above). then you can take the derivative of each term. but be careful — the final term requires a product rule!
the general method
in the above example, there was already a logarithm in the function. but what if we want to use logarithmic differentiation when our function has no logarithm?
suppose f(x) is a function with a lot of products, quotients, and/or powers. then you might use the method of logarithmic differentiation to find f ‘(x).
-
- first write y = f(x)
- next, apply the (natural) logarithm function to both sides of the equation.
- then use the product, quotient, and/or power properties to break down the expression on the right. in other words, simplify ln(f(x)) algebraically.
- now apply the derivative operator to both sides.
- use your rules of differentiation to find the derivatives. note that the left-hand side requires implicit differentiation. (check out: ap calculus review: implicit variation for details.)
- solve for dy/dx by multiplying both sides by y. in your answer, don’t forget to replace y by f(x).
example 2
use logarithmic differentiation to find the derivative of:
solution
let’s follow the steps outlined above. the first two steps are routine.
on the other hand, step 3 requires us to break down the logarithmic expression using the properties. the work in this step depends on the function. in our case, there is a product of two factors, so we’ll start with the product property. the power property helps to break down the radical. finally, don’t forget the cancellation rule: ln(ex) = x.
next, in steps 4 and 5 apply the derivative and work out the right-hand side.
finally, in step 6, we solve for the unknown derivative by multiplying both sides by y. don’t forget to substitute back the original function f(x) in place of y.
functions raised to a function power
a very famous question in calculus class is: what is the derivative of xx ?
- the answer is not x xx – 1, because the power rule for derivatives cannot be used when the power includes a variable.
- the answer is not xx ln x, because the exponential rule for derivatives cannot be used when the base includes a variable.
so what is the derivative of xx ?
well, it turns out that only logarithmic differentiation can decide this one for us!
in fact any time there is a function raised to a function power (that is, neither the exponent nor the base is constant), then you will have to use logarithms to break it down before you can take a derivative.
let’s see how it works in the simplest case: xx.
first, write y = xx.
then, apply the logarithm to both sides: ln y = ln xx.
break down the right-hand side of the equation using the algebraic properties of logarithms. in this case, only the power property plays a role.
ln y = x ln x
now you can take derivatives of the functions on both sides. but be careful… the function on the right requires a product rule.
(1/y)(dy/dx) = (1) ln x + x(1/x) = ln x + 1
finally, multiply both sides by the original function (y = xx) to isolate dy/dx.
dy/dx = xx(ln x + 1)
and there you have it! the derivative of xx turns out to be trickier than you might have thought at first, but it’s not impossible.
summary
- logarithmic differentiation is a method for finding derivatives of complicated functions involving products, quotients, and/or powers.
- you can use the algebraic properties of logarithms to break down functions into simpler pieces before taking the derivative.
leave a reply