Lably
Skip to content

Equivalence class

Mathematical concept

  • 8 min read
  • 6 chapters

Learn it on Lably

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:

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.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Foundations