Equivalence class
https://en.wikipedia.org/wiki/Equivalence_classes
When elements of a set S
have a notion of equivalence defined on them (and formalized as an equivalence relation), then the set S
may be naturally split into equivalence classes.
For a,b ∈ S
, if a ~ b
(a is equivalent to b) then a
and b
belong to the same equivalence class.
Formally, given a set S
and an equivalence relation ~
on S
, the equivalence class of an element a
in S
, denoted by [a]
is the set { x ∈ S | x ~ a }
of elements which are equivalent to a
.
It may be proven, from the defining properties of equivalence relations, that the equivalence classes form a partition of S
. This partition (the set of equivalence classes) is called the quotient set of S
by ~
and denoted by S\~
.
When a set has some structure (e.g. group operation) and the equivalence relation is compatible with this structure, the quotient set often inherits a similar structure from its parent set.
Examples
If is the set of all cars, and is the equivalence relation has-the-same-color-as, then one particular equivalence class consists of all green cars. could be naturally identified with the set of all car colors.
Let be the set of all rectangles in a plane, and the equivalence relation has the same area as. For each positive real number there will be an equivalence class of all the rectangles that have area .
Consider the modulo 2 equivalence relation on the set of integers: iff their difference is an even number. This relation gives rise to exactly 2 equivalence classes: one class consisting of all even numbers, and the other consisting of all odd numbers. Under this relation , , and all represent the same element of .
Let X be the set of ordered pairs of integers (a,b) with b not zero, and define an equivalence relation ~ on X according to which (a,b) ~ (c,d) if and only if ad = bc. Then the equivalence class of the pair (a,b) can be identified with the rational number a/b, and this equivalence relation and its equivalence classes can be used to give a formal definition of the set of rational numbers.[3] The same construction can be generalized to the field of fractions of any integral domain.
If X consists of all the lines in, say the Euclidean plane, and L ~ M means that L and 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.
Formal definition
An equivalence relation on a set is a binary relation on satisfying these 3 properties. :
reflexivity:
symmetry:
transitivity,
The equivalence class of an element is denoted or , and is defined as the set of elements that are related to by .
The word "class" in the term "equivalence class" does not refer to a class of set theory, however equivalence classes do often turn out to be proper classes.
Last updated
Was this helpful?