Vertical Line Test
One x-value, at most one y-value
The vertical line test determines whether a graph represents y as a function of x. Imagine drawing a vertical line x=c through the graph. If any vertical line meets the graph more than once, one input c has more than one output, so the graph is not a function of x.
Why vertical lines work
A function gives each allowed input exactly one output. A vertical line fixes the input value and looks for all corresponding y-values. One intersection is acceptable; zero intersections is also acceptable if that x-value is outside the graph's domain. Two or more intersections at the same x-value violate the function rule.
Worked reading
A slanted straight line passes because each vertical line reaches it at most once. A sideways-opening parabola fails because many vertical lines through its interior meet an upper and a lower branch. A circle also fails: for most x-values between its leftmost and rightmost points, there are two y-values.
Use the actual axes
The test asks whether y is a function of x. If axes are swapped, the relevant test would be horizontal rather than vertical. Likewise, a graph can fail the vertical line test while still defining x as a function of y on an appropriate domain.
Two labelled graphs on common coordinate axes. The labels identify graphs only.
Which ordered-pair relation necessarily fails to define y as a function of x?
A graph has a vertical line that intersects it at two distinct points. What conclusion follows?
Two labelled graphs on common coordinate axes. The labels identify graphs only.