Function-Operations 2
Function-Operations 2
OUTPUT
(RANGE)
Ex.
{(2,5) , (3,8) , (4,6) , (7, 20)}
{(1,4) , (1,5) , (2,3) , (9, 28)}
{(1,0) , (4,0) , (9,0) , (21, 0)}
Time of Day
1
Degrees C
4
6
15
12
10
14
11
13
Domain
Inputs: 1,2,3,4,5,6
Outputs: 9,10,12,13,15
6
2
Notation
f (x)
f of x
Input = x
Output = f(x) = y
Copy in Notes:
Function Operations
Addition : f g ( x) f x g x
Multiplication : f g x f x g x
Subtraction : f g x f x g x
f
f x
Division : x
where g x 0
g x
g
Observe!
Adding and Subtracting Functions
Let f x 3x 8 and g x 2 x 12.
Find f g and f - g
f g ( x) f x g x
(3 x 8) (2 x 12)
5x 4
(3 x 8) (2 x 12)
g ( x) f x g x
x 20
Observe!
Multiplying Functions
Let f x x - 1 and g x x 1.
Find f g
2
f x g ( x) ( x 2 1)( x 1)
x3 x 2 x 1
f x x2 1
g x
x 1
( x 1)( x 1)
x 1
( x 1)
Combining Functions
Ex. 1 Guided Notes Handout
Example 2:
Example 3
Example 4:
Find f x g ( x)
Find f x g ( x)
Find
f x
g(x)
Find
f x
g(x)
composition of
function g with
function is written as
g f x g f x
1
Composition
f(g(x))
g(f(x))
( f g )( x) f ( g ( x))
f ( x) x 2
g ( x) x 1
( f g )( x) f ( g ( x)) f ( x 1) ( x 1)
( g f )( x) g ( f ( x)) g ( x ) x 1
2
Example Composition of
Functions
Method 2:
g f x g f x
g f x g f x
g x g ( x 2) ( x 2) 2
g f 5 g (5 2)
g f 5 5 2
g (7)
(7) 49
2
(7) 49
2
Solution
Let f x x 3 and g x x 2 7. Find g f 2
2. Make a composition
of functions:
g f x ( g (0.8 x))
0.8 x 5
This represents if
they clerk does the
discount first, then
takes $5 off the
discounted price.
f g x ( f ( g ( x 5))
0.8( x 5)
0.8x - 4
f g x g f x
(0.8 x 4) (0.8 x 5) 1