Relations, mappings and function notation
Studying this course? Keep your progress in one place.
Key facts
- A relation links inputs to outputs; show it as a mapping, table, ordered pairs or graph.
- A function gives exactly one output for each input.
- On a graph, the vertical line test checks for a function.
- Write for the output; substitute the input for to evaluate.
- Solving means the output is known and you find the input.
Relations and mappings
A relation links inputs to outputs, and one relation can be shown as arrows, a table, ordered pairs or a graph.
A relation links inputs to outputs. A mapping draws arrows from inputs to outputs. The mapping , , is the table with inputs and outputs , and the ordered pairs , , .
Which ordered pair belongs to the mapping ?
What makes a function
A relation is a function when every input has exactly one output.
- , , is a function. Two inputs may share an output.
- , , is not a function: input has two outputs.
On a graph, use the vertical line test: a vertical line crossing the graph twice means it is not a function.
- Functioneach input has exactly one output
The mapping , , is
Function notation
We write a function as , and find by substituting for .
In , is the name, is the input and is the output. Other letters work too, such as or . To substitute, replace everywhere with the input, in brackets.
- output for input
Worked example
For find , and . For find .
- 1
.
- 2
.
- 3
.
- 4
.
If , what is ?
Solving f(x) = c
puts 8 in as the input, but says the output is 8 and asks for the input.
For , write the equation and solve it for . Check by evaluating at your answer.
f(8)
- Input is 8
- Substitute and work out the output
f(x) = 8
- Output is 8
- Form an equation and solve for x
Worked example
For , solve .
- 1
.
- 2
, so .
- 3
Check: .
If , what is ?
Function notation in context
In context, the number multiplying the input is the rate and the constant is the starting amount.
A taxi charges QAR for km. means 12 km costs 29 QAR. is the fixed charge and is the cost per kilometre. Always give units, and remember a model may stop being realistic far outside its intended inputs.
Worked example
Solve .
- 1
.
- 2
, so .
For , what does the number 2 mean?
Try an exam question
The function is defined by . Find and solve .
[4 marks]
- [1]Substitutes : .
- [1].
- [1]Forms the equation , so .
- [1].
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