Is the Relation a Function? Using the Vertical Line Test
A function is a relation (a set of ordered pairs) where the value of one variable depends on the value of the other variable. However, in a function, each input (x coordinate) may be paired with only ONE output (y coordinate).
Let's look at a couple of examples to clarify this definition.
Example 1
Let's look at our relation, b that we used in our relations example in the previous lesson.. Is this relation a function? Is each input only paired with only one output?
There are actually two ways to determine if a relation is a function. One way is to analyze the ordered pairs, and the other way is to use the vertical line test. Let's anaylze our ordered pairs first.

Since each input has a different output, this can be classified as a function.
Let's verify it with the vertical line test. The vertical line test is used when you graph the ordered pairs. You imagine a vertical line being drawn through the graph. If the vertical line only touches the graph at one point, then it is a function. If the vertical line touches in more than one point, then it is NOT a function.
Let's graph our points and use the vertical line test to prove that this is a function. I drew the vertical lines (output) on the graph to demonstrate what it would look like. Unless asked, you really don't need to draw the vertical lines, you can just imagine the vertical line, or I have my students use the edge of a sheet of paper and move it across the graph.

Since each vertical line only touches the graph at one point, this relation can be classified as a function!
Let's take a look at another example.
Example 2
Is the relation s, a function?
s:{(-3, 2) (-1, 6) (1,2)
Let's ask ourselves: Is each input paired with only one output? (This one is a little tricky!)
YES, each input is paired with only one output! I know that you see an output of 2 twice, but each is paired with a different input. The outputs can be the same, as long as the inputs are different! Let's look at the vertical line test.

Yes, this is a function - remember that the outputs can be duplicated as long as the inputs are different!
Ok... I hope that you aren't confused by that last example! If you are, take a look at this last example. You will see a relation that is NOT considered a function. Hopefully this will help build your understanding!
Example 3
Is the relation, c, a function?
Let's ask ourselves: Is each input paired with only one output?
c:{(3,3) (-1,0) (3,-3)
NO, look at the ordered pairs - there are 2 ordered pairs with input of 3 and they have different ranges! Think about our little function machine - you cannot put in a 3 and get out a 0, and then put in another 3 and get out a -3. Each time you put in a 3, you should get the same answer!
Therefore, this relation is NOT a function. Let's look at the vertical line test.

So, how do you feel about identifying whether or not a relation is a function? I know it can be a little confusing. Just remember: If you have duplicate inputs and they are paired with different outputs, then the relation is not a function. The vertical line test is always a good technique to use if you are unsure or want to justify your answer!
Click here to go to the Practice Problems
|
Algebra Made Easy Newsletter
Subscribe to Algebra Made Easy and get the latest tips on ways to make Algebra Easier!
What's New on Algebra-class.com?
Just released - Algebra Class Video Tutorial Set!
E-book with a notes worksheet, practice problems, step-by-step solutions, quizzes, tests, & a mid-term! Plus online videos for every lesson.
Includes instruction for Solving, Graphing, and Writing Equations, Systems of Equations, and Inequalities.
Pre-Algebra Refresher is Free! Click here to check it out!
The new Probability Unit is up! If you've been struggling with these concepts, check out the great examples and practice problems.
|