Skip to content

Mathematics · Ch 1 — Relations and Functions

Types of Relations

1.2

Types of Relations

1.2 Types of Relations

The Two Extreme Relations

A relation in a set AA is any subset of A×AA \times A. The smallest such subset is the empty set ϕ\phi and the largest is the whole product A×AA \times A; these two extremes give the simplest relations.

For A={1,2,3,4}A = \{1, 2, 3, 4\}, the relation R={(a,b):a−b=10}R = \{(a, b): a - b = 10\} is empty (R=ϕR = \phi), since no pair satisfies a−b=10a - b = 10. The relation R′={(a,b):∣a−b∣≥0}R' = \{(a, b): |a - b| \geq 0\} is all of A×AA \times A, since ∣a−b∣≥0|a - b| \geq 0 always holds.

Empty Relation

Definition 1: A relation RR in a set AA is called an empty relation if no element of AA is related to any element of AA, that is,

R=ϕ⊂A×AR = \phi \subset A \times A

Universal Relation

Definition 2: A relation RR in a set AA is called a universal relation if each element of AA is related to every element of AA, that is,

R=A×AR = A \times A

Both are sometimes called trivial relations.

Note

Every other relation lies strictly between the extremes: ϕ⊂R⊂A×A\phi \subset R \subset A \times A.

Notation Reminder

A relation can be given by the roster method (listing all ordered pairs) or the set-builder method (stating the condition), and a R ba\,R\,b means (a,b)∈R(a, b) \in R. For instance, R={(a,b):b=a+1}R = \{(a, b): b = a + 1\} in {1,2,3,4}\{1, 2, 3, 4\} can be written as a R ba\,R\,b if and only if b=a+1b = a + 1.

Three Fundamental Properties of Relations

Definition 3: A relation RR in a set AA is called:

  1. Reflexive if (a,a)∈R(a, a) \in R for every a∈Aa \in A.
  2. Symmetric if (a1,a2)∈R(a_1, a_2) \in R implies (a2,a1)∈R(a_2, a_1) \in R for all a1,a2∈Aa_1, a_2 \in A.
  3. Transitive if (a1,a2)∈R(a_1, a_2) \in R and (a2,a3)∈R(a_2, a_3) \in R implies (a1,a3)∈R(a_1, a_3) \in R for all a1,a2,a3∈Aa_1, a_2, a_3 \in A.

In words: a reflexive relation contains every self-pair (a,a)(a, a); a symmetric relation is "two-way" — whenever a pair appears, its reverse appears; a transitive relation "chains" — from aa to bb and bb to cc you may go straight from aa to cc.

Watch out

For transitivity, the condition applies only when both (a,b)(a, b) and (b,c)(b, c) are present; if either is missing, transitivity is not violated. Also aa, bb, and cc need not be distinct — they can be the same element.

Equivalence Relation

Definition 4: A relation RR in a set AA is said to be an equivalence relation if RR is reflexive, symmetric, and transitive.

An equivalence relation is one of the most important concepts in mathematics — it captures the idea of "sameness" or equality in a generalized sense.

Equivalence Classes

Consider R={(a,b):2 divides a−b}R = \{(a, b): 2 \text{ divides } a - b\} on the set Z\mathbb{Z} of integers; this relates two integers exactly when they have the same parity (both even or both odd). Observe:

  • All even integers are related to 00: (0,±2),(0,±4),…(0, \pm 2), (0, \pm 4), \dots all lie in RR; no odd integer is related to 00.
  • All odd integers are related to 11: (1,±1),(1,±3),…(1, \pm 1), (1, \pm 3), \dots all lie in RR; no even integer is related to 11.

Let EE be the even integers and OO the odd integers. Then all elements of EE are related to each other and all of OO to each other; no element of EE is related to one of OO; and EE, OO are disjoint with Z=E∪O\mathbb{Z} = E \cup O. The subset EE is the equivalence class containing 00, denoted [0][0], and OO is the class [1][1]. Note [0]≠[1][0] \neq [1], [0]=[2r][0] = [2r] and [1]=[2r+1][1] = [2r + 1] for any r∈Zr \in \mathbb{Z}.

Equivalence Classes: Given an equivalence relation RR in a set XX, RR divides XX into mutually disjoint subsets AiA_i called partitions (or subdivisions) satisfying:

  1. All elements of AiA_i are related to each other, for all ii.
  2. No element of AiA_i is related to any element of AjA_j, for i≠ji \neq j.
  3. ⋃Aj=X\bigcup A_j = X and Ai∩Aj=ϕA_i \cap A_j = \phi for i≠ji \neq j. The subsets AiA_i are called equivalence classes.

Going in Reverse: From Partition to Equivalence Relation

