Equivalence class

In mathematics, when the elements of some set S {\displaystyle S} S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S {\displaystyle S} S into equivalence classes. These equivalence classes are constructed so that elements a {\displaystyle a} a and b {\displaystyle b} b belong to the same equivalence class if, and only if, they are equivalent.

Formally, given a set S {\displaystyle S} S and an equivalence relation   ∼   {\displaystyle \,\sim \,} on S , {\displaystyle S,} S, the equivalence class of an element a {\displaystyle a} a in S , {\displaystyle S,} S, denoted by [ a ] , {\displaystyle [a],} [a], is the set
{ x ∈ S : x ∼ a } {\displaystyle \{x\in S:x\sim a\}} {xS:xa}
of elements which are equivalent to a . {\displaystyle a.} a. It may be proven, from the defining properties of equivalence relations, that the equivalence classes form a partition of S . {\displaystyle S.} S. This partition—the set of equivalence classes—is sometimes called the quotient set or the quotient space of S {\displaystyle S} S by   ∼   , {\displaystyle \,\sim \,,} , and is denoted by S / ∼ . {\displaystyle S/\sim .} S/.

When the set S {\displaystyle S} S has some structure (such as a group operation or a topology) and the equivalence relation   ∼   {\displaystyle \,\sim \,} 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.

在这里插入图片描述

Congruence is an example of an equivalence relation. The leftmost two triangles are congruent, while the third and fourth triangles are not congruent to any other triangle shown here. Thus, the first two triangles are in the same equivalence class, while the third and fourth triangles are each in their own equivalence class.

1 Examples

If {\displaystyle X}X is the set of all cars, and {\displaystyle ,\sim ,},\sim, is the equivalence relation “has the same color as”, then one particular equivalence class would consist of all green cars, and {\displaystyle X/\sim }{\displaystyle X/\sim } could be naturally identified with the set of all car colors.
Let {\displaystyle X}X be the set of all rectangles in a plane, and {\displaystyle ,\sim ,},\sim, the equivalence relation “has the same area as”, then for each positive real number {\displaystyle A,}A, there will be an equivalence class of all the rectangles that have area {\displaystyle A.}A.[3]
Consider the modulo 2 equivalence relation on the set of integers, {\displaystyle \mathbb {Z} ,}{\displaystyle \mathbb {Z} ,} such that {\displaystyle x\sim y}x\sim y if and only if their difference {\displaystyle x-y}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, {\displaystyle [7],[9],}{\displaystyle [7],[9],} and {\displaystyle [1]}[1] all represent the same element of {\displaystyle \mathbb {Z} /\sim .}{\displaystyle \mathbb {Z} /\sim .}[4]
Let {\displaystyle X}X be the set of ordered pairs of integers {\displaystyle (a,b)}(a,b) with non-zero {\displaystyle b,}b, and define an equivalence relation {\displaystyle ,\sim ,},\sim, on {\displaystyle X}X such that {\displaystyle (a,b)\sim (c,d)}{\displaystyle (a,b)\sim (c,d)} if and only if {\displaystyle ad=bc,}{\displaystyle ad=bc,} then the equivalence class of the pair {\displaystyle (a,b)}(a,b) can be identified with the rational number {\displaystyle a/b,}{\displaystyle a/b,} and this equivalence relation and its equivalence classes can be used to give a formal definition of the set of rational numbers.[5] The same construction can be generalized to the field of fractions of any integral domain.
If {\displaystyle X}X consists of all the lines in, say, the Euclidean plane, and {\displaystyle L\sim M}{\displaystyle L\sim M} means that {\displaystyle L}L and {\displaystyle M}M are parallel lines, then the set of lines that are parallel to each other form an equivalence class, as long as a line is considered parallel to itself. In this situation, each equivalence class determines a point at infinity.

2 Definition and notation

An equivalence relation on a set {\displaystyle X}X is a binary relation {\displaystyle ,\sim ,},\sim, on {\displaystyle X}X satisfying the three properties:[6][7]

{\displaystyle a\sim a}{\displaystyle a\sim a} for all {\displaystyle a\in X}a\in X (reflexivity),
{\displaystyle a\sim b}a\sim b implies {\displaystyle b\sim a}{\displaystyle b\sim a} for all {\displaystyle a,b\in X}{\displaystyle a,b\in X} (symmetry),
if {\displaystyle a\sim b}a\sim b and {\displaystyle b\sim c}{\displaystyle b\sim c} then {\displaystyle a\sim c}{\displaystyle a\sim c} for all {\displaystyle a,b,c\in X}a,b,c\in X (transitivity).
The equivalence class of an element {\displaystyle a}a is often denoted {\displaystyle [a]}[a] or {\displaystyle [a]{\sim },}{\displaystyle [a]{\sim },} and is defined as the set {\displaystyle {x\in X:a\sim x}}{\displaystyle {x\in X:a\sim x}} of elements that are related to {\displaystyle a}a by {\displaystyle ,\sim .}{\displaystyle ,\sim .}[2] 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 {\displaystyle X}X with respect to an equivalence relation {\displaystyle R}R is denoted as {\displaystyle X/R,}{\displaystyle X/R,} and is called {\displaystyle X}X modulo {\displaystyle R}R (or the quotient set of {\displaystyle X}X by {\displaystyle R}R).[8] The surjective map {\displaystyle x\mapsto [x]}{\displaystyle x\mapsto [x]} from {\displaystyle X}X onto {\displaystyle X/R,}{\displaystyle 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 {\displaystyle X/R}{\displaystyle X/R} to X. Since its composition with the canonical surjection is the identity of {\displaystyle X/R,}{\displaystyle 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 {\displaystyle a-b;}{\displaystyle a-b;} this is denoted {\textstyle a\equiv b{\pmod {m}}.}{\textstyle a\equiv b{\pmod {m}}.} Each class contains a unique non-negative integer smaller than {\displaystyle m,}m, and these integers are the canonical representatives.

The use of representatives for representing classes allows avoiding to consider 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 {\displaystyle a{\bmod {m}},}{\displaystyle a{\bmod {m}},} and produces the remainder of the Euclidean division of a by m.

3 Properties

Every element {\displaystyle x}x of {\displaystyle X}X is a member of the equivalence class {\displaystyle [x].}{\displaystyle [x].} Every two equivalence classes {\displaystyle [x]}[x] and {\displaystyle [y]}[y] are either equal or disjoint. Therefore, the set of all equivalence classes of {\displaystyle X}X forms a partition of {\displaystyle X}X: every element of {\displaystyle X}X belongs to one and only one equivalence class.[9] Conversely, every partition of {\displaystyle X}X comes from an equivalence relation in this way, according to which {\displaystyle x\sim y}x\sim y if and only if {\displaystyle x}x and {\displaystyle y}y belong to the same set of the partition.[10]

It follows from the properties of an equivalence relation that

{\displaystyle x\sim y}{\displaystyle x\sim y}
if and only if{\displaystyle [x]=[y].}{\displaystyle [x]=[y].}
In other words, if {\displaystyle ,\sim ,},\sim, is an equivalence relation on a set {\displaystyle X,}X, and {\displaystyle x}x and {\displaystyle y}y are two elements of {\displaystyle X,}X, then these statements are equivalent:

{\displaystyle x\sim y}x\sim y
{\displaystyle [x]=[y]}[x]=[y]
{\displaystyle [x]\cap [y]\neq \emptyset .}[x]\cap [y]\neq \emptyset .

4 Graphical representation

An undirected graph may be associated to any symmetric relation on a set {\displaystyle X,}X, where the vertices are the elements of {\displaystyle X,}X, and two vertices {\displaystyle s}s and {\displaystyle t}t are joined if and only if {\displaystyle s\sim t.}{\displaystyle s\sim t.} Among these graphs are the graphs of equivalence relations; they are characterized as the graphs such that the connected components are cliques.[4]

在这里插入图片描述

Graph of an example equivalence with 7 classes

5 Invariants

If {\displaystyle ,\sim ,},\sim, is an equivalence relation on {\displaystyle X,}X, and {\displaystyle P(x)}P(x) is a property of elements of {\displaystyle X}X such that whenever {\displaystyle x\sim y,}{\displaystyle x\sim y,} {\displaystyle P(x)}P(x) is true if {\displaystyle P(y)}P(y) is true, then the property {\displaystyle P}P is said to be an invariant of {\displaystyle ,\sim ,}{\displaystyle ,\sim ,} or well-defined under the relation {\displaystyle ,\sim .}{\displaystyle ,\sim .}

A frequent particular case occurs when {\displaystyle f}f is a function from {\displaystyle X}X to another set {\displaystyle Y}Y; if {\displaystyle f\left(x_{1}\right)=f\left(x_{2}\right)}{\displaystyle f\left(x_{1}\right)=f\left(x_{2}\right)} whenever {\displaystyle x_{1}\sim x_{2},}{\displaystyle x_{1}\sim x_{2},} then {\displaystyle f}f is said to be class invariant under {\displaystyle ,\sim ,}{\displaystyle ,\sim ,} or simply invariant under {\displaystyle ,\sim .}{\displaystyle ,\sim .} This occurs, for example, in the character theory of finite groups. Some authors use “compatible with {\displaystyle ,\sim ,},\sim,” or just “respects {\displaystyle ,\sim ,},\sim,” instead of “invariant under {\displaystyle ,\sim ,},\sim,”.

Any function {\displaystyle f:X\to Y}f:X\to Y is class invariant under {\displaystyle ,\sim ,}{\displaystyle ,\sim ,} according to which {\displaystyle x_{1}\sim x_{2}}x_1 \sim x_2 if and only if {\displaystyle f\left(x_{1}\right)=f\left(x_{2}\right).}{\displaystyle f\left(x_{1}\right)=f\left(x_{2}\right).} The equivalence class of {\displaystyle x}x is the set of all elements in {\displaystyle X}X which get mapped to {\displaystyle f(x),}f(x), that is, the class {\displaystyle [x]}[x] is the inverse image of {\displaystyle f(x).}f(x). This equivalence relation is known as the kernel of {\displaystyle f.}f.

More generally, a function may map equivalent arguments (under an equivalence relation {\displaystyle \sim _{X}}{\displaystyle \sim _{X}} on {\displaystyle X}X) to equivalent values (under an equivalence relation {\displaystyle \sim _{Y}}{\displaystyle \sim _{Y}} on {\displaystyle Y}Y). Such a function is a morphism of sets equipped with an equivalence relation.

6 Quotient space in topology

In topology, a quotient space is a topological space formed on the set of equivalence classes of an equivalence relation on a topological space, using the original space’s topology to create the topology on the set of equivalence classes.

In abstract algebra, congruence relations on the underlying set of an algebra allow the algebra to induce an algebra on the equivalence classes of the relation, called a quotient algebra. In linear algebra, a quotient space is a vector space formed by taking a quotient group, where the quotient homomorphism is a linear map. By extension, in abstract algebra, the term quotient space may be used for quotient modules, quotient rings, quotient groups, or any quotient algebra. However, the use of the term for the more general cases can as often be by analogy with the orbits of a group action.

The orbits of a group action on a set may be called the quotient space of the action on the set, particularly when the orbits of the group action are the right cosets of a subgroup of a group, which arise from the action of the subgroup on the group by left translations, or respectively the left cosets as orbits under right translation.

A normal subgroup of a topological group, acting on the group by translation action, is a quotient space in the senses of topology, abstract algebra, and group actions simultaneously.

Although the term can be used for any equivalence relation’s set of equivalence classes, possibly with further structure, the intent of using the term is generally to compare that type of equivalence relation on a set {\displaystyle X,}X, either to an equivalence relation that induces some structure on the set of equivalence classes from a structure of the same kind on {\displaystyle X,}X, or to the orbits of a group action. Both the sense of a structure preserved by an equivalence relation, and the study of invariants under group actions, lead to the definition of invariants of equivalence relations given above.

7 See also

Equivalence partitioning, a method for devising test sets in software testing based on dividing the possible program inputs into equivalence classes according to the behavior of the program on those inputs
Homogeneous space, the quotient space of Lie groups
Partial equivalence relation – Mathematical concept for comparing objects
Quotient by an equivalence relation
Transversal (combinatorics) – A line that intersects a system of lines.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值