How to identify functions, plus how to use the Vertical Line Test

 
 
Testing for functions blog post.jpeg
 
 
 

A function relates x-inputs to y-outputs

A function is a special kind of relation. Functions are special because each input is related to one and only one output. In other words, there can’t be two different ???y???-values related to the same ???x???-value.

Krista King Math.jpg

Hi! I'm krista.

I create online courses to help you rock your math class. Read more.

 

To test for functions, we need to make sure that there’s only one ???y???-value for every ???x???-value. Visually, when you look at the graph of a relation, you can see whether every ???x???-value is related to only one ???y???-value by using the Vertical Line Test: Any (and every possible) vertical line may intersect with (cross) the graph at most once. We say “at most once,” because even if the relation is a function, the vertical line that crosses the ???x???-axis at any number ???x??? that isn’t in the domain of the function won’t intersect the graph of the function at all. If some vertical line crosses the graph more than once, then the graph has failed the Vertical Line Test and the relation isn’t a function.

This graph passes the Vertical Line Test, so it does represent a function. Any vertical line will cross the graph at most once.

 
vertical lines crossing the graph of a function

This graph doesn’t pass the Vertical Line Test, so it doesn’t represent a function. You can see that there are vertical lines that cross the graph twice.

vertical line test
 
 
 

How to identify functions


 
Krista King Math Signup.png
 
Algebra 1 course.png

Take the course

Want to learn more about Algebra 1? I have a step-by-step course for that. :)

 
 

 
 

How to use the Vertical Line Test to verify whether a graph is a function

Example

Create a graph that represents a function and explain why it’s a function.


There are many different possibilities for this answer, but whatever graph you choose to draw must pass the Vertical Line Test. Any vertical line can touch the graph at most once. These are some examples of graphs of functions:

graphs of various functions

Let’s try another example of testing for functions.


Testing for functions for Algebra 1.jpg

If some vertical line crosses the graph more than once, then the graph has failed the Vertical Line Test and the relation isn’t a function.

Example

Which of the following three point sets could represent a function?

graph of a circle

or

the relation whose graph consists of the points with coordinates ???(1,2)???, ???(2,4)???, ???(2,3)???

or

x inputs and y outputs



Only the last one,

x inputs and y outputs of a function

can represent a function, because each input has only one output. This choice,

the relation whose graph consists of the points with coordinates ???(1,2)???, ???(2,4)???, and ???(2,3)???

isn’t a function, because the input ???2??? has both an output of ???3??? and an output of ???4???. And this choice,

a circle is never a function

doesn’t represent a function, because the graph doesn’t pass the Vertical Line Test (some vertical lines would cross the graph twice).

 
Krista King.png
 

Get access to the complete Algebra 1 course