Function Notation f(x) and f: x ↦ | Edexcel IGCSE Maths notes
Free preview: Function Notation f(x) and f: x ↦
Function Machines: Inputs and Outputs
Edexcel: Higher only · Cambridge: Extended only
Think of a vending machine. You put something in, it does the same job every time, and something comes out. A function machine works the same way with numbers. Put in 5, it multiplies by 3 and adds 4, and out comes 19. Every time.
Words you must know
- A function is a rule that turns each input into exactly one output.
- A function machine shows the rule as a row of boxes. Each box does one operation (add, subtract, multiply, divide, square, ...).
- The input goes in on the left. The steps happen in order, left to right.

What the picture shows
- Forwards (blue): , then . The output is 19.
- Backwards (pink): start from the output 19 and undo each box. That is on the next page.
Recipe: using a function machine
- Put the input in on the left.
- Do the first box's operation, then the next, and so on. Write the number between boxes.
- The last number is the output.
👀 Watch me do it: the machine is ×2 then −5. Find the outputs for inputs 1, 4 and −3.
| What I write | Why I do it |
|---|---|
| 1: , . | Follow the boxes in order. |
| 4: . | Same rule every time. |
| −3: , . | Careful with negatives: going 5 further down from −6 gives −11. |
A machine is an expression
- Put a letter in instead of a number. Input : , then .
- So the machine "×3 then +4" is the expression . Putting in gives , as before.
- Order matters. "+4 then ×3" gives . Input 5 gives 27, not 19. The brackets show the adding happens first.
💡 In plain words
- A function machine and an expression are two ways of writing the same rule.
- Brackets in the expression mean "this box came first".
✏️ YOUR TURN 1
Try this first:
The machine is ÷2 then +7.
- Find the output when the input is 10.
- Find the output when the input is −6.
- Write the output when the input is .
Answer:
- , .
- , .
Input-output tables
- A table lists several inputs and their outputs side by side. It is a quick way to see the pattern a machine makes.
- For ×3 then +4: inputs 0, 1, 2, 3 give outputs 4, 7, 10, 13. Each time the input goes up by 1, the output goes up by 3 (the number you multiply by).
- The output for input 0 is 4 (the number you add). Spotting patterns like this helps you check a table quickly.
✏️ YOUR TURN 2
Try this first:
Draw a function machine for each expression.
Answer:
- ×5 then −1.
- −1 then ×5.
- square then +3.
Running a Function Machine Backwards
Now the puzzle goes the other way: you know the output and want the input. Think of getting dressed: socks then shoes. To undo it, you take off your shoes first, then your socks. The last thing you did is the first thing you undo.
Recipe: finding the input
- Write the output on the right.
- Replace each operation by its inverse (the operation that undoes it): + and − undo each other; × and ÷ undo each other; squaring is undone by square-rooting.
- Work right to left: undo the last box first.
- Check by putting your answer through the machine forwards.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Functions
- Functions as Mappings: Domain, Range and Excluded Values
- Function Notation f(x) and f: x ↦
- Composite and Inverse Functions
What's inside for this topic
3 teacher notes, 51 practice questions, 45 flashcards, 3 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Functions as Mappings: Domain, Range and Excluded Values Next note: Composite and Inverse Functions