chapter 2 functions and graphs section 6 logarithmic functions

Post on 22-Dec-2015

222 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Chapter 2

Functions and Graphs

Section 6

Logarithmic Functions

2Barnett/Ziegler/Byleen Finite Mathematics 12e

Learning Objectives for Section 2.6 Logarithmic Functions

The student will be able to use and apply inverse functions.

The student will be able to use and apply logarithmic functions and properties of logarithmic functions.

The student will be able to evaluate logarithms. The student will be able to solve applications involving

logarithms.

3Barnett/Ziegler/Byleen Finite Mathematics 12e

Logarithmic Functions

In this section, another type of function will be studied called the logarithmic function. There is a close connection between a logarithmic function and an exponential function. We will see that the logarithmic function and exponential functions are inverse functions. We will study the concept of inverse functions as a prerequisite for our study of logarithmic function.

4Barnett/Ziegler/Byleen Finite Mathematics 12e

One to One Functions

We wish to define an inverse of a function. Before we do so, it is necessary to discuss the topic of one to one functions.

First of all, only certain functions are one to one.

Definition: A function f is said to be one-to-one if each range value corresponds to exactly one domain value.

5Barnett/Ziegler/Byleen Finite Mathematics 12e

Graph of One to One Function

This is the graph of a one-to-one function. Notice that if we choose two different x values, the corresponding y values are different. Here, we see that if x = 0, then y = 1, and if x = 1, then y is about 2.8.Now, choose any other pair of x values. Do you see that the corresponding y values will always be different?

0

1

2

3

4

5

-1 0 1 2

6Barnett/Ziegler/Byleen Finite Mathematics 12e

Horizontal Line Test

Recall that for an equation to be a function, its graph must pass the vertical line test. That is, a vertical line that sweeps across the graph of a function from left to right will intersect the graph only once at each x value.

There is a similar geometric test to determine if a function is one to one. It is called the horizontal line test. Any horizontal line drawn through the graph of a one to one function will cross the graph only once. If a horizontal line crosses a graph more than once, then the function that is graphed is not one to one.

7Barnett/Ziegler/Byleen Finite Mathematics 12e

Which Functions Are One to One?

-30

-20

-10

0

10

20

30

40

-4 -2 0 2 40

2

4

6

8

10

12

-4 -2 0 2 4

8Barnett/Ziegler/Byleen Finite Mathematics 12e

Definition of Inverse Function

If f is a one-to-one function, then the inverse of f is the function formed by interchanging the independent and dependent variable for f. Thus, if (a, b) is a point on the graph of f, then (b, a) is a point on the graph of the inverse of f.

Note: If a function is not one-to-one (fails the horizontal line test) then f does not have an inverse.

9Barnett/Ziegler/Byleen Finite Mathematics 12e

Logarithmic Functions

The logarithmic function with base two is defined to be the inverse of the one to one exponential function

Notice that the exponential function

is one to one and therefore has an inverse. 0

1

2

3

4

5

6

7

8

9

-4 -2 0 2 4

graph of y = 2 (̂x)

approaches the negative x-axis as x gets large

passes through (0,1)

2xy

2xy

10Barnett/Ziegler/Byleen Finite Mathematics 12e

Inverse of an Exponential Function

Start with Now, interchange x and y coordinates:

There are no algebraic techniques that can be used to solve for y, so we simply call this function y the logarithmic function with base 2. The definition of this new function is:

if and only if

2xy

2yx

2log x y 2yx

11Barnett/Ziegler/Byleen Finite Mathematics 12e

Logarithmic Function

The inverse of an exponential function is called a logarithmic function. For b > 0 and b 1,

y logb

x x 2b

The log to the base b of x is the exponent to which b must be raised to obtain x. The domain of the logarithmic function is the set of all positive real numbers and the range of the logarithmic function is the set of all real numbers.

is equivalent to

12Barnett/Ziegler/Byleen Finite Mathematics 12e

Logarithmic Function

13Barnett/Ziegler/Byleen Finite Mathematics 12e

Graph, Domain, Range of Logarithmic Functions

The domain of the logarithmic function y = log2x is the same as the range of the exponential function y = 2x. Why?

The range of the logarithmic function is the same as the domain of the exponential function (Again, why?)

Another fact: If one graphs any one to one function and its inverse on the same grid, the two graphs will always be symmetric with respect to the line y = x.

14Barnett/Ziegler/Byleen Finite Mathematics 12e

Logarithmic-Exponential Conversions

Study the examples below. You should be able to convert a logarithmic into an exponential expression and vice versa. 1.

2.

3.

4.

