Equivalence Relation

A binary relation on a set is said to be an equivalence relation, if and only if it is reflexive, symmetric and transitive. That is, for all and in :

  • (reflexivity)
  • (symmetry)
  • (transitivity)

Two elements and that are related by an equivalence relation are called equivalent.

Equivalence Classes

Let be an equivalence relation on a set . The set of all elements that are related to an element of is called the equivalence class of . The equivalence class of with respect to is denoted by . When only one relation is under consideration, we can delete the subscript and write for this equivalence class.

Let be an equivalence relation on a set . These statements for elements and of are equivalent

Let be an equivalence relation on a set . Then the equivalence classes of form a partition of . Conversely, given a partition of the set , there is an equivalence relation that has the sets , , as its equivalence classes.

Example

For example, we can give a partition of the integers by the equivalence relation congruence modulo