Skip to content
Linear Relationships and Functions
Functions and Real-World Models · LF04 · Grade 8

Define functions as unique output assignments

I can define functions as unique output assignments.

Standards:
8.F.A.1
Useful foundations

Seshvi AI · Your lesson tutor

A different explanation, a smaller step, or help making sense of your work.

Sign in to ask Seshvi AI

Can this machine make up its mind?

A badge machine reads a number and prints a colour. Input 1 gives green. Input 2 also gives green. That seems fine. But another machine gives both green and purple for input 1. Which machine follows a dependable rule?

A function has one promise: each allowed input gets exactly one output.

The curve y=x² has one output per input, although inputs −2 and2 both give4.

Try it first

Explore·Interactive model

Try it

Make the arrows behave

Edit one output arrow, then decide whether the map is a function.

InputOutput1234
Input-output pairs
PairInputOutput
114
224
334
Pair to edit (optional)
Leave empty to keep the original pairs.
Is this mapping a function?

The idea, in plain words

A function assigns exactly one output to each input in its domain. Different inputs may share an output. One input may not split into different outputs.

A table, arrow map, rule or graph can show the same idea. A graph passes the vertical-line test when no vertical line meets it at more than one point. A vertical line fixes one input, so two intersections would mean two outputs.

Repeated copies of the exact same pair do not create a new output. Check values, not just how many times an input is printed.

Let's work it out

1. Sharing is allowed

Pairs (1,4),(2,4),(3,4)(1,4),(2,4),(3,4) form a function. Every input has one output, even though all the outputs are 4.

2. One input, two answers

Pairs (1,3),(1,5),(2,6)(1,3),(1,5),(2,6) do not form a function. Input 1 has outputs 3 and 5. That is the conflict.

3. A duplicate is not a conflict

Pairs (2,7),(2,7),(4,9)(2,7),(2,7),(4,9) form a function. Both copies of input 2 point to the same output, 7.

4. A curve can be a function

The rule y=x2y=x^2 is a function. Input −2 gives 4, and input 2 gives 4. Each individual input still has only one output. A function need not be a straight line.

5. Why a sideways graph fails

The points (3,1)(3,1) and (3,4)(3,4) lie on the same vertical line. A graph containing both gives input 3 two outputs. It fails the function test.

Your next challenge

Explore·Interactive model

Try it

Sweep one input across the graph

Move a vertical test line. Decide whether the whole displayed graph represents a function of x.

Vertical sweepGraph of the line y = 2x + 1. The vertical line at x = 0 meets it at 1 point.−3−2−10123−4−202468xy

Graph: the line y = 2x + 1.

At x = 0: 1 meeting point.

Your verdict is about every input, not just this one.

Is this graph a function?
Because…

Pause and try

  1. Are (0,2), (1,2), (2,2) a function?

  2. Are (−1,3), (−1,4) a function?

  3. Does a curved graph automatically fail?

Compare your thinking
  1. Yes. Shared outputs are allowed.

  2. No. Input −1 has two different outputs.

  3. No. Use the one-output rule or vertical-line test, not the shape alone.

Another view

The curve y=x² rises at a changing rate for inputs0through3.

At equally spaced inputs 0,1,2,3, the outputs are 0,1,4,9. Each input still has one output, but the output changes are not constant. The rule is a function, not a proportional or linear rule on this domain.

Take it somewhere new

A pupil-name-to-birthday list has one birthday for each pupil. Can it be a function if two pupils share a birthday?

After your try

Yes, provided each input identifies one pupil uniquely. Different pupils may share the same output birthday.

Keep this idea

Check one input at a time. Exactly one output for each allowed input makes a function.

Say what depends on what

Function language names the input and the output. "The output is a function of the input" means each input gives exactly one output. You can also say "the output depends on the input".

A context. Every library book has exactly one shelf number. So shelf number is a function of the book: choose a book (input) and there is one shelf number (output). The reverse fails. One shelf holds many books, so if the input is a shelf number, there is more than one book as output. Book is not a function of shelf number.

Sharing an output is fine. Two books on the same shelf do not break the rule. What breaks it is one input with two different outputs.

Graphs of equations. To decide whether a graph shows y as a function of x, ask: does any single x-value have two different y-values?

  • The line y = 3x + 2 slants. Each x gives one y, so it is a function.
  • The vertical line x = −1 contains (−1, 0), (−1, 5) and many more points with the same x. One input has many outputs, so it is not a function.
  • If a curve passes through both (1, 3) and (1, −3), input 1 has two outputs, so the curve is not a function of x.

A curve that turns, like a hill shape, can still be a function if every x has only one y on it.

A graph is a set of input-output pairs

Every point on the graph of a function is an ordered pair (input, output). Writing f(5) = 12 says the same thing as "the point (5, 12) is on the graph".

So a graph can be checked like a list. Look at the x-values, which are the inputs. If no x-value appears twice with different y-values, each input has exactly one output, and the graph is a function.

  • Points (0, 4), (1, 6), (2, 6): the inputs 0, 1 and 2 each appear once. The output 6 is shared, which is allowed. This is a function.
  • Points (2, 1), (3, 5), (2, 8): the input 2 has outputs 1 and 8. That breaks the rule, so this is not a function.

A rule can make the list for you. For output = 3 × input + 2 with inputs 1, 2 and 4, the graph is the set (1, 5), (2, 8), (4, 14). Each input is used once, so each has one output.

Once a function's graph contains (5, 12), it cannot also contain (5, 20): input 5 would then have two outputs.

Read the graph before deciding

A graph represents input-output pairs. Follow the input x on the horizontal scale and read the output y on the vertical scale. Then ask whether every input in the stated domain has exactly one output. The domain matters: no two-output conflict is not enough if a required input has no output.

A continuous hill-shaped graph and a finite set of isolated points, with labelled input and output scales.

Try the two graphs before reading on. Graph A has domain [−2,2]. Is it a function even though it turns? Graph B is intended to cover inputs {−1,0,1}; what is missing?

On A, each allowed input has one output. Inputs −2 and 2 both give 0, which is allowed: different inputs can share an output. A curve need not be a straight line to be a function. On B, input 0 has no plotted output, so it does not yet define a function on the required domain. Repeating one existing dot would add no output at 0.

A vertical line fixes an input. Two different intersections give two outputs for that input and disprove the function condition. Two copies of exactly the same pair still describe one point and one output. For a finite graph, use only its dots; do not imagine connecting segments. For a continuous graph, consider the full drawn curve on its stated domain.

In the checks, enter requested readings and write your own explanation of the actual graph. A selected decision or a number alone is not an explanation. Your numeric or selected entries keep their exact verdicts; written reasoning is assessed separately under the existing round rules.

Practice this lesson

Sign in and choose a learner profile to practise. Answers are checked and saved to the learner's profile.

Sign in to practise

How was this lesson?

Sign in to leave feedback.