A Leeds arcade game doubles your points, then takes 3 away. How did you end on 15?
At an arcade in Leeds, a game doubles your points, then takes three away. Your final score flashes up as fifteen. The game never shows your starting score. Can you work it out?
Two x means two times x. When x is five, replace x with five. Two times five gives ten. Putting a value in place of a letter is called substitution.
Four goes in. That's the input. Follow the first arrow and double four to get eight. Then follow the next arrow and subtract three to get five, the output. This diagram is called a function machine.
The machine doubles the input, then subtracts three. This time you put in six. What comes out? Follow the arrows in your head and pick the output.
Read each row from left to right. Put the input in place of x in two x minus three. Two times two minus three gives one. Two times four minus three gives five. Two times six minus three gives nine. These are the same outputs you'd get from the machine.
Call the starting score x. The rule gives two x minus three equals fifteen. Subtraction came last, so undo it first. Add three to both sides to get two x equals eighteen. Divide both sides by two to get x equals nine. Check: double nine and subtract three to get fifteen.
The machine still doubles, then subtracts three, but now the output is twenty-one. What number went in? Start at the output, think about what happened last, and pick the input.
Start with fifteen in each column. If you double and subtract three again, you get twenty-seven. If you halve and then add three, you get ten point five. To get back to the input, undo the last operation first. Add three, then halve, to get nine.
An exam question might say, ‘The output is thirty-one. Calculate the input.’ Start with the output. Add three to get thirty-four, then divide by two to get seventeen. Write both calculations so the examiner can see the order of your steps.