 # 12.02 Function Machines

Lesson

## Ideas

You may have already seen some patterns, try this one.

### Examples

#### Example 1

Write the next number in the pattern:

2,\,4,\,6,\,8,\,10,\,12,\,⬚

Worked Solution
Create a strategy

Find how much the numbers are increasing by each time and add that to the last value to complete the pattern.

Apply the idea

To work out how much the numbers are increasing by each time, you can count up or find the difference between the numbers.

Add 2 to each number to complete the pattern.

The complete pattern is 2,\,4,\,6,\,8,\,10,\,12,\,14.

Idea summary

Just like when you're counting, patterns can continue forever. You can always add or subtract the same amount to continue a pattern.

## Number machines

Let's look at how number machines can be used to continue patterns when you have the rule.

### Examples

#### Example 2

Look at the following number machine:

Complete this table of inputs and outputs:

Worked Solution
Create a strategy

Subtract 4 from each input to get the output.

Apply the idea

This is the complete table:

Idea summary
• Number machines show the relationship between the input (starting number) and output (answer).

• If you are given the output, you can find the input by reversing the rule.