Relations and Functions
Relations and Functions
M A T H E M A T I C S
Ordered Pair
A (1, 2)
(-1, 2) D C (2, 2)
2
(-2, 1) E B (2, 1)
1
-2 -1 0 1 2
x
Two ordered pairs are equal if and only if their corresponding first and second elements are
equal.
(a1, b1) = (a2, b2)
⇔ a1 = a2 and b1 = b2
Note
I. Ordered pair is not termed as a set. Therefore (1, 2) is different from (2, 1).
II. In a set {2, 2} means the existence of one element but (2, 2) means two elements.
III. Order of elements is important and elements need not be distinct.
Quick Query
Cartesian Product
Let A and B be two non-empty sets. The set of all ordered pairs (a, b), where a ∈ A and b ∈ B, is
known as the cartesian product of sets A and B. It is denoted by A x B.
Mathematically
A x B = {(a, b) : a ∈ A and b ∈ B}
Example
Set B
1 2 3 4
Concept Check
1. Let A be a non-empty set such that A × A has 9 elements among which two elements are
found to be (-1, 0) and (0, 1). Find set A.
Concept Check
2. Let A have the first 10 odd natural numbers and B have the first 10 prime natural numbers.
Find the number of elements common to A × B and B × A.
3. Let A be the set of all divisors of 8 and B be the set of all the divisors of 10. Find the number of
elements in A × B.
Let A and B be two non-empty sets having m elements in common, then A × B and
B × A have m2 elements in common.
Relation
Mathematically
R is a relation from A to B ⇔ R ⊆ A × B
Notations
R: A → B
In the above example, (1, 5) ∈ R or 1R5.
(a, b) ∈ R means a is related to b.
Quick Query
2. Let A = {1, 2, 3} and B = {4, 5, 6}. Find which of the following are relations from A to B.
Domain Range
The collection of the first elements of all the The collection of the second elements of all
ordered pairs of a relation R is known as the the ordered pairs of a relation R is known as
domain of R. the range of R.
Example
Quick Query
3. Find the domain and range of relation R = {(1, 8), (1, 3), (2, 7), (2, 9), (5, 7), (5, 9)}.
Inverse of a Relation
Let A, B be two sets and R be a relation from A to B. The inverse of R, denoted by R-1, is a relation
from B to A and is defined as the following:
R-1 = {(b, a) : (a, b) ∈ R}
Thus, if (a, b) ∈ R ⇔ (b, a) ∈ R-1
Example
Then R-1 = {(4, 1), (5, 1), (4, 2), (5, 2), (4, 3), (5, 3), (5, 4)}
R-1 is a relation from B to A.
Quick Query
4. Find the inverse of this relation R = {(8, 4), (13, 12), (5, 10)}.
Void relation
Universal relation
If each element of set A is related to every element of set A, then the relation is known as a
universal relation.
For example:
R is a relation on A = {1, 2, 3, 4, 5} such that
R = {(a, b) : a < b or a _> b}
Identity relation
Given a set A, an identity relation on A is defined as the set of all ordered pairs (a, a) where a
belongs to A.
For example:
R is a relation on A such that
A = {1, 2, 3, 4, 5} such that R = {(a, b) : a = b}
R = {(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)}
Summary
Key terms
1. Ordered pair: An ordered pair consists of two objects or elements in a given fixed order.
2. Cartesian product: Let A and B be two non-empty sets. The set of all ordered pairs (a, b),
where a ∈ A and b ∈ B is known as the cartesian product of sets A and B
and is denoted by A x B.
4. Domain: The collection of the first elements of all the ordered pairs of a relation R is known as
the domain of R.
5. Range: The collection of the second elements of all the ordered pairs of a relation R is
known as the range of R.
7. Void relation: An empty relation, that is, one having no elements is a void relation.
8. Universal relation: If each element of set A is related to every element of set A, then the
relation is known as a universal relation.
9. Identity relation: Given a set A, an identity relation on A is defined as the set of all ordered
pairs (a, a) where a belongs to A.
Key takeaways
1. Two ordered pairs are equal if and only if their corresponding first and second elements are
equal.
2. Cartesian product: A x B = {(a, b) : a ∈ A and b ∈ B}.
Key results
Mind map
Ordered
pair Cartesian
(a, b) product
AXB
Range: Set of
second elements
of R
Relation
R⊆AxB
Domain: Set of
first elements of R
Inverse of a relation
R-1 = {(b, a) : (a, b) ∈ R}
Null Some
relation special
relations
Universal
Identity relation
relation
Self-Assessment
Answers
Quick Query
3. Domain: {1, 2, 5} 4. Inverse R-1 = {(4, 8), (12, 13), (10, 5)}
Range: {3, 7, 8, 9}
Concept Check
Self-Assessment