Equivalence Relation

Equivalence Relation

Equivalence relation defined on a set in mathematics is a binary relation that is reflexive, symmetric, and transitive. A binary relation over the sets A A and B B is a subset of the cartesian product A×B A \times B consisting of elements of the form (a,b) (a, b) such that aA a \in A and bB b \in B . A very common and easy-to-understand example of an equivalence relation is the 'equal to (=) (=) ' relation which is reflexive, symmetric, and transitive.

As the name suggests, two elements of a set are said to be equivalent if and only if they belong to the same equivalence class. In this article, we will understand the concept of equivalence relation, class, partition with proofs and solved examples.

What is Equivalence Relation?

An equivalence relation is a binary relation defined on a set X X such that the relation is reflexive, symmetric, and transitive. If any of the three conditions (reflexive, symmetric, and transitive) does not hold, the relation cannot be an equivalence relation. The equivalence relation divides the set into disjoint equivalence classes. Any two elements of the set are said to be equivalent if and only if they belong to the same equivalence class. An equivalence relation is generally denoted by the symbol \sim .

Equivalence Relation Definition

A relation in mathematics for real numbers R \mathbb{R} defined on a set A A is said to be an equivalence relation if and only if it is reflexive, symmetric, and transitive. They are often used to group together objects that are similar, or equivalent. It satisfies the following conditions for all elements a,b,cA a, b, c \in A :

  • Reflexive - R R is reflexive if (a,a)R (a, a) \in R for aA \forall a \in A
  • Symmetric - R R is symmetric if and only if (a,b)R (a, b) \in R implies (b,a)R (b, a) \in R for a,bA \forall a, b \in A
  • Transitive - R R is transitive if and only if (a,b)R (a, b) \in R and (b,c)R (b, c) \in R implies (a,c)R (a, c) \in R for all a,b,cA a, b, c \in A

The equivalence relation involves three types of relations such as reflexive relation, symmetric relation, and transitive relation.

Examples of Equivalence Relation

  • 'Is equal to (=) (=) ' is an equivalence relation on any set of numbers A A as for all elements a,b,cA a, b, c \in A , we have a=a a = a , if a=b a = b then b=a b = a , and if a=b a = b and b=c b = c then a=c a = c . This implies (=) (=) is reflexive, symmetric, and transitive.

  • 'Is similar to () (\sim) ' defined on the set of triangles: It is reflexive, symmetric, and transitive.

  • 'Has the same birthday' defined on the set of people: It is reflexive, symmetric, and transitive.

  • 'Is congruent to' defined on the set of triangles is an equivalence relation as it is reflexive, symmetric, and transitive.

  • 'Congruence modulo n n () (\equiv) ' defined on the set of integers: It is reflexive, symmetric, and transitive.

  • 'Has the same absolute value' defined on the set of real numbers is an equivalence relation as it is reflexive, symmetric, and transitive.

Proof of Equivalence Relation

To understand how to prove if a relation is an equivalence relation, let us consider an example. Define a relation R R on the set of natural numbers N \mathbb{N} as (a,b)R (a, b) \in R if and only if a=b a = b . Now, we will show that the relation R R is reflexive, symmetric, and transitive.

  • Reflexive Property - Since every natural number is equal to itself, that is, a=a a = a for aN \forall a \in \mathbb{N} , therefore (a,a)R (a, a) \in R for aN \forall a \in \mathbb{N} . Hence, R R is reflexive.
  • Symmetric Property - For a,bN a, b \in \mathbb{N} , let (a,b)R (a, b) \in R , then a=b a = b , therefore b=a b = a , which implies (b,a)R (b, a) \in R . Since a,b a, b are arbitrary, R R is symmetric.
  • Transitive Property - For a,b,cN a, b, c \in \mathbb{N} , let (a,b)R (a, b) \in R and (b,c)R (b, c) \in R , then a=b a = b and b=c b = c , therefore a=c a = c (as numbers equal to the same number are equal to one another), which implies (a,c)R (a, c) \in R . Since a,b,c a, b, c are arbitrary, R R is transitive.

