Ordered Pairs: Writing Relations as Pairs, Domain and Range, and Plotting Them

FORM 2 • TERM 1 • LESSON 15

In the last lesson you showed relations with arrow diagrams. Another way to write a relation is as a list of ordered pairs. Ordered pairs are also how we give the position of a point on a grid, so in this lesson you will start to plot relations and spot when the points lie on a straight line. Next term you will study the Cartesian plane and straight-line graphs in more detail.

Learning outcomes

By the end of this lesson you should be able to:

  • 2.2.3.1 – Explain what an ordered pair is.
  • 2.2.3.2 – Write relations as sets of ordered pairs.
  • 2.2.3.3 – Write down the domain and range of a set of ordered pairs.
  • 2.2.3.4 – Find the rule linking the members of the domain and the range.
  • 2.2.3.5 – Check whether an ordered pair satisfies a given relation.
  • 2.2.3.6 – Write ordered pairs that satisfy a given relation.
  • 2.2.3.7 – Plot a relation given as ordered pairs on the Cartesian plane.
  • 2.2.3.8 – Check whether a set of ordered pairs shows a linear relationship.

What is an ordered pair?

An ordered pair is two numbers written in brackets, separated by a comma, where the order matters: (x, y). The first number is the input (from the domain) and the second is the output (from the range).

(2, 5) and (5, 2) are different ordered pairs. In a cinema, “row 2, seat 5” is not the same seat as “row 5, seat 2”.

Relations as sets of ordered pairs

Every arrow in an arrow diagram can be written as an ordered pair: the arrow 1 → 4 becomes (1, 4). For the relation “add 3” on the domain {1, 2, 3, 4}:

{(1, 4), (2, 5), (3, 6), (4, 7)}

  • The domain is the set of first numbers: {1, 2, 3, 4}.
  • The range is the set of second numbers: {4, 5, 6, 7}.
  • If a number appears more than once, write it only once in the set.

Finding and checking the rule

To find the rule, look at how each second number is made from its first number. A table helps:

x (first)1234
y (second)2468
How y is made2 × 12 × 22 × 32 × 4

So the rule is y = 2x. To check whether a pair fits a rule, substitute the first number and see if you get the second. For y = 2x − 1: (3, 5) fits because 2 × 3 − 1 = 5, but (4, 8) does not, because 2 × 4 − 1 = 7.

To write pairs that fit a rule, choose some inputs and work out the outputs. For y = 5 − x: (0, 5), (1, 4), (2, 3) and (−1, 6) all fit.

Plotting ordered pairs

A Cartesian plane has a horizontal x-axis and a vertical y-axis that cross at the origin O, the point (0, 0). To plot (x, y), start at O, move x across (right if positive, left if negative), then y up or down. Remember: “along the corridor, then up the stairs”.

Grid with the points (0, 1), (1, 3), (2, 5), (minus 1, minus 1) and (minus 2, minus 3) on a straight dashed line −6−6 −4−4 −2−2 22 44 66 xyO (0, 1) (1, 3) (2, 5) (−1, −1) (−2, −3)
Figure 1 – The pairs of y = 2x + 1 lie on a straight line, so the relation is linear.

Is it linear?

A relation is linear if its points lie on a straight line. You can check without drawing: when the x-values go up in equal steps, the y-values of a linear relation also go up (or down) in equal steps.

  • {(1, 3), (2, 5), (3, 7), (4, 9)}: y goes up by 2 each time → linear.
  • {(0, 0), (1, 1), (2, 4), (3, 9)}: y goes up by 1, 3, 5 → not linear (these points curve).

TRY ITPlot ordered pairs

Type a relation as ordered pairs, like (1, 3), (2, 5). Use whole numbers from −6 to 6 (use – for a minus sign). The points are plotted, and you get the domain, the range and whether the points lie on a straight line.

Grid from −6 to 6

Worked examples

Example 1: From an arrow diagram

Question: An arrow diagram shows 2 → 6, 3 → 9, 5 → 15 and 6 → 18. Write it as a set of ordered pairs, and give the domain and range.

  1. Each arrow becomes a pair.
  2. First numbers: 2, 3, 5, 6. Second numbers: 6, 9, 15, 18.

Answer: {(2, 6), (3, 9), (5, 15), (6, 18)}; domain {2, 3, 5, 6}; range {6, 9, 15, 18}.

Example 2: Finding the rule

Question: Find the rule for {(0, 1), (1, 4), (2, 7), (3, 10)}.

  1. When x goes up by 1, y goes up by 3, so the rule starts y = 3x.
  2. When x = 0, y = 1, so add 1.
  3. Check (3, 10): 3 × 3 + 1 = 10. ✓

Answer: y = 3x + 1.

Example 3: Checking pairs

