chapter 6 6-5 operations with functions. objectives add, subtract, multiply, and divide functions....

27
Chapter 6 6-5 operations with functions

Upload: bennett-carson

Post on 23-Dec-2015

241 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Chapter 6 6-5 operations with functions

Page 2: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

ObjectivesAdd, subtract, multiply, and divide

functions. Write and evaluate composite functions.

Page 3: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Operations with functions You can perform operations on functions

in much the same way that you perform operations on numbers or expressions. You can add, subtract, multiply, or divide functions by operating on their rules.

Page 4: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Notation

Page 5: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example 1A: Adding and Subtracting Functions

Given f(x) = 4x2 + 3x – 1 and g(x) = 6x + 2, find each function.

(f + g)(x) Solution: (f + g)(x) = f(x) + g(x)

= (4x2 + 3x – 1) + (6x + 2)

= 4x2 + 9x + 1

Page 6: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example 1B: Adding and Subtracting Functions

Given f(x) = 4x2 + 3x – 1 and g(x) = 6x + 2, find each function.

Solution: (f – g)(x) = f(x) – g(x) = (4x2 + 3x – 1) – (6x + 2) = 4x2 + 3x – 1 – 6x – 2

(f – g)(x)

= 4x2 – 3x – 3

Page 7: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Check It Out! Example 1a

Given f(x) = 5x – 6 and g(x) = x2 – 5x + 6, find each function.

(f + g)(x) = x2

(f – g)(x) = –x2 + 10x – 12

Page 8: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

When you divide functions, be sure to note any domain restrictions that may arise.

Page 9: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example 2A: Multiplying and Dividing Functions

Given f(x) = 6x2 – x – 12 and g(x) = 2x – 3, find each function.

(fg)(x) Solution (fg)(x) = f(x) ● g(x) = (6x2 – x – 12) (2x – 3) 6x2 (2x – 3) – x(2x – 3) – 12(2x – 3) 12x3 – 18x2 – 2x2 + 3x – 24x + 36 = 12x3 – 20x2 – 21x + 36

Page 10: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example 2B: Multiplying and Dividing Functions

Given f(x) = 6x2 – x – 12 and g(x) = 2x – 3, find each function

( f/g )(x)

Page 11: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Solution

( ) (x)fg

f(x)

g(x)=

6x2 – x –12

2x – 3=

=(2x – 3)(3x + 4)

2x – 3

=(2x – 3)(3x +4)

(2x – 3)

3x + 4, where x ≠ 3/2

Page 12: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Check it out Given f(x) = x + 2 and g(x) = x2 – 4,

find each function. (fg)(x)

= x – 2, where x ≠ –2

= x3 + 2x2 – 4x – 8

( ) (x)g

f

Page 13: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Composition of functions Another function operation uses the

output from one function as the input for a second function. This operation is called the composition of functions.

Page 14: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Composition of function

The order of function operations is the same as the order of operations for numbers and expressions. To find f(g(3)), evaluate g(3) first and then substitute the result into f.

Page 15: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example 3A: Evaluating Composite Functions

Given f(x) = 2x and g(x) = 7 – x, find each value.

Solution:Step 1 Find g(4)

f(g(4))

g(4) = 7 – 4 = 3

Step 2 Find f(3)

f(3) = 23 = 8

So f(g(4)) = 8.

Page 16: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example Given f(x) = 2x and g(x) = 7 – x, find

each value.

g(f(4))

Page 17: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Check It Out! Example 3a

Given f(x) = 2x – 3 and g(x) = x2, find each value.

f(g(3)) So f(g(3)) = 15.

g(f(3))So g(f(3)) = 9

Page 18: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Operations with functions You can use algebraic expressions as

well as numbers as inputs into functions. To find a rule for f(g(x)), substitute the rule for g into f.

Page 19: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example 4A: Writing Composite Functions

Given f(x) = x2 – 1 and g(x) = , write each composite function. State the domain of each.

f(g(x)) Solution

f(g(x)) = f( x

1 – x

= ( )2 – 1 x

1 – x

–1 + 2x

(1 – x)2=

The domain of f(g(x)) is x ≠ 1 or {x|x ≠ 1} because g(1) is undefined.

Page 20: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Example Given f(x) = x2 – 1 and g(x) = ,

write each composite function. State the domain of each.

g(f(x))

The domain of g(f(x)) is x ≠ or {x|x ≠ } because f( ) = 1 and g(1) is undefined.

Page 21: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Check It Out! Example 4a

Given f(x) = 3x – 4 and g(x) = + 2 , write each composite. State the domain of each.

f(g(x))

The domain of f(g(x)) is x ≥ 0 or {x|x ≥ 0}.

g(f(x))

Page 22: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Composite functions Composite functions can be used to

simplify a series of functions.

Page 23: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Application Jake imports furniture from Mexico.

The exchange rate is 11.30 pesos per U.S. dollar. The cost of each piece of furniture is given in pesos. The total cost of each piece of furniture includes a 15% service charge.

A. Write a composite function to represent the total cost of a piece of furniture in dollars if the cost of the item is c pesos.

Page 24: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Solution Step 1 Write a function for the total

cost in U.S. dollars.

P(c) = c + 0.15c

= 1.15c

Step 2 Write a function for the cost in dollars based on the cost in pesos.

D(c) = c

11.30

Page 25: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Solutiob Step 3 Find the composition D(P(c)).

= 1.15 ( ) c

11.30

B. Find the total cost of a table in dollars if it costs 1800 pesos.

Evaluate the composite function for c = 1800.

D(P(c) ) = 1.15 ( )1800

11.30

≈ 183.19

Page 26: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Student guided practice Do even numbers from 2-14

Page 27: Chapter 6 6-5 operations with functions. Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions

Homework Do even numbers 15-32 in your book

page 446