Now that we know the derivative of a log, we can combine it with the
chain rule:ddx(ln(y))=1ydydx,
or
equivalently dydx=yddx(ln(y)).
Sometimes it
is (much!) easier to take the derivative of ln(y) than of y. In those
cases, we can use the last equation to get dy/dx. This is
called logarithmic differentiation.
Example: Find the derivative of y=xx.
Solution:
Take the log of both sides to get
ln(y)=xln(x). By the product rule, the derivative of
xln(x) is ln(x)+1. So
dydx=yddx(ln(y))=xx(1+ln(x)).