← All guides

Function notation: what f(x) means and how to evaluate it

What f(x) means, how to evaluate f(2), f(−1) and f(a + 1), and how to solve f(x) = a number, with worked examples.

Video lesson: Function notation (free, with subtitles)

f(x) is read "f of x". It does not mean f times x. It means "the output of the rule f when the input is x".

Evaluating

Let f(x) = 3x² − 2x + 1.

Tip: replace x with the input in parentheses. Squaring −1 without them is the most common mistake.

An expression as the input

f(a + 1) = 3(a + 1)² − 2(a + 1) + 1 = 3a² + 6a + 3 − 2a − 2 + 1 = 3a² + 4a + 2.

Working backwards: f(x) = a number

If g(x) = 2x + 5, when is g(x) = 9? Solve 2x + 5 = 9, so x = 2. Here you know the output and find the input.

Reading a graph

f(3) = 7 means the point (3, 7) is on the graph of f: go to x = 3 and read the height.

Practice it free

Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.

Practice: Function notation All courses