Worked example 1
Evaluate a function
For f(x) = 2x² − 5x + 1, find f(3).
- Replace x with 3.
- Calculate 2(3)² − 5(3) + 1
- Use powers before multiplication and subtraction.
Answer: f(3) = 18 − 15 + 1 = 4
Higher Mathematics
Use f(x), substitute values, interpret outputs and connect functions to graphs.
Function notation names a rule. If f(x) = 2x² − 5x + 1, then f(3) means replace every x with 3.
At Higher level, notation also supports composite and inverse functions, so keep the input-output order clear.
Worked example 1
For f(x) = 2x² − 5x + 1, find f(3).
Answer: f(3) = 18 − 15 + 1 = 4
Worked example 2
For g(x) = 4x − 7, solve g(x) = 9.
So: x = 4
Worked example 3
A graph of y = f(x) passes through (2, 5). State f(2).
Answer: f(2) = 5
Exam reminder
Higher exam questions usually reward method setup before the final value. State the rule you are using, keep exact values where possible and check that the answer matches the question wording.