Exponential and Logarithmic Functions

Learning Outcomes

  • Recognize the derivative and integral of the exponential function.
  • Prove properties of logarithms and exponential functions using integrals.
  • Express general logarithmic and exponential functions in terms of natural logarithms and exponentials.

The Exponential Function

We now turn our attention to the function ex. Note that the natural logarithm is one-to-one and therefore has an inverse function. For now, we denote this inverse function by expx. Then,

exp(lnx)=x for x>0 and ln(expx)=x for all x.

 

The following figure shows the graphs of expx and lnx.

This figure is a graph. It has three curves. The first curve is labeled exp x. It is an increasing curve with the x-axis as a horizontal asymptote. It intersects the y-axis at y=1. The second curve is a diagonal line through the origin. The third curve is labeled lnx. It is an increasing curve with the y-axis as an vertical axis. It intersects the x-axis at x=1.

Figure 4. The graphs of lnx and expx.

We hypothesize that expx=ex. For rational values of x, this is easy to show. If x is rational, then we have ln(ex)=xlne=x. Thus, when x is rational, ex=expx. For irrational values of x, we simply define ex as the inverse function of lnx.

Definition


For any real number x, define y=ex to be the number for which

lny=ln(ex)=x

 

Then we have ex=exp(x) for all x, and thus

elnx=x for x>0 and ln(ex)=x

 

for all x.

Properties of the Exponential Function

Since the exponential function was defined in terms of an inverse function, and not in terms of a power of e, we must verify that the usual laws of exponents hold for the function ex.

Properties of the Exponential Function

If p and q are any real numbers and r is a rational number, then

  1. epeq=ep+q
  2. epeq=epq
  3. (ep)r=epr

Proof

Note that if p and q are rational, the properties hold. However, if p or q are irrational, we must apply the inverse function definition of ex and verify the properties. Only the first property is verified here; the other two are left to you. We have

ln(epeq)=ln(ep)+ln(eq)=p+q=ln(ep+q).

 

Since lnx is one-to-one, then

epeq=ep+q.

◼

As with part iv. of the logarithm properties, we can extend property iii. to irrational values of r, and we do so by the end of the section.

We also want to verify the differentiation formula for the function y=ex. To do this, we need to use implicit differentiation. Let y=ex. Then

lny=xddxlny=ddxx1ydydx=1dydx=y.

 

Thus, we see

ddxex=ex

 

as desired, which leads immediately to the integration formula

exdx=ex+C

 

We apply these formulas in the following examples.

Example: Using Properties of Exponential Functions

Evaluate the following derivatives:

  1. ddte3tet2
  2. ddxe3x2

Try It

Evaluate the following derivatives:

  1. ddx(ex2e5x)
  2. ddt(e2t)3

Hint

Use the properties of exponential functions and the chain rule as necessary.

Watch the following video to see the worked solution to the above Try It.

Example: Using Properties of Exponential Functions

Evaluate the following integral: 2xex2dx.

 

Try It

Evaluate the following integral: 4e3xdx.

Hint

Use the properties of exponential functions and u-substitution as necessary.

Watch the following video to see the worked solution to the above Try It.

Try It

General Logarithmic and Exponential Functions

We close this section by looking at exponential functions and logarithms with bases other than e. Exponential functions are functions of the form f(x)=ax. Note that unless a=e, we still do not have a mathematically rigorous definition of these functions for irrational exponents. Let’s rectify that here by defining the function f(x)=ax in terms of the exponential function ex. We then examine logarithms with bases other than e as inverse functions of exponential functions.

Definition


For any a>0, and for any real number x, define y=ax as follows:

y=ax=exlna

 

Now ax is defined rigorously for all values of x. This definition also allows us to generalize property iv. of logarithms and property iii. of exponential functions to apply to both rational and irrational values of r. It is straightforward to show that properties of exponents hold for general exponential functions defined in this way.

Let’s now apply this definition to calculate a differentiation formula for ax. We have

ddxax=ddxexlna=exlnalna=axlna.

 

The corresponding integration formula follows immediately.

Derivatives and Integrals Involving General Exponential Functions


Let a>0. Then,

ddxax=axlna

 

and

axdx=1lnaax+C

 

If a1, then the function ax is one-to-one and has a well-defined inverse. Its inverse is denoted by logax. Then,

y=logaxif and only ifx=ay

 

Note that general logarithm functions can be written in terms of the natural logarithm. Let y=logax. Then, x=ay. Taking the natural logarithm of both sides of this second equation, we get

lnx=ln(ay)lnx=ylnay=lnxlnalogx=lnxlna.

 

Thus, we see that all logarithmic functions are constant multiples of one another. Next, we use this formula to find a differentiation formula for a logarithm with base a. Again, let y=logax. Then,

dydx=ddx(logax)=ddx(lnxlna)=(1lna)ddx(lnx)=1lna·1x=1xlna.

 

Derivatives of General Logarithm Functions


Let a>0. Then,

ddxlogax=1xlna

 

Example: Calculating Derivatives of General Exponential and Logarithm Functions

Evaluate the following derivatives:

  1. ddt(4t·2t2)
  2. ddxlog8(7x2+4)

Try It

Evaluate the following derivatives:

  1. ddt4t4
  2. ddxlog3(x2+1)

Watch the following video to see the worked solution to the above Try It.

Example: Integrating General Exponential Functions

Evaluate the following integral: 323xdx.

 

Try It

Evaluate the following integral: x22x3dx.

Hint

Use the properties of exponential functions and u-substitution as necessary.

Watch the following video to see the worked solution to the above Try It.