Relations and Functions
Relations and Functions
FUNCTIONS
INTRODUCTION TO
FUNCTIONS
Defintion of a Relation
Relations are correspondences between
two groups of elements. Each element in
one group relates or corresponds to the
one or more elements in the other group.
RELATIONS
David
15
Brenda
12
James
18
A relation is represented as a set of ordered pairs.
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
Is this relation
a function,
why? Show
evidence.
VERTICAL LINE TEST
If every
vertical line
intersects a
given graph at
two points,
then the graph
does not
represents a
function.
We commonly call functions by letters. Because function
starts with f, it is a commonly used letter to refer to
functions.
f x 2 x 3x 6
2
This means
the right The left side DOES NOT
hand side is This means MEAN f times x like
a function the right hand brackets usually do, it
called f side has the simply tells us what is on
variable x in it the right hand side.
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 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
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.
hx x 4
Can't be negative so must be ≥ 0
x 4 0 solve
this x 4
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.