Question: Which of (2, 1), (4, 5), (−1, −5) satisfy y = 2x − 3?

  1. (2, 1): 2 × 2 − 3 = 1 ✓.
  2. (4, 5): 2 × 4 − 3 = 5 ✓.
  3. (−1, −5): 2 × (−1) − 3 = −5 ✓.

Answer: All three satisfy it.

Example 4: Writing pairs

Question: Write four ordered pairs that satisfy y = x² for x = −2, −1, 1, 2. Give the range.

  1. (−2)² = 4, (−1)² = 1, 1² = 1, 2² = 4.

Answer: (−2, 4), (−1, 1), (1, 1), (2, 4); range {1, 4}.

Example 5: Plotting and checking for a straight line

Question: Plot (−2, 4), (0, 3), (2, 2) and (4, 1). Is the relation linear?

  1. Plot each point: for (−2, 4) go 2 left and 4 up.
  2. x goes up by 2 each time and y goes down by 1 each time – equal steps.

Answer: Yes, it is linear (the rule is y = 3 − ½x).

Common mistakes

  • Swapping the numbers. (3, 1) means x = 3, y = 1. Go across first, then up.
  • Repeating numbers in the domain or range. Each value is listed once.
  • Checking a rule with only one pair. A rule must work for every pair.
  • Calling points linear because the x-values are in order. Check that the y-values change in equal steps when x changes in equal steps.
  • Mixing up the axes. The x-axis goes across; the y-axis goes up.

Practice questions

Try these yourself first, then open each answer to check your working.

1. Are (4, 7) and (7, 4) the same ordered pair? Explain.

Show answer

No – the order matters. (4, 7) has x = 4, y = 7; (7, 4) has x = 7, y = 4.

2. Write as ordered pairs: the relation “is double” from {1, 2, 3, 4} (so 1 → 2, …).

Show answer

{(1, 2), (2, 4), (3, 6), (4, 8)}.

3. Give the domain and range of {(−1, 3), (0, 3), (2, 5), (4, 9)}.

Show answer

Domain {−1, 0, 2, 4}; range {3, 5, 9}.

4. Find the rule:
(a) {(1, 5), (2, 6), (3, 7)}
(b) {(1, 4), (2, 8), (3, 12)}
(c) {(0, −2), (1, 0), (2, 2)}.

Show answer

(a) y = x + 4
(b) y = 4x
(c) y = 2x − 2.

5. Which pairs satisfy y = 10 − 2x? (1, 8), (3, 5), (5, 0), (−1, 12).

Show answer

(1, 8), (5, 0) and (−1, 12). (3, 5) does not: 10 − 6 = 4.

6. Write three ordered pairs that satisfy y = 3x − 1.

Show answer

For example (0, −1), (1, 2), (2, 5).

7. Plot A(3, 2), B(−2, 4), C(−3, −1) and D(1, −4). In which quarter of the grid is each point?

Show answer

A top right, B top left, C bottom left, D bottom right.

8. Which sets are linear?
(a) {(0, 2), (1, 5), (2, 8), (3, 11)}
(b) {(1, 1), (2, 3), (3, 6), (4, 10)}
(c) {(−1, 4), (0, 4), (1, 4)}.

Show answer

(a) Linear (y goes up 3 each time)
(b) Not linear (steps 2, 3, 4)
(c) Linear (a flat line y = 4).

Quick check

1. In (5, −2), which number is the x-value?

Show answer

5.

2. Does (2, 7) satisfy y = 3x + 1?

Show answer

Yes: 3 × 2 + 1 = 7.

3. What is the origin?

Show answer

The point (0, 0) where the axes cross.

Previous: Relations and Arrow Diagrams: Domain, Range, Mappings and Functions

Next: The Cartesian Plane

Curriculum link: This post is relevant to the Trinidad and Tobago National Lower Secondary (NCSE) Mathematics Curriculum – Form 2, Term 1, Strand 2.2 Sets, Relations and Functions, Topic 2.2.3 Ordered Pairs – Learning Outcomes 2.2.3.1 (ordered pairs), 2.2.3.2 (relations as sets of ordered pairs), 2.2.3.3 (domain and range), 2.2.3.4 (the relation between the domain and range), 2.2.3.5 (verifying ordered pairs), 2.2.3.6 (writing ordered pairs for a relation), 2.2.3.7 (relations on the Cartesian plane) and 2.2.3.8 (linear relationships).

Updates

2026/10/23

– First version of this lesson.

2026/10/25

– Put each lettered part of the questions and answers on its own line.

2026/10/28

– Next lesson link now points to Lesson 16.

© 2026 Vedesh Kungebeharry. All rights reserved.

Relations and Arrow Diagrams: Domain, Range, Mappings and Functions

FORM 2 • TERM 1 • LESSON 14

