Various notations are used in the literature to denote that two elements a {\displaystyle a} and b {\displaystyle b} of a set are equivalent with respect to an equivalence relation R ; {\displaystyle R;} the most common are " a ∼ b {\displaystyle a\sim b} " and "a ≡ b", which are used when R {\displaystyle R} is implicit, and variations of " a ∼ R b {\displaystyle a\sim _{R}b} ", "a ≡R b", or " a R b {\displaystyle {a\mathop {R} b}} " to specify R {\displaystyle R} explicitly. Non-equivalence may be written "a ≁ b" or " a ≢ b {\displaystyle a\not \equiv b} ".
A binary relation ∼ {\displaystyle \,\sim \,} on a set X {\displaystyle X} is said to be an equivalence relation, if it is reflexive, symmetric and transitive. That is, for all a , b , {\displaystyle a,b,} and c {\displaystyle c} in X : {\displaystyle X:}
X {\displaystyle X} together with the relation ∼ {\displaystyle \,\sim \,} is called a setoid. The equivalence class of a {\displaystyle a} under ∼ , {\displaystyle \,\sim ,} denoted [ a ] , {\displaystyle [a],} is defined as [ a ] = { x ∈ X : x ∼ a } . {\displaystyle [a]=\{x\in X:x\sim a\}.} 12
In relational algebra, if R ⊆ X × Y {\displaystyle R\subseteq X\times Y} and S ⊆ Y × Z {\displaystyle S\subseteq Y\times Z} are relations, then the composite relation S R ⊆ X × Z {\displaystyle SR\subseteq X\times Z} is defined so that x S R z {\displaystyle x\,SR\,z} if and only if there is a y ∈ Y {\displaystyle y\in Y} such that x R y {\displaystyle x\,R\,y} and y S z {\displaystyle y\,S\,z} .3 This definition is a generalisation of the definition of functional composition. The defining properties of an equivalence relation R {\displaystyle R} on a set X {\displaystyle X} can then be reformulated as follows:
On the set X = { a , b , c } {\displaystyle X=\{a,b,c\}} , the relation R = { ( a , a ) , ( b , b ) , ( c , c ) , ( b , c ) , ( c , b ) } {\displaystyle R=\{(a,a),(b,b),(c,c),(b,c),(c,b)\}} is an equivalence relation. The following sets are equivalence classes of this relation: [ a ] = { a } , [ b ] = [ c ] = { b , c } . {\displaystyle [a]=\{a\},~~~~[b]=[c]=\{b,c\}.}
The set of all equivalence classes for R {\displaystyle R} is { { a } , { b , c } } . {\displaystyle \{\{a\},\{b,c\}\}.} This set is a partition of the set X {\displaystyle X} . It is also called the quotient set of X {\displaystyle X} by R {\displaystyle R} .
The following relations are all equivalence relations:
If ∼ {\displaystyle \,\sim \,} is an equivalence relation on X , {\displaystyle X,} and P ( x ) {\displaystyle P(x)} is a property of elements of X , {\displaystyle X,} such that whenever x ∼ y , {\displaystyle x\sim y,} P ( x ) {\displaystyle P(x)} is true if P ( y ) {\displaystyle P(y)} is true, then the property P {\displaystyle P} is said to be well-defined or a class invariant under the relation ∼ . {\displaystyle \,\sim .}
A frequent particular case occurs when f {\displaystyle f} is a function from X {\displaystyle X} to another set Y ; {\displaystyle Y;} if x 1 ∼ x 2 {\displaystyle x_{1}\sim x_{2}} implies f ( x 1 ) = f ( x 2 ) {\displaystyle f\left(x_{1}\right)=f\left(x_{2}\right)} then f {\displaystyle f} is said to be a morphism for ∼ , {\displaystyle \,\sim ,} a class invariant under ∼ , {\displaystyle \,\sim ,} or simply invariant under ∼ . {\displaystyle \,\sim .} This occurs, e.g. in the character theory of finite groups. The latter case with the function f {\displaystyle f} can be expressed by a commutative triangle. See also invariant. Some authors use "compatible with ∼ {\displaystyle \,\sim } " or just "respects ∼ {\displaystyle \,\sim } " instead of "invariant under ∼ {\displaystyle \,\sim } ".
More generally, a function may map equivalent arguments (under an equivalence relation ∼ A {\displaystyle \,\sim _{A}} ) to equivalent values (under an equivalence relation ∼ B {\displaystyle \,\sim _{B}} ). Such a function is known as a morphism from ∼ A {\displaystyle \,\sim _{A}} to ∼ B . {\displaystyle \,\sim _{B}.}
Let a , b ∈ X {\displaystyle a,b\in X} , and ∼ {\displaystyle \sim } be an equivalence relation. Some key definitions and terminology follow:
Main article: Equivalence class
A subset Y {\displaystyle Y} of X {\displaystyle X} such that a ∼ b {\displaystyle a\sim b} holds for all a {\displaystyle a} and b {\displaystyle b} in Y {\displaystyle Y} , and never for a {\displaystyle a} in Y {\displaystyle Y} and b {\displaystyle b} outside Y {\displaystyle Y} , is called an equivalence class of X {\displaystyle X} by ∼ {\displaystyle \sim } . Let [ a ] := { x ∈ X : a ∼ x } {\displaystyle [a]:=\{x\in X:a\sim x\}} denote the equivalence class to which a {\displaystyle a} belongs. All elements of X {\displaystyle X} equivalent to each other are also elements of the same equivalence class.
Main article: Quotient set
The set of all equivalence classes of X {\displaystyle X} by ∼ , {\displaystyle \sim ,} denoted X / ∼ := { [ x ] : x ∈ X } , {\displaystyle X/{\mathord {\sim }}:=\{[x]:x\in X\},} is the quotient set of X {\displaystyle X} by ∼ . {\displaystyle \sim .} If X {\displaystyle X} is a topological space, there is a natural way of transforming X / ∼ {\displaystyle X/\sim } into a topological space; see Quotient space for the details.[undue weight? – discuss]
Main article: Projection (relational algebra)
The projection of ∼ {\displaystyle \,\sim \,} is the function π : X → X / ∼ {\displaystyle \pi :X\to X/{\mathord {\sim }}} defined by π ( x ) = [ x ] {\displaystyle \pi (x)=[x]} which maps elements of X {\displaystyle X} into their respective equivalence classes by ∼ . {\displaystyle \,\sim .}
The equivalence kernel of a function f {\displaystyle f} is the equivalence relation ~ defined by x ∼ y if and only if f ( x ) = f ( y ) . {\displaystyle x\sim y{\text{ if and only if }}f(x)=f(y).} The equivalence kernel of an injection is the identity relation.
Main article: Partition of a set
A partition of X is a set P of nonempty subsets of X, such that every element of X is an element of a single element of P. Each element of P is a cell of the partition. Moreover, the elements of P are pairwise disjoint and their union is X.
Let X be a finite set with n elements. Since every equivalence relation over X corresponds to a partition of X, and vice versa, the number of equivalence relations on X equals the number of distinct partitions of X, which is the nth Bell number Bn:
A key result links equivalence relations and partitions:101112
In both cases, the cells of the partition of X are the equivalence classes of X by ~. Since each element of X belongs to a unique cell of any partition of X, and since each cell of the partition is identical to an equivalence class of X by ~, each element of X belongs to a unique equivalence class of X by ~. Thus there is a natural bijection between the set of all equivalence relations on X and the set of all partitions of X.
See also: Partition of a set § Refinement of partitions
If ∼ {\displaystyle \sim } and ≈ {\displaystyle \approx } are two equivalence relations on the same set S {\displaystyle S} , and a ∼ b {\displaystyle a\sim b} implies a ≈ b {\displaystyle a\approx b} for all a , b ∈ S , {\displaystyle a,b\in S,} then ≈ {\displaystyle \approx } is said to be a coarser relation than ∼ {\displaystyle \sim } , and ∼ {\displaystyle \sim } is a finer relation than ≈ {\displaystyle \approx } . Equivalently,
The equality equivalence relation is the finest equivalence relation on any set, while the universal relation, which relates all pairs of elements, is the coarsest.
The relation " ∼ {\displaystyle \sim } is finer than ≈ {\displaystyle \approx } " on the collection of all equivalence relations on a fixed set is itself a partial order relation, which makes the collection a geometric lattice.13
Much of mathematics is grounded in the study of equivalences, and order relations. Lattice theory captures the mathematical structure of order relations. Even though equivalence relations are as ubiquitous in mathematics as order relations, the algebraic structure of equivalences is not as well known as that of orders. The former structure draws primarily on group theory and, to a lesser extent, on the theory of lattices, categories, and groupoids.
Just as order relations are grounded in ordered sets, sets closed under pairwise supremum and infimum, equivalence relations are grounded in partitioned sets, which are sets closed under bijections that preserve partition structure. Since all such bijections map an equivalence class onto itself, such bijections are also known as permutations. Hence permutation groups (also known as transformation groups) and the related notion of orbit shed light on the mathematical structure of equivalence relations.
Let '~' denote an equivalence relation over some nonempty set A, called the universe or underlying set. Let G denote the set of bijective functions over A that preserve the partition structure of A, meaning that for all x ∈ A {\displaystyle x\in A} and g ∈ G , g ( x ) ∈ [ x ] . {\displaystyle g\in G,g(x)\in [x].} Then the following three connected theorems hold:15
In sum, given an equivalence relation ~ over A, there exists a transformation group G over A whose orbits are the equivalence classes of A under ~.
This transformation group characterisation of equivalence relations differs fundamentally from the way lattices characterize order relations. The arguments of the lattice theory operations meet and join are elements of some universe A. Meanwhile, the arguments of the transformation group operations composition and inverse are elements of a set of bijections, A → A.
Moving to groups in general, let H be a subgroup of some group G. Let ~ be an equivalence relation on G, such that a ∼ b if and only if a b − 1 ∈ H . {\displaystyle a\sim b{\text{ if and only if }}ab^{-1}\in H.} The equivalence classes of ~—also called the orbits of the action of H on G—are the right cosets of H in G. Interchanging a and b yields the left cosets.
Related thinking can be found in Rosen (2008: chpt. 10).
Let G be a set and let "~" denote an equivalence relation over G. Then we can form a groupoid representing this equivalence relation as follows. The objects are the elements of G, and for any two elements x and y of G, there exists a unique morphism from x to y if and only if x ∼ y . {\displaystyle x\sim y.}
The advantages of regarding an equivalence relation as a special case of a groupoid include:
The equivalence relations on any set X, when ordered by set inclusion, form a complete lattice, called Con X by convention. The canonical map ker : X^X → Con X, relates the monoid X^X of all functions on X and Con X. ker is surjective but not injective. Less formally, the equivalence relation ker on X, takes each function f : X → X to its kernel ker f. Likewise, ker(ker) is an equivalence relation on X^X.
Equivalence relations are a ready source of examples or counterexamples. For example, an equivalence relation with exactly two infinite equivalence classes is an easy example of a theory which is ω-categorical, but not categorical for any larger cardinal number.
An implication of model theory is that the properties defining a relation can be proved independent of each other (and hence necessary parts of the definition) if and only if, for each property, examples can be found of relations not satisfying the given property while satisfying all the other properties. Hence the three defining properties of equivalence relations can be proved mutually independent by the following three examples:
Properties definable in first-order logic that an equivalence relation may or may not possess include:
Weisstein, Eric W. "Equivalence Class". mathworld.wolfram.com. Retrieved 2020-08-30. https://mathworld.wolfram.com/EquivalenceClass.html ↩
"7.3: Equivalence Classes". Mathematics LibreTexts. 2017-09-20. Retrieved 2020-08-30. https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Book%3A_Mathematical_Reasoning__Writing_and_Proof_(Sundstrom)/7%3A_Equivalence_Relations/7.3%3A_Equivalence_Classes ↩
Sometimes the composition S R ⊆ X × Z {\displaystyle SR\subseteq X\times Z} is instead written as R ; S {\displaystyle R;S} , or as R S {\displaystyle RS} ; in both cases, R {\displaystyle R} is the first relation that is applied. See the article on Composition of relations for more information. /wiki/Composition_of_relations#Notational_variations ↩
Halmos, Paul Richard (1914). Naive Set Theory. New York: Springer. p. 41. ISBN 978-0-387-90104-6. {{cite book}}: ISBN / Date incompatibility (help) 978-0-387-90104-6 ↩
Lena L. Severance (1930) The Theory of Equipollences; Method of Analytical Geometry of Sig. Bellavitis, link from HathiTrust /wiki/Lena_L._Severance ↩
If: Given a , {\displaystyle a,} let a ∼ b {\displaystyle a\sim b} hold using totality, then b ∼ a {\displaystyle b\sim a} by symmetry, hence a ∼ a {\displaystyle a\sim a} by transitivity. — Only if: Given a , {\displaystyle a,} choose b = a , {\displaystyle b=a,} then a ∼ b {\displaystyle a\sim b} by reflexivity. ↩
Garrett Birkhoff and Saunders Mac Lane, 1999 (1967). Algebra, 3rd ed. p. 35, Th. 19. Chelsea. /wiki/Garrett_Birkhoff ↩
Wallace, D. A. R., 1998. Groups, Rings and Fields. p. 31, Th. 8. Springer-Verlag. ↩
Dummit, D. S., and Foote, R. M., 2004. Abstract Algebra, 3rd ed. p. 3, Prop. 2. John Wiley & Sons. ↩
Karel Hrbacek & Thomas Jech (1999) Introduction to Set Theory, 3rd edition, pages 29–32, Marcel Dekker /wiki/Karel_Hrbacek ↩
Birkhoff, Garrett (1995), Lattice Theory, Colloquium Publications, vol. 25 (3rd ed.), American Mathematical Society, ISBN 9780821810255. Sect. IV.9, Theorem 12, page 95 9780821810255 ↩
Garrett Birkhoff and Saunders Mac Lane, 1999 (1967). Algebra, 3rd ed. p. 33, Th. 18. Chelsea. /wiki/Garrett_Birkhoff ↩
Rosen (2008), pp. 243–45. Less clear is §10.3 of Bas van Fraassen, 1989. Laws and Symmetry. Oxford Univ. Press. /wiki/Bas_van_Fraassen ↩
Proof.[12] Let function composition interpret group multiplication, and function inverse interpret group inverse. Then G is a group under composition, meaning that x ∈ A {\displaystyle x\in A} and g ∈ G , [ g ( x ) ] = [ x ] , {\displaystyle g\in G,[g(x)]=[x],} because G satisfies the following four conditions: G is closed under composition. The composition of any two elements of G exists, because the domain and codomain of any element of G is A. Moreover, the composition of bijections is bijective;[13] Existence of identity function. The identity function, I(x) = x, is an obvious element of G; Existence of inverse function. Every bijective function g has an inverse g−1, such that gg−1 = I; Composition associates. f(gh) = (fg)h. This holds for all functions over all domains.[14] Let f and g be any two elements of G. By virtue of the definition of G, [g(f(x))] = [f(x)] and [f(x)] = [x], so that [g(f(x))] = [x]. Hence G is also a transformation group (and an automorphism group) because function composition preserves the partitioning of A . ◼ {\displaystyle A.\blacksquare } ↩
Wallace, D. A. R., 1998. Groups, Rings and Fields. Springer-Verlag: 202, Th. 6. ↩
Dummit, D. S., and Foote, R. M., 2004. Abstract Algebra, 3rd ed. John Wiley & Sons: 114, Prop. 2. ↩
Borceux, F. and Janelidze, G., 2001. Galois theories, Cambridge University Press, ISBN 0-521-80309-8 /wiki/ISBN_(identifier) ↩