5 The Language of Relations and Functions
5 The Language of Relations and Functions
Learning Outcomes
Defined relation and a function
Distinguished relation from a function
Mapped and analyzed relations and functions
Introduction
There are many kinds of relationships in the world. For example, we say that two people
are related by blood if they share common ancestors. We can also speak of the relationship
between student and a teacher, employer and employee, doctor and patient, mentor and mentee
and many more.
Relation
A relation is a any set of one or more ordered pairs (𝑥, 𝑦). The first coordinate 𝑥 is also
called 𝑎𝑏𝑠𝑐𝑖𝑠𝑠𝑎, and the second coordinate 𝑦 is called 𝑜𝑟𝑑𝑖𝑛𝑎𝑡𝑒. The set of all abscissa is referred
to as the 𝑑𝑜𝑚𝑎𝑖𝑛, and the set of all ordinates is referred to as the 𝑟𝑎𝑛𝑔𝑒.
In a relation, there must be only one value of 𝑦 that corresponds to every value of 𝑥.
Exercise
1. From the two groups below, list all possible ordered pairs whose abscissa is a chemical symbol
of an element, and whose ordinate is the chemical name of that symbol.
Group A Group B
Ca Oxygen
K Gold
H Calcium
O Potassium
Au Hydrogen
The set ordered pairs, represented by 𝑆, that we can make here is:
𝑆 = {(𝐶𝑎, 𝐶𝑎𝑙𝑐𝑖𝑢𝑚), (𝐾, 𝑃𝑜𝑡𝑎𝑠𝑠𝑖𝑢𝑚), (𝐻, 𝐻𝑦𝑑𝑟𝑜𝑔𝑒𝑛), (𝑂, 𝑂𝑥𝑦𝑔𝑒𝑛), (𝐴𝑢, 𝐺𝑜𝑙𝑑)}
2. Given the relation {(2, −6), (1, 4), (2, 4), (0, 0), (1, −6), (3, 0)}.State the domain and the range.
The domain in this relation is: 𝐷 = {0, 1, 2, 3}
The range in this relation is: 𝑅 = {−6, 0,4}
Notice that we do not repeat the same values, as this is a rule for writing a set.
Relations can be written in several ways: ordered pairs, table, graph and mapping. The relation
in Exercise 1 is in written through table and in Exercise 2, it is in ordered pairs.
Graphing a relation is done through plotting the points in a rectangular coordinate plane,
where one dot or point represents the location of a pair (𝑥, 𝑦).
Example: Map the relation 𝑅 = {(2, −6), (1, 4), (2, 4), (0, 0), (1, −6), (3, 0)}.
2 - 6
1 4
0
0
3
Function
A function is a special type of relation in which each element of the domain is paired with
exactly one element in the range. Furthermore, a set of ordered pairs is a function if no two
ordered pairs have equal abscissas. A function has one-to-one correspondence of elements. A
many-to-one correspondence also describes a function. The figures show the mapping of a
function.
{(−3, 1), (0, 2), (2, 4)} {(−1, 5), (1, 3), (4, 5)}
-3 1 -1
3
0 2 1
5
2 4 4
One-to-one Many-to-one
Deepening our understanding about functions, imagine a plant and its shadow. Can you
cite the things that affect or influence the length of the shadow? There are two: (1) the position
of the source of light, (2) the height of that plant.
From this, we can say that the length of the shadow is a function of position and height.
Thus, the length of the shadow is called the dependent variable or the value of the function. The
position of the light source and the height of the plant are called the independent variable or the
argument of the function.
Since a function is a relation, it follows that the set of all abscissas and all ordinates are
also called domain and range respectively. Other similar terms for abscissa are input, argument
and independent variable. Similar terms for ordinate are output, value and dependent variable.
1 2 3
𝑥2
1 4 9
This indicates that using the function 𝑓(𝑥) = 𝑥 2 , it follows that 𝑓(1) = 1, 𝑓(2) = 4, 𝑓(3) =
9.The set of input values {1, 2, 3} is the domain and the set of output values {1, 4, 9} is the range
of the function.
Evaluation
1) Determine if the set of ordered pairs below is a function or a just a relation. For easier
identification, draw and do the mapping.
2) If we have the function 𝑓(𝑥) = 𝑥 2 − 1. State a domain and a corresponding range with
four (4) elements each.