Functions
Studying this course? Keep your progress in one place.
Key facts
- A function maps every input to exactly one output: .
- The domain is the set of inputs; the range is the set of outputs.
- To find , substitute for .
- The inverse : write , swap and , rearrange for .
- : apply first, then .
Function notation
A function is a rule that maps every input to exactly one output.
Written or . The domain is the set of all possible inputs (-values) and the range is the set of outputs produced. To evaluate , substitute in place of .
Worked example
If , find .
- 1
Replace with 4: .
- 2
.
If , find .
Mapping diagrams
A mapping diagram shows each input joined to exactly one output.
If any input maps to two different outputs, the relationship is not a function.
Input x
- 1
- 2
- 3
- 4
Rule
- 3(1) − 5
- 3(2) − 5
- 3(3) − 5
- 3(4) − 5
Output f(x)
- −2
- 1
- 4
- 7
Can one input map to two outputs in a function?
Inverse functions
The inverse reverses the function: swap x and y, then make y the subject.
takes an output back to the original input. The graphs of and are reflections of each other in the line .
Worked example
Find for .
- 1
Write .
- 2
Swap and : .
- 3
Rearrange to make the subject: .
Find for .
Composite functions
A composite function applies one function to the result of another: gf(x) means f first, then g.
, and in general . Read from right to left: the function closest to is applied first.
- 1
Input x
- 2
Apply f
f(x) = 3x − 5
- 3
Apply g
g(x) = x² squares the result
- 4
Output gf(x)
(3x − 5)²
Worked example
If and , find and .
- 1
.
- 2
.
, . What is ?
Try an exam question
and . (a) Find . (b) Find . (c) Find .
[4 marks]
- [1].
- [1]Swap and rearrange: .
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
A printing company models its cost per poster using the function , where is the number of colours used. Find .
1 mark, marked against the mark scheme
A printing company models its cost per poster using the function , where is the number of colours used. Find .
1 mark, marked against the mark scheme