In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a and b belong to the same equivalence class if, and only if, they are equivalent. Formally, given a set S and an equivalence relation ∼ on S, the equivalence class of an element a in S is denoted [a] or, equivalently, [a]∼ to emphasize its equivalence relation ∼, and is defined as the set of all elements in S with which a is ∼-related. The definition of equivalence relations implies that the equivalence classes form a partition of S, meaning, that every element of the set belongs to exactly one equivalence class. The set of the equivalence classes is sometimes called the quotient set or the quotient space of S by ∼, and is denoted by S/∼. When the set S has some structure (such as a group operation or a topology) and the equivalence relation ∼ is compatible with this structure, the quotient set often inherits a similar structure from its parent set. Examples include quotient spaces in linear algebra, quotient spaces in topology, quotient groups, homogeneous spaces, quotient rings, quotient monoids, and quotient categories.
Definition and notation An equivalence relation on a set X is a binary relation ∼ on X satisfying the three properties:
a∼a for all a∈X (reflexivity), a∼b implies b∼a for all a,b∈X (symmetry), if a∼b and b∼c then a∼c for all a,b,c∈X (transitivity). The equivalence class of an element a is defined as [a]={x∈X:a∼x}. The word "class" in the term "equivalence class" may generally be considered as a synonym of "set", although some equivalence classes are not sets but proper classes. For example, "being isomorphic" is an equivalence relation on groups, and the equivalence classes, called isomorphism classes, are not sets. The set of all equivalence classes in X with respect to an equivalence relation R is denoted as X/R, and is called X modulo R (or the quotient set of X by R). The surjective map x↦[x] from X onto X/R, which maps each element to its equivalence class, is called the canonical surjection, or the canonical projection. Every element of an equivalence class characterizes the class, and may be used to represent it. When such an element is chosen, it is called a representative of the class. The choice of a representative in each class defines an injection from X/R to X. Since its composition with the canonical surjection is the identity of X/R, such an injection is called a section, when using the terminology of category theory. Sometimes, there is a section that is more "natural" than the other ones. In this case, the representatives are called canonical representatives. For example, in modular arithmetic, for every integer m greater than 1, the congruence modulo m is an equivalence relation on the integers, for which two integers a and b are equivalent—in this case, one says congruent—if m divides a−b; this is denoted a≡b(modm). Each class contains a unique non-negative integer smaller than m, and these integers are the canonical representatives. The use of representatives for representing classes allows avoiding considering explicitly classes as sets. In this case, the canonical surjection that maps an element to its class is replaced by the function that maps an element to the representative of its class. In the preceding example, this function is denoted amodm, and produces the remainder of the Euclidean division of a by m.
Properties For a set X with an equivalence relation ∼, every element x of X is a member of the equivalence class [x] by reflexivity (a∼a for all a∈X). Every two equivalence classes [x] and [y] are either equal if x∼y, or disjoint otherwise. Therefore, the set of all equivalence classes of X forms a partition of X: every element x of X belongs to one and only one equivalence class. Conversely, for a set X, every partition comes from an equivalence relation in this way, and different relations give different partitions. Thus x∼y if and only if x and y belong to the same set of the partition. It follows from the properties in the previous section that if ∼ is an equivalence relation on a set X, and x and y are two elements of X, the following statements are equivalent:
x∼y, [x]=[y], and [x]∩[y]≠∅︀.
Examples Let X be the set of all rectangles in a plane, and ∼ the equivalence relation "has the same area as", then for each positive real number A, there will be an equivalence class of all the rectangles that have area A. For example, the rectangles with side lengths 2 by 4 and 1 by 8 both have the area 8. Although they differ, in shape, they are equivalent under the relation "has the same area" so they are in the same equivalence class. Consider the modulo 2 equivalence relation on the set of integers, ℤ, such that x∼y if and only if their difference x−y is an even number. This relation gives rise to exactly two equivalence classes: one class consists of all even numbers, and the other class consists of all odd numbers. Using square brackets around one member of the class to denote an equivalence class under this relation, [7],[9], and [1] all represent the same element of ℤ/∼. Congruence modulo 3 on the set of integers can be examined to demonstrate this. Under this equivalence relation, [0] = {..., -9, -6, -3, 0, 3, 6, 9,...} [1] = {..., -8, -5, -2, 1, 4, 7, 10,...} [2] = {..., -7, -4, -1, 2, 5, 8, 11,...} Each value in ℤ belongs to only one of the classes where elements 0, 1 and 2 are the canonical representatives of their classes.
… excerpt ends here. Continue reading the full article.


