6 5 with Functions 6 5 Operations with

  • Slides: 33
Download presentation
6 -5 with Functions 6 -5 Operations with Functions Warm Up Lesson Presentation Lesson

6 -5 with Functions 6 -5 Operations with Functions Warm Up Lesson Presentation Lesson Quiz Holt. Mc. Dougal Algebra 2 Holt

6 -5 Operations with Functions Warm Up Simplify. Assume that all expressions are defined.

6 -5 Operations with Functions Warm Up Simplify. Assume that all expressions are defined. 1. (2 x + 5) – (x 2 + 3 x – 2) –x 2 – x + 7 2. (x – 3)(x + 1)2 x 3 – x 2 – 5 x – 3 3. x– 3 x– 2 Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Objectives Add, subtract, multiply, and divide functions. Write and

6 -5 Operations with Functions Objectives Add, subtract, multiply, and divide functions. Write and evaluate composite functions. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Essential Question • How do you write and evaluate

6 -5 Operations with Functions Essential Question • How do you write and evaluate composite functions? Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Vocabulary composition of functions Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Vocabulary composition of functions Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions You can perform operations on functions in much the

6 -5 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. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Example 1 A: Adding and Subtracting Functions Given f(x)

6 -5 Operations with Functions Example 1 A: Adding and Subtracting Functions Given f(x) = 4 x 2 + 3 x – 1 and g(x) = 6 x + 2, find each function. (f + g)(x) = f(x) + g(x) = (4 x 2 + 3 x – 1) + (6 x + 2) Substitute function rules. = 4 x 2 + 9 x + 1 Combine like terms. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Example 1 B: Adding and Subtracting Functions Given f(x)

6 -5 Operations with Functions Example 1 B: Adding and Subtracting Functions Given f(x) = 4 x 2 + 3 x – 1 and g(x) = 6 x + 2, find each function. (f – g)(x) = f(x) – g(x) = (4 x 2 + 3 x – 1) – (6 x + 2) Substitute function rules. = 4 x 2 + 3 x – 1 – 6 x – 2 Distributive Property = 4 x 2 – 3 x – 3 Combine like terms. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Check It Out! Example 1 a Given f(x) =

6 -5 Operations with Functions Check It Out! Example 1 a Given f(x) = 5 x – 6 and g(x) = x 2 – 5 x + 6, find each function. (f + g)(x) = f(x) + g(x) = (5 x – 6) + (x 2 – 5 x + 6) Substitute function rules. = x 2 Combine like terms. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Check It Out! Example 1 b Given f(x) =

6 -5 Operations with Functions Check It Out! Example 1 b Given f(x) = 5 x – 6 and g(x) = x 2 – 5 x + 6, find each function. (f – g)(x) = f(x) – g(x) = (5 x – 6) – (x 2 – 5 x + 6) Substitute function rules. = 5 x – 6 – x 2 + 5 x – 6 Distributive Property = –x 2 + 10 x – 12 Combine like terms. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions When you divide functions, be sure to note any

6 -5 Operations with Functions When you divide functions, be sure to note any domain restrictions that may arise. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Example 2 A: Multiplying and Dividing Functions Given f(x)

6 -5 Operations with Functions Example 2 A: Multiplying and Dividing Functions Given f(x) = 6 x 2 – x – 12 and g(x) = 2 x – 3, find each function. (fg)(x) = f(x) ● g(x) = (6 x 2 – x – 12) (2 x – 3) Substitute function rules. = 6 x 2 (2 x – 3) – x(2 x – 3) – 12(2 x – 3) Distributive Property = 12 x 3 – 18 x 2 – 2 x 2 + 3 x – 24 x + 36 Multiply. = 12 x 3 – 20 x 2 – 21 x + 36 Combine like terms. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Example 2 B: Multiplying and Dividing Functions f g

6 -5 Operations with Functions Example 2 B: Multiplying and Dividing Functions f g ( )(x) = f(x) g(x) 6 x 2 – x – 12 = 2 x – 3 (2 x – 3)(3 x + 4) = 2 x – 3 (2 x – 3)(3 x +4) = (2 x – 3) = 3 x + 4, where x ≠ Holt Mc. Dougal Algebra 2 Set up the division as a rational expression. Factor completely. 3 Note that x ≠ 2. Divide out common factors. 3 2 Simplify.

6 -5 Operations with Functions Check It Out! Example 2 a Given f(x) =

6 -5 Operations with Functions Check It Out! Example 2 a Given f(x) = x + 2 and g(x) = x 2 – 4, find each function. (fg)(x) = f(x) ● g(x) = (x + 2)(x 2 – 4) Substitute function rules. = x 3 + 2 x 2 – 4 x – 8 Multiply. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Check It Out! Example 2 b ( ) g

6 -5 Operations with Functions Check It Out! Example 2 b ( ) g (x) f g f (x) = g(x) f(x) x 2 – 4 = x+2 (x – 2)(x + 2) = (x + 2) Divide out common factors. = x – 2, where x ≠ – 2 Simplify. Holt Mc. Dougal Algebra 2 Set up the division as a rational expression. Factor completely. Note that x ≠ – 2.

6 -5 Operations with Functions Another function operation uses the output from one function