4log (16) 4 16 2xx x

3125 5 5log 125 3

1

281

181 9 81 9 log 9

2

33 3 33

1 1log ( ) log ( ) log (3 ) 3

27 3

15Barnett/Ziegler/Byleen Finite Mathematics 12e

Solving Equations

Using the definition of a logarithm, you can solve equations involving logarithms. Examples:

3 3 3log (1000) 3 1000 10 10b b b b

56log 5 6 7776x x x

In each of the above, we converted from log form to exponential form and solved the resulting equation.

16Barnett/Ziegler/Byleen Finite Mathematics 12e

Properties of Logarithms

If b, M, and N are positive real numbers, b 1, and p and x are real numbers, then

5. logb

MN logb

M logb

N

6. logb

M

Nlog

bM log

bN

7. logb

M p p logb

M

8. logb

M logb

N iff M N

1. logb(1) 0

2. logb(b) 1

3. logbbx x

4. blogb x x

17Barnett/Ziegler/Byleen Finite Mathematics 12e

Solving Logarithmic Equations

Solve for x: log

4x 6 log

4x 6 3

18Barnett/Ziegler/Byleen Finite Mathematics 12e

Solving Logarithmic Equations

Solve for x:

Product rule

Special product

Definition of log

x can be +10 onlyWhy?

4 4

4

24

3 2

2

2

log ( 6) log ( 6) 3

log ( 6)( 6) 3

log 36 3

4 36

64 36

100

10

10

x x

x x

x

x

x

x

x

x

19Barnett/Ziegler/Byleen Finite Mathematics 12e

Another Example

Solve: log log 10,000 x

20Barnett/Ziegler/Byleen Finite Mathematics 12e

Another Example

Solve:

Quotient rule

Simplify

(divide out common factor π)

Rewrite

Property of logarithms

log log 10,000 x

log

10,000x

log1

10,000

x

log10

10 4 x

4 x

21Barnett/Ziegler/Byleen Finite Mathematics 12e

Common Logs and Natural Logs

Common log Natural log

10log logx x ln( ) logex x

2.7181828e If no base is indicated, the logarithm is assumed to be base 10.

22Barnett/Ziegler/Byleen Finite Mathematics 12e

Solving a Logarithmic Equation

Solve for x. Obtain the exact solution of this equation in terms of e (2.71828…)

ln (x + 1) – ln x = 1

23Barnett/Ziegler/Byleen Finite Mathematics 12e

Solving a Logarithmic Equation

Solve for x. Obtain the exact solution of this equation in terms of e (2.71828…)

Quotient property of logsDefinition of (natural log)Multiply both sides by x Collect x terms on left sideFactor out common factorSolve for x

ln (x + 1) – ln x = 1

1ln 1

x

x

ex = x + 1ex - x = 1x(e - 1) = 1

1

1x

e

x

xe

11

24Barnett/Ziegler/Byleen Finite Mathematics 12e

Application

How long will it take money to double if compounded monthly at 4% interest?

25Barnett/Ziegler/Byleen Finite Mathematics 12e

Application

How long will it take money to double if compounded monthly at 4% interest?

Compound interest formula

Replace A by 2P (double the amount)

Substitute values for r and m

Divide both sides by P

Take ln of both sides

Property of logarithms

Solve for t and evaluate expression

A P 1r

m

mt

2P P 10.04

12

12t

2 (1.003333...)12t

ln2 ln (1.003333...)12t ln2 12t ln(1.00333...)

t ln2

12ln(1.00333...)17.3619.28

26Barnett/Ziegler/Byleen Finite Mathematics 12e

Logarithmic Regression

Among increasing functions, the logarithmic functions with bases b > 1 increase much more slowly for large values of x than either exponential or polynomial functions. When a visual inspection of the plot of a data set indicates a slowly increasing function, a logarithmic function often provides a good model. We use logarithmic regression on a graphing calculator to find the function of the form y = a + b*ln(x) that best fits the data.

27Barnett/Ziegler/Byleen Finite Mathematics 12e

Example of Logarithmic Regression

A cordless screwdriver is sold through a national chain of discount stores. A marketing company established the following price-demand table, where x is the number of screwdrivers people are willing to buy each month at a price of p dollars per screwdriver.

x p = D(x)

1,000 912,000 733,000 644,000 565,000 53

28Barnett/Ziegler/Byleen Finite Mathematics 12e

Example of Logarithmic Regression

To find the logarithmic regression equation, enter the data into lists on your calculator, as shown below.

Then choose LnReg from the statistics menu. This means that the regression equation is y = 256.4659 - 24.038 ln x

top related