CSEC Mathematics · relations, functions and graphs
Representing Relations
Before you start
A relation is a link or rule connecting elements of an input set (the domain) to elements of an output set (the range). You have already seen that inputs are written as x and outputs as y.
Builds on: Concepts of Relations: Domain, Codomain, Range, and Image
1. Ordered Pairs and Arrow Diagrams
A relation connects an input value x from the domain to an output value y in the range. We can write this connection as an ordered pair: (x,y), where the first element is always the input and the second element is always the output.
A relation can be shown as a set of ordered pairs written inside curly brackets, for example:
Another clear way to visualise a relation is an arrow diagram (sometimes called a mapping diagram):
- Draw two closed shapes (ovals or rectangles).
- Write the domain (input values) in the left oval and the range or codomain (output values) in the right oval.
- Draw directed arrows from each input to its corresponding output.
From an arrow diagram, you can immediately list the ordered pairs by tracing each arrow from its starting number to its ending number.
Worked example
A relation M pairs students in a Kingston school with the number of CXC subjects they are taking: Anna →6, Brian →8, Chloe →6, and David →7. Write this relation as a set of ordered pairs, and state the domain and range.
- Write each person and their subject count as an ordered pair (x,y): (Anna, 6), (Brian, 8), (Chloe, 6), (David, 7).
- Group these pairs inside set brackets: M={(Anna,6),(Brian,8),(Chloe,6),(David,7)}.
- List all unique input values for the domain: {Anna,Brian,Chloe,David}.
- List all unique output values for the range: {6,7,8} (note that 6 is written only once in set notation).
Answer: M={(Anna,6),(Brian,8),(Chloe,6),(David,7)}; Domain={Anna,Brian,Chloe,David}, Range={6,7,8}.
Quick check
An arrow diagram has arrows pointing from −2 to 4, from 0 to 0, and from 2 to 4. Which set of ordered pairs represents this relation?
2. Algebraic Rules and Tables of Values
Relations are often defined by an algebraic expression or formula. In CSEC questions, this is commonly written in two equivalent notations:
- Equation form: y=3x−2
- Mapping notation: f:x→3x−2 (read as 'the function f maps x to 3x−2')
To find the ordered pairs from an algebraic rule, substitute each given domain value into the formula to calculate the corresponding y-value. Setting up a table of values helps organise this step-by-step:
| x | Working (3x−2) | y | Ordered Pair (x,y) |
|---|---|---|---|
| 1 | 3(1)−2 | 1 | (1,1) |
| 2 | 3(2)−2 | 4 | (2,4) |
| 3 | 3(3)−2 | 7 | (3,7) |
Checking that the rule holds true for every single pair is the key to identifying the correct relation on CSEC Paper 1.
Worked example
A relation is defined by the rule y=x2+2 for the domain {−2,−1,0,1,2}. Determine the set of ordered pairs for this relation.
- Substitute x=−2: y=(−2)2+2=4+2=6⟹(−2,6)
- Substitute x=−1: y=(−1)2+2=1+2=3⟹(−1,3)
- Substitute x=0: y=(0)2+2=0+2=2⟹(0,2)
- Substitute x=1: y=(1)2+2=1+2=3⟹(1,3)
- Substitute x=2: y=(2)2+2=4+2=6⟹(2,6)
- Collect the ordered pairs into set brackets.
Answer: {(−2,6),(−1,3),(0,2),(1,3),(2,6)}
Quick check
Which set of ordered pairs is generated by the relation g:x→2x2+1 for the domain {0,1,2}?
3. Graphing Relations on the Cartesian Plane
Every ordered pair (x,y) corresponds to a single point on a Cartesian plane (coordinate grid):
- The first number, x, tells you how many units to move horizontally along the x-axis from the origin (0,0).
- The second number, y, tells you how many units to move vertically along the y-axis.
When a relation is given for a discrete set of values (specific separate numbers, such as {0,1,2,3}), the graph consists only of individual plotted dots. You do not connect them with a solid line unless the domain includes all real numbers in an interval.
Being able to move between an equation, a table, ordered pairs, and a graph is a central skill in CSEC algebra.
Worked example
The diagram above displays four plotted points representing a linear relation. Write down the set of ordered pairs shown, and find the algebraic equation relating y to x.
- Read the coordinates of each point directly from the grid: (−1,−1), (0,1), (1,3), and (2,5).
- Write these as a set: {(−1,−1),(0,1),(1,3),(2,5)}.
- Look at the pattern in y: as x increases by 1, y increases by 2. This means the gradient m=2.
- Find the y-intercept where x=0: the point is (0,1), so c=1.
- Combine into equation form y=mx+c: y=2x+1.
Answer: Ordered pairs: {(−1,−1),(0,1),(1,3),(2,5)}; Equation: y=2x+1.
Quick check
A relation is given by y=3x−4. If the point (5,k) lies on the graph of this relation, what is the value of k?
Common mistakes
- Reversing the coordinates in an ordered pair: writing (y,x) instead of (x,y). Remember: alphabetical order—x comes before y, input comes before output.
- Squaring negative numbers incorrectly without brackets: for instance, evaluating −32+1 as −9+1=−8 instead of (−3)2+1=9+1=10. Always place negative inputs in brackets when squaring.
- Connecting discrete plotted points with a solid line when the domain is simply a list of integers. Keep them as distinct dots unless told the domain is continuous.
In the exam
- For Paper 1 multiple-choice questions asking 'Which set of ordered pairs represents f:x→\dots', test the first input value to eliminate wrong options immediately, then test the remaining ones.
- When listing the range from an arrow diagram or set of ordered pairs, never repeat numbers in the range set: if both −2 and 2 map to 4, write the range element as 4 only once.
Key terms
- Ordered Pair
- A pair of numbers (x,y) written in a specific order, where x is the input and y is the output.
- Arrow Diagram
- A visual diagram showing elements of the domain mapping to elements of the codomain using directed arrows.
- Mapping Notation
- A way of writing a relation rule, such as f:x→2x+3, showing how x is converted into an output.
- Domain
- The complete set of all possible input values (x-values) for a relation.
- Range
- The set of actual output values (y-values) produced by the relation.
Practice
Easier to harder. Use paper for your working.
Practice 1
Which of the following sets of ordered pairs is represented by the relation f:x→x2+3 for the domain {−1,0,2}?
Practice 2
A relation is defined by the set of ordered pairs S={(−3,−5),(−1,−1),(2,5),(4,9)}. State the domain, the range, and write an algebraic rule in the form y=mx+c for this relation.
Practice 3
The arrow diagram of a relation shows arrows from 1→5, 2→8, 3→11, and 4→14. Which algebraic formula describes this mapping?
Now try real past-paper questions
2 Paper 1 multiple-choice on this topic. Quelpr marks your working point by point, like an examiner.
Finished the lesson?
0 of 6 checks right on this device.
Read more
- CSEC Maths Study Guide - Maths Crash Course, p. 174
- Collins - Concise Revision Course for CSEC Mathematics, pp. 342, 343
- Mathematics for CSEC, p. 123
- CXC Study Guide - Mathematics for CSEC, p. 113