6 -5 Operations with 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. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Reading Math The composition (f g of x. ”

6 -5 Operations with Functions Reading Math The composition (f g of x. ” Holt Mc. Dougal Algebra 2 o g)(x) or f(g(x)) is read “f of

6 -5 Operations with Functions Given f = {(4, 8), (6, 12), (8, 16)}

6 -5 Operations with Functions Given f = {(4, 8), (6, 12), (8, 16)} and g = {(1, 4), (3, 6), (5, 8)} 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. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Caution! Be careful not to confuse the notation for

6 -5 Operations with Functions Caution! Be careful not to confuse the notation for multiplication of functions with composition fg(x) ≠ f(g(x)) Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Example 3 A: Evaluating Composite Functions Given f(x) =

6 -5 Operations with Functions Example 3 A: Evaluating Composite Functions Given f(x) = 2 x and g(x) = 7 – x, find each value. f(g(4)) Step 1 Find g(4) = 7 – 4 g(x) = 7 – x =3 Step 2 Find f(3) = 23 =8 So f(g(4)) = 8. Holt Mc. Dougal Algebra 2 f(x) = 2 x

6 -5 Operations with Functions Example 3 B: Evaluating Composite Functions Given f(x) =

6 -5 Operations with Functions Example 3 B: Evaluating Composite Functions Given f(x) = 2 x and g(x) = 7 – x, find each value. g(f(4)) Step 1 Find f(4) = 24 = 16 Step 2 f(x) = 2 x Find g(16) = 7 – 16 = – 9 So g(f(4)) = – 9. Holt Mc. Dougal Algebra 2 g(x) = 7 – x.

6 -5 Operations with Functions Check It Out! Example 3 a Given f(x) =

6 -5 Operations with Functions Check It Out! Example 3 a Given f(x) = 2 x – 3 and g(x) = x 2, find each value. f(g(3)) Step 1 Find g(3) = 32 g(x) = x 2 =9 Step 2 Find f(9) = 2(9) – 3 = 15 So f(g(3)) = 15. Holt Mc. Dougal Algebra 2 f(x) = 2 x – 3

6 -5 Operations with Functions Check It Out! Example 3 b Given f(x) =

6 -5 Operations with Functions Check It Out! Example 3 b Given f(x) = 2 x – 3 and g(x) = x 2, find each value. g(f(3)) Step 1 Find f(3) = 2(3) – 3 f(x) = 2 x – 3 =3 Step 2 Find g(3) = 32 =9 So g(f(3)) = 9. Holt Mc. Dougal Algebra 2 g(x) = x 2

6 -5 Operations with Functions You can use algebraic expressions as well as numbers

6 -5 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. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Example 4 A: Writing Composite Functions x 2 Given

6 -5 Operations with Functions Example 4 A: Writing Composite Functions x 2 Given f(x) = x – 1 and g(x) = , write 1–x each composite function. State the domain of each. f(g(x)) = f( =( = x 1–x ) )2 – 1 2 x − 1 (1 – x)2 Substitute the rule g into f. Use the rule for f. Note that x ≠ 1. Simplify. The domain of f(g(x)) is x ≠ 1 or {x|x ≠ 1} because g(1) is undefined. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Example 4 B: Writing Composite Functions x 2 Given

6 -5 Operations with Functions Example 4 B: Writing Composite Functions x 2 Given f(x) = x – 1 and g(x) = , write 1–x each composite function. State the domain of each. g(f(x)) = g(x 2 – 1) = = (x 2 – 1) 2 1 – (x – 1) x 2 – 1 2 – x 2 Substitute the rule f into g. Use the rule for g. Simplify. Note that x ≠ The domain of g(f(x)) is x ≠ or {x|x ≠ because f( ) = 1 and g(1) is undefined. Holt Mc. Dougal Algebra 2 . }

6 -5 Operations with Functions Check It Out! Example 4 a Given f(x) =

6 -5 Operations with Functions Check It Out! Example 4 a Given f(x) = 3 x – 4 and g(x) = + 2 , write each composite. State the domain of each. f(g(x)) = 3( + 2) – 4 Substitute the rule g into f. = +6– 4 Distribute. Note that x ≥ 0. = +2 Simplify. The domain of f(g(x)) is x ≥ 0 or {x|x ≥ 0}. Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Check It Out! Example 4 b Given f(x) =

6 -5 Operations with Functions Check It Out! Example 4 b Given f(x) = 3 x – 4 and g(x) = + 2 , write each composite. State the domain of each. g(f(x)) = = Substitute the rule f into g. Note that x ≥ The domain of g(f(x)) is x ≥ Holt Mc. Dougal Algebra 2 4 3 . or {x|x ≥ 4 3 }.

6 -5 Operations with Functions Lesson Quiz: Part I Given f(x) = 4 x

6 -5 Operations with Functions Lesson Quiz: Part I Given f(x) = 4 x 2 – 1 and g(x) = 2 x – 1, find each function or value. 1. (f + g)(x) 4 x 2 + 2 x – 2 2. (fg)(x) 8 x 3 – 4 x 2 – 2 x + 1 3. ( )(x) f g 4. g(f(2)) Holt Mc. Dougal Algebra 2 2 x + 1 29

6 -5 Operations with Functions Lesson Quiz: Part II Given f(x) = x 2

6 -5 Operations with Functions Lesson Quiz: Part II Given f(x) = x 2 and g(x) = , write each composite function. State the domain of each. 5. f(g(x)) = x – 1; {x|x ≥ 1} 6. g(f(x)) {x|x ≤ – 1 or x ≥ 1} Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions Essential Question • How do you write and evaluate

6 -5 Operations with Functions Essential Question • How do you write and evaluate composite functions? Holt Mc. Dougal Algebra 2

6 -5 Operations with Functions • Student: I haven’t figured out composite functions yet.

6 -5 Operations with Functions • Student: I haven’t figured out composite functions yet. • Teacher: Why not? • Student: I think my brain is in a f ○ g. Holt Mc. Dougal Algebra 2