Y indicates that the column's property is always true for the row's term (at the very left), while✗ indicates that the property is not guaranteed in general (it might, or might not, hold). For example, that every equivalence relation is symmetric, but not necessarily antisymmetric, is indicated byY in the "Symmetric" column and✗ in the "Antisymmetric" column, respectively.
All definitions tacitly require thehomogeneous relation betransitive: for all if and then A term's definition may require additional properties that are not listed in this table.
The52 equivalence relations on a 5-element set depicted aslogical matrices (colored fields, including those in light gray, stand for ones; white fields for zeros). The row and column indices of nonwhite cells are the related elements, while the different colors, other than light gray, indicate the equivalence classes (each light gray cell is its own equivalence class).
Inmathematics, anequivalence relation is abinary relation that isreflexive,symmetric, andtransitive. Theequipollence relation between line segments in geometry is a common example of an equivalence relation. A simpler example is equality. Any number is equal to itself (reflexive). If, then (symmetric). If and, then (transitive).
Each equivalence relation provides apartition of the underlying set into disjointequivalence classes. Two elements of the given set are equivalent to each otherif and only if they belong to the same equivalence class.
Various notations are used in the literature to denote that two elements and of a set are equivalent with respect to an equivalence relation the most common are "" and "a ≡b", which are used when is implicit, and variations of "", "a ≡Rb", or "" to specify explicitly. Non-equivalence may be written "a ≁b" or "".
Inrelational algebra, if and are relations, then thecomposite relation is defined so that if and only if there is a such that and.[note 1] This definition is a generalisation of the definition offunctional composition. The defining properties of an equivalence relation on a set can then be reformulated as follows:
The relation "≥" between real numbers is reflexive and transitive, but not symmetric. For example, 7 ≥ 5 but not 5 ≥ 7.
The relation "has acommon factor greater than 1 with" betweennatural numbers greater than 1, is reflexive and symmetric, but not transitive. For example, the natural numbers 2 and 6 have a common factor greater than 1, and 6 and 3 have a common factor greater than 1, but 2 and 3 do not have a common factor greater than 1.
Theempty relationR (defined so thataRb is never true) on a setX isvacuously symmetric and transitive; however, it is not reflexive (unlessX itself is empty).
The relation "is approximately equal to" between real numbers, even if more precisely defined, is not an equivalence relation, because although reflexive and symmetric, it is not transitive, since multiple small changes can accumulate to become a big change. However, if the approximation is defined asymptotically, for example by saying that two functionsf andg are approximately equal near some point if the limit off − g is 0 at that point, then this defines an equivalence relation.
Equality is both an equivalence relation and a partial order. Equality is also the only relation on a set that is reflexive, symmetric and antisymmetric. Inalgebraic expressions, equal variables may besubstituted for one another, a facility that is not available for equivalence related variables. The equivalence classes of an equivalence relation can substitute for one another, but not individuals within a class.
Apartial equivalence relation is transitive and symmetric. Such a relation is reflexiveif and only if it istotal, that is, if for all there exists some[proof 1] Therefore, an equivalence relation may be alternatively defined as a symmetric, transitive, and total relation.
Acongruence relation is an equivalence relation whose domain is also the underlying set for analgebraic structure, and which respects the additional structure. In general, congruence relations play the role ofkernels of homomorphisms, and the quotient of a structure by a congruence relation can be formed. In many important cases, congruence relations have an alternative representation as substructures of the structure on which they are defined (e.g., the congruence relations on groups correspond to thenormal subgroups).
If is an equivalence relation on and is a property of elements of such that whenever is true if is true, then the property is said to bewell-defined or aclass invariant under the relation
A frequent particular case occurs when is a function from to another set if implies then is said to be amorphism for aclass invariant under or simplyinvariant under This occurs, e.g. in the character theory of finite groups. The latter case with the function can be expressed by a commutative triangle. See alsoinvariant. Some authors use "compatible with" or just "respects" instead of "invariant under".
More generally, a function may map equivalent arguments (under an equivalence relation) to equivalent values (under an equivalence relation). Such a function is known as a morphism from to
A subset of such that holds for all and in, and never for in and outside, is called anequivalence class of by. Let denote the equivalence class to which belongs. All elements of equivalent to each other are also elements of the same equivalence class.
The set of all equivalence classes of by denoted is thequotient set of by If is atopological space, there is a natural way of transforming into a topological space; seeQuotient space for the details.[undue weight? –discuss]
Apartition ofX is a setP of nonempty subsets ofX, such that every element ofX is an element of a single element ofP. Each element ofP is acell of the partition. Moreover, the elements ofP arepairwise disjoint and theirunion isX.
LetX be a finite set withn elements. Since every equivalence relation overX corresponds to a partition ofX, and vice versa, the number of equivalence relations onX equals the number of distinct partitions ofX, which is thenthBell numberBn:
A key result links equivalence relations and partitions:[6][7][8]
An equivalence relation ~ on a setX partitionsX.
Conversely, corresponding to any partition ofX, there exists an equivalence relation ~ onX.
In both cases, the cells of the partition ofX are the equivalence classes ofX by ~. Since each element ofX belongs to a unique cell of any partition ofX, and since each cell of the partition is identical to an equivalence class ofX by ~, each element ofX belongs to a unique equivalence class ofX by ~. Thus there is a naturalbijection between the set of all equivalence relations onX and the set of all partitions ofX.
If and are two equivalence relations on the same set, and implies for all then is said to be acoarser relation than, and is afiner relation than. Equivalently,
is finer than if every equivalence class of is a subset of an equivalence class of, and thus every equivalence class of is a union of equivalence classes of.
is finer than if the partition created by is a refinement of the partition created by.
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 " is finer than" on the collection of all equivalence relations on a fixed set is itself a partial order relation, which makes the collection ageometric lattice.[9]
Given any set an equivalence relation over the set of all functions can be obtained as follows. Two functions are deemed equivalent when their respective sets offixpoints have the samecardinality, corresponding to cycles of length one in apermutation.
An equivalence relation on is theequivalence kernel of itssurjectiveprojection[10] Conversely, anysurjection between sets determines a partition on its domain, the set ofpreimages ofsingletons in thecodomain. Thus an equivalence relation over a partition of and a projection whose domain is are three equivalent ways of specifying the same thing.
The intersection of any collection of equivalence relations overX (binary relations viewed as asubset of) is also an equivalence relation. This yields a convenient way of generating an equivalence relation: given any binary relationR onX, the equivalence relationgenerated by R is the intersection of all equivalence relations containingR (also known as the smallest equivalence relation containingR). Concretely,R generates the equivalence relation
if there exists anatural number and elements such that,, and or, for
The equivalence relation generated in this manner can be trivial. For instance, the equivalence relation generated by anytotal order onX has exactly one equivalence class,X itself.
Equivalence relations can construct new spaces by "gluing things together." LetX be the unitCartesian square and let ~ be the equivalence relation onX defined by for all and for all Then thequotient space can be naturally identified (homeomorphism) with atorus: take a square piece of paper, bend and glue together the upper and lower edge to form a cylinder, then bend the resulting cylinder so as to glue together its two open ends, resulting in a torus.
Much of mathematics is grounded in the study of equivalences, andorder 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 ongroup theory and, to a lesser extent, on the theory of lattices,categories, andgroupoids.
Just asorder relations are grounded inordered sets, sets closed under pairwisesupremum andinfimum, equivalence relations are grounded inpartitioned sets, which are sets closed underbijections that preserve partition structure. Since all such bijections map an equivalence class onto itself, such bijections are also known aspermutations. Hencepermutation groups (also known astransformation groups) and the related notion oforbit shed light on the mathematical structure of equivalence relations.
Let '~' denote an equivalence relation over some nonempty setA, called theuniverse or underlying set. LetG denote the set of bijective functions overA that preserve the partition structure ofA, meaning that for all and Then the following three connected theorems hold:[11]
~ partitionsA into equivalence classes. (This is theFundamental Theorem of Equivalence Relations, mentioned above);
Given a partition ofA,G is a transformation group under composition, whose orbits are thecells of the partition;[15]
Given a transformation groupG overA, there exists an equivalence relation ~ overA, whose equivalence classes are the orbits ofG.[16][17]
In sum, given an equivalence relation ~ overA, there exists atransformation groupG overA whose orbits are the equivalence classes ofA under ~.
This transformation group characterisation of equivalence relations differs fundamentally from the waylattices characterize order relations. The arguments of the lattice theory operationsmeet andjoin are elements of some universeA. Meanwhile, the arguments of the transformation group operationscomposition andinverse are elements of a set ofbijections,A →A.
Moving to groups in general, letH be asubgroup of somegroupG. Let ~ be an equivalence relation onG, such that The equivalence classes of ~—also called the orbits of theaction ofH onG—are the rightcosets ofH inG. Interchanginga andb yields the left cosets.
Related thinking can be found in Rosen (2008: chpt. 10).
LetG be a set and let "~" denote an equivalence relation overG. Then we can form agroupoid representing this equivalence relation as follows. The objects are the elements ofG, and for any two elementsx andy ofG, there exists a unique morphism fromx toyif and only if
The advantages of regarding an equivalence relation as a special case of a groupoid include:
Whereas the notion of "free equivalence relation" does not exist, that of afree groupoid on adirected graph does. Thus it is meaningful to speak of a "presentation of an equivalence relation," i.e., a presentation of the corresponding groupoid;
Bundles of groups,group actions, sets, and equivalence relations can be regarded as special cases of the notion of groupoid, a point of view that suggests a number of analogies;
In many contexts "quotienting," and hence the appropriate equivalence relations often calledcongruences, are important. This leads to the notion of an internal groupoid in acategory.[18]
The equivalence relations on any setX, when ordered byset inclusion, form acomplete lattice, calledConX by convention. The canonicalmapker :X^X →ConX, relates themonoidX^X of allfunctions onX andConX.ker issurjective but notinjective. Less formally, the equivalence relationker onX, takes each functionf :X →X to itskernelkerf. Likewise,ker(ker) is an equivalence relation onX^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 largercardinal number.
An implication ofmodel 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:
Reflexive and transitive: The relation ≤ onN. Or anypreorder;
^Sometimes the composition is instead written as, or as; in both cases, is the first relation that is applied. See the article onComposition of relations for more information.
^If: Given let hold using totality, then by symmetry, hence by transitivity. —Only if: Given choose then by reflexivity.
^Weisstein, Eric W."Equivalence Class".mathworld.wolfram.com. Retrieved2020-08-30.
^Rosen (2008), pp. 243–45. Less clear is §10.3 ofBas van Fraassen, 1989.Laws and Symmetry. Oxford Univ. Press.
^Bas van Fraassen, 1989.Laws and Symmetry. Oxford Univ. Press: 246.
^Wallace, D. A. R., 1998.Groups, Rings and Fields. Springer-Verlag: 22, Th. 6.
^Wallace, D. A. R., 1998.Groups, Rings and Fields. Springer-Verlag: 24, Th. 7.
^Proof.[12] Letfunction composition interpret group multiplication, and function inverse interpret group inverse. ThenG is a group under composition, meaning that and becauseG satisfies the following four conditions:
G is closed under composition. The composition of any two elements ofG exists, because thedomain andcodomain of any element ofG isA. Moreover, the composition of bijections isbijective;[13]
Compositionassociates.f(gh) = (fg)h. This holds for all functions over all domains.[14]
Letf andg be any two elements ofG. By virtue of the definition ofG, [g(f(x))] = [f(x)] and [f(x)] = [x], so that [g(f(x))] = [x]. HenceG is also a transformation group (and anautomorphism group) because function composition preserves the partitioning of
^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,ISBN0-521-80309-8
Castellani, E., 2003, "Symmetry and equivalence" inBrading, Katherine, and E. Castellani, eds.,Symmetries in Physics: Philosophical Reflections. Cambridge Univ. Press: 422–433.
Robert Dilworth and Crawley, Peter, 1973.Algebraic Theory of Lattices. Prentice Hall. Chpt. 12 discusses how equivalence relations arise inlattice theory.
Higgins, P.J., 1971.Categories and groupoids. Van Nostrand. Downloadable since 2005 as a TAC Reprint.
John Randolph Lucas, 1973.A Treatise on Time and Space. London: Methuen. Section 31.
Rosen, Joseph (2008)Symmetry Rules: How Science and Nature are Founded on Symmetry. Springer-Verlag. Mostly chapters. 9,10.
Raymond Wilder (1965)Introduction to the Foundations of Mathematics 2nd edition, Chapter 2-8: Axioms defining equivalence, pp 48–50,John Wiley & Sons.