π
θ
E = mc²
y = mx+b
Δ
φ
λ
HomeLessonsGrade 8
Grade 8 · Functions & Relationships · 8 min read

Functions & Relationships: Flow Diagrams, Tables and Formulae

Input values, output values and rules — how the same relationship can be shown as a flow diagram, a table or a formula, and how to find a missing input, output or rule, with a clear diagram and a quiz.

A function is simply a rule that turns one number (the input) into another (the output). The same relationship can be written in several ways — and the exam will happily switch between them.

1Flow diagrams

input123× 3 + 1ruleoutput4710rule in algebra: y = 3x + 1
A flow diagram: each input goes through the rule (×3 + 1) to produce its output. In algebra the same rule is y = 3x + 1.
Worked ExampleFind the outputs for the rule × 3 + 1 with inputs 1, 2, 3
  1. 1
    Input 1: 1 × 3 = 3, then 3 + 1 = 4.
    Apply the operations in the order shown.
  2. 2
    Input 2: 2 × 3 + 1 = 7.
  3. 3
    Input 3: 3 × 3 + 1 = 10.
    Outputs: 4, 7, 10.

2The same rule as a table

A table shows the same information in rows: inputs on the top, outputs underneath. For the rule above the table reads 1→4, 2→7, 3→10, 4→13.

3The same rule as a formula

y = 3x + 1   (x is the input, y is the output)
💡

Flow diagram, table and formula are three descriptions of one relationship. Being able to move between them is exactly what the ATP calls "equivalent forms".

4Working backwards — finding the input

Worked ExampleFor the rule y = 3x + 1, find x when y = 22
  1. 1
    Write the equation: 3x + 1 = 22.
    Substitute the known output.
  2. 2
    Subtract 1: 3x = 21.
    Undo the +1 first.
  3. 3
    Divide by 3: x = 7.
    Check: 3(7) + 1 = 22 ✓

5Finding the rule from a table

Worked ExampleFind the rule: inputs 1, 2, 3, 4 give outputs 5, 8, 11, 14
  1. 1
    Look at the jump between outputs: 5 → 8 → 11 → 14, always +3.
    A constant difference of 3 means the rule contains × 3.
  2. 2
    Test × 3: input 1 gives 3, but the output is 5 — that is 2 more.
    Find the adjustment.
  3. 3
    Rule: y = 3x + 2.
    Check input 4: 3(4) + 2 = 14 ✓

Practice exercises

Work each one out, then click to reveal the answer.

  1. 1
    Rule: × 2 + 5. Find the output when the input is 6.
    Show answer ▾
    6 × 2 + 5 = 17
  2. 2
    Rule: y = 4x − 3. Find y when x = 5.
    Show answer ▾
    20 − 3 = 17
  3. 3
    Rule: y = 4x − 3. Find x when y = 17.
    Show answer ▾
    4x = 20 → x = 5
  4. 4
    Rule: × 10. Complete: 3 → ___ and ___ → 70
    Show answer ▾
    3 → 30; 7 → 70
  5. 5
    Find the rule: 1→3, 2→5, 3→7, 4→9
    Show answer ▾
    Differences of 2 → y = 2x + 1
  6. 6
    Find the rule: 1→6, 2→12, 3→18
    Show answer ▾
    y = 6x
  7. 7
    Rule: y = x2 + 1. Find y when x = 4.
    Show answer ▾
    16 + 1 = 17
🧠

Quick Quiz

4 quick questions on what you just read. Take it when you feel ready.

Now practise it

Download Grade 8 past papers and worksheets on this topic.

Go to Grade 8 papers →