Functions
Functions
one is
dependent? f
OUTPUT f(x)=y
3
In order for a relationship to be a function…
EVERY INPUT MUST HAVE AN OUTPUT
TWO DIFFERENT INPUTS CAN HAVE THE
SAME OUTPUT
ONE INPUT CAN HAVE ONLY ONE
OUTPUT
INPUT
(DOMAIN)
Functions
FUNCTION
MACHINE
OUTPUT (RANGE)
Example 6
Which of the following relations are
functions?
R= {(9,10), (-5, -2), (2, -1), (3, -9)}
S= {(6, a), (8, f), (6, b), (-2, p)}
T= {(z, 7), (y, -5), (r, 7), (z, 0), (k, 0)}
-3 3
1 1
3 -2
4
Function?
Yes: each input is mapped
Domain = {-3, 1,3,4} onto exactly one output
Range = {-2,1,3}
Identify the Domain and Range. Then
tell if the relation is a function.
Input Output
-3 3
1 -2
4 1
Page 117
Use the vertical line test to visually check if the
relation is a function.
(4,4)
(-3,3)
(1,1)
(1,-2)
Function?
No, Two points are on
The same vertical line.
Use the vertical line test to visually check if the
relation is a function.
(-3,3)
(1,1) (3,1)
(4,-2)
Function?
Yes, no two points are
on the same vertical line
#1 Function?
#2 Function?
#3 Function?
#5 Function?
#6 Function?
#7 Function?
#8 Function?
Function Notation
f (x)
“f of x”
Input = x
Output = f(x) = y
Before… Now…
y = 6 – 3x f(x) = 6 – 3x
x y x f(x)
-2 12 -2 12
-1 9 (x, y) -1 9 (x, f(x))
0 6 0 6
1 3 1 3
2 0 2 0
(input, output)
Function Operations
Addition : ( f + g )( x) = f (x ) + g (x )
Subtractio n : ( f − g )(x ) = f (x ) − g (x )
f f (x )
Division : (x ) = where g(x ) 0
g g (x )
Adding and Subtracting Functions
( f + g )( x) = f (x ) + g (x ) ( f − g )( x) = f (x ) − g (x )
= (3x + 8) + (2 x − 12) = (3x + 8) − (2 x − 12)
= 5x − 4 = x + 20
Multiplying Functions
f (x ) g ( x) = ( x 2 − 1)( x + 1)
= x3 + x 2 − x − 1
Dividing Functions
Dividing Functions
(g f )(x ) = g ( f (x ))
1
Solution
Substitute x with 2x – 1 in the function f(x) = x2 + 6.
(f ∘ g) (x) = (2x – 1)2 + 6
= (2x – 1) (2x – 1) + 6
= 4x2 – 4x + 1 + 6
= 4x2 – 4x + 7
Example 2
Solution
Substitute x with x2 + 6 in the function g(x) = 2x – 1
(g ∘ f) (x) = 2(x2 + 6) – 1
= 2x2 + 12 – 1
= 2x2 + 11
Evaluate f [g (6)] given that,
f (x) = 5x + 4 and g (x) = x – 3
Solution
First, find the value of f(g(x)).
⟹ f (g (x)) = 5(x – 3) + 4
= 5x – 15 + 4
f (g (x)) = 5x – 11
Now substitute x in f(g(x)) with 6
f (g (6)) = 5(6) – 11
= 30 – 11
= 19
Therefore, f [g (6)] = 19