A relation is a rule that links the members of one set with the members of another. You meet relations all the time: each student and their form class, each country and its capital, each number and its square. In this lesson you will show relations with arrow diagrams, learn the words domain and range, and see how a relation, a mapping and a function differ.

Learning outcomes

By the end of this lesson you should be able to:

  • 2.2.2.1 – Make up relations between two sets.
  • 2.2.2.2 – Explain what an arrow diagram is.
  • 2.2.2.3 – Use arrow diagrams to show how sets are related.
  • 2.2.2.4 – Draw arrow diagrams for simple mathematical relations.
  • 2.2.2.5 – Explain what the domain and the range are.
  • 2.2.2.6 – Explain what a relation, a mapping and a function are.
  • 2.2.2.7 – Tell the difference between a relation, a mapping and a function.
  • 2.2.2.8 – Find missing members in an arrow diagram, given the relation.

Relations between two sets

To make a relation you need a first set, a second set and a rule that says which members go together. For example, with A = {2, 3, 5} and B = {6, 10, 15}, the rule “is a factor of” links 2 with 6 and 10, 3 with 6 and 15, and 5 with 10 and 15.

Arrow diagrams

An arrow diagram shows a relation as a picture. Each set is drawn as an oval with its members inside, and an arrow goes from a member of the first set to each member of the second set it is linked to. The rule is written above or below the diagram.

Arrow diagram for the relation is a factor of, from A equals 2, 3, 5 to B equals 6, 10, 15 A B 2 3 5 6 10 15 is a factor of
Figure 1 – The relation “is a factor of” from A to B. Each member of A has two arrows.

Domain and range

  • The domain is the set of members that the arrows start from – the inputs. In Figure 1 the domain is {2, 3, 5}.
  • The range is the set of members that the arrows actually point to – the outputs. In Figure 1 the range is {6, 10, 15}.
  • Some books call the whole second set the codomain. The range is then only the part of the codomain that is reached by an arrow.

Kinds of relation

TypeWhat the arrows doExample
One-to-oneEach input has one arrow, and each output receives one arroweach student → their seat number
Many-to-oneEach input has one arrow, but some outputs receive more than oneeach student → their form class
One-to-manySome input has more than one arroweach parent → their children
Many-to-manyInputs can have several arrows and outputs can receive several“is a factor of” in Figure 1

Relation, mapping or function?

These three words describe relations that obey stricter and stricter rules:

  • A relation is any rule linking members of two sets. Some members of the first set may have no arrow at all, and some may have several.
  • A mapping is a relation in which every member of the domain has at least one arrow going out. Each member is “mapped” to something.
  • A function is a mapping in which every member of the domain has exactly one arrow going out. So functions are one-to-one or many-to-one, never one-to-many.

So every function is a mapping, and every mapping is a relation, but not the other way round. A quick test for a function: count the arrows leaving each input. If every input has exactly one, it is a function. (Some books use “mapping” and “function” to mean the same thing; ask your teacher which definition your class uses.)

Arrow diagram for x maps to 2x plus 1 from 1, 2, 3, 4 to 3, 5, 7, 9, each input with exactly one arrow x 2x + 1 1 2 3 4 3 5 7 9 x → 2x + 1
Figure 2 – The function x → 2x + 1. Every input has exactly one arrow.

Finding missing members

If you know the rule, you can fill in a missing output by putting the input into the rule. To find a missing input, work backwards – or write an equation. For x → 2x + 1, an output of 15 means 2x + 1 = 15, so x = 7.

Worked examples

Example 1: Making a relation

Question: A = {Trinidad, Tobago, Barbados} and B = {Port of Spain, Scarborough, Bridgetown, San Fernando}. List the arrows for the relation “contains the town or city”, and say what type of relation it is.

  1. Port of Spain and San Fernando are both in Trinidad: Trinidad → Port of Spain and Trinidad → San Fernando.
  2. Tobago → Scarborough and Barbados → Bridgetown.
  3. Trinidad has two arrows, and each town receives only one.

Answer: Four arrows as above. It is a one-to-many relation.

Example 2: Domain and range

Question: For the relation “is half of” from {1, 3, 5, 7} to {2, 4, 6, 10, 14}, list the arrows, the domain and the range.

  1. 1 → 2, 3 → 6, 5 → 10, 7 → 14.
  2. The domain is {1, 3, 5, 7}.
  3. The arrows reach 2, 6, 10 and 14 only; 4 is not reached.

Answer: Domain {1, 3, 5, 7}; range {2, 6, 10, 14}.

Example 3: Is it a function?

Question: Students and their favourite subject: Ana → Maths, Ben → Art, Cal → Maths, Dee → Science. Is this a function? What type is it?

  1. Each student has exactly one arrow, so it is a function.
  2. Maths receives two arrows, so it is many-to-one.

Answer: Yes – a many-to-one function.

Example 4: Relation, mapping or function

Question: Domain {1, 4, 9}. The relation “is the square of” goes to {−3, −2, −1, 1, 2, 3}. Is it a relation, a mapping or a function?

  1. 1 → −1 and 1; 4 → −2 and 2; 9 → −3 and 3.
  2. Every input has at least one arrow, so it is a mapping.
  3. Each input has two arrows, so it is not a function.

Answer: It is a mapping (one-to-many), but not a function.

Example 5: Missing terms

Question: For the rule x → 3x − 2 the domain is {1, 2, ☐, 6} and the range is {1, ☐, 10, ☐}. Fill in the gaps.

  1. 1 → 3 − 2 = 1 and 2 → 6 − 2 = 4.
  2. 10 is an output: 3x − 2 = 10, so x = 4.
  3. 6 → 18 − 2 = 16.

Answer: Domain {1, 2, 4, 6}; range {1, 4, 10, 16}.

Example 6: Finding the rule

Question: An arrow diagram shows 2 → 7, 4 → 13, 5 → 16 and 7 → 22. Find the rule.

  1. When the input goes up by 1, the output goes up by 3 (from 13 to 16), so the rule starts “3x”.
  2. 3 × 2 = 6, and 7 − 6 = 1, so add 1.
  3. Check: 3 × 7 + 1 = 22. ✓

Answer: x → 3x + 1.

Common mistakes

  • Drawing arrows the wrong way. Arrows go from the domain (first set) to the second set.
  • Listing the whole second set as the range. The range is only what the arrows reach.
  • Calling a one-to-many relation a function. In a function each input has exactly one output.
  • Thinking two inputs cannot share an output in a function. Many-to-one is allowed; one-to-many is not.
  • Guessing missing inputs. Set up an equation from the rule and solve it.

Practice questions

Try these yourself first, then open each answer to check your working.

1. Draw an arrow diagram for “is 4 less than” from {1, 2, 3, 4} to {5, 6, 7, 8, 9}. State the domain and range.

Show answer

1 → 5, 2 → 6, 3 → 7, 4 → 8. Domain {1, 2, 3, 4}; range {5, 6, 7, 8}.

2. For “is a multiple of” from {6, 8, 9} to {2, 3, 4}, list all the arrows.

Show answer

6 → 2, 6 → 3, 8 → 2, 8 → 4, 9 → 3.

3. Name the type (one-to-one, many-to-one, one-to-many or many-to-many):
(a) each person → their date of birth
(b) each car → its registration number
(c) each teacher → the classes they teach.

Show answer

(a) Many-to-one
(b) One-to-one
(c) One-to-many.

4. Which of these are functions?
(a) 1 → 4, 2 → 5, 3 → 6
(b) 1 → 4, 1 → 5, 2 → 6
(c) 1 → 7, 2 → 7, 3 → 7.

Show answer

(a) and (c). In (b), 1 has two arrows.

5. Domain {a, b, c}. Relation: a → 1, b → 2. Is this a mapping? Explain.

Show answer

No – c has no arrow, so it is a relation but not a mapping (and not a function).

6. For x → x² − 1 with domain {−2, −1, 0, 1, 2}, find the range. What type of function is it?

Show answer

(−2)² − 1 = 3, 0, −1, 0, 3, so the range is {−1, 0, 3}. Many-to-one.

7. For x → 5x + 2, find
(a) the output for 4
(b) the input that gives 37.

Show answer

(a) 22
(b) 5x + 2 = 37, so x = 7.

8. An arrow diagram shows 1 → 1, 2 → 3, 3 → 5, 4 → 7. Find the rule and the output for 10.

Show answer

x → 2x − 1. The output for 10 is 19.

Quick check

1. What is the domain of a relation?

Show answer

The set of inputs – the members the arrows start from.

2. Is a one-to-many relation a function?

Show answer

No.

3. For x → x + 6, what input gives 11?

Show answer

5.

Previous: Sets: Union, Intersection and Solving Two-Set Venn Diagram Problems

Next: Ordered Pairs: Writing Relations as Pairs, Domain and Range, and Plotting Them

Curriculum link: This post is relevant to the Trinidad and Tobago National Lower Secondary (NCSE) Mathematics Curriculum – Form 2, Term 1, Strand 2.2 Sets, Relations and Functions, Topic 2.2.2 Relations, Mappings and Functions – Learning Outcomes 2.2.2.1 (generating relations), 2.2.2.2 (arrow diagrams), 2.2.2.3 and 2.2.2.4 (drawing arrow diagrams for relations), 2.2.2.5 (domain and range), 2.2.2.6 and 2.2.2.7 (relations, mappings and functions) and 2.2.2.8 (missing terms in an arrow diagram).

Updates

2026/10/23

– First version of this lesson.

2026/10/25

– Put each lettered part of the questions and answers on its own line.

© 2026 Vedesh Kungebeharry. All rights reserved.