Since R R , defined on the set of natural numbers N \mathbb{N} , is reflexive, symmetric, and transitive, R R is an equivalence relation.

Proving a Relation is Not an Equivalence Relation

We have seen how to prove an equivalence relation. Now, we will consider an example of a relation that is not an equivalence relation and find a counterexample for the same. Define a relation R R on the set of integers as (a,b)R (a, b) \in R if and only if ab a \geq b . We will check for the three conditions (reflexivity, symmetricity, transitivity):

  • Reflexivity - As every integer is equal to itself, that is, a=a a = a for aZ \forall a \in \mathbb{Z} , it satisfies aa a \geq a for aZ \forall a \in \mathbb{Z} . This implies (a,a)R (a, a) \in R for aZ \forall a \in \mathbb{Z} . Hence, R R is reflexive.

  • Symmetricity - For a,bZ a, b \in \mathbb{Z} , let (a,b)R (a, b) \in R , then ab a \geq b . This does not imply that ba b \geq a . For example, 129 12 \geq 9 but 9≱12 9 \not\geq 12 . This implies R R is not symmetric.

We do not need to check for transitivity as R R is not symmetric, therefore R R is not an equivalence relation.

Now, we will understand the meaning of some terms related to equivalence relation such as equivalence class, partition, quotient set, etc. Consider an equivalence relation R R defined on set A A with a,bA a, b \in A .

  • Equivalence Class - An equivalence class is a subset B B of A A such that (a,b)R (a, b) \in R for a,bB \forall a, b \in B and a,b a, b cannot be outside of B B . Mathematically, an equivalence class of a a is denoted as [a]={xA:(a,x)R} [a] = \{x \in A: (a, x) \in R\} which contains all elements of A A which are related to a a . All elements of A A equivalent to each other belong to the same equivalence class. In other words, all elements belonging to the same equivalence class are equivalent to each other.

  • Partition - A partition of set A A is a non-empty set of disjoint subsets of A A such that no element of A A is in two subsets of A A and elements belonging to the same subset are related to each other. The union of subsets in the partition is equal to set A A .

  • Quotient Set - A quotient set is a set of all equivalence classes of an equivalence relation denoted by A/R={[a]:aA} A/R = \{[a]: a \in A\}

Example

Consider A={2,3,4,5} A = \{2, 3, 4, 5\} and R={(5,5),(5,3),(2,2),(2,4),(3,5),(3,3),(4,2),(4,4)} R = \{(5, 5), (5, 3), (2, 2), (2, 4), (3, 5), (3, 3), (4, 2), (4, 4)\} . Is Relation R R Reflexive, Symmetric, Transitive, and Equivalent?

Relation R R is reflexive because (5,5),(2,2),(3,3) (5, 5), (2, 2), (3, 3) and (4,4)R (4, 4) \in R
Relation R R is symmetric as whenever (a,b)R (a, b) \in R , (b,a) (b, a) also relates to R R . For example, if (2,4)R (2, 4) \in R then (4,2)R (4, 2) \in R
Relation R R is transitive as whenever (a,b) (a, b) and (b,c) (b, c) relate to R R , (a,c) (a, c) also relates to R R . For example, if (3,5)R (3, 5) \in R and (5,3)R (5, 3) \in R then (3,3)R (3, 3) \in R
R R is reflexive, symmetric, and transitive. So, R R is an Equivalence Relation

Is Relation R R in R \mathbb{R} defined as R={(a,b):a<b} R = \{(a,b): a < b\} Equivalent or not?

(a,a):aa (a,a): a \leq a is true for aR \forall a \in \mathbb{R} hence reflexive
If (a,b) (a,b) then ab a \leq b , and if (b,c) (b,c) then bc b \leq c , therefore ac=(a,c)R a \leq c = (a,c) \in R hence R R is transitive
If (a,b) (a,b) then ab a \leq b , but (b,a)R (b,a) \in R hence R R is not symmetric. For example, if (1,3) (1,3) then 13 1 \leq 3 but for (3,1) (3,1) : 3 3 is not 1 \leq 1
Relation R R is reflexive, transitive but not symmetric, therefore it is not equivalent