Relations, mappings and function notationIB MYP Maths Standard: Revision notes
Section 1
Relations and mappings
A relation links inputs to outputs. We can show it as a mapping (arrows from inputs to outputs), a table, a list of ordered pairs such as , or a graph. Example: the mapping , , is the same as the table with inputs and outputs , and the ordered pairs , , .
Section 2
What makes a relation a function?
A function is a relation in which every input has exactly one output.
- The mapping , , is a function. Two different inputs can share an output.
- The mapping , , is not a function, because input has two outputs. On a graph, use the vertical line test: if any vertical line crosses the graph more than once, it is not a function.
Saying a mapping is not a function because an output is repeated. It is only a problem if an input has two outputs.
Section 3
Function notation
We write a function as . This is read ' of equals '. The letter is the name of the function and is the input. is the output. Other letters can be used, such as , or . In the name may stand for cost and for distance.
Section 4
Evaluating f(a)
To find , substitute in place of everywhere. For : , and . You can also substitute an expression: . For : . Use brackets for negatives: .
Put every substituted value in brackets, especially negatives, before working it out.
Section 5
Solving f(x) = c
means 'put in'. means 'the output is , find the input'. Write the equation and solve it. Example: and . Then , so and . Check: .
Mixing up (input ) with (output ).
Section 6
Function notation in context
Function notation can describe real situations. 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. To solve : , so km. Always say what your answer means, with units. Be careful: a model may stop being realistic for inputs far outside the values it was designed for.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Relations, mappings and function notation
- A function is defined by .Find , giving your answer in its simplest form.2 marks
- Two relations are given as mappings. Relation maps , , and . Relation maps , , and .Change one pair in so that it becomes a function, and explain why your new relation is a function.2 marks
- A taxi company in Doha charges according to the rule , where is the cost in Qatari riyals (QAR) of a journey of kilometres.(i) Find . (ii) Solve and state what your answer means.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).