Worksheets · Foundation and Higher

Input/output and inverse number machines

8 exam-style questions, grades 1 to 6. Worked solutions and the marks are on the last page.

  1. Question 1Calculator · 2 marks

    (a) A function machine multiplies an input by 4, then subtracts 7. Its output is 21. What was the input? (2)

    1. 3.5
    2. 77
    3. 7
    4. 28
  2. Question 2Non-calculator · 4 marks

    Here is a number machine: input →\rightarrow multiply by 4 →\rightarrow subtract 7 →\rightarrow output.

    (a) Work out the output when the input is 5. (1)

    (b) Work out the input when the output is 29. (2)

    (c) The input is nn. Write an expression for the output. (1)

  3. Question 3Non-calculator · 3 marks

    Machine A: input →\rightarrow multiply by 3 →\rightarrow add 2 →\rightarrow output. Machine B: input →\rightarrow add 5 →\rightarrow multiply by 2 →\rightarrow output.

    (a) The same number is put into both machines, and both outputs are the same. Work out the number. (3)

  4. Question 4Non-calculator · 2 marks

    (a) A number machine subtracts 7 and then divides by 5. The output is 9. Find the input. (2)

  5. Question 5Non-calculator · 4 marks

    A number machine multiplies by 3 then subtracts 7.

    (a) Find the input when the output is 14. (2)

    (b) Write the inverse machine as a sequence of operations. (2)

  6. Question 6Non-calculator · 3 marks

    Machine A adds 4 then doubles. Machine B doubles then adds 9.

    (a) Find both outputs for input 8, giving A then B. (2)

    (b) Can the machines ever give the same output for the same input? Explain. (1)

  7. Question 7Non-calculator · 5 marks

    A function machine halves the input and then subtracts 3.

    (a) Write an expression for the output when the input is x. (1)

    (b) The output is −1. Find the input. (2)

    (c) Find the input that gives an output equal to the input. (2)

  8. Question 8Non-calculator · 4 marks

    A number machine: input →\rightarrow square →\rightarrow multiply by 2 →\rightarrow subtract 8 →\rightarrow output.

    (a) The output is 64. Find all the possible inputs. (2)

    (b) Explain why the output can never be −10-10. (2)

Worked solutions and marks

Question 1

(a) 7

  1. 21+721+7
  2. Undo subtraction by adding 7: 21 + 7 = 28.
  3. Undo multiplication by dividing by 4: 28 ÷\div 4 = 7.
  • P1 Establishing 21+721+7 or an equivalent valid method.
  • A1 Correct answer: 7

Question 2

(a) 1313

  1. 5×4=205 \times 4 = 20, then 20−7=1320 - 7 = 13.
  • B1 The correct answer, 1313.

(b) 99

  1. Work backwards with the inverse operations: 29+7=3629 + 7 = 36, then 36÷4=936 \div 4 = 9.
  • M1 Adding 7 to 29 first: 3636.
  • A1 The correct answer, 99.

(c) 4n−74n - 7

  1. Multiply nn by 4 to get 4n4n, then subtract 7: 4n−74n - 7.
  • B1 The correct answer, 4n−74n - 7.

Question 3

(a) 88

  1. Write each output with the input xx.
    A: 3x+2,B: 2(x+5)=2x+10\text{A: } 3x + 2, \qquad \text{B: } 2(x + 5) = 2x + 10
  2. Set them equal and solve.
    3x+2=2x+10⇒x=83x + 2 = 2x + 10 \Rightarrow x = 8
  3. Check: A gives 2626 and B gives 2626.
  • P1 Writing the outputs as 3x+23x + 2 and 2(x+5)2(x + 5).
  • P1 Forming the equation 3x+2=2(x+5)3x + 2 = 2(x + 5).
  • A1 The correct answer, 88.

Question 4

(a) 5252

  1. 9×59\times 5
  2. Undo the operations in reverse order. Multiply the output by 5: 9 ×\times 5 = 45.
  3. Undo subtracting 7 by adding 7: 45 + 7 = 52.
  • P1 Establishing 9×59\times 5 or an equivalent valid method.
  • A1 Correct answer: 5252

Question 5

(a) 77

  1. Undo the subtraction before undoing multiplication.
    14+73\frac{14+7}{3}
  2. Therefore 77.
  • M1 Undo the subtraction before undoing multiplication.
  • A1 Correct answer: 77

(b) Add 7, then divide by 3.

  1. The final forward operation is the first inverse operation.
    y+7y+7
  2. 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) (24,25)(24,25)

  1. Evaluate each ordered sequence separately.
    2×(8+4)2\times (8+4)
  2. Therefore (24,25)(24,25).
  • M1 Evaluate each ordered sequence separately.
  • A1 Correct answer: (24,25)(24,25)

(b) No. Their outputs differ by 2(4)−9=−12(4)-9=-1, which is non-zero for every input.

  1. No. Their outputs differ by 2(4)−9=−12(4)-9=-1, which is non-zero for every input.
  • C1 Correct conclusion with supporting reasoning: No. Their outputs differ by 2(4)−9=−12(4)-9=-1, which is non-zero for every input.

Question 7

(a) x/2−3x/2-3

  1. Therefore x/2−3x/2-3.
  • B1 Correct answer: x/2−3x/2-3

(b) 44

  1. Reverse the machine: add 3, then double.
    (−1+3)×2(-1+3)\times 2
  2. Therefore 44.
  • M1 Reverse the machine: add 3, then double.
  • A1 Correct answer: 44

(c) −6-6

  1. Form an equation with the output equal to the input.
    x/2−3=xx/2-3=x
  2. Therefore −6-6.
  • M1 Form an equation with the output equal to the input.
  • A1 Correct answer: −6-6

Question 8

(a) 66 and −6-6

  1. Work backwards.
    64+8=72,72÷2=3664 + 8 = 72, \qquad 72 \div 2 = 36
  2. Undo the square: both 626^2 and (−6)2(-6)^2 are 36.
  • P1 Reaching 36 by undoing the subtraction and the multiplication in reverse order.
  • A1 Both 66 and −6-6.

(b) The square is never negative, so 2x2−8≥−82x^2 - 8 \ge -8.

  1. The output is 2x2−82x^2 - 8. Squaring never gives a negative number, so 2x2≥02x^2 \ge 0 and the output is at least −8-8.
  2. −10-10 is less than −8-8, so it can never be an output.
  • B1 Writing the output as 2x2−82x^2 - 8 or saying the smallest output is −8-8.
  • C1 Explaining that a square cannot be negative, so the output cannot be less than −8-8.

Get your working marked

Input/output and inverse number machines

Type your working online and see every mark you earned and lost.

Independent practice for Pearson Edexcel GCSE Mathematics (1MA1), not endorsed by Pearson.

Privacy · Terms