Calculus/Derivatives of Exponential and Logarithm Functions

Logarithm Function

We shall first look at the irrational number in order to show its special properties when used with derivatives of exponential and logarithm functions. As mentioned before in the Algebra section, the value of is approximately but it may also be calculated as the Infinite Limit:

Now we find the derivative of using the formal definition of the derivative:

Let . Note that as , we get . So we can redefine our limit as:

Here we could take the natural logarithm outside the limit because it doesn't have anything to do with the limit (we could have chosen not to). We then substituted the value of .

Derivative of the Natural Logarithm

If we wanted, we could go through that same process again for a generalized base, but it is easier just to use properties of logs and realize that:

Since is a constant, we can just take it outside of the derivative:

Which leaves us with the generalized form of:

Derivative of the Logarithm

An alternative approach to derivative of the logarithm refers to the original expression of the logarithm as quadrature of the hyperbola y = 1/x . This approach is described in an extension of precalculus in § 1.8.

Exponential Function

Derivative of the exponential function

We shall take two different approaches to finding the derivative of . The first by using the limit definition and the Squeeze Theorem. The second approach will make use of the fact that . The first approach follows.

Proof

Let , then:

Making the limit substitution: and noting that as we have:

From the limit we have,

From this inequality one has

One also has,

Similarly,

Squeezing the left-hand limit, when :

Since by Squeeze Theorem:

The same exercise may be repeated for the right-hand limit to get . Since both , then:

Hence the whole derivative becomes:

As desired. We begin with the second proof:

Proof

We know that . Taking the derivative of both sides:

This expression comes from the chain rule and log rule derived from before. Now rearranging:

As desired. The base for which the derivative is itself is . A proof of this lemma follows.

Derivative of the exponential function

Proof

We know the derivative of is . One may use the substitution noting that . Then we have:

As desired.

Logarithmic Differentiation

We can use the properties of the logarithm, particularly the natural log, to differentiate more difficult functions, such a products with many terms, quotients of composed functions, or functions with variable or function exponents. We do this by taking the natural logarithm of both sides, re-arranging terms using the logarithm laws below, and then differentiating both sides implicitly, before multiplying through by .

See the examples below.

Example 1

We shall now prove the validity of the power rule using logarithmic differentiation.

Thus:

Example 2

Suppose we wished to differentiate

We take the natural logarithm of both sides

Differentiating implicitly, recalling the chain rule

Multiplying by , the original function

Example 3

Let us differentiate a function

Taking the natural logarithm of left and right

We then differentiate both sides, recalling the product and chain rules

Multiplying by the original function

Example 4

Take a function

Then

We then differentiate

And finally multiply by