# Vertical line test for functions and relation

In this post ,we will checking the vertical line test and how is it used. Examples and Problems are also given to provided to help the student. This will also answer the question How do you know if the graph is a function?

## What is Vertical line test

A relation (in math) is a functions in math if no pair of the relation has the same first elements. On the graph,two points will lie in the same vertical line if and only if the first coordinate of the two points are same. Therefore if a vertical line intersect the Relation graph at two points then it is not a function. This is called the Vertical line test. If all vertical lines intersect a curve at most once then the curve represents a function.

## How to use the Vertical line Test

To use the vertical line test, take a rule or other straight edge and draw a line parallel to the y-axis for any chosen value of x. If the vertical line you drew intersects the graph more than once for any value of x then the graph is not the graph of a function. If, alternatively, a vertical line intersects the graph no more than once, no matter where the vertical line is placed, then the graph is the graph of a function. For example, a curve which is any straight line other than a vertical line will be the graph of a function

## Examples with Vertical line Test

1. Upward Parabola
$y=2x^2$

Clearly this is a function

2. Clearly this is not a function
3. The relation
$y=2x^3$

Clearly this is a function
4. The relation$\frac {x^2}{a^2} + \frac {y^2}{b^2} =1$

Clearly this is not a function

## Practice Problems for Vertical Line test

1. Find out if the graph represent functions using Vertical Line test
2. Find out if the below graph are for function using vertical line test