Lesson 1: Relations
Video Lesson
Competency
Dear learner,
By the end of this lesson you will be able to:
- Define and explain the concept of a relation.
- Represent Relations using ordered pairs, tables, mappings, and graphs.
- Write domain and range of a relation in interval notation, inequalities and set notation.
- Solve real-life problems using mathematical relations.
Key Terms
- Relations
- Domain and Range
- Graph of a relation
Brainstorming Activities
Consider two sets A = {cat, rabbit} and B = {meat, milk}. Based on these sets answer the following questions.
i. Find all the subsets of A × B containing at least three members.
ii. Find the set of the first components and the set of the second components of all members of the set in (i).
Solution
A × B={(cat, meat), (cat, milk), (rabbit, meat), (rabbit, milk)}. Hence the following sets are the subsets of A × B.
S1 = {(cat, meat), (cat, milk), (rabbit, meat)}
S2 = {(cat, meat), (cat, milk), (rabbit, milk)}
S3 = {(cat, meat), (rabbit, meat), (rabbit, milk)}
S4 = {(cat, milk), (rabbit, meat), (rabbit, milk)}
S5 = {(cat, meat), (cat, milk), (rabbit, meat), (rabbit, milk)}.
ii). In all subsets in number i:
- The set containing all first components is = {cat, rabbit}
- The set containing all second components is = {meat, milk}
Definition:
Example 1:
Note
A relation is the set of ordered pairs.
Domain and Range of Relations
Given a relation R from set A to B;
- Domain of R: the set of all the first components of R.
- Range of R: the set of all the second components of R.
Example 2
In a certain city, there are 5 secondary schools. The number of Mathematics teachers taught in each school are listed in the table as shown below:

- Find the relation defined by the given table.
- Determine the domain and the range of the relation.
Solution
a). In the table school names are the first components while number of mathematics teachers are the second components of the relation. Thus, we have
R = {(school 1, 23), (school 2, 18), (school 3, 27), (school 4, 19), (school 5, 31)}.
b). i. Domain = {school 1, school 2, school 3, school 4, school 5}.
ii. Range = {18, 19, 23, 27, 31}.
Example 3
Solution:
Let the value of x be any real number and y is determined by substituting x in the formula.
Representation of Relations
A relation is represented by either of :
- Set of ordered pairs,
- Correspondence between domain and range,
- Graph,
- Equations,
- An inequality or combination of any of these.
a) Set of Ordered Pairs
Example 4
Solution
Domain = {1, 3, 4} is the set of first components.
Range = {2, 4, 5} is the set of the second components.
b) Correspondence Between Domain and Range
Example 5
A and B are two given sets and the relation from set A to B is given by using the diagram below, determine the relation R and find domain and range ?

Figure 1.1. Diagram representing a relation
Solution
From the given diagram, the relation as a set of ordered pairs is given by:
R = {(-8,26),(-6,10), (5,15)}.
Then the Domain = {-8, -6, 5} and the Range = {10, 15, 26}.
C) Graph
Example 6
Find the domain and Range of the relation given by the graph below.

Figure 1.2. Table representing relation
Solution
R is represented as the set of ordered pairs of x and y.
R = {(-2, 1), (-1, 0), (1,-1), (1, 1), (2, 3),(3, 1)}
and
Domain of R= {-2, -1, 1, 2, 3} and the Range of R = {-1, 0, 1, 3}.
D) Equations
Example 7
Solution
R is defined as an infinite set of ordered pairs. The first coordinate can be any of the set of real numbers while the second coordinate becomes a real number for which it is determined by the first coordinate. as
.
Therefore, Domain = the set of all real numbers and Range = the set of real numbers.
E) Inequalities (Region)
Example 8
.
Solution

Figure 1.3. Inequality graph representing a relation
Intersection point
.
⟹x+1=−4 ⟹ x=−4−1 ⟹ x=−5.
⟹ x+1=−4 ⟹ x=−4−1 ⟹ x=−5.
Therefore, the intersection point is (−5,−4).
⟹ 1-x=−4 ⟹ x=−4+1 ⟹ x=5.
Therefore, the intersection point is (5,−4).
Hence, the domain of R=(−5,5) and the range of R=(−4,1].