Relations and Functions
Relations and Functions
And
Functions
range = {-6,-2,3,5,9}
The range is the set of all y values in the relation
This is a
relation
1
2
3
2
4
6
8
10
AAfunction
function ff from
from set
setAAto
toset
set BBisisaarule
ruleof
ofcorrespondence
correspondence
that
thatassigns
assignsto
toeach
eachelement
element xxin
inthe
theset
setAAexactly
exactly one
element
element yyin
inthe
theset
setB.
B.
re
a
s ed
x
All sign
as
1
2
3
4
5
2
4
6
8
10
No
xh
tha as
m
ass n one ore
ig n y
ed
What
This is a Whew!
function
Must use all the xs
did that
---it meets
oursay?
conditions
The x value can only be assigned to one y
1
2
3
4
5
2
4
6
8
10
This is a function
---it meets our
conditions
No
xh
tha as
m
ass n one ore
ig n y
ed
goodexample
examplethat
thatyou
youcan
canrelate
relatetotoisisstudents
studentsininour
our
AAgood
mathsclass
classthis
thissemester
semesterare
areset
setA.A. The
Thegrade
gradethey
theyearn
earnout
out
maths
theclass
classisisset
setB.B. Each
Eachstudent
studentmust
mustbe
beassigned
assignedaagrade
grade
ofofthe
andcan
canonly
only be
be assigned
assigned ONE
and
ONE grade,
grade,but
butmore
morethan
thanone
one
studentcan
canget
getthe
thesame
samegrade
grade(we
(wehope
hopeso---we
so---wewant
wantlots
lotsof
student
of As).
example
show
previous
screen
had
each
As).
TheThe
example
shown
onon
thethe
previous
screen
had
each
studentgetting
gettingthe
thesame
samegrade.
grade. Thats
Thatsokay.
okay.
student
1
2
3
4
5
2
4
6
8
10
NO
Why not???
2
4
6
8
10
Set B is the range
This is not a
Must use all the xs
function---it
doesnt assign
each x with a y The x value can only be assigned to one y
2
4
6
8
10
This is a function
f x 2 x 3x 6
2
This means
the right
hand side is
a function
called f
This means
the right hand
side has the
variable x in it
f x 2 x 3x 6
2
f 2 2 2 3 2 6
2
f 2 2 4 3 2 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
having an x in it, put a 2 in it. So lets take the
Find f (2).
function above and make brackets everywhere
the x was and in its place, put in a 2.
Dont forget order of operations---powers, then
multiplication, finally addition & subtraction
Find f (-2).
f x 2 x 3x 6
2
f 2 2 2 3 2 6
2
f 2 2 4 3 2 6 8 6 6 20
This means to find the function f and instead of having an x
in it, put a -2 in it. So lets take the function above and make
brackets everywhere the x was and in its place, put in a -2.
Dont forget order of operations---powers, then
multiplication, finally addition & subtraction
f x 2 x 3x 6
2
Find f (k).
f k 2 k 3 k 6
2
f k 2 k 3 k 6 2k 3k 6
2
f x 2 x 3x 6
2
Find f (2k).
f 2k 2 2k 3 2k 6
2
f 2k 2 4k 3 2k 6 8k 6k 6
2
g x x 2x
2
g 1 1 21 1
2
g 4 4 2 4 16 8 24
2
So g 1 g 4 1 24 23
the fraction = 0
x3
g x
x2
illegal if this
is zero
h x x 4
Can't be negative so must be 0
x40
solve
this
x4