Logarithmic function and their derivatives.
Recall that the function log
a
x is the inverse
function of a
x
: thus log
a
x = y ⇔ a
y
= x.
If a = e, the notation ln x is short for log
e
x
and the function ln x is called the natural loga-
rithm.
The derivative of y = ln x can be obtained
from derivative of the inverse function x = e
y
.
Note that the derivative x
0
of x = e
y
is x
0
= e
y
=
x and consider the reciprocal:
y = ln x ⇒ y
0
=
1
x
0
=
1
e
y
=
1
x
.
The derivative of logarithmic function of any base can be obtained converting log
a
to ln as
y = log
a
x =
ln x
ln a
= ln x
1
ln a
and using the formula for derivative of ln x. So we have
d
dx
log
a
x =
1
x
1
ln a
=
1
x ln a
.
The derivative of ln x is
1
x
and
the derivative of log
a
x is
1
x ln a
.
To summarize,
y e
x
a
x
ln x log
a
x
y
0
e
x
a
x
ln a
1
x
1
x ln a
Besides two logarithm rules we used above, we recall another two rules which can also be useful.
log
a
(xy) = log
a
x + log
a
y log
a
(
x
y
) = log
a
x − log
a
y
log
a
(x
r
) = r log
a
x log
a
x =
ln x
ln a
Logarithmic Differentiation.
Assume that the function has the form y = f(x)
g(x)
where both f and g are non-constant
functions. Although this function is not implicit, it does not fall under any of the forms for which
we developed differentiation formulas so far. This is because of the following.
• In order to use the power rule, the exponent needs to be constant.
• In order to use the exponential function differentiation formula, the base needs to be constant.
Thus, no differentiation rule covers the case y = f(x)
g(x)
. These functions sill can be differentiated
by using the method known as the logarithmic differentiation.
To differentiate a function of the form y = f (x)
g(x)
follow the steps of the logarithmic differenti-
ation below.
1. Take ln of both sides of the equation y = f (x)
g(x)
.