Lesson Objectives
  • Demonstrate an understanding of how to determine if a relation is a function
  • Demonstrate an understanding of the domain and range of a relation
  • Learn how to use the vertical line test to determine if a relation is a function

How to Determine if a Relation is a Function Using the Vertical Line Test


In a previous lesson, we learned that a relation is a set of ordered pairs. Additionally, we learned that a function is a special relation in which each x-value is associated with one and only one y-value. Suppose we had the following relation:
{(0,3), (2,5), (4,2), (6,3)}
Does this relation represent a function? Yes, since each x-value is associated with one and only one y-value.
0 » 3 - an x-value of 0 is associated with a y-value of 3
2 » 5 - an x-value of 2 is associated with a y-value of 5
4 » 2 - an x-value of 4 is associated with a y-value of 2
6 » 3 - an x-value of 6 is associated with a y-value of 3
In some cases, an illustration will make things more clear: showing the relation{(0,3), (2,5), (4,2), (6,3)}is a function Another way to determine if a relation is a function is with the use of a graph. If we plot each ordered pair on the coordinate plane, no vertical line should intersect more than one ordered pair. This test is known as the "vertical line test". vertical line test Let's look at another example.
{(2,-7), (4,1), (2,3), (-1,-5)}
Does this relation represent a function? No, since an x-value of 2 is associated with more than one y-value: -7 and 3.
2 » -7 and 3 - an x-value of 2 is associated with a y-value of -7 and 3
4 » 1 - an x-value of 4 is associated with a y-value of 1
-1 » -5 - an x-value of -1 is associated with a y-value of -5
Let's again look at an illustration: showing the relation{(2,-7), (4,1), (2,3), (-1,-5)}is a function We can also see this relation is not a function with the use of our vertical line test: vertical line test We can see from the graph above that our vertical line x = 2, intersects with more than one ordered pair: (2,3) and (2,-7). This tells us that the x-value of 2 is associated with more than one y-value. When this occurs, we know our relation is not a function.
In most cases, we will not be dealing with a simple set of four or five ordered pairs. These are easy examples designed to help one understand the concept of a function. What happens if we see an equation such as:
y = 3x + 5
Let's think about a few things here. First and foremost, let's think about the domain and range. We know the domain is the set of allowable x-values. Ask yourself the question, is there any restriction on what can be plugged in for x? No, so the domain will be all real numbers.
domain: {x |x ∈ ℝ}
The above is read as "the set of all x such that x is a real number".
What about our range? Think about y as an output. We plug in a value for x, multiply by 3 and add 5. Since we can plug in anything we want for x, our input, y can also be any real number. We can make y as big as we would like by increasing the size of x. We can make y as small as we would like by decreasing the size of x.
range: {y | y ∈ ℝ}
The above is read as "the set of all y such that y is a real number".
Is this relation a function? To determine this, let's graph our equation and use the vertical line test. vertical line test It is clear that no vertical line will ever impact the graph in more than one location. This means that each x-value is associated with one and only one y-value.
Our relation: y = 3x + 5 is a function.
Let's look at a few examples.
Example 1: Determine if the graph of the relation represents a function, state the domain and the range. vertical line test We can use the vertical line test to determine if we have a function. vertical line test Since we can draw a vertical line and impact the graph in more than one location, this is not the graph of a function.
The domain can be found from the graph. We can see that the smallest x-value is -6 and the largest is 6.
domain: {x | -6 ≤ x ≤ 6}
Similarly, we can find the range from the graph. We can also see the smallest y-value is -6 and the largest is 6.
range: {y | -6 ≤ y ≤ 6}
Example 2: Determine if the graph of the relation represents a function, state the domain and the range. vertical line test We can use the vertical line test to determine if we have a function. vertical line test It is clear that no vertical line will ever impact the graph in more than one location. This means that each x-value is associated with one and only one y-value. This is the graph of a function.
The domain and range can both be found from our graph. We can see there is no limit on x-values. Essentially, the domain will contain all real numbers. The range, however, is limited. From the graph, we can see the smallest value for y is 2. Therefore, our range will consist of all real numbers that are greater than or equal to 2.
domain: {x |x ∈ ℝ}
range: {y | y ≥ 2}

Skills Check:

Example #1

Determine if each relation is a function. sketching the graph of a line

Please choose the best answer.

A
Yes
B
No

Example #2

Determine if each relation is a function. sketching the graph of a sideways parabola

Please choose the best answer.

A
Yes
B
No

Example #3

Determine if each relation is a function. sketching the graph of a circle

Please choose the best answer.

A
Yes
B
No
checkmark x-mark
checkmark x-mark
checkmark x-mark

Congrats, Your Score is 100%

Trophy, You Win!

Better Luck Next Time, Your Score is %

Try again?

retry Trophy, You Win!