Topics in this sectionIdentifying Functions from Graphs2 topics
- Vertical Line Test
- Implicit and Explicit Functions
Understanding Functions and the Vertical Line Test
A function is a special relationship where every input (every x-value from the domain) produces exactly one output (one y-value in the range). Think of it like a machine: you put in one number, and you always get out one definite answer, never two answers at the same time.
This means that for a graph to be a function, no vertical line can cross it at more than one point. If you can draw a vertical line anywhere on the graph and it touches the curve in two or more places, then that graph is not a function.
To check whether a graph shows a function, imagine drawing a straight vertical line (parallel to the y-axis) and moving it left and right across the graph:
- Draw a vertical line through any part of the graph.
- Count how many points where the line crosses the curve.
- If the vertical line crosses the curve only once at every position, the graph is a function.
- If there is any position where the vertical line crosses the curve twice or more, the graph is not a function.
The Straight Line
A straight line that is not vertical always passes the vertical line test. For any x-value, there is only one corresponding y-value. A straight line graph is a function — we call this a linear function.
The Quadratic Curve (Parabola)
A parabola (the curve shown in quadratic functions like y = x²) also passes the vertical line test. Each x-value gives one y-value. This is a function called a quadratic function.
The Hyperbola
The hyperbola (curves like y = 1/x) passes the vertical line test in each separate branch. Even though the graph has two parts, each vertical line still touches only one point on a single branch at any x-position. This is a function.
The Ellipse
An ellipse (shaped like a stretched circle) fails the vertical line test. If you draw a vertical line through the middle of an ellipse, it crosses the curve at two points. For most x-values inside the ellipse, there are two y-values. Therefore, an ellipse is not a function.
The Circle
A circle (like x² + y² = r²) also fails the vertical line test. For any x-value between -r and r, there are two y-values (one above and one below). Because one input gives two outputs, a circle is not a function.
Other Curves
Some more complex curves may also fail the test. Always apply the vertical line test by checking if any vertical line can touch the graph at more than one point.
Question: Is the equation x² + y² = 25 a function?
Solution: Let us solve for y to see what happens:
x² + y² = 25
y² = 25 - x²
y = ±√(25 - x²)
For any x-value that is not at the edges (for example, x = 0), we get two y-values: y = +5 and y = -5. Because one x-value produces two y-values, this is not a function.
The vertical line test confirms this: if you draw a vertical line through x = 0, it crosses the circle at two points.
Functions can be classified by how their inputs and outputs relate:
-
One-to-one function: Each input gives a unique output. No two different x-values produce the same y-value. The horizontal line test (a horizontal version of the vertical line test) would touch the graph at only one point everywhere. A straight line with a non-zero slope is an example.
-
Many-to-one function: Different x-values can produce the same y-value. For example, in the quadratic function y = x², both x = 2 and x = -2 give y = 4. Many-to-one functions still pass the vertical line test — they are still functions, just with different inputs producing the same output.
Use the vertical line test whenever you need to decide if a graph represents a function:
- Draw a vertical line anywhere on the graph.
- If it touches the curve at more than one point → not a function.
- If it touches at only one point everywhere → is a function.
Remember: ellipses, circles, and similar closed curves are typically not functions because one x-value gives two y-values.
In South Sudan, the vertical line test helps engineers and technicians understand how machines and electrical systems behave. For example, when checking the power output (P) of a solar panel or a battery against different resistance (R) values, the relationship must produce one specific power value for each resistance — otherwise the system would give confusing, unpredictable results. Understanding whether a relationship is a true function ensures that equipment like generators at Juba's markets or water pumps in county schools operates reliably and safely.
Question
What does the vertical line test determine about a graph?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet