{{ option.icon }} {{ option.label }} arrow_right
{{ option.icon }} {{ option.label }}
{{ option.icon }} {{ option.label }}

# Vertical Line Test

tune
{{ topic.label }}
{{ result.displayTitle }}
{{ result.subject.displayTitle }}
navigate_next

# Vertical Line Test

The vertical line test is a graphical method to determine whether a given relation is a function. For example, consider the following relations.
Relation I Relation II Relation III
To determine whether the above relations are functions, these two steps can be followed.
1
Draw the Relation on the Coordinate Plane
expand_more

Draw the relation on the coordinate plane. The first two relations can be drawn using a graphing calculator or another mathematical software.

2
Draw a Vertical Line and Look at the Intersection Points
expand_more

Draw vertical lines at different places of the coordinate plane. If one line intersects the graph more than once, the relation is not a function. On the contrary, if no vertical line cuts the graph more than once, the relation is a function.

Notice that cuts the first graph at two different points. Also, passes through two different points. Then, neither Relation I nor Relation III is a function. In contrast, any vertical line cuts the graph of Relation II at most once. Thus, Relation II is a function.

• Relation I is not a function.
• Relation II is a function.
• Relation III is not a function.

Keep in mind that, before stating that a relation is a function, the vertical lines drawn have to cover the entire domain to ensure that no vertical line cuts the graph more than once.

expand_more

## Intuition Behind the Method

unfold_more

When a relation is not a function, it is because there are multiple values that proceed from the same value. Therefore, the graph of such relation would show at least two points directly above the other.

Points with the same value belong to the same vertical line.

This is why drawing a vertical line and moving it across the graph reveals if the graph is a function or not.
Note that, when concluded that a graph is a function, it must be assumed that the graph of the relation continues without any significant change beyond the boundaries of the coordinate plane. If not, it could never be concluded from a graph that a relation is a function.
info

Further explanation about a difficult or interesting topic.

Study online with Mathleaks, at the forefront of mathematics. Available on mobile and computer, all math courses are interconnected following the curriculum. Easily find content and theories for the subject you are studying. Exercises with associated answers, hints, and solutions – all connected in one place, and easy to use.

Community (beta)