Input/output and inverse number machines
8 exam-style questions, grades 1 to 6. Worked solutions and the marks are on the last page.
- Question 1
(a) A function machine multiplies an input by 4, then subtracts 7. Its output is 21. What was the input?
- Question 2
Here is a number machine: input multiply by 4 subtract 7 output.
(a) Work out the output when the input is 5.
(b) Work out the input when the output is 29.
(c) The input is . Write an expression for the output.
- Question 3
Machine A: input multiply by 3 add 2 output. Machine B: input add 5 multiply by 2 output.
(a) The same number is put into both machines, and both outputs are the same. Work out the number.
- Question 4
(a) A number machine subtracts 7 and then divides by 5. The output is 9. Find the input.
- Question 5
A number machine multiplies by 3 then subtracts 7.
(a) Find the input when the output is 14.
(b) Write the inverse machine as a sequence of operations.
- Question 6
Machine A adds 4 then doubles. Machine B doubles then adds 9.
(a) Find both outputs for input 8, giving A then B.
(b) Can the machines ever give the same output for the same input? Explain.
- Question 7
A function machine halves the input and then subtracts 3.
(a) Write an expression for the output when the input is x.
(b) The output is −1. Find the input.
(c) Find the input that gives an output equal to the input.
- Question 8
A number machine: input square multiply by 2 subtract 8 output.
(a) The output is 64. Find all the possible inputs.
(b) Explain why the output can never be .
Worked solutions and marks
Question 1
(a) 7
- Undo subtraction by adding 7: 21 + 7 = 28.
- Undo multiplication by dividing by 4: 28 4 = 7.
- P1 Establishing or an equivalent valid method.
- A1 Correct answer: 7
Question 2
(a)
- , then .
- B1 The correct answer, .
(b)
- Work backwards with the inverse operations: , then .
- M1 Adding 7 to 29 first: .
- A1 The correct answer, .
(c)
- Multiply by 4 to get , then subtract 7: .
- B1 The correct answer, .
Question 3
(a)
- Write each output with the input .
- Set them equal and solve.
- Check: A gives and B gives .
- P1 Writing the outputs as and .
- P1 Forming the equation .
- A1 The correct answer, .
Question 4
(a)
- Undo the operations in reverse order. Multiply the output by 5: 9 5 = 45.
- Undo subtracting 7 by adding 7: 45 + 7 = 52.
- P1 Establishing or an equivalent valid method.
- A1 Correct answer:
Question 5
(a)
- Undo the subtraction before undoing multiplication.
- Therefore .
- M1 Undo the subtraction before undoing multiplication.
- A1 Correct answer:
(b) Add 7, then divide by 3.
- The final forward operation is the first inverse operation.
- Add 7, then divide by 3.
- M1 The final forward operation is the first inverse operation.
- C1 Correct conclusion with supporting reasoning: Add 7, then divide by 3.
Question 6
(a)
- Evaluate each ordered sequence separately.
- Therefore .
- M1 Evaluate each ordered sequence separately.
- A1 Correct answer:
(b) No. Their outputs differ by , which is non-zero for every input.
- No. Their outputs differ by , which is non-zero for every input.
- C1 Correct conclusion with supporting reasoning: No. Their outputs differ by , which is non-zero for every input.
Question 7
(a)
- Therefore .
- B1 Correct answer:
(b)
- Reverse the machine: add 3, then double.
- Therefore .
- M1 Reverse the machine: add 3, then double.
- A1 Correct answer:
(c)
- Form an equation with the output equal to the input.
- Therefore .
- M1 Form an equation with the output equal to the input.
- A1 Correct answer:
Question 8
(a) and
- Work backwards.
- Undo the square: both and are 36.
- P1 Reaching 36 by undoing the subtraction and the multiplication in reverse order.
- A1 Both and .
(b) The square is never negative, so .
- The output is . Squaring never gives a negative number, so and the output is at least .
- is less than , so it can never be an output.
- B1 Writing the output as or saying the smallest output is .
- C1 Explaining that a square cannot be negative, so the output cannot be less than .