Grade by GradeEssential student suppliesSign in
3. Patterning · Patterning: Patterns in Tables, Relationships and Equations

Input and Output Rules

BC MA 4: algebraic relationships BC MA 4: patterns in tablesAbout 45 minutes
Learning goals
  • I can use an input/output rule to find the output.
  • I can find the rule from an input/output table.
  • I can work backwards from an output to find the input.

Words to know

input
The number that goes into a rule.
output
The number that comes out after the rule is used.
operation
Add, subtract, multiply or divide.
inverse operation
The operation that undoes another one. Subtraction undoes addition; division undoes multiplication.

The rule machine

Imagine a machine. You put a number in (the input). The machine follows a rule and a new number comes out (the output). The rule can use any operation: add, subtract, multiply or divide.

IN6RULE× 4OUT24
Input 6 goes into the machine. The rule is multiply by 4. The output is 24.
InputRuleOutput
2× 48
5× 420
6× 424
9× 436
10× 440
Every input follows the same rule: multiply by 4.

Finding the rule

When you only see the inputs and outputs, ask:

  1. Is the output bigger or smaller than the input?
  2. Bigger: try add or multiply. Smaller: try subtract or divide.
  3. Test your rule on every row.
Worked example

What is the rule?

Input 3 → Output 11, Input 7 → Output 15, Input 10 → Output 18, Input 20 → Output 28.

  1. The outputs are bigger, so try add or multiply.
  2. 11 − 3 = 8, 15 − 7 = 8, 18 − 10 = 8, 28 − 20 = 8.
  3. Multiply would not work: 3 × 4 = 12, not 11, and 7 × 4 = 28, not 15.

The rule is add 8.

Worked example

A dividing rule

Input 40 → 8, Input 25 → 5, Input 15 → 3, Input 50 → 10. What is the rule? What is the output for 35?

  1. The outputs are smaller, so try subtract or divide.
  2. Subtract does not fit: 40 − 32 = 8, but 25 − 32 does not give 5.
  3. Divide by 5: 40 ÷ 5 = 8 ✔, 25 ÷ 5 = 5 ✔, 15 ÷ 5 = 3 ✔, 50 ÷ 5 = 10 ✔.
  4. 35 ÷ 5 = 7.

The rule is divide by 5, and the output for 35 is 7.

IN?RULE− 15OUT47
Working backwards: what input gives 47 after subtracting 15?
Worked example

Working backwards

The rule is subtract 15. The output is 47. What was the input?

  1. The machine took 15 away, so to undo it, add 15 back.
  2. 47 + 15 = 62.
  3. Check: 62 − 15 = 47 ✔

The input was 62.

Undo the rule

To work backwards, use the inverse operation: undo + with −, − with +, × with ÷ and ÷ with ×. Then check by running your answer forward through the rule.

Hands-on activity

Be the machine

Play with a partner.

  1. One person is the machine and secretly picks a rule, such as × 6 or + 25.
  2. The other person says an input. The machine says only the output.
  3. Record each pair in a table.
  4. After 3 or 4 inputs, guess the rule. Test it with one more input.
  5. Switch roles.
Just for fun

Puzzle: A machine doubles any number you put in. You put in a number, then put the output back in, and then do it once more. The final output is 40. What did you start with? (5: 5 → 10 → 20 → 40.)

Your turn

1

Rule: × 6. Find the outputs for 3, 7 and 9.

2

Rule: − 28. Find the output for 100.

3

Input 4 → 20, 6 → 30, 8 → 40. What is the rule?

4

Input 12 → 3, 20 → 5, 36 → 9. What is the rule?

5

Rule: + 35. The output is 90. What was the input?

6

Rule: × 7. The output is 56. What was the input?

More practice

1

Input 15 → 9, 30 → 24, 52 → 46. What is the rule?

2

Rule: ÷ 3. Find the outputs for 21, 27 and 30.

3

Rule: − 125. The output is 300. What was the input?

4

Rule: ÷ 8. The output is 6. What was the input?

5

Input 5 → 10. Kai says the rule is + 5, but Rosa says × 2. Which input would show who is right?

Check your understanding

Quiz

1.

The rule is × 9. What is the output for 6?

2.

Input 8 → 2, 20 → 5, 28 → 7. What is the rule?

3.

The rule is + 46. The output is 81. What was the input?

4.

The rule is ÷ 6. The output is 9. What was the input?

For parents and teachers

Your child is using input/output rules with all four operations, finding the rule from a table and working backwards with inverse operations.

How to help: play "Guess my rule": you say the output for each number your child gives you, and they guess the rule. Keep rules to one operation.

Common mistakes: choosing a rule that fits only the first row; forgetting to use the inverse when working backwards (for example, subtracting again instead of adding); not checking the answer forward through the rule.