Function
f(x) = 2x + 1
The idea
A function is a machine: you put in a number, and exactly one number comes out.The board
- f(x) = 2x + 1: put in 3 → f(3) = 2 · 3 + 1 = 7.
- x is the input (argument), f(x) is the output (value).
- All the pairs (x; f(x)) as points make the graph.
- If one x gives two values — that is not a function.
The most common mistake
Reading f(x) as “f times x”. Here the parentheses mean “of”: “f of x”.The trick
A vending machine: button → drink. One button can't give two different products.Problems
f(x) = x² − 1. f(3) = ?
- 2
- 8
- 5
- 6
Show the answer
8 — 9 − 1.
f(x) = 5 − x. f(−2) = ?
- 3
- −7
- 7
- 10
Show the answer
7 — 5 − (−2).