2.2.4 · D5Functions
Question bank — Vertical line test for functions
Quick vocabulary refresher so no word here is unearned:
- input = the -coordinate = which vertical line we are standing on.
- output = the -coordinate = where the graph sits on that line.
- passes the test = every vertical line hits the graph at most once (0 or 1 times).
True or false — justify
A graph that oscillates up and down forever cannot be a function.
False. Shape is irrelevant; only the count of 's per matters. waves endlessly yet every vertical line hits it exactly once, so it passes.
If a vertical line misses the graph entirely at some , the graph fails the test.
False. Zero intersections just means is not in the domain — the function is undefined there, which is perfectly legal. "At most one" includes "none".
A relation that passes the vertical line test must also pass the horizontal line test.
False. Those tests check different directions. passes vertical (a function) but fails horizontal at , since both and land there — see 2.2.05-Horizontal-line-test-for-injective-functions.
If a graph is one single connected curve, it is automatically a function.
False. A full circle is one connected curve but a vertical line through its middle stabs it twice. Connectedness says nothing about outputs-per-input.
A function's graph must be defined for every real .
False. is undefined at yet is a genuine function everywhere else. The test only judges the -values where the graph actually exists.
Two different inputs sending to the same output breaks the function rule.
False. That is allowed. and both giving is fine; the rule only forbids one input giving two outputs.
A vertical segment (a small vertical stroke) drawn in the plane can be part of a function's graph.
False. A vertical piece means a single -value carries a whole range of 's — infinitely many outputs for one input, the ultimate failure.
If every horizontal line hits a graph at most once, the graph is definitely a function.
False. The horizontal test measures injectivity, not function-hood. A sideways parabola can be arranged so horizontals behave, yet it still fails the vertical test.
Spot the error
" passes because is a function." — What is wrong?
The claim swaps the relation for one of its halves. The full relation gives , so yields both and — two outputs, so it fails. Only each branch separately is a function.
"The circle fails only at ." — Fix it.
It fails at every strictly between and , since each gives . Picking was just one convenient witness, not the sole point of failure.
"A graph with a hole (open point) at fails the vertical line test there." — Correct this.
A hole means the graph has zero points at , i.e. zero intersections. Zero is ≤ 1, so it passes there; the function is simply undefined at that .
" (step function) fails because it jumps." — Where is the mistake?
Jumps are not multiple outputs. At each the step function still returns exactly one value; the vertical line meets it once. Discontinuity ≠ test failure.
"Since maps and both to , it fails the vertical line test." — Diagnose.
That reasoning describes two inputs sharing an output, which is a horizontal-test concern. The vertical test asks the opposite question, and passes it cleanly.
"An arrow diagram where input A points to both 5 and 7 is still a function if A is the only such input." — Refute.
One violation is enough. The definition demands every input have at most one output, so a single input with two arrows already disqualifies it — this ties straight to 2.1.01-Definition-of-a-function.
Why questions
Why do we sweep a vertical line and not a horizontal one to test for a function?
A vertical line fixes the input and lets vary, so it literally reads off all outputs assigned to that one input — exactly the quantity the function rule limits.
Why is "at most one" used instead of "exactly one" in the test's statement?
Because an outside the domain contributes zero intersections and must not be counted as a failure. "At most one" covers both the defined case (one hit) and the undefined case (no hit).
Why can a broken, gappy graph still be a function while a smooth circle cannot?
Function-hood depends only on outputs-per-input, not on continuity or smoothness. The gappy graph never doubles up an ; the circle doubles up almost every .
Why does passing the vertical line test connect to having an inverse?
An inverse needs the original to pass both line tests. Vertical guarantees it is a function; horizontal guarantees each output came from one input, so the mapping can be reversed — see 3.1.01-Inverse-functions.
Why does the test tell us about the domain "for free"?
The -values a vertical line can hit at least once are exactly the domain; where it hits nothing, that is excluded — the graphical reading in 2.3.02-Domain-and-rangefrom-graphs.
Edge cases
A single isolated point alone in the plane — function?
Yes. Only the vertical line meets it, once, and all other vertical lines miss — that's ≤ 1 everywhere, so it passes (a tiny function with a one-element domain).
The empty graph (no points at all) — function?
Yes, vacuously. Every vertical line intersects zero times, satisfying "at most one" trivially. It is a function whose domain is empty.
A constant graph (a full horizontal line) — function?
Yes. Each vertical line meets it exactly once, at height . Many inputs share the output , which is allowed; it only fails the horizontal test.
The vertical line itself, viewed as a graph — function?
No. It contains points for all , so the vertical line coincides with it and meets infinitely many points — one input, unlimited outputs.
A graph touching a vertical line at a single tangent point (like a parabola's vertex) — pass or fail there?
Passes there. A tangent touch is still exactly one intersection point. One is allowed; only two or more break the rule.
A graph that meets some vertical line at exactly two points but every other line once — overall verdict?
Fails overall. A single offending vertical line is enough to disqualify the whole relation from being a function; passing "almost everywhere" is not passing.
Recall One-line summary to carry away
The test fails only when some vertical line scores 2 or more hits. Zero hits, one hit, gaps, jumps, waves, repeated outputs — all fine.
Connections
- Parent: Vertical line test — the core rule these traps stress-test.
- 2.1.01-Definition-of-a-function — the "at most one output" law behind every answer.
- 2.2.05-Horizontal-line-test-for-injective-functions — the complementary test people confuse this with.
- 2.3.02-Domain-and-rangefrom-graphs — why zero intersections just marks an out-of-domain .
- 3.1.01-Inverse-functions — needing to pass both tests.