One x-value, at most one y-value

The vertical line test determines whether a graph represents yy as a function of xx. Imagine drawing a vertical line x=cx=c through the graph. If any vertical line meets the graph more than once, one input cc has more than one output, so the graph is not a function of xx.

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.

Two labelled graphs on common coordinate axes. The labels identify graphs only.



Refer to the figure. Which labelled graph passes the vertical line test for yy as a function of xx?

Two labelled graphs on common coordinate axes. The labels identify graphs only.

Two labelled graphs on common coordinate axes. The labels identify graphs only.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Which ordered-pair relation necessarily fails to define yy as a function of xx?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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.

Two labelled graphs on common coordinate axes. The labels identify graphs only.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors