What you'll learn
A function is a rule that gives exactly one output for each input. In this lesson you will learn to spot functions — and non-functions — in every form the GED uses:
- a list of ordered pairs,
- a table of values,
- a graph (using the vertical line test),
- an equation,
- a real-life description ("each employee → his or her ID number").
Why it matters on the GED. You will see questions such as "Which table represents a function?", "Click the graph that is not a function," or "For which value of k is this relation not a function?". These are quick points if you know the rule — and easy points to lose if you check the wrong column.
Why it matters in real life. A vending machine is a function: press B4 and you always get the same snack. If pressing B4 sometimes gave chips and sometimes gave candy, it would not be a function — and you would be annoyed! Functions describe reliable, predictable rules: price → tax, hours → pay, temperature in °F → temperature in °C.
Words to know
- Relation — any set of input–output pairs. Example: \{(1, 4), (2, 5), (2, 7)\}.
- Function — a relation in which every input has exactly one output. Example: \{(1, 4), (2, 5), (3, 5)\}.
- Input — the first number of an ordered pair, the x-value. In (3, 8) the input is 3.
- Output — the second number, the y-value. In (3, 8) the output is 8.
- Ordered pair — (x, y); order matters: (2, 5) \ne (5, 2).
- Domain — the set of all inputs. For \{(1,4), (2,5), (3,5)\} the domain is \{1, 2, 3\}.
- Range — the set of all outputs. For the same relation the range is \{4, 5\}.
- Vertical line test — if any vertical line crosses a graph more than once, the graph is not a function.
- Mapping — arrows from inputs to outputs, like "Ana → 85."
1. The one rule: each input gets exactly one output
Look at the inputs (x-values). The question is always: does any input appear with two different outputs?
- If no input repeats with a different output → function.
- If some input is paired with two (or more) different outputs → not a function.
Repeated outputs are fine. Many inputs can share one output. Every bag of the same chips costs $1.50 — different bags, same price. That is still a function.
| Relation | Repeated input with different outputs? | Function? |
|---|---|---|
| \{(1, 4), (2, 5), (3, 6)\} | none | Yes |
| \{(1, 3), (2, 3), (3, 3)\} | none (only the output 3 repeats) | Yes |
| \{(2, 5), (4, 7), (4, 9)\} | input 4 → 7 and 9 | No |
| \{(5, 1), (5, 1), (6, 2)\} | input 5 → 1 both times (same pair listed twice) | Yes |
The same relations as mapping diagrams:
Tables work the same way. In a table with an x row and a y row, scan the x row for repeats. If an x-value appears twice, look at the y-values under it. Same y → still a function; different y → not a function.
Real-life descriptions. Ask: "If I know the input, do I know the output for sure?"
- Input: a person; output: their birthday → function (each person has one birthday).
- Input: a birthday; output: a person → not a function (many people share a birthday).
- Input: gallons of gas at $3.60/gal; output: cost → function.
- Input: age in years; output: height → not a function (two 30-year-olds can have different heights).
2. The vertical line test for graphs
A point (x, y) on a graph sits directly above or below its input x. If two points share the same x, they lie on the same vertical line. So:
Vertical line test: imagine sliding a vertical line (like a ruler held straight up) across the graph. If it ever touches the graph at two or more points at once, the graph is not a function. If it never touches more than once, the graph is a function.
In Graph A (a parabola), every vertical line hits the curve at most once → function. In Graph B (a circle), the line x = 1 hits the circle at about (1, 2.8) and (1, -2.8) → not a function.
Shapes you should know on sight:
| Graph | Function? | Why |
|---|---|---|
| Non-vertical straight line | Yes | each x has one point |
| Horizontal line y = 2 | Yes | every input has the output 2 |
| Vertical line x = 2 | No | input 2 has infinitely many outputs |
| Parabola opening up or down | Yes | |
| Parabola opening sideways | No | a vertical line cuts it twice |
| Circle or oval | No | |
| V-shape (absolute value), S-shaped cubic | Yes |
Scatter plots (separate dots): look for two dots stacked on the same vertical line. Points (2, 3) and (2, -1) share x = 2 → not a function.
Do not use a horizontal line test. A horizontal line hitting a graph twice just means two inputs share an output — that is allowed.
3. Functions from equations
When a relation is given as an equation, ask: if I choose an x, is there exactly one y?
- y = 3x - 2: pick x = 4 → y = 10 only. Function. Every equation of the form y = mx + b is a function.
- y = x^2: x = 3 → y = 9 only. Function. (Note: x = -3 also gives 9. Two inputs, same output — allowed.)
- y = 7: every input gives 7. Function (horizontal line).
- x = 4: the input 4 goes with every y. Not a function (vertical line).
- x = y^2: for x = 9, y can be 3 or -3. Not a function (sideways parabola).
- x^2 + y^2 = 25: for x = 3, y^2 = 16, so y = 4 or -4. Not a function (circle).
Shortcut: try to solve for y. If you are forced to write "\pm" (plus-or-minus), or if y is missing completely (like x = 4), it is not a function. If you get one clean expression in x, it is a function.
Function notation. When a relation is a function, we often name it f and write f(x) ("f of x") for its output. f(x) = 3x - 2 means the same thing as y = 3x - 2. You will practice evaluating f(x) in the next lesson.
Rules to memorize (not formulas)
There is no formula on the GED formula sheet for this skill. Memorize these two rules instead:
\text{Function} \iff \text{each input } x \text{ has exactly one output } y \text{Graph is a function} \iff \text{no vertical line meets it more than once}- Input = x = first number in (x, y) = top row (or left column) of a table.
- Output = y = second number = bottom row (or right column).
Not on the formula sheet — these are ideas you must know by heart.
Example 1 (easy): ordered pairs
Is the relation \{(3, 1), (5, 2), (-1, 4), (5, -2), (0, 1)\} a function?
- List the inputs: 3, 5, -1, 5, 0.
- The input 5 appears twice.
- Look at its outputs: (5, 2) and (5, -2). The outputs are different (2 and -2).
- The output 1 appears twice (with inputs 3 and 0) — that is fine.
Answer: Not a function, because the input 5 is paired with both 2 and -2.
Check: If I ask "what is the output when x = 5?", there is no single answer — so it fails the definition ✓
Example 2: tables
Which table represents y as a function of x?
Table 1
| x | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| y | 7 | 7 | 7 | 7 |
Table 2
| x | 0 | 1 | 1 | 2 |
|---|---|---|---|---|
| y | 2 | 3 | 4 | 5 |
- Table 1: the inputs 1, 2, 3, 4 are all different. Each has one output (always 7). Repeated outputs are allowed → function.
- Table 2: the input 1 appears twice, with outputs 3 and 4 → not a function.
Answer: Table 1 is a function; Table 2 is not.
Check: Plot Table 2's points (1, 3) and (1, 4): they lie on the same vertical line x = 1, so the vertical line test fails ✓
Example 3: graphs and the vertical line test
Which of these graphs are functions? A: an upward parabola; B: a circle; C: a V-shape y = \lvert x \rvert - 1; D: the horizontal line y = 2.
- A (parabola): any vertical line crosses it once → function.
- B (circle): the vertical line x = 0 crosses at (0, 3) and (0, -3) → not a function.
- C (V-shape): each vertical line crosses once → function.
- D (horizontal line): each vertical line crosses once → function.
Answer: A, C and D are functions; B is not.
Check: Find one input with two outputs on B: x = 0 gives y = 3 and y = -3 ✓ No such input exists on A, C or D.
Example 4: real-life relations (word problem)
A teacher's grade book shows: Ana → 85, Ben → 92, Cara → 85, Dev → 78. Is student → score a function? Is score → student a function?
- Student → score: each student has exactly one score. Cara and Ana both have 85, but that is a repeated output → function.
- Score → student: now the score is the input. The input 85 goes to two students (Ana and Cara) → not a function.
Answer: student → score is a function; score → student is not.
Check: Ask "Who scored 85?" — there are two answers, so the reversed relation fails ✓
Example 5 (GED-hard): work backwards with a missing value
The relation \{(-2, 5), (0, 3), (k, 1), (4, -1)\} is not a function. Which values could k be?
- The relation fails only if an input repeats with a different output.
- The pair (k, 1) has output 1. The other outputs are 5, 3 and -1 — all different from 1.
- So if k equals any existing input (-2, 0, or 4), that input would have two different outputs.
- k = -2: (-2, 5) and (-2, 1) ✗
- k = 0: (0, 3) and (0, 1) ✗
- k = 4: (4, -1) and (4, 1) ✗
Answer: k = -2, 0, or 4. Any other value keeps it a function.
Check: Try k = 1: inputs -2, 0, 1, 4 are all different → function, as expected ✓
Calculator tip
This skill is about reasoning, not arithmetic, so the calculator rarely helps. The TI-30XS MultiView cannot draw graphs.
- Use it only when an equation needs a quick value — for example, to check whether x^2 + y^2 = 25 gives two y-values at x = 3: compute 25 - 3^2 (use the
x²key) to get 16, then2nd+x²(√) to get 4. Both 4 and -4 work, so it is not a function. - For tables, ordered pairs, and graphs, your eyes and the vertical line test are faster than any keystroke. Treat these as calculator-free questions.
Common mistakes
- Checking the outputs instead of the inputs. ✗ "The y-values 3 and 3 repeat, so it is not a function." ✓ Repeated y-values are fine; only a repeated x with different y-values breaks a function.
- Using a horizontal line test. ✗ "A horizontal line crosses the parabola twice, so it is not a function." ✓ Only vertical lines matter. Parabolas opening up or down are functions.
- Calling horizontal lines non-functions. ✗ "y = 5 has no x, so it is not a function." ✓ y = 5 gives one output (5) for every input — it is a function. It is the vertical line x = 5 that fails.
- Thinking an identical repeated pair breaks the rule. ✗ (3, 8) listed twice → "not a function." ✓ Input 3 still has only one output, 8.
- Thinking a function needs a pattern or even spacing. ✗ "The x-values jump 1, 4, 10, so it is not a function." ✓ The inputs can be any numbers; the outputs need no pattern. Only the one-output rule matters.
- Mixing up (x, y) order. In (5, 2) the input is 5, not 2.
GED test strategy
- Scan the inputs only. For ordered pairs or tables, run your finger along the x-values first. No repeats → it is a function — you are done in seconds.
- For graphs, physically imagine the ruler. Look for any place where the curve doubles back over itself (a circle, a sideways "C," a vertical line).
- "NOT a function" questions: read the question twice — on the GED it is easy to answer the opposite of what was asked. Underline the word not on your erasable note board.
- Equations: if you see y^2 (without a y to the first power to solve cleanly) or x = \text{number}, suspect "not a function."
- Eliminate answer choices that give the right verdict for the wrong reason (for example, "Yes, because the y-values increase").
- Time: these are typically 30–60 second questions; bank the time for harder problems.
Check yourself
Which set of ordered pairs represents a function?
Hint
Look only at the first number (the input) of each pair. Does any input show up with two different outputs?
Step-by-step solution
- A relation is a function when no input is paired with two different outputs.
- Check each set's inputs (first numbers):
- \{(1, 4), (2, 5), (3, 6), (4, 7)\}: inputs 1, 2, 3, 4 — all different ✓
- \{(1, 2), (1, 3), (2, 4), (3, 5)\}: input 1 → 2 and 3 ✗
- \{(2, 1), (3, 1), (2, 5), (4, 1)\}: input 2 → 1 and 5 ✗
- \{(0, 6), (5, 7), (0, 8), (6, 9)\}: input 0 → 6 and 8 ✗
- Only the first set gives each input exactly one output.
Answer: \{(1, 4), (2, 5), (3, 6), (4, 7)\}
Check: For each input in that set you can name one output without hesitation: 1→4, 2→5, 3→6, 4→7 ✓
Tip: Scan the inputs first. If no input repeats, you are done — it is a function.
Check yourself
The four graphs below show relations between x and y.
Click the graph that does NOT represent y as a function of x.
Click on the figure to mark your answer (or focus it and use the arrow keys).
Hint
Imagine sliding a vertical ruler across each graph. On which graph does the ruler touch two points at once?
Step-by-step solution
- Apply the vertical line test to each graph.
- Graph A (parabola opening up): every vertical line crosses it once → function.
- Graph B (circle): the vertical line x = 0 crosses it at (0, 3) and (0, -3) → not a function.
- Graph C (V-shape): every vertical line crosses it once → function.
- Graph D (horizontal line y = 2): every vertical line crosses it once → function.
Answer: Graph B (the circle)
Check: Input x = 0 on the circle has two outputs, 3 and -3 — one input, two outputs breaks the rule ✓
Tip: Circles and ovals are never functions. Horizontal lines always are — do not confuse them with vertical lines.
Summary
- A function gives exactly one output for each input; repeated outputs are allowed.
- Ordered pairs / tables: look for a repeated x with different y-values — that breaks the function.
- Graphs: use the vertical line test; circles, sideways parabolas and vertical lines fail; horizontal lines pass.
- Equations: if solving for y gives \pm or no y at all (x = 4), it is not a function.
- Real life: ask "If I know the input, do I know the output for sure?"