Relations, mappings and function notation
Studying this course? Keep your progress in one place.
Key facts
- A relation links inputs to outputs: a mapping, table, ordered pairs or graph.
- A function gives exactly one output for every input; repeated outputs are fine.
- On a graph, use the vertical line test.
- In , is the name, the input and the output.
- means substitute ; means solve for the input.
Relations and mappings
A relation can be shown as a mapping, a table, a list of ordered pairs or a graph.
A relation links inputs to outputs. The mapping , , is the same as the ordered pairs , , .
Input 1
- Output 4
Input 2
- Output 5
Input 3
- Output 5
Write the mapping , , as ordered pairs.
What makes a relation a function?
A function gives exactly one output for every input.
, , is a function: two inputs can share an output.
, , is not, because input has two outputs.
On a graph, use the vertical line test: if a vertical line crosses the graph more than once, it is not a function.
Is the mapping , , a function?
Function notation
f(x) is read "f of x": f is the name of the function, x is the input and f(x) is the output.
For , other letters can be used, such as , or . In , may stand for cost and for distance.
x = 0
x = 1
x = 2
x = 3
In , which letter is the input?
Evaluating f(a) and solving f(x) = c
To find f(a), substitute a for x; to solve f(x) = c, write the equation and solve for the input.
: and . You can substitute an expression: .
For : . Put every substituted value in brackets.
Worked example
. Solve .
- 1
Write the equation: .
- 2
Add : .
- 3
Divide by : .
- 4
Check: .
If , what is ?
Function notation in context
A function can model a real situation; say what each value means, with units.
If a taxi charges QAR for km, then means a 12 km journey costs 29 QAR.
is the fixed starting charge and is the cost per kilometre. A model may stop being realistic far outside the values it was designed for.
Worked example
For , find the distance when the fare is QAR.
- 1
Solve : .
- 2
Subtract : .
- 3
Divide by : .
What does C(0) = 5 mean in the taxi problem?
Try an exam question
. Find and solve .
[3 marks]
- [1]f(5) = 3(5) − 4 = 11.
- [1]Solve 3x − 4 = 8, so 3x = 12.
- [1]x = 4.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme