Test where the rules disagree

Before a test, work out what each remaining rule predicts, and pick an input where they differ

Predict before you test

RuleInput 2A Multiply the input by 2, then add 3.7B Multiply the input by 3, then add 1.7C Multiply the input by 1, then add 5.7D Multiply the input by 4, then add 1.9
The given example: input 2 gave 7.

Several rules are shown, and one of them makes the outputs. Each test gives one input and its output. Any rule that would have given a different output is ruled out.

More

A test helps only if the rules still in play disagree about it. Before testing, work out what each of them would output for the number you have in mind. If they all give the same output, the test cannot rule anything out, whatever it shows.

So pick an input where the remaining rules give different outputs, ideally all different. Choose a rule only when it is the last one that fits.

1List the rules that fit every result so far.

2Work out each one’s output for a candidate input.

3Test an input where those outputs differ.

Lesson help

Test where the rules still in play predict different outputs.

About this lesson

Try the method in a practice when you are ready.

Report

Predict before you test

Several rules are shown, and one of them makes the outputs. Each test gives one input and its output. Any rule that would have given a different output is ruled out.

A test helps only if the rules still in play disagree about it. Before testing, work out what each of them would output for the number you have in mind. If they all give the same output, the test cannot rule anything out, whatever it shows.

So pick an input where the remaining rules give different outputs, ideally all different. Choose a rule only when it is the last one that fits.

1List the rules that fit every result so far.

2Work out each one’s output for a candidate input.

3Test an input where those outputs differ.

RuleInput 2A Multiply the input by 2, then add 3.7B Multiply the input by 3, then add 1.7C Multiply the input by 1, then add 5.7D Multiply the input by 4, then add 1.9
The given example: input 2 gave 7.

Three rules, one test

The given example says input 2 gave 7. Rule D gives 9 for 2, so it is out. Rules A, B and C all give 7, so they still fit.

Try input 0 in your head: A gives 3, B gives 1, C gives 5. All three differ, so whatever the output is, exactly one rule is left.

RuleInput 2Input 0A Multiply the input by 2, then add 3.73B Multiply the input by 3, then add 1.71C Multiply the input by 1, then add 5.75D Multiply the input by 4, then add 1.91
For input 0, rules A, B and C all give different outputs.

Two rules left

Both rules give 9 for input 2, so both still fit. Work out each rule’s output for the two choices before you pick.

RuleInput 2A Multiply the input by 4, then add 1.9B Square the input, multiply by 2, then add 1.9
Both rules fit the first result.

Try it

Which input tells the two rules apart?

  1. 0
  2. 3
Show the answer

3

Right. For input 3, rule A gives 13 and rule B gives 19. Whatever the output is, one rule is ruled out.

Enable JavaScript to answer interactively and save your place.

Practice Hidden-rule lab

Sign in free

Practice without limits and keep your progress.