Docsity

3.3 The logarithm as an inverse function, Lecture notes of Mathematics

Toggle sidebar
bg1
3.3 The logarithm as an inverse function
In this section we concentrate on understanding the logarithm function. If the logarithm is understood
as the inverse of the exponential function, then the variety of properties of logarithms will be seen as
naturally flowing out of our rules for exponents.
3.3.1 The meaning of the logarithm
The logarithmic function g(x) = logb(x) is the inverse of an exponential function f(x) = bx.and so the
meaning of y= logb(x) is by=x. The expression by=xis said to be the “exponential form” for the
logarithm y= logb(x). The positive constant bis called the base (of the logarithm.)
Some worked exercises.
Write each of the following logarithms in exponential form and then use that exponential form to
solve for x.
1. log2(8) = x
Solution. The exponential form is 2x= 8.Since 23= 8 the answer is x= 3 .
2. log2(247) = x
Solution. The exponential form is 2x= 247.So x= 47 .
3. log2(1
2) = x
Solution. The exponential form is 2x=1
2.Since 2−1=1
2the answer is x=−1 .
4. log2(1
8) = x
Solution. The exponential form is 2x=1
8.Since 2−3=1
8the answer is x=−3 .
5. log2(3
√2) = x
Solution. The exponential form is 2x= 21/3.So x= 1/3 .
3.3.2 The graph of a logarithm function
The graph of y= 2xwas drawn in an earlier lecture (see figure 1.)
Figure 1. The graph of y= 2x
120
pf3
pf4
pf5

Partial preview of the text

Download 3.3 The logarithm as an inverse function and more Lecture notes Mathematics in PDF only on Docsity!

3.3 The logarithm as an inverse function

In this section we concentrate on understanding the logarithm function. If the logarithm is understood as the inverse of the exponential function, then the variety of properties of logarithms will be seen as naturally flowing out of our rules for exponents.

3.3.1 The meaning of the logarithm

The logarithmic function g(x) = logb(x) is the inverse of an exponential function f (x) = bx. and so the meaning of y = logb(x) is by^ = x. The expression by^ = x is said to be the “exponential form” for the logarithm y = logb(x). The positive constant b is called the base (of the logarithm.)

Some worked exercises. Write each of the following logarithms in exponential form and then use that exponential form to solve for x.

  1. log 2 (8) = x Solution. The exponential form is 2x^ = 8. Since 2^3 = 8 the answer is x = 3.
  2. log 2 (2^47 ) = x Solution. The exponential form is 2x^ = 2^47. So x = 47.
  3. log 2 (

) = x

Solution. The exponential form is 2x^ =

. Since 2−^1 =

the answer is x = −.

  1. log 2 (

) = x

Solution. The exponential form is 2x^ =

. Since 2−^3 =

the answer is x = −.

  1. log 2 ( 3
  1. = x Solution. The exponential form is 2x^ = 2^1 /^3. So x = 1/.

3.3.2 The graph of a logarithm function

The graph of y = 2x^ was drawn in an earlier lecture (see figure 1.)

Figure 1. The graph of y = 2x

The graph of the inverse function y = log 2 x is obtained by reflecting the graph of y = 2x^ across the line y = x.

Figure 4. The graph of y = log 2 x

If we draw them together, we have the picture below, in figure 3:

Figure 5. The graphs of y = 2x^ and y = log 2 x (in blue) with the line of reflection, y = x (in green)

We agreed earlier that the exponential function f (x) = bx^ has domain (−∞, ∞) and range (0, ∞). Since g(x) = logb x is the inverse function of f (x) the domain of the log function will be the range of the exponential function, and vice versa. So the domain of g(x) = logb x is (0, ∞) and the range is (−∞, ∞).

The most useful base for logarithms is e. We will abbreviate loge(x) by ln(x) and speak of the “natural logarithm”. Sometimes, for historical reasons, we may use base 10. It is customary to speak then of the “common logarithm” and abbreviate log 10 (x) by log(x), dropping the subscript. However (warning!), in higher mathematics and engineering applications, log(x) means base e and is equivalent to ln(x). In these notes we will use log(x) to mean log 10 (x).

A third important property of exponents: when we raise a term like bx^ to a power, we multiply exponents.

(bx)c^ = bxc^ (12)

In our “logarithm language” (thinking of M as bx) we have the exponent property

logb(M c) = c logb M (13)

Each of these three properties is merely a restatement, in the language of logarithms, of a property of exponents.

3.3.4 Changing the base

Suppose we want to change the base of our logarithm. This often occurs when we want to use a “good” base like e on a problem which began with a different base. Maybe we want to work with base c but our problem began with base b:

y = logb x.

Rewrite this in exponential form: by^ = x.

and take the log of both sides of the equation. If we want to work in base c then let us apply logc() to both sides of our equation. logc(by^ ) = logc(x).

Now we use the exponet property (equation 13, pulling the exponent y outside the logarithm:

y logc(b) = logc(x).

Solve for y:

y =

logc x logc b

What we have discovered is that y has been rewritten. So y, which was originally equal to logb x is now

logb x = logc x logc b

Let’s call this the “change of base” equation.

Example. Suppose we want to compute log 2 (17) but our calculator only allows us to use the natural logarithm ln. Then, by the change of base equation (equation 14), we can write

log 2 (17) =

ln 17 ln 2

3.3.5 More on the logarithm as an inverse function

We began this lecture by defining g(x) = logb(x) as the inverse function of f (x) = bx. Since these functions are inverses, we know then that

(f ◦ g)(x) = (g ◦ f )(x) = x. (15)

Let us examine this in more detail.

Note that (g ◦ f )(x) = g(f (x)) = g(bx) = logb(bx). So, since the log function and the exponential function are inverse functions, this must be equal to just x and so we have

logb(bx) = x. (16)

This equation is really fairly easy to understand. If we translate “logb(x)” as “the exponent on b that give x” then we should translate logb(bx) as “the exponent on b which gives bx.” Obviously this should be x since x is the exponent one places on b to get bx. (If that doesn’t make sense, read through it one more time slowly....) Since (f ◦ g)(x) = x we also have x = (f ◦ g)(x) = f (g(x)) = f (logb x) = blogb^ x. So

blogb^ x^ = x. (17)

This is almost as easy to understand as equation 16. It says that if we place on b “the exponent you put on b to get x” (logb x) then we should just get x! We will explore these properties more in the next section. Once we understand the logarithm as the inverse of the exponential function, we are prepared to find the inverse of many functions involving the logarithm. Here are some examples.

Some worked examples on inverse functions Find the inverse function of f (x).

  1. f (x) = ex

2 .

  1. f (x) = ex (^2) − 5 .
  2. f (x) = 5 + ex.
  3. f (x) = log 2 (x + 2) + 2.

Solutions

  1. To find the inverse of f (x) = ex

2 set y = ex

2 and then swap inputs and outputs so that

x = ey

2 .

Take the natural logarithm of both sides

ln x = y^2

and solve for y by taking square roots of both sides √ ln x = y.

So one inverse function is f −^1 (x) =

ln x.

  1. To find the inverse of y = ex

(^2) − 5 we swap letters so that x = ey

(^2) = , take natural logs of both sides

ln x = y^2 − 5 ,

add 5 and take square roots so that

f −^1 (x) =

ln x + 5.