Function notation GCSE maths uses the shorthand f(x) to describe a rule that turns an input into an output, so f(x) = 2x + 1 means "the function f takes x, doubles it, then adds one." Reading f(3) as "substitute 3 wherever x appears" is the one skill that unlocks every function question you will meet.

What does function notation actually mean?

A function is a rule that takes an input value and produces exactly one output value. Instead of writing "y = 2x + 1", GCSE maths introduces the notation $f(x) = 2x + 1$, where the letter $f$ names the function and $x$ is the input. This might look like an unfamiliar symbol, but $f(x)$ simply replaces $y$ — it is still a formula, just labelled so you can refer to it precisely.

The real power of function notation appears when you need to evaluate the function at a specific input. Writing $f(3)$ tells you exactly which input to substitute, without needing to say "find y when x = 3" every time. Different letters can name different functions in the same question — $f(x)$, $g(x)$, and $h(x)$ are common choices, letting a single exam question compare several rules at once.

How do you evaluate a function like f(3)?

Evaluating a function means substituting a given input value in place of $x$ everywhere it appears, then simplifying.

Worked example: If $f(x) = 3x - 5$, find $f(4)$.

Replace every $x$ in the formula with $4$:

$$f(4) = 3(4) - 5 = 12 - 5 = 7$$

So $f(4) = 7$. The same method works for negative inputs and algebraic inputs. For example, with the same function, $f(-2) = 3(-2) - 5 = -6 - 5 = -11$.

Worked example: If $g(x) = x^2 + 2x$, find $g(5)$.

Substitute $x = 5$ into every occurrence of $x$:

$$g(5) = 5^2 + 2(5) = 25 + 10 = 35$$

Squaring happens before multiplying and adding, following the normal order of operations — a common place marks are lost if the square is applied incorrectly.

What is a function machine and how does it relate to f(x)?

Before meeting formal notation, many students learn functions as a function machine: a diagram showing an input value passing through one or more operations to produce an output. A machine for $f(x) = 2x + 1$ would show "input → ×2 → +1 → output".

Function notation is simply the algebraic shorthand for the same machine. Reversing the machine — working backwards from output to input — is exactly how you solve equations like $f(x) = 15$: you undo each operation in reverse order.

Worked example: If $f(x) = 2x + 1$, find the value of $x$ for which $f(x) = 15$.

Set the formula equal to 15 and solve like a normal equation:

$$2x + 1 = 15 \implies 2x = 14 \implies x = 7$$

So an input of 7 produces an output of 15, meaning $f(7) = 15$.

How do you combine or compare two functions?

GCSE higher tier questions sometimes ask you to work with two functions together, most often by substituting a whole expression rather than a single number.

Task Meaning Example with $f(x)=x+3$, $g(x)=2x$
Evaluate $f(g(2))$ Apply $g$ first, then $f$ $g(2)=4$, so $f(4)=7$
Solve $f(x) = g(x)$ Find $x$ where both outputs match $x+3=2x \Rightarrow x=3$
Find $f(x) + g(x)$ Add the two output expressions $(x+3)+2x = 3x+3$

Worked example: Given $f(x) = x + 3$ and $g(x) = 2x$, find $f(g(2))$.

Work from the inside out: first find $g(2) = 2 \times 2 = 4$. Then substitute that result into $f$: $f(4) = 4 + 3 = 7$. So $f(g(2)) = 7$.

This "inside first" rule is the single most important habit for composite functions — always evaluate the innermost bracket before applying the outer function.

Frequently asked questions

What does f(x) actually stand for?

f(x) is read as "f of x" and means the output of the function called $f$ when the input is $x$. It is not multiplication — the brackets do not mean $f$ times $x$. Instead, $f(x)$ is the entire output value produced by substituting $x$ into the function's rule, and it behaves exactly like $y$ did in earlier algebra work.

Why do exam questions use different letters like g(x) or h(x)?

Different letters let a single question define and compare several separate rules without confusion. Using $f$, $g$, and $h$ mirrors how mathematicians label distinct functions in real working, and it allows questions to ask you to combine them, such as finding $f(g(x))$ or comparing where $f(x)$ equals $g(x)$.

Is function notation the same as writing y = ...?

They describe the same relationship, but function notation is more precise. Writing $y = 2x+1$ tells you the rule connecting $x$ and $y$, while $f(x) = 2x+1$ additionally names the rule as $f$, so you can refer to specific inputs and outputs — such as $f(3)$ — without ambiguity, which matters once a question uses more than one function.

How do you find the input when you are given the output?

Set the function equal to the given output value and solve the resulting equation for $x$, just as you would with any other equation. For example, if $f(x) = 4x - 1$ and you are told the output is 11, solve $4x - 1 = 11$ to get $x = 3$. This "working backwards" skill is tested directly at GCSE and underpins inverse functions at a higher level.

Want Professor Pi to talk through function notation with you step by step, catching every substitution error along the way? Add the AI Tutors connector at aitutors.me.