Vertical line test
Statement
For a function of one variable
Forward direction: Suppose is a real-valued function of one variable . The vertical line test says that any vertical line, i.e., any line of the form , intersects the graph of the function at at most one point. Further, there is a point of intersection if and only if is in the domain of the function. Otherwise, there is no point of intersection.
Reverse direction: Suppose is any subset of . Then, occurs as the graph of a function if and only if the intersection of with every vertical line has size at most one. Further, the function is uniquely determined by , and is given as the function where:
- A point is in the domain of if and only if the line intersects the set .
- For such a point , is defined as the -coordinate of the intersection.
For a function of two variables
Forward direction: Suppose is a real-valued function of two variables . Imagine that we are in a three-dimensional space with coordinates .
The vertical line test says that any line parallel to the -axis, i.e., any line of the form , intersects the graph of the function at at most one point. Further, there is a point of intersection if and only if is in the domain of the function. Otherwise, there is no point of intersection.
Reverse direction: Suppose is any subset of the three-dimensional space with coordinates . Then, occurs as the graph of a function if and only if the intersection of with every line parallel to the -axis has size at most one. Further, the function is uniquely determined by , and is given as the function where:
- A point is in the domain of if and only if the line intersects the set .
- For such a point , is defined as the -coordinate of the intersection.
For a function of multiple variables
Forward direction: Suppose is a real-valued function of variables . Imagine that we are in -dimensional space with coordinates .
The vertical line test says that any line parallel to the -axis, i.e., any line of the form , intersects the graph of the function at at most one point. Further, there is a point of intersection if and only if is in the domain of the function. Otherwise, there is no point of intersection.
Reverse direction: Suppose is any subset of the -dimensional space with coordinates . Then, occurs as the graph of a function if and only if the intersection of with every line parallel to the -axis has size at most one. Further, the function is uniquely determined by , and is given as the function where:
- A point is in the domain of if and only if the line intersects the set .
- For such a point , the value is defined as the -coordinate of the intersection.