GoalUse a letter in a rule to find outputs and inputs, and to link two quantities.
New words
input · the number you start with in a ruleoutput · the number you get after using the rulerule · a set of instructions that changes an input into an output
Explanation
A rule changes an input number into an output number. We can write a rule using a letter for the input. For the rule n + 6, the input is n and the output is n + 6. A table lists inputs and outputs: when the input is 2 the output is 8. We can also work backwards. If the output of n − 4 is 9, the input must be 9 + 4 = 13, because adding is the opposite of subtracting. Letters can also link two quantities. If Ravi is 3 years older than Lola, then Ravi’s age R is L + 3, where L is Lola’s age. Lola’s age is R − 3.
Input n
2
5
9
Output n + 6
8
11
15
Worked examples
n
12
20
31
n − 5
7
15
26
Use the rule n − 5. When n = 12 the output is 12 − 5 = 7. The table shows more inputs and outputs.
Lola L
6
8
10
Ravi R = L + 3
9
11
13
Ravi is 3 years older than Lola, so R = L + 3. If Lola is 6, Ravi is 9. If Lola is 10, Ravi is 13.
The output of n − 4 is 9. Work backwards: the bar shows 4 and 9 making n. So n = 4 + 9 = 13. Check: 13 − 4 = 9.
Class activity
Rule machine: one person is the machine and thinks of a secret rule such as “add 7”. The other person says an input and the machine says the output. After three inputs, guess the rule and write it with the letter n. Swap roles and try a “subtract” rule.
Practice
1
The rule is n + 7. What is the output when the input is 8?
15
2
The rule is n − 3. Complete the table.
n
6
10
15
n − 3
?
?
?
3, 7 and 12
3
Sara is 4 cm taller than Tom. Sara’s height is s and Tom’s height is t. Write s using t. Tom is 138 cm tall. How tall is Sara?
s = t + 4, so Sara is 142 cm tall.
4
The output of the rule n + 5 is 14. What was the input?