chapter 2 functions and graphs section 6 logarithmic functions

28
Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

Upload: lorin-norman

Post on 22-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

Chapter 2

Functions and Graphs

Section 6

Logarithmic Functions

Page 2: 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.

Page 3: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 4: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 5: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 6: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 7: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 8: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 9: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 10: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 11: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 12: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

12Barnett/Ziegler/Byleen Finite Mathematics 12e

Logarithmic Function

Page 13: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 14: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 15: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 16: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 17: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

17Barnett/Ziegler/Byleen Finite Mathematics 12e

Solving Logarithmic Equations

Solve for x: log

4x 6 log

4x 6 3

Page 18: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 19: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

19Barnett/Ziegler/Byleen Finite Mathematics 12e

Another Example

Solve: log log 10,000 x

Page 20: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 21: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 22: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 23: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 24: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

24Barnett/Ziegler/Byleen Finite Mathematics 12e

Application

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

Page 25: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 26: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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.

Page 27: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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

Page 28: Chapter 2 Functions and Graphs Section 6 Logarithmic Functions

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