Fns+rel 1
Fns+rel 1
Core idea: Like any language, mathematics has its own symbols,
syntax, structure and rules.
2.2 Sets
TJPUNZALAN - 2020
2.3 Relations and Functions
Displaying RELATION as a …
2 3
-1 5
4 -2
9 9
0 -6
2 3
-1 5
4 -2
9 9
0 -6
• Relation as graph
What is a function?
▪ Is a relation a function?
▪ According to a textbook,
5
When is a relation a function?
•Focus on the x-coordinates, when given a relation
YES
•Is this a function?
•Hint: Look only at the x-coordinates
YES
7
Ex 2. {(–1, −7),(1, 0),(2, −3),(0, −8),(0, 5),(–2, −1)}
NO
•Is this still a relation?
YES
8
A B
Vertical Line Test
•Vertical Line Test: a relation is a function if a
vertical line drawn through its graph, passes
through only one point.
11
Vertical Line Test
Would this
graph be a
function?
YES
12
Vertical Line Test
Would this
graph be a
function?
NO
13
Is the following function discrete or continuous?
What is the Domain? What is the Range?
Discrete
-7, 1, 5, 7, 8, 10
1, 0, -7, 5, 2, 8
14
Is the following function discrete or continuous?
What is the Domain? What is the Range?
continuous
−8,8
−6,6
15
16
Composition of functions on a finite set
c) (f ∘ g)(0) = ? 4
d) (g ∘ f)(1) = ? 216
ACTIVITY
1. Given the relation { (2, -6), (1, 4), (2, 4), (0, 0), (1, -6), (3, 0)}
Domain = ? Range = ?
2. Give the relation in #1 as a mapping.
3. Is the relation in #1 a function? Why?
4. Is the mapping below a function?
-3 -6
-2 -1
-1 0
0 3
1 15
5. Is the mapping below a function?
-3
-2
-1 0
0
1
6. Is the mapping below a function?
-3 -6
-2 -1
-1 0
0 3
1 15
So for every x-value there is only one y-value that corresponds to it.
a) { (3, 4), (7, 2), (0,-1), (-2, 2), (-5, 0), (3, 3) }
9. { (Bob, 160 lbs), (Jon, 160 lbs), (Pao, 210 lbs), (Mc, 115 lbs) }
Domain = ?
Range = ?
10. { (2, g), (1, g), (2, h), (2, j), (1, j) }
Domain = ?
Range = ?
11. a) Are these graphs functions or relations? WHY?
b) Find the domain and range of graphs d) - f).
(BTW, the domain and range of graphs a) – c) are already given below.)
a) b) c)
d) e) f)
a) D = (-∞, +∞); R = (-∞, +∞) b) D = [0.8, +∞); R = (-∞, +∞) c) D = (-∞, +∞); R = [6, +∞)
One-to-one and Onto Functions
X Y
IF there’s a path from one vertex (say, v1) to another (say, v2), and a path from v2 to another (say, v3), THEN, there’s a path from v1 to v3.
TJPUNZALAN - 2020