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
Practise function notation and evaluation for Scottish Higher Mathematics with worked examples, clear methods and original interactive questions. 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
Continue with the methods that connect most closely to this topic.