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

Complete input-output tables for functions

I can complete input-output tables for functions.

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

Send a number through the machine

Our snack machine follows a number rule instead of taking coins: double the input, then add 1. Put in 3 and it sends out 7. Put in 0 and it still sends out 1.

A table helps us keep track. Each row is a fresh trip through the same machine.

The line f(x)=2x+1 includes inputs −2,0,3 and outputs −3,1,7.

Try it first

Explore·Interactive model

Try it

Send three inputs through

Complete the three output cells using the displayed function rule.

Function machine: y = 2x + 1

Put each input in brackets when you substitute, for example 2 × (−2) + 1.

Send three inputs through
Input xOutput y
−2
0
3

The idea, in plain words

The notation f(x)f(x) means “the output of function ff at input xx.” It does not mean f×xf×x. For f(x)=2x+1f(x)=2x+1, f(3)f(3) means substitute 3 for x, then calculate.

Use the stated rule for every row. Do not carry the previous output into the next row unless the rule specifically tells you to. Negative inputs need their signs, and squares need the usual order of operations.

Let's work it out

1. The first trip

For f(x)=2x+1f(x)=2x+1, f(3)=2×3+1=7f(3)=2×3+1=7. Multiply before adding.

2. Zero still has an output

Using the same rule, f(0)=2×0+1=1f(0)=2×0+1=1. A zero input does not force a zero output.

3. A negative input

Here, f(−2)=2×(−2)+1=−4+1=−3f(-2)=2×(-2)+1=-4+1=-3. Keep the minus sign when you substitute.

4. A different machine

For g(x)=x2−1g(x)=x^2-1, g(−3)=(−3)2−1=9−1=8g(-3)=(-3)^2-1=9-1=8. The whole negative input is squared. This machine is a function, but its graph is not linear.

5. Work backwards with care

If h(x)=3x−2h(x)=3x-2 and the output is 10, solve 3x−2=103x-2=10. Then 3x=123x=12 and x=4x=4. Check: h(4)=10h(4)=10. Some other functions can have more than one input for an output.

Your next challenge

Explore·Interactive model

Try it

Find the one broken row

Exactly one output cell is wrong. Select its row and type the replacement.

Rule: y = 2x + 1

One row is broken
RowInput xShown output
1−2−3
200
337
Which row is broken?

Pause and try

  1. For f(x)=3x+2, find f(2).

  2. For g(x)=x², find g(−4).

  3. Does f(5) mean f multiplied by 5?

Compare your thinking
    1. Replace x with 2: 3×2+2.
    1. Square the whole input, (−4).
  1. No. It means the output of function f at input 5.

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 ticket rule is T(n)=2n+3. Find T(0) and T(4), and explain them.

After your try

T(0)=3 and T(4)=11. The £3 starting fee remains at zero tickets; four tickets add £8.

Keep this idea

Read the input, substitute carefully, calculate, then record the output in that row.

Find the rule inside the machine

An input-output diagram shows a rule as a chain of steps. A number goes in on the left, each box does one operation in order, and the number that comes out is the output.

Reading a diagram. Input → [multiply by 3] → [subtract 1] → output. For input 4: 4 × 3 = 12, then 12 − 1 = 11. So the output is 11. As a rule, y = 3x − 1. Order matters: subtracting first would give (4 − 1) × 3 = 9, a different rule. Each input gives exactly one output.

Running it backwards. To find which input gives output 20, undo the steps in reverse order with the opposite operations: 20 + 1 = 21, then 21 ÷ 3 = 7. Check: 7 × 3 − 1 = 20.

Finding a rule from pairs. Suppose the pairs are (1, 9), (2, 15), (5, 33).

  1. Compare changes. From input 1 to 2 the output rises 6. From input 2 to 5 it rises 18, which is 6 for each step of 1. So the rule multiplies by 6.
  2. Fix the start. 6 × 1 = 6, but the output is 9, so add 3.
  3. Test every pair: 6 × 2 + 3 = 15 and 6 × 5 + 3 = 33. The rule is y = 6x + 3.

A rule that fits one pair is only a guess; it must fit them all. As a diagram: [multiply by 6] → [add 3].

Read inputs and outputs from a graph

A function turns each input into exactly one output. You can work with it from an equation or from its graph.

From an equation. A taxi rule is C = 6h + 2, where h is hours and C is pounds. For h = 4, C = 6 × 4 + 2 = 26. In context: a 4-hour trip costs £26. Always say what the input and output stand for.

From a graph. On a graph, the input is read across the horizontal axis and the output up the vertical axis. A graph of temperature (°C) against hours after midnight passes through (1, 4) and (5, 12). The point (5, 12) says: input 5 hours, output 12 °C, so at 5 a.m. it is 12 °C.

Backwards: input from output. To find which input gives an output, look along that height and read down to the inputs. A graph through (1, 7), (3, 11) and (5, 7) has output 7 at two inputs, 1 and 5. That is fine for a function: two inputs may share an output.

When a graph is not a function. A sideways curve through (5, 1) and (5, −1) gives the input 5 two different outputs. That breaks the rule, so this graph is not a function.

Name each point as "input … gives output …" and then say what it means in the story.

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.