Determine a rule from a table of values
Theory
A table of values pairs each input with an output made by the same rule. When the inputs go up by \(1\), the gap between outputs tells you the multiplier; then you find what to add or subtract. This Year 6 maths page shows how to find one-step and two-step rules, test them on every row, and use them to find any output or to work back to an input.
An input goes into the rule and an output comes out. The rule must work for every row.
A one-step rule adds, subtracts, multiplies or divides once: input \(\times 7\), or input \(+ 9\).
A two-step rule does two operations in order, such as multiply by \(4\), then add \(3\).
When the inputs go up by \(1\), the outputs go up by the multiplier. Outputs \(7, 11, 15, 19\) go up by \(4\), so the rule starts "multiply by \(4\)"; \(1 \times 4 = 4\) and \(7 - 4 = 3\), so it is multiply by \(4\), then add \(3\).
To work backwards, undo the steps in reverse order: subtract \(3\), then divide by \(4\).
Finding a rule when the inputs go up by 1:
Finding the rule
- Check that the inputs go up by \(1\) (if not, divide the output gap by the input gap).
- Gap between outputs = multiplier.
- Multiply the first input; add or subtract to reach the first output.
- Test the rule on every row.
Working backwards from an output
- Undo the last step first (add becomes subtract).
- Then undo the multiply by dividing.
| \(9 \times 7\) | \(=\) | \(63\) |
Multiply by \(7\); output \(63\).
| \(25 + 16\) | \(=\) | \(41\) |
Add \(16\); output \(41\).
| \(12 \times 4 + 3\) | \(=\) | \(51\) |
Multiply by \(4\), then add \(3\); output \(51\).
| \(2 + 3\) | \(=\) | \(5\) |
No: add \(3\) gives \(5\) for input \(2\), not \(7\). The outputs go up by \(3\), so the rule is multiply by \(3\), then add \(1\).
Inputs go up by \(2\) and outputs by \(6\), so the multiplier is \(6 \div 2 = 3\). \(2 \times 3 = 6\) and \(10 - 6 = 4\).
| \(10 \times 3 + 4\) | \(=\) | \(34\) |
Multiply by \(3\), then add \(4\); output \(34\).
| \(63 - 3\) | \(=\) | \(60\) |
| \(60 \div 4\) | \(=\) | \(15\) |
\(15\). Check: \(15 \times 4 + 3 = 63\).
(i) Find the rule.
(ii) What do \(8\) hours cost?
| \(8 \times 5 + 8\) | \(=\) | \(48\) |
(i) Multiply the hours by \(5\), then add \(8\) (a \(\$5\) hourly rate plus an \(\$8\) fee).
(ii) \(\$48\)
| \(15 \times 4 + 2\) | \(=\) | \(62\) |
Multiply by \(4\) gives \(4\) for input \(1\), not \(6\); she must also add \(2\). Output \(62\).
Common pitfalls
Frequently asked questions
How do I find a rule from a table?
Find the gap between outputs (the multiplier), then add or subtract to match the first row. Test every row.
What is a two-step rule?
A rule with two operations in order, such as multiply by \(4\), then add \(3\).
How do I find the input from an output?
Undo the steps in reverse order.
What if the inputs do not go up by 1?
Divide the output gap by the input gap.
Why must the rule work for every row?
Many rules fit one row; only the true rule fits them all.