Flow diagrams · Grade 7
In Grade 7 you learn: rules written as formulae.
A flow diagram (also called a function machine) takes an input number, does a rule to it and gives an output number. If you know any two of the input, the rule and the output, you can find the third.
Key facts
- Input → rule → output: do the rule to the input to get the output.
- A rule can have two steps, like × 3 then + 1. Do the steps in order, from left to right.
- The inverse of + is −, and the inverse of × is ÷.
- A table of values lists inputs and their outputs. The rule must work for every column.
- A rule can be written as a formula, like y = 3x + 1: x is the input and y is the output.
Worked examples
Example 1
The rule is × 3 then + 2. The input is 5. What is the output?
Answer: 17
Example 2
The rule is × 3 then + 2. The output is 23. What was the input?
Answer: 7
Example 3
Complete the table for the rule × 2 then + 1. What output goes with the input 6?
Answer: 13
Example 4
The rule is y = 3x − 4. Find y when x = 5, and find x when y = 20.
Answer: y = 11; x = 8