Function Machines
A function machine takes a number in, does something to it, and spits a number out — algebra in action.
A function machine is a diagram that shows an operation (or chain of operations) applied to an input. You read it left to right: the input enters, the machine applies a rule, and the output comes out the other side.
When there are two machines in a row, you feed the output of the first into the second. For example, if the input is , the first machine says and the second says , then the output is .
You can also work backwards (inverse operations). To undo you , and to undo you .
Try different inputs and watch the value change as it flows through each machine.
Watch it work
Question: A two-step function machine does then . Find the output when the input is .
Step 1: Apply the first operation.
Step 2: Apply the second operation.
Answer: The output is .
Question 2: The output of a function machine is . The machine does then . What was the input?
Step 1: Undo the last operation first. The inverse of
is .
Step 2: Undo the first operation. The inverse of
is .
Answer: The input was .
Have a go
Q1. Input into a machine that does then .
, then .
Q2. Input into a machine that does then .
, then .
Q3. The output is . The machine does then . Find the input.
Inverse: , then .
Q4. The output is . The machine does then . Find the input.
Inverse: , then .