M2.8.3 Chapter 3
Number machines
A machine does × 3, then + 1. What comes out if I put in 4?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Find the output of a machine like 'times 3, then add 1'
- Find the rule from pairs of inputs and outputs
- Work backwards from an output to find the input
A number machine changes numbers by a rule. Our machine does two jobs, in order.
The number you put in is the input. The number that comes out is the output.
Draw it first
Run a number through the machine
1 The machine does two jobs. First × 3. Then + 1.
2 Put in 4. This is the input.
3 The first job gives 4 × 3 = 12.
4 The second job gives 12 + 1 = 13. This is the output.
The order matters. Now do + 1 first, then × 3. Put in 4 again.
Worked example
Put 7 in the machine. It does × 3, then + 1.
- First job: 7 × 3 = 21.
- Second job: 21 + 1 = 22.
- The output is 22.
Answer: 22
Squares of sticks use this machine too. Put in 4 squares. 13 sticks come out.
It is the stick rule from the last chapter.
Sometimes you see the inputs and the outputs, but not the rule.
Worked example
Find the rule. 1 gives 5, 2 gives 7, 3 gives 9.
- The inputs go up by 1. The outputs go up by 2. So the rule starts with × 2.
- Try × 2 on the input 1. 2 × 1 = 2. The output is 5.
- It needs 3 more. 5 − 2 = 3. So add 3.
- Test every pair. 2 × 2 + 3 = 7. 2 × 3 + 3 = 9.
Answer: × 2, then + 3
Now go backwards. The output is 22. What did you put in?
Undo each job with its opposite. Start with the last job.
The opposite of + is −. The opposite of × is ÷.
Worked example
The machine does × 3, then + 1. The output is 22. Find the input.
- The last job was + 1. Undo it first. Take 1 away. 22 − 1 = 21.
- The first job was × 3. Undo it. 21 ÷ 3 = 7.
- Check. 7 × 3 + 1 = 22.
Answer: 7
See it three ways
With things
Put in 2. Make 2 groups of 3 beans. Then add 1 more bean. Count them all.
As a picture
In symbols
2 × 3 + 1 = 7. The input is 2. The output is 7.
Try it
Be the number machine
You need: a pencil and paper, a friend, if you have one.
- Write a rule: × 2, then + 1. Keep it hidden from your friend.
- Ask your friend for the inputs 1, 2, 3 and 4. Give each output.
- Write the inputs and outputs in a table.
- Ask your friend to find the rule. On your own, cover the rule and find it.
What you will see: The outputs 3, 5, 7, 9 go up by 2. That shows the × 2. The first output needs 1 more.
A wrong idea many people have
To go backwards from 22, divide by 3 first. Then take 1 away.
Why it feels right: The machine does × 3 first. So it seems you undo × 3 first.
The test that breaks it: 22 ÷ 3 leaves a bit over. Say you use 7, then take 1 away to get 6. Put 6 in the machine. 6 × 3 + 1 = 19, not 22.
What is true: Undo the last job first. You tie string round a parcel last. To open it, you untie the string first.
Key words
- number machine
- a rule that changes a number, one job at a time.
- input
- the number you put in.
- output
- the number that comes out.
- opposite
- the job that undoes another. + and − are opposites.
Back to your guess
The answer is B: 13. Times 3 gives 12, then add 1.
The machine does its jobs in order. 4 × 3 = 12, then 12 + 1 = 13. Add 1 first and you get 15, which is a different machine.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
A machine does × 5, then − 2. Put in 6. What comes out?
See the answer
28
First job: 6 × 5 = 30. Second job: 30 − 2 = 28.
A machine does + 2, then × 4. Put in 3. What comes out?
See the answer
20
First job: 3 + 2 = 5. Second job: 5 × 4 = 20.
- If you chose B: You did × 4 first. 3 × 4 + 2 = 14. This machine adds 2 first.
- If you chose C: You added 2 and then added 4. The second job is × 4, not + 4.
Find the rule. 2 gives 9, 3 gives 13, 4 gives 17.
See the answer
× 4, then + 1
The inputs go up by 1 and the outputs by 4. So start with × 4. 2 × 4 = 8, and the output is 9, so add 1. Test: 3 × 4 + 1 = 13 and 4 × 4 + 1 = 17.
A machine does × 2, then + 5. The output is 19. What went in?
See the answer
7
Undo + 5 first. 19 − 5 = 14. Then undo × 2. 14 ÷ 2 = 7. Check: 7 × 2 + 5 = 19.
From an earlier chapter
How many sticks make a row of 7 squares?
See the answer
22 sticks
4 sticks for the first square. Then 6 more squares add 3 each. 6 × 3 = 18, and 4 + 18 = 22. Or 3 × 7 + 1 = 22.
A machine does × 2, then + 4. The output is 20. What went in?
See the answer
8
Undo the last job first. 20 − 4 = 16. Then undo × 2. 16 ÷ 2 = 8. Check: 8 × 2 + 4 = 20.
- If you chose A: You undid × 2 first: 20 ÷ 2 = 10, then 10 − 4 = 6. Undo the last job first, which is + 4.
- If you chose C: You did + 4 and × 2 again. To go back, use the opposite of each job: − 4 and ÷ 2.
Find the rule. 1 gives 5, 2 gives 8, 3 gives 11.
See the answer
× 3, then + 2
The outputs go up by 3, so start with × 3. 1 × 3 = 3, and the output is 5, so add 2. Test: 2 × 3 + 2 = 8 and 3 × 3 + 2 = 11.
- If you chose A: The outputs go up by 3, but 1 + 3 = 4, not 5. A rule must fit every pair.
- If you chose B: You used the first output, 5. 1 × 5 = 5 fits, but 2 × 5 = 10, not 8.
A machine does × 4, then − 3. Put in 5. What comes out?
See the answer
17
First job: 5 × 4 = 20. Second job: 20 − 3 = 17.
- If you chose A: You added 3. The second job is − 3, so take 3 away.
- If you chose C: You took 3 away first, then did × 4. The jobs go in order: × 4 comes first.
Leila's machine does ÷ 2, then + 6. The output is 15. What went in?
See the answer
18
Undo the last job first. 15 − 6 = 9. Then undo ÷ 2. 9 × 2 = 18. Check: 18 ÷ 2 + 6 = 15.
- If you chose A: You undid ÷ 2 first: 15 × 2 = 30, then 30 − 6 = 24. Undo the last job first, which is + 6.
- If you chose B: You undid + 6 but not ÷ 2. The opposite of ÷ 2 is × 2, so 9 × 2 = 18.
Keep it
Copy this into your exercise book.
A number machine does jobs in order. The input goes in. The output comes out. To go backwards, undo the last job first, with its opposite.
Draw: Four boxes in a row: input 4, × 3, + 1, output 13. Write 12 above the middle arrow.