Which of these sets of points define a function (points below)?
a. #{(-2,-2),(-2,-1),(-2,0),(-2,1),(-2,2)}#
b. #{(1,0),(-1,0),(2,1),(-2,1),(3,2),(-3,2)}#
c. #{(-1,-1),(-1,3),(0,2),(4,3),(2,3)}#
d. #{(-3,-3),(-3,2),(-3,5),(1,0),(1,-2),(1,3)}#
a.
b.
c.
d.
2 Answers
a. NO
b. YES
c. NO
d. NO
Explanation:
A relation is only a function when there is only one output for every input. In other words, you can't have the same
For a,
For b, each
For c, this is not a function because
For d, This is also not a function since
Essentially, check to see if there are any repeating
An alternate, more visual, way of answering the question using the vertical line test.
Explanation:
Another way to view this problem is to graph the points and use the "vertical line test".
The vertical line test is a visual way to see if, for any
For instance, for the set of points a. {(-2, -2),(-2, -1),(-2, 0),(-2, 1),(-2, 2)}:
graph{((x+2)^2+(y+2)^2-.1)((x+2)^2+(y+1)^2-.1)((x+2)^2+(y+0)^2-.1)((x+2)^2+(y-1)^2-.1)((x+2)^2+(y-2)^2-.1)(x-0y+2)=0}
I've drawn a vertical line through more than 1 point and so the relation that created this set of points is not a function.
Contrast that with set b. {(1, 0),(-1, 0),(2, 1),(-2, 1),(3, 2),(-3, 2)}
graph{((x-1)^2+(y+0)^2-.1)((x+1)^2+(y+0)^2-.1)((x-2)^2+(y-1)^2-.1)((x+2)^2+(y-1)^2-.1)((x-3)^2+(y-2)^2-.1)((x+3)^2+(y-2)^2-.1)(x-0y+2)(x-0y+1)(x-0y+3)(x-0y-2)(x-0y-1)(x-0y-3)=0}
Each of vertical lines goes through only 1 point and so the relation that created this set of points is a function.