The correspondence works both ways — a partition also defines an equivalence relation. Subdivide Z\mathbb{Z} into three mutually disjoint subsets:

A1={x∈Z:x is a multiple of 3}={…,−6,−3,0,3,6,… }A_1 = \{x \in \mathbb{Z}: x \text{ is a multiple of } 3\} = \{\dots, -6, -3, 0, 3, 6, \dots\}

A2={x∈Z:x−1 is a multiple of 3}={…,−5,−2,1,4,7,… }A_2 = \{x \in \mathbb{Z}: x - 1 \text{ is a multiple of } 3\} = \{\dots, -5, -2, 1, 4, 7, \dots\} …

Definition 1Empty Relation

Definition

A relation RR in a set AA is called an empty relation if no element of AA is related to any element of AA.

In set notation:

R=ϕ⊂A×AR = \phi \subset A \times A

Here, ϕ\phi denotes the empty set. This means RR contains zero ordered pairs — it has no elements at all.

Intuition

Think of the empty relation as a "no-link" situation. Even if you check every possible pair of elements from AA, you will never find a pair that satisfies the condition for being in RR. The relation is simply a collection of nothing.

Concrete Example

Let A={1,2,3,4}A = \{1, 2, 3, 4\}.

Define R={(a,b):a−b=10}R = \{(a, b) : a - b = 10\}. …

Definition 2Universal Relation

Definition

A relation RR in a set AA is called a universal relation if each element of AA is related to every element of AA.

In set notation, this means:

R=A×AR = A \times A

That is, RR contains all possible ordered pairs (a,b)(a, b) where aa and bb are any elements of AA.


Intuition

Think of the universal relation as the "everything is connected to everything" relation. There are no restrictions — every pair of elements (including the same element with itself) is included. It is one of the two trivial relations (the other being the empty relation).


Concrete Example

Let A={1,2,3}A = \{1, 2, 3\}.

The universal relation RR in AA is:

R={(1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1),(3,2),(3,3)}R = \{(1,1), (1,2), (1,3), (2,1), (2,2), (2,3), (3,1), (3,2), (3,3)\} …

Definition 3Types of Relations

Reflexive Relation

A relation RR in a set AA is called reflexive if every element of AA is related to itself.

  • Condition: For every a∈Aa \in A, the ordered pair (a,a)(a, a) must belong to RR.
  • In other words: a R aa\,R\,a must hold for all a∈Aa \in A.

Intuition: Think of a mirror — each element must "see itself" in the relation.

Example: Let A={1,2,3}A = \{1, 2, 3\} and R={(1,1),(2,2),(3,3),(1,2)}R = \{(1,1), (2,2), (3,3), (1,2)\}.

Here, (1,1)(1,1), (2,2)(2,2), and (3,3)(3,3) are all present, so RR is reflexive.


Symmetric Relation

A relation RR in a set AA is called symmetric if whenever one element is related to another, the reverse is also true.

  • Condition: For all a1,a2∈Aa_1, a_2 \in A, if (a1,a2)∈R(a_1, a_2) \in R, then (a2,a1)∈R(a_2, a_1) \in R.
  • In other words: a1 R a2a_1\,R\,a_2 implies a2 R a1a_2\,R\,a_1.

Intuition: It's a two-way street — if aa is connected to bb, then bb must be connected back to aa. …

Definition 4Equivalence Relation

Definition of Equivalence Relation

A relation RR in a set AA is called an equivalence relation if it satisfies all three of the following conditions:

  1. Reflexive: Every element of AA is related to itself.

    That is, (a,a)∈R(a, a) \in R for every a∈Aa \in A.

  2. Symmetric: If one element is related to another, then the second is related back to the first.

    That is, if (a,b)∈R(a, b) \in R, then (b,a)∈R(b, a) \in R for all a,b∈Aa, b \in A.

  3. Transitive: If one element is related to a second, and the second is related to a third, then the first is related to the third.

    That is, if (a,b)∈R(a, b) \in R and (b,c)∈R(b, c) \in R, then (a,c)∈R(a, c) \in R for all a,b,c∈Aa, b, c \in A.


Intuition

An equivalence relation groups elements of a set into "families" where every member of a family is connected to every other member (like being "equal" in some way), and no member of one family is connected to any member of another family.


Tiny Concrete Example

Let A={1,2,3}A = \{1, 2, 3\} and define R={(1,1),(2,2),(3,3),(1,2),(2,1)}R = \{(1,1), (2,2), (3,3), (1,2), (2,1)\}.

  • Reflexive: (1,1),(2,2),(3,3)(1,1), (2,2), (3,3) are all present. ✓
  • Symmetric: (1,2)(1,2) is present and so is (2,1)(2,1). ✓ …