Foundations — Vertical line test for functions
Before you can trust the vertical line test, you must be fluent in the little pieces it is built from: points, coordinates, axes, graphs, and the word "function" itself. This page assumes you have seen none of them. We build each one, in order, anchored to a picture.
1. The plane: where all the pictures live
The symbol is just a name for "how far left or right." The symbol is a name for "how far up or down." Nothing more mysterious than that.
Why does the topic need this? The vertical line test is a geometric test — it lives on a picture. If you don't know which way is (right) and which way is (up), you can't tell a vertical line from a horizontal one, and the whole test collapses.
2. A point and its coordinates
The vertical line test constantly talks about points like and . Notice these two share the same first number, , but have different second numbers. Hold that thought — it is the entire test in disguise.
3. The graph: a relation drawn as a set of points
So a curve on the plane is not one mysterious object — it is a cloud of infinitely many dots, each obeying some rule. The circle is the cloud of all dots whose distance from the origin is .
Why the topic needs this: the test says "a vertical line crosses the graph." Both of those are point-clouds. "Crossing" just means "which dots do the two clouds share?" (Section 6 makes this precise.)
4. Input and output: the word "function"
The symbol (read "f of x") is a machine's name-tag: you feed it the input , it hands back the single output .
The two arrows below capture the only thing that can go wrong.
Notice what is allowed: two different buttons can drop the same snack (two inputs → one output is fine). What is forbidden: one button → two snacks. Keep these straight — mixing them up is the #1 mistake in the parent note.
- One input → two outputs ::: forbidden — breaks the function rule.
- Two inputs → one output ::: allowed — still a function.
5. Vertical and horizontal lines
The little equation means " is stuck at , but is free to be anything." That is why the line is vertical: freezing and freeing makes a top-to-bottom line.
Why vertical and not horizontal for this test? Because a function's rule is about inputs. Inputs live on the -axis. A vertical line pins down one input and sweeps through every possible output at that input — exactly the question "how many outputs does this one input have?"
6. Intersection: counting shared points
So "the vertical line crosses the graph twice" is a picture-way of saying "the input has two outputs." That is the bridge from geometry back to the function rule.
| What you see on the picture | What it means about the rule |
|---|---|
| line touches graph 0 times | has no output ( not in domain) — still OK |
| line touches graph 1 time | has exactly one output — perfect |
| line touches graph 2+ times | has multiple outputs — not a function |
7. The symbols the parent note fires at you
Prerequisite map
Equipment checklist
Say each answer aloud before revealing it. If any stumps you, reread its section.
- What do the two numbers in tell you? ::: Walk 3 right, then 4 up — one specific dot on the plane.
- What is the graph of a relation, in plain words? ::: The cloud of every point that the relation contains.
- State the one promise that makes a relation a function. ::: Each input gives exactly one output .
- Is "two inputs sharing one output" allowed for a function? ::: Yes — perfectly fine.
- Why is the line vertical and not horizontal? ::: is frozen at while runs free, which draws a top-to-bottom line.
- What does secretly contain? ::: Two outputs at once, and .
- If a vertical line meets a graph zero times at , has the test failed? ::: No — it just means has no output (not in the domain).
- What does mean and why does it matter here? ::: "Exactly one" — it is the uniqueness of output that the vertical line test checks.
Connections
- Vertical line test for functions — the parent topic these foundations build toward
- 2.1.01-Definition-of-a-function — the formal "one input, one output" this page pictures
- 2.2.01-Graph-of-a-function — graphs as point-clouds, in depth
- 2.3.02-Domain-and-rangefrom-graphs — what "zero intersections" means for the domain
- 2.2.05-Horizontal-line-test-for-injective-functions — the mirror test that freezes instead
- 3.1.01-Inverse-functions — needs both line tests to pass