Lesson · Grade 10 · Foundations of Mathematics and Pre Calculus
The vertical line test
- Grade 10
- Foundations of Mathematics and Pre Calculus
- 1 min 59 s
- British Columbia
- BC10-MA-08
A vertical line sweeps across four graphs on one grid. The sloped line y = 2x + 1 and the parabola y = x² − 1 pass, while the circle x² + y² = 9 and the sideways U x = y² fail, because at x = 4 one input gives two outputs, (4, 2) and (4, −2). It then shows the common mistake of sweeping a horizontal line, which meets the parabola at (−2, 3) and (2, 3), points with the same y, so the parabola is still a function.
Anyone can watch two lessons on the website without an account. Signing in is free, no payment and no card, and opens three a day; Plus has no limit.

Loading
In one sentence
The question this lesson answers
How can you tell from a graph whether it shows a function?
Every graph shows a relation: a set of points, each with an x and a y.
Transcript
What the lesson says
How can you tell from a graph whether it shows a function?
Every graph shows a relation: a set of points, each with an x and a y.
A relation is a function when each input x has exactly one output y.
The vertical line test sweeps a vertical line across the graph, from left to right.
If the line ever meets the graph more than once, the graph is not a function.
The sloped line y equals 2x plus 1 is only ever met once, so it passes.
The U-shaped curve y equals x squared minus 1, called a parabola, is also met once, so it passes.
The circle x squared plus y squared equals 9 is met twice, above and below, so it fails.
The sideways U, x equals y squared, is also met twice, so it fails.
Why does meeting twice break the rule? Stop the line at x equals 4.
It meets the curve at 4, 2 and at 4, negative 2.
Check: 2 squared is 4, and negative 2 squared is also 4.
Same x, different y-values: the input 4 has two outputs, so x equals y squared is not a function.
A common mistake is to sweep a horizontal line instead.
The horizontal line y equals 3 meets the parabola at negative 2, 3 and 2, 3.
Check: 2 squared minus 1 is 3, and so is negative 2 squared minus 1.
These points have the same y but different x-values, so the parabola is still a function.
A graph shows a function when no vertical line meets it more than once.
Curriculum
Where this fits
- British Columbia, Grade 10
Foundations of Mathematics and Pre Calculus 10, Functions: functions and relations: connecting data, graphs, and situationsBC10-MA-08
Previous: Relations and Functions: One Output for Each InputNext: Domain and Range from a Graph and a Situation
The outcomes and strands follow the British Columbia curriculum.
Keep going
2 min 8 sDomain and Range from a Graph and a Situation
Grade 10 · 2 min 8 s
2 min 10 sFunction notation: what f(3) means
Grade 10 · 2 min 10 s
1 min 55 sRelations and Functions: One Output for Each Input
Grade 10 · 1 min 55 s
2 min 8 sTelling the story of a graph
Grade 10 · 2 min 8 s
2 min 18 sAdding an Arithmetic Series by Pairing Terms
Grade 10 · 2 min 18 s
2 min 12 sAngles of Elevation and Depression: Measuring What You Cannot Reach
Grade 10 · 2 min 12 s
2 min 11 sArithmetic Sequences Are Linear: The Common Difference Is the Slope
Grade 10 · 2 min 11 s
2 min 4 sArithmetic sequences: first term and common difference
Grade 10 · 2 min 4 s
- All Grade 10 Foundations of Mathematics and Pre Calculus lessons
- Create a free account to watch three lessons a day, no payment and no card.