12
5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, Washin Photo by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

Embed Size (px)

Citation preview

Page 1: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

1.5: Functions and Logarithms

Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004

Golden Gate BridgeSan Francisco, CA

Page 2: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

A relation is a function if:for each x there is one and only one y.

A relation is a one-to-one if also: for each y there is one and only one x.

In other words, a function is one-to-one on domain D if:

f a f b whenever a b

also known as the HLT

Page 3: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

To be one-to-one, a function must pass the horizontal line test as well as the vertical line test.

31

2y x 21

2y x 2x y

one-to-one not one-to-one not a function

(also not one-to-one)

Page 4: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

Inverse functions:

11

2f x x Given an x value, we can find a y value.

11

2y x

11

2y x

2 2y x

2 2x y

Switch x and y: 2 2y x 1 2 2f x x

(eff inverse of x)

Inverse functions are reflections about y = x.

Solve for x:

Page 5: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

xxffxff ))(())(( 11 If

What does this tell us?

22

1)(

42)(

xxg

xxf

Are these functions inverses of each other?

Page 6: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

example 3: 2f x x 0x

Graph: f x 1f x y x for 0x

Page 7: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

example 3: 2f x x 0x

Graph: f x 1f x y x for 0x

b Find the inverse function:

2 x 0y x

y x

x y

Switch x & y:

y x

1f x x

Page 8: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

Consider xf x a

This is a one-to-one function, therefore it has an inverse.

The inverse is called a logarithm function.

Example:416 2 24 log 16 Two raised to what power

is 16?

The most commonly used bases for logs are 10: 10log logx x

and e: log lne x x

lny x is called the natural log function.

logy x is called the common log function.

Page 9: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

Properties of Logarithms

loga xa x log xa a x 0 , 1 , 0a a x

Since logs and exponentiation are inverse functions, they “un-do” each other.

Product rule: log log loga a axy x y

Quotient rule: log log loga a a

xx y

y

Power rule: log logya ax y x

Change of base formula:ln

loglna

xx

a

Page 10: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

Example 6:

$1000 is invested at 5.25 % interest compounded annually.How long will it take to reach $2500?

1000 1.0525 2500t

1.0525 2.5t We use logs when we have an

unknown exponent.

ln 1.0525 ln 2.5t

ln 1.0525 ln 2.5t

ln 2.5

ln 1.0525t 17.9 17.9 years

In real life you would have to wait 18 years.

Page 11: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

Indonesian Oil Production:

607090

20.56 million 42.10 70.10

What does this equation predict for oil production in 1982 and 2000?

Find a logarithmic equation to fit the data

year Oil production barrels

Page 12: 1.5: Functions and Logarithms Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2004 Golden Gate Bridge San Francisco, CA

Hw: p 39

(1-12, 13, 16, 33-36, 37-42, 46-49)