Geometry Worksheets

Practice and master geometry concepts with helpful walkthroughs from our elite math educators, then try practice math problems to sharpen your skills.

Vertical Line Test

By Patty Martin

Learn about what the vertical line test is and how to use it. Find the definition, example problems, and practice problems at Thinkster Math.

Why is this concept useful?

The vertical line test is useful because it helps determine whether or not a graph is a function. This is done by drawing a vertical line through a given graph to make sure the line only crosses the graph one time. If the vertical line passes through the graph more than once, the graph is not a function.

Where does this concept fit into the curriculum?

Algebra 1

What is the Vertical Line Test?

The vertical line test is a method used in math to check if a graph is a function. A graph is a function only if it has one output, y, for each input, x.

How to use the Vertical Line Test?

To use the vertical line test, draw a vertical line through the given graph. In the graph below, the vertical line was drawn at x = 2.

Now look at the graph and determine how many times the line passes through the graph. In this case, the line passes through the graph only once, therefore the graph is a function. There is only one output, y, for each input, x.


A graph is not a function, if the vertical line passes through the graph more than once. In the example below, the vertical line is drawn at x = -1. It passes through the graph at the points (-1,4) and (-1,-4). This shows that there are two outputs, y, for the input, x.

Since there are two points that the vertical line passes through and there is more than one output for each input, it does not pass the vertical line test. It is not a function.

Sample Math Problems

Question 1:

Use the Vertical Line Test to determine if the graph is a function.

Answer:

To solve this problem, first draw a vertical line through the graph.


The vertical line is drawn at x = 2 and only passes through the graph once. Since there is only one output y, for each input, x, this graph is a function.

Question 2:

Use the Vertical LineTest to determine if the graph is a function.

Answer:

To solve this problem, first draw a vertical line through the graph.

The vertical line is drawn at x = 3. It passes through the graph at two points. Since there are 2 outputs, y, for each input, x, this graph is not a function.


Question 3:

Use the Vertical Line Test to determine if the graph is a function.

Answer:

Draw a vertical line through the graph.

The vertical line is drawn at x = -2. It passes through the graph only once. Since there is only one output, y, for each input, x, this graph is a function.

Question 4:

Use the Vertical Line Test to determine if the graph is a function.

Answer:

Draw a vertical line through the graph.

The vertical line is drawn at x = -4 and passes through the graph at 2 points. Since there are two outputs y, for each input, x, this graph is not a function.

Download FREE Math Resources

Take advantage of our free downloadable resources and study materials for at-home learning.

8 Math Hacks and Tricks to Turn Your ‘Okay’ Math Student Into a Math Champion!

One thing we teach our students at Thinkster is that there are multiple ways to solve a math problem. This helps our students learn to think flexibly and non-linearly.

Get PDF

How to Make Sure Your Child is Highly Successful and Becomes a Millionaire

As a parent, you hope your child is extremely successful and likely become the next Gates, Zuckerberg, or Meg Whitman. To set your child on the right path, there are many skills and traits that you can start building and nurturing now. Doing so plants the seeds for future success.

Get PDF

Practice Math Problems

Question 1:

Use the Vertical Line Test to determine if the graph is a function.

Question 2:

Use the Vertical Line Test to determine if the graph is a function.

Question 3:

Use the Vertical Line Test to determine if the graph is a function.

Question 4:

Use the Vertical Line Test to determine if the graph is a function.

Related Topics

Math Tutoring to Boost Your Child’s Math Skills & Scores by 90% in Just 3 Months – Guaranteed!

Does your child struggle with math homework or understanding tricky math concepts? Do they do okay in math, but express excitement to learn new material or advanced math?

A Thinkster Math tutor provides one-to-one support to help elementary, middle school, and high school students build confidence and master math subjects like K-8 math, pre-algebra, algebra, geometry, calculus, and more.

Our expert math tutors customize math lessons to your child’s unique needs, making learning math fun and effective. We help students improve grades, develop strong critical thinking skills through solving word problems, excel in standardized tests, and develop strong problem-solving skills.

Our expert math tutors are ready to help make your child a champion and develop strong math mastery! Sign up for our 7-day free trial and get the best math tutor for your child today!

Start 7-Day Free Trial