Math › Grade 6: Patterns & linear relationships › Lesson 2 of 2

Input and output rules

A rule like "× 3 then + 1" turns each input into an output. 4 goes in, 13 comes out.

Learn

Think of a machine. A number goes in, the rule works on it, and a new number comes out.

4input× 3+ 113outputTo go backwards, undo each step in reverse order

Table of values

Input (n)Output (3n + 1)47101316

Finding the rule from a table

  1. See how much the output goes up each time the input goes up by 1. Here it is 3, so the rule starts with × 3.
  2. Try input 1: 1 × 3 = 3, but the output is 4. So add 1.
  3. Rule: × 3 then + 1, or 3n + 1.

Going backwards: to find the input from an output, undo the steps in reverse. Output 16: 16 − 1 = 15, 15 ÷ 3 = 5.

See three worked examples

Rule × 3 then + 1. Input 4.
  1. 4 × 3 = 12.
  2. 12 + 1 = 13.

Answer: 13

Rule × 2 then − 3. Input 10.
  1. 10 × 2 = 20.
  2. 20 − 3 = 17.

Answer: 17

Table: 1 → 5, 2 → 9, 3 → 13. Find the rule.
  1. Output goes up by 4, so start with × 4.
  2. 1 × 4 = 4 and the output is 5, so + 1.

Answer: × 4 then + 1

Try 10 practice questions with the steps

Play match the pairs

Tap one on the left, then its partner on the right.

Test 10 questions, 8 to pass

No steps are shown until the end. Your best score is kept on this device only.

Challenge harder problems that take a few steps