Relations and Functions
Relations and Functions
And
Functions
A relation is a set of ordered pairs.
The domain is the set of all x values in the relation
domain = {-1,0,2,4,9}
These are the x values written in a set from smallest to largest
This is a
{(2,3), (-1,5), (4,-2), (9,9), (0,-6)} relation
range = {-6,-2,3,5,9}
1
2
2
4
3
6
4 8
5 10
No
1 xh
are 2 tha as
’s ed 2 m
x
All sign
4 ass n one ore
3 ign y
as 6 ed
4 8
5 10
1
2
2
4
3
6
4 8
5 10
1
2
2
4
3
6
4 8
5 10
f 2 22 32 6
not something you work. It says 2
that the right hand side is the
function f and it has x in it.
f 2 24 32 6 8 6 6 8
So we have a function called f that has the variable x in it.
Using function notation we could then ask the following:
This means to find the function f and instead of
Find f (2). having an x in it, put a 2 in it. So let’s take the
function above and make brackets everywhere
the x was and in its place, put in a 2.
f 2 2 2 3 2 6
2
f 2 24 3 2 6 8 6 6 20
f k 2k 3k 6
2
f k 2 k 3k 6 2k 3k 6
2 2
f 2k 2 4k 32k 6 8k 6k 6
2 2
g x x 2 x
2
g 4 4 2 4 16 8 24
2
So g 1 g 4 1 24 23
The last thing we need to learn about functions for
this section is something about their domain. Recall
domain meant "Set A" which is the set of values you
plug in for x.
h x x 4
Can't be negative so must be ≥ 0
x40 solve
this x4
We have to be careful what x's we use so that the second
"illegal" of square rooting a negative doesn't happen. This
means the "stuff" under the square root must be greater
than or equal to zero (maths way of saying "not negative").
Summary of How to Find the
Domain of a Function
• Look for any fractions or square roots that could cause one
of the two "illegals" to happen. If there aren't any, then the
domain is All real numbers x.
• If there are fractions, figure out what values would make the
bottom equal zero and those are the values you can't use.
The answer would be: All real numbers x such that x ≠
those values.
• If there is a square root, the "stuff" under the square root
cannot be negative so set the stuff ≥ 0 and solve. Then
answer would be: All real numbers x such that x is defined
by whatever you got when you solved.
NOTE: Of course your variable doesn't have to be x, can be
whatever is in the problem.
Determine if a Relation is a Function
1. {(−3,9),(−2,4),(−1,1),(0,0),(1,1),(2,4),(3,9)}
2. {(9,−3),(4,−2),(1,−1),(0,0),(1,1),(4,2),(9,3)}
3. {(−3,27),(−2,8),(−1,1),(0,0),(1,1),(2,8),(3,27)}
4. {(−3,−27),(−2,−8),(−1,−1),(0,0),(1,1),(2,8),(3,27)}