What is Function machine?
Short answer
A function machine is a diagram describing the steps that turn the input into the output, helping you picture a function as a machine that takes a value in and gives a value out.
- Type
- Definition
- First learned
- Grade 6
- In English
- function machine
Explanation
A function machine is a way of picturing a function: you put a number in (input), the machine carries out the calculations one after another according to the diagram, then gives out a new number (output). Each input gives exactly one output.
For example, a function machine has the diagram: multiply by 2 then add 1. If the input is 3, the output is 3 × 2 + 1 = 7. We write the function as y = 2x + 1, where x is the input and y is the output.
The function machine helps you understand that a function is a rule that makes each value of x correspond to one value of y. When drawing the graph, each pair (x; y) is a point on the coordinate plane.
Examples
Example 1
A function machine has the diagram: multiply by 3 then subtract 2. Find the output when the input is 4.
See the solution to example 1
Input 4, multiply by 3 to get 12, then subtract 2 to get 10. So the output is 10.
Common mix-ups
- A function machine is not a fixed formula; it is a diagram of steps, and the same function can be described in several different ways.
- Each input gives only one output; it must not give two different results.
Learn it in these lessons
- Lesson 9.4: Representing simple functions Toán Vinschool, Learner's Book 7
Skills
- Hàm số dạng máy vào ra Grade 6