Q1.
Two pattern machines are given below. Each machine takes 3 numbers, does some operations and gives out the result. Find the operations being done by Machine 1.
Answer
Machine 1 works out (first number) + (second number) – (third number), that is, a + b – c.
| a | b | c | a + b – c | Machine’s result |
|---|---|---|---|---|
| 5 | 8 | 3 | 5 + 8 – 3 | 10 |
| 10 | 11 | 12 | 10 + 11 – 12 | 9 |
| 5 | 8 | –3 | 5 + 8 – (–3) | 16 |
| –3 | 10 | 2 | (–3) + 10 – 2 | 5 |
| –4 | –1 | –6 | (–4) + (–1) – (–6) | 1 |
Row 3 is the useful one: 5 + 8 – (–3) = 13 + 3 = 16
Row 5 checks it: (–4) + (–1) – (–6) = (–5) + 6 = 1
Row 5 checks it: (–4) + (–1) – (–6) = (–5) + 6 = 1
Why it happens: the first two rows only use positive numbers, so several guesses would fit them. The rows with negative inputs are what pin the rule down — if the machine were doing a + b + c, row 3 would give 10, not 16. Always test a guessed rule on the awkward rows first.