Identifying Functions: Tables, Mappings, Graphs and Equations

#8th Grade Math#Functions#Recognizing Functions
TL;DR
Identifying functions means checking that each input has exactly one output. Tables, mapping diagrams, graphs and equations each have a quick way to run that check, and repeated outputs never break it.
Bhanzu TeamLast updated on December 3, 202615 min read

Key Points

  • A relation counts as a function when every input is paired with exactly one output, the rule Common Core standard 8.F.A.1 sets for identifying functions.
  • A repeated output never breaks a function, so the pairs (1, 6) and (2, 6) can sit in the same function without any problem at all.
  • A graph fails the vertical line check when one vertical line meets it at two points, because those two points share an input but have different outputs.
  • The equation x=y2x = y^2 is not a function, since the single input 9 is paired with two outputs, 3 and −3-3.

The snack machine that cannot choose

Press B4 on a snack machine and you expect the same bag every time. If B4 dropped pretzels on Monday and crackers on Tuesday, you would call the machine broken.

Now notice what does not bother anyone. Buttons A1 and A2 can both drop pretzels, and the machine still works fine. Two buttons, same snack, no problem.

That small difference is the whole idea behind a function. Spreadsheet formulas, weather maps and the code inside video games all run on the same promise of one answer for one input.

Snack machine buttons as inputs and snacks as outputs, showing one function and one relation that is not a function.
Two snack machine diagrams, the left with A1 and A2 pointing to pretzels and B4 to crackers labelled function, the right with B4 pointing to both snacks labelled not a function.

What does identifying functions mean?

Identifying functions means looking at a set of pairs and deciding whether every input is matched with exactly one output. The input is the value you start with, and the output is the value it is paired with.

Any set of input and output pairs is called a relation. A pair is often written as an ordered pair (x,y)(x, y), with the input xx first and the output yy second.

A function is a relation in which each input is paired with exactly one output.

So yes, every function is a relation, but plenty of relations are not functions. (The two names sound almost the same, which makes this harder than it needs to be.) The set of all inputs is the domain, and the set of all outputs is the range.

Your child meets this idea in Common Core standard 8.F.A.1, which says a function is a rule that assigns to each input exactly one output. If the idea itself feels new, the lesson on what a function is builds it from scratch. Spotting a function inside a table or a graph takes a few extra habits.

How do you check a table or a mapping diagram?

Look only at the inputs first. A relation is a function when no input appears with two different outputs.

  1. Find the inputs. In a table they sit in the input column, and in a mapping diagram they sit in the left oval.
  2. Look for any input that shows up more than once.
  3. If a repeated input has two different outputs, the relation is not a function.
  4. If every input appears once, or repeats with the same output, it is a function.

In a mapping diagram, count the arrows leaving each input. One arrow per input means a function, and two arrows landing on the same output are fine.

One function written as a table, mapping diagram, graph and equation for identifying functions.
The function y equals 2x plus 1 shown as a table with inputs 0, 1, 2, 3 and outputs 1, 3, 5, 7, a mapping diagram, four graphed points and the equation.

The four forms in that diagram carry the same four pairs: (0,1)(0, 1), (1,3)(1, 3), (2,5)(2, 5) and (3,7)(3, 7). Learning to see one relation in all four forms is most of the skill.

Why does the vertical line check work?

The vertical line check works because a vertical line is the set of every point with one fixed input. On a coordinate plane, inputs run along the horizontal axis, so the vertical line x=4x = 4 collects every point whose input is 4.

If that line touches a graph twice, the input 4 has two outputs. That is exactly the table rule, drawn instead of listed.

Hold a pencil upright and slide it slowly across the graph from left to right. If it ever touches the graph in two or more places at once, the graph is not a function.

Vertical line check on two graphs, one function and one relation that is not a function.
The line y equals one half x plus 1 crossed once by a vertical line, beside the sideways curve x equals y squared crossed by x equals 4 at (4, 2) and (4, negative 2).

On the left graph, y=12x+1y = \frac{1}{2}x + 1, every vertical line meets the line once. On the right graph, x=y2x = y^2, the line x=4x = 4 meets both (4,2)(4, 2) and (4,−2)(4, -2), since 22=42^2 = 4 and (−2)2=4(-2)^2 = 4.

The vertical line check has one weak spot. It assumes inputs sit on the horizontal axis, which is the usual convention, so a graph drawn with inputs on the vertical axis needs the check turned sideways.

How do you check an equation or a rule in words?

Pick one input, put it into the equation, and count how many outputs come out. Two different outputs for one input means the equation is not a function.

An equation written as y=y = an expression in xx, such as y=3x−2y = 3x - 2, gives one output for each input, because the arithmetic on the right side has one result. Trouble starts when yy is squared or missing. In x=y2x = y^2, the input 9 gives y=3y = 3 and y=−3y = -3 (squaring a negative number gives a positive one, which is the whole trouble). In x=4x = 4, there is no yy at all, so the input 4 pairs with every output.

For a rule in words, decide which quantity is the input, then ask whether one input could lead to two outputs.

Words in the problem Math it means
"Each button drops one snack" each input has exactly one output
"A1 and A2 both drop pretzels" two inputs share an output, which is allowed
"each student's height in inches" input is a name, output is a number
"which students are 60 inches tall?" input 60 might have more than one output
"pick a value of xx" choose one input and count its outputs

Try It Yourself

Change the inputs and outputs of the four pairs, then switch between the mapping diagram and the graph. Watch what happens when two pairs share an input with different outputs, and compare it with two pairs that share only an output.

Examples of identifying functions

Example 1

Is the relation {(−2,5),(0,1),(3,5),(−2,7)}\{(-2, 5), (0, 1), (3, 5), (-2, 7)\} a function?

List the inputs in order: −2-2, 00, 33, −2-2.

The input −2-2 appears twice, once with output 5 and once with output 7.

The relation is not a function. The output 5 appearing twice is not the problem.

Example 2

Maya records how many glasses of water she drinks each day. Is the number of glasses a function of the day?

Day (input) Glasses (output)
1 6
2 6
3 8
4 8
5 6

The tempting move is to scan the output column, see 6 three times and 8 twice, and decide this is not a function.

That reading fails because outputs are allowed to repeat. The rule limits inputs, not outputs.

Check the input column instead. Days 1, 2, 3, 4 and 5 each appear once, so each input has exactly one output.

The table is a function.

Example 3

A mapping diagram has inputs 3, 5 and 8 and outputs 1, 4 and 9. Arrows go from 3 to 1, from 5 to 4, from 5 to 9 and from 8 to 9. Is it a function?

Count the arrows leaving each input. Input 3 has one, input 5 has two and input 8 has one.

Input 5 is paired with 4 and with 9, so the diagram is not a function.

Output 9 receiving two arrows is allowed. Erase the arrow from 5 to 9 and the diagram becomes a function.

Example 4

Do the points (−3,2)(-3, 2), (−1,4)(-1, 4), (1,4)(1, 4), (−1,−2)(-1, -2) and (3,0)(3, 0) form the graph of a function?

Slide a vertical line across the coordinate plane. At x=−1x = -1, it meets two points, (−1,4)(-1, 4) and (−1,−2)(-1, -2). The input −1-1 has the outputs 4 and −2-2.

The points do not form the graph of a function.

Example 5

Which of these equations are functions: y=3x−2y = 3x - 2, x=4x = 4, y=x2y = x^2 and x=y2x = y^2?

Pick one input for each and count the outputs.

For y=3x−2y = 3x - 2, the input 2 gives one output.

y=3×2−2=4y = 3 \times 2 - 2 = 4

For x=4x = 4, the input 4 pairs with every yy, such as (4,0)(4, 0) and (4,1)(4, 1). Not a function.

For y=x2y = x^2, the input 3 gives 9 and the input −3-3 also gives 9. Two inputs share an output, and each input still has one, so it is a function.

For x=y2x = y^2, the input 9 needs y2=9y^2 = 9, so y=3y = 3 or y=−3y = -3. Not a function.

Two of the four equations, y=3x−2y = 3x - 2 and y=x2y = x^2, are functions.

Example 6

At a school checkup, Amara is 58 inches tall, Kenji is 60 inches, Lucia is 60 inches and Dev is 62 inches. Is height a function of name? Is name a function of height?

With name as the input, each of the four students has one height. Height is a function of name.

With height as the input, the input 60 leads to Kenji and to Lucia.

Name is not a function of height.

The promise behind one output per input

A rule is only useful if you can trust what it gives back. One output per input is that trust, written down.

  • Predictable answers. A calculator key or a price list returns one value for one input, so you never have to guess which answer you got.
  • Graphs you can read. When each input has one output, you can point at any xx and read off its single yy, which later grade 8 work on linear and nonlinear functions depends on.
  • A word with a long history. According to the MacTutor history of the function concept, Leibniz used "function" in August 1673 for lines that perform some job in a figure, and in 1870 Hermann Hankel was still complaining about confusion over what the word meant. Today's one-input, one-output rule came out of that long argument.
  • A large share of grade 8 math. In the 2024 NAEP mathematics assessment, algebra made up 28 percent of grade 8 questions, and the NAEP framework lists patterns, relations and functions inside algebra.

Every function your child meets in high school keeps this same rule underneath, including the curved ones.

Where do kids trip up when identifying functions?

Mistake 1: Treating a repeated output as a problem

Where it slips in: Tables and mapping diagrams with repeated numbers, as in Example 2.

Don't do this: Seeing the outputs 6, 6, 8, 8, 6 and calling the table "not a function".

The correct way: Check the inputs 1, 2, 3, 4 and 5. Each appears once, so the table is a function.

Most kids run a finger down the output column first, because a repeat anywhere in a table looks like a clash. The rule cares about repeated inputs only.

Wrong and right way of identifying functions from a table with repeated outputs.
Wrong and right panels for the table with inputs 1 to 5 and outputs 6, 6, 8, 8, 6, the wrong one circling repeated outputs, the right one circling the five inputs and saying function.

Mistake 2: Sweeping a horizontal line

Where it slips in: Graphs, especially U-shaped ones like y=x2y = x^2 from Example 5.

Don't do this: Sliding the horizontal line y=9y = 9 across, seeing it meet (−3,9)(-3, 9) and (3,9)(3, 9), and calling y=x2y = x^2 "not a function".

The correct way: Slide a vertical line. Every vertical line meets y=x2y = x^2 once, so it is a function. Two points on one horizontal line only show two inputs sharing an output.

Kids who learned the check as a picture trick, without the reason, often mix up the direction. A horizontal line check returns in high school with a different job.

Mistake 3: Assuming every equation is a function

Where it slips in: Lists of equations, as in Example 5.

Don't do this: Saying x=y2x = y^2 is a function because it has an equal sign, an xx and a yy.

The correct way: Plug in the input 9. Then y2=9y^2 = 9 gives y=3y = 3 and y=−3y = -3, two outputs, so x=y2x = y^2 is not a function.

This one comes from habit. Most equations a child graphs in grades 7 and 8, such as y=3xy = 3x or y=2x+1y = 2x + 1, start with y=y =, so the shape starts to feel like a guarantee.

What most guides miss about identifying functions

Direction matters. In Example 6, the same four facts make a function from name to height and fail from height to name. Decide which quantity is the input before checking anything.

A repeated pair is also not a repeated input with a new output. If a list shows (2,5)(2, 5) twice, that is one pair written twice, and the relation can still be a function. The check only fails when the same input shows up with a different output, such as (2,5)(2, 5) and (2,6)(2, 6).

Both ideas come back to one point. You are never hunting for repeats in general, only for one input that refuses to pick an answer.

Key Takeaways

  • A relation passes as a function when no input is ever paired with two different outputs, however many times outputs repeat.
  • Tables, mapping diagrams, graphs and equations are four views of one question, so the same pairs give the same verdict in every form.
  • Identifying functions from an equation comes down to plugging in one input and counting the outputs that come back.
  • Reading a relation backward can change the answer, so naming the input comes before any checking.
  • For more practice identifying functions with a teacher who spots the repeated-output trap early, explore Bhanzu's 8th grade math tutor or algebra classes.

A Practical Next Step

Write these four relations on paper and sort them into "function" and "not a function". Circle the inputs first in each one.

  1. {(4,1),(6,1),(8,3),(10,3)}\{(4, 1), (6, 1), (8, 3), (10, 3)\}
  2. {(0,2),(1,5),(0,−2),(3,7)}\{(0, 2), (1, 5), (0, -2), (3, 7)\}
  3. y=5−xy = 5 - x
  4. x=y2+1x = y^2 + 1

Answers: 1 is a function, 2 is not (input 0 has outputs 2 and −2-2), 3 is a function, 4 is not (input 5 has outputs 2 and −2-2).

Practice these to solidify your understanding. If repeated outputs in problem 1 make you hesitate, return to Mistake 1. Want a live Bhanzu trainer to walk through more recognizing functions problems? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. Common Core State Standards Initiative, Grade 8 Functions (2010). thecorestandards.org
  2. OpenStax, College Algebra 2e, 3.1 Functions and Function Notation (2021). openstax.org
  3. J J O'Connor and E F Robertson, The function concept, MacTutor History of Mathematics (2005). mathshistory.st-andrews.ac.uk
  4. National Center for Education Statistics, NAEP Mathematics: Percentage distribution of questions by content area (2024). nces.ed.gov
  5. National Assessment Governing Board, Mathematics Assessment Framework for the 2022 and 2024 National Assessment of Educational Progress (2022). nagb.gov

Quick Quiz: Check Yourself

Three levels, new questions every time: decide whether a list of ordered pairs is a function, then a table with repeated outputs, then a height and name pairing read backward.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are the domain and range when identifying functions from a table?
The domain is the set of numbers in the input column, and the range is the set of numbers in the output column. For inputs 1 to 5 with outputs 6, 6, 8, 8 and 6, the domain is {1,2,3,4,5}\{1, 2, 3, 4, 5\}. The range is {6,8}\{6, 8\}, since a set lists each value once.
Is it a function when one output isn't used?
Yes, a mapping diagram can show an output with no arrow reaching it, and the relation is still a function as long as each input has exactly one arrow.
Is a function an equation?
No. A function can be a table, a mapping diagram or a graph, and some equations, like x=y2x = y^2, are not functions. Knowing how to tell if something is a function matters more than spotting an equal sign.
How do I go from identifying functions from graphs to spotting a linear function?
First confirm the graph is a function with the vertical line check. A linear function's graph is then a straight line, and in its table equal input steps give equal output steps.
What grade do you learn functions in math?
In the Common Core, functions first get their own standard in grade 8, in 8.F.A.1. Earlier grades build toward it with number patterns, and function notation such as f(x)f(x) waits until high school.
How can I help my child with identifying functions from relations at home?
Start with pairs your child already knows, such as family members and the month each was born, and ask which way round makes a function. If the arithmetic is fine but the wording trips your child up, that is usually a reading issue, and asking which quantity is the input fixes most of it. The math teacher is the best first stop for anything that lingers, and a tutor makes sense if earlier skills such as plotting points sit about two grade levels behind. The section A Practical Next Step has four problems to try together.
✍️ Written By
Bhanzu Team
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →