Functions · Cambridge syllabus E2.13 · Lesson 1 of 2
Function Notation
Includes Extended objectivesA function assigns one output to each allowed input. Substitute into its rule to evaluate it. Composite functions apply the inner function first: f(g(x)) means calculate g(x), then feed that result into f.
By the end, you can
- Understand function notation. [Extended]
- Evaluate a function for a given input. [Extended]
- Determine outputs from function rules. [Extended]
- Understand the domain and range of a function, and use mapping diagrams. [Extended]
- Understand the effect of applying functions successively. [Extended]
- Find composite functions. [Extended]
Functions
Functions are Extended content. A function is a rule that turns each input into exactly one output. Writing f(x) = 3x + 1 names the rule f, and f(4) means the output when the input is 4, which is 13. The same rule is sometimes written f: x ↦ 3x + 1.
The notation is not multiplication: f(4) is not f times 4. It is the value of the function at 4, and reading it that way removes most of the confusion.
Substituting an expression works the same way as substituting a number. f(2x) = 3(2x) + 1 = 6x + 1, and f(x + 1) = 3(x + 1) + 1 = 3x + 4. Replace every x in the rule with whatever is in the bracket.
Solving f(x) = 10 means setting the rule equal to 10 and solving as usual: 3x + 1 = 10 gives x = 3.
The domain is the set of inputs a function is allowed to take, and the range is the set of outputs it produces from them. If f(x) = 2x − 1 has domain {1, 2, 3}, its range is {1, 3, 5}. A mapping diagram shows this as two lists, inputs on the left and outputs on the right, with an arrow from each input to its output. Some rules restrict the domain: g(x) = 1/(x − 2) cannot take x = 2, and h(x) = x² can never give a negative output, so its range is h(x) ≥ 0.
Worth remembering
- f(4) is the output at input 4, not f multiplied by 4.
- To find f(anything), replace every x in the rule with that thing.
- Domain: the inputs allowed. Range: the outputs produced.
Composite functions
A composite function applies one function and then another. fg(x) means do g first, then f — the function nearest the x acts first, which is the reverse of the reading order and the main thing to get right.
With f(x) = 3x + 1 and g(x) = x², fg(x) means f(g(x)) = f(x²) = 3x² + 1. Doing them the other way, gf(x) = g(3x + 1) = (3x + 1)². These are different, so the order is not interchangeable.
For a numerical value, work from the inside out: fg(2) = f(g(2)) = f(4) = 13. Doing it in two steps with the intermediate value written down is safer than trying to build the composite rule first.
A question asking you to solve fg(x) = 28 needs the composite rule: 3x² + 1 = 28, so x² = 9 and x = ±3.
Worth remembering
- fg(x) means g first, then f: work from the inside out.
- fg(x) and gf(x) are different functions.
Worked example
f(x) = 2x + 1 and g(x) = x² give f(g(x)) = 2x² + 1, while g(f(x)) = (2x + 1)².
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
g(3) = 9, then f(9) = 19.
Check your method, units and explanation against it.
Marked practice
Set 1 of 5 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.