The Function Machine: Understanding Function Notation
Drop a number in, a rule transforms it, and exactly one number comes out — that is everything f(x) means.
Machines that transform numbers
Imagine a machine with a slot on top and a tray at the bottom. Drop a number in the slot, gears turn inside, and a new number lands in the tray. Every time you drop in the same number, the same number comes out — the machine never changes its mind.
That is exactly what a function is: a rule that takes an input and produces exactly one output. In algebra we give the machine a name, usually f, and write the rule using x as a stand-in for whatever gets dropped in.
Evaluating: plug in and simplify
To evaluate f(x) at a specific number, replace every x in the rule with that number, then simplify using the order of operations. f(4) does not mean “f times 4” — it means “the output when the input is 4.”
- Replace x with 4: f(4) = 3(4) − 5.
- Multiply first: 3(4) = 12.
- Subtract: 12 − 5.
- Replace x with −3: f(−3) = (−3)² − 2(−3).
- Square first: (−3)² = 9.
- Multiply: 2(−3) = −6, so we are computing 9 − (−6).
Why this matters
Function notation lets you name many different rules at once — f, g, h — without confusing them, and it lets you talk about “the output at x = 4” in four characters instead of a sentence. Once you can evaluate a function anywhere, the next step is asking which inputs are even allowed, and what outputs are possible — the ideas of domain and range.
Check your understanding
- A function is a rule that assigns exactly one output to every input, like a predictable machine.
- f(x) is notation for “the output of function f when the input is x” — it is not multiplication.
- To evaluate f(x) at a number, substitute that number for every x in the rule and simplify carefully.
- A rule with two different outputs for the same input is not a function.
- Function notation lets you name and evaluate many different rules clearly, which is the foundation for domain, range, and graphing.