Machines in a Chain
What if the number coming out of one machine goes straight into a second machine? Can you follow it all the way through?
One after the other
The first machine multiplies by 2. The second adds 5.
Put in 6. The first machine gives 6 × 2 = 12.
12 goes into the second machine: 12 + 5 = 17.
So 6 goes in and 17 comes out at the end.
Order matters
Now swap them: add 5 first, then multiply by 2.
6 + 5 = 11, then 11 × 2 = 22. Not 17!
Changing the order of the machines can change the answer.
To go backward through a chain, undo the last machine first.
17 came out? Take away 5 to get 12, then divide by 2 to get 6.
Try it at home
- Draw two machines: × 3, then - 1.
- Put in 4, then 5, then 10. Write what comes out.
- Swap the machines. Do you get the same numbers?
Words in this lesson
- chain - machines joined so one machine's output is the next machine's input.
Big idea
In a chain, each machine's output goes into the next; the order matters, and you undo it from the end.