☰ Course contents
Mathematics 🌆 Grade 9 The Function Machine: Understanding Function Notation
🌆 Grade 9 · Lesson 1 of 12

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.

Grade 9Algebra 1
The Function Machine: Understanding Function Notation — illustration
💡
The big idea: A function is a rule that takes an input and produces exactly one output. Function notation like f(x) is just a compact way of naming that output: f(x) is the label for “whatever comes out of the machine called f when you feed it x.” Once you can read the notation, evaluating a function is just careful substitution.
🎯 By the end, you'll be able to
  • Explain a function as a rule that assigns exactly one output to each input
  • Evaluate f(x) for a given numerical input by substitution
  • Interpret statements like f(a) = b in words
  • Recognize why a rule with two outputs for one input is not a function
📎 You should already know
  • Evaluating algebraic expressions
  • Order of operations

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.

🔑 A function: one input, exactly one output
A function is a rule that assigns to each input exactly one output. If a single input could produce two different outputs, the rule would not be a function — the machine would be unpredictable.
\[ y = f(x) \]
f(x), read “f of x,” is the output the machine f produces when you feed it the input x. It is just another name for y.
🎮 The Function Machine LIVE
Drop an input in, apply the rule f, and read the output. Function notation, made mechanical.

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.”

📝 Worked example: If f(x) = 3x − 5, find f(4).
  1. Replace x with 4: f(4) = 3(4) − 5.
  2. Multiply first: 3(4) = 12.
  3. Subtract: 12 − 5.
✓ f(4) = <strong>7</strong>.
📝 Worked example: If f(x) = x&sup2; &minus; 2x, find f(&minus;3).
  1. Replace x with −3: f(−3) = (−3)² − 2(−3).
  2. Square first: (−3)² = 9.
  3. Multiply: 2(−3) = −6, so we are computing 9 − (−6).
✓ f(&minus;3) = 9 + 6 = <strong>15</strong>.
✨ Not every rule is a function
If you could feed in one x and legitimately get two different y-values back, the rule fails to be a function. On a graph, this shows up as a vertical line crossing the curve more than once at the same x — two outputs stacked on top of one input, which a true function never allows.
⚠️ f(x) is not f times x
The parentheses in f(x) do not mean multiplication. f(x) is a single piece of notation meaning “the output of function f at input x.” Read it as one word: “f-of-x,” never “f times x.”

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

1. If f(x) = 2x + 1, what is f(5)?
f(5) = 2(5) + 1 = 10 + 1 = 11.
2. If g(x) = x&sup2; &minus; 4, what is g(3)?
g(3) = 3² − 4 = 9 − 4 = 5.
3. A rule pairs the input 2 with both the output 5 and the output 9. Is this a function?
A function must assign exactly one output to every input. Pairing 2 with two different outputs breaks that rule.
4. What does the notation f(x) mean?
f(x) names the output of the function f at input x — it is notation, not multiplication.
5. If h(x) = 4x &minus; 7 and h(a) = 9, what is a?
Solve 4a − 7 = 9: add 7 to get 4a = 16, then divide by 4 to get a = 4.
✅ Key takeaways
  • A function is a rule that assigns exactly one output to every input, like a predictable machine.
  • f(x) is notation for &ldquo;the output of function f when the input is x&rdquo; — 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.