In mathematics, when the elements of some set formula_1 have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set formula_1 into equivalence classes. These equivalence classes are constructed so that elements formula_3 and formula_4 belong to the same equivalence class if, and only if, they are equivalent. Formally, given a set formula_1 and an equivalence relation formula_6 on formula_7 the of an element formula_3 in formula_1 is denoted formula_10 or, equivalently, formula_11 to emphasize its equivalence relation formula_6, and is defined as the set of all elements in formula_1 with which formula_3 is formula_6-related. The definition of equivalence relations implies that the equivalence classes form a partition of formula_16 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 formula_1 by formula_18 and is denoted by formula_19 When the set formula_1 has some structure (such as a group operation or a topology) and the equivalence relation formula_18 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 formula_22 is a binary relation formula_6 on formula_22 satisfying the three properties: The equivalence class of an element formula_3 is defined as formula_35 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 formula_22 with respect to an equivalence relation formula_37 is denoted as formula_38 and is called formula_22 modulo formula_37 (or the ' of formula_22 by formula_37). The surjective map formula_43 from formula_22 onto formula_38 which maps each element to its equivalence class, is called the ', 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 formula_46 to . Since its composition with the canonical surjection is the identity of formula_38 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 . For example, in modular arithmetic, for every integer greater than , the congruence modulo is an equivalence relation on the integers, for which two integers and are equivalent—in this case, one says "congruent"—if divides formula_48 this is denoted formula_49 Each class contains a unique non-negative integer smaller than formula_50 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 formula_51 and produces the remainder of the Euclidean division of by . Properties. For a set formula_22 with an equivalence relation formula_6, every element formula_54 of formula_22 is a member of the equivalence class formula_56 by reflexivity (formula_25 for all formula_26). Every two equivalence classes formula_56 and formula_60 are either equal if formula_61, or disjoint otherwise. Therefore, the set of all equivalence classes of formula_22 forms a partition of formula_22: every element formula_54 of formula_22 belongs to one and only one equivalence class. Conversely, for a set formula_22, every partition comes from an equivalence relation in this way, and different relations give different partitions. Thus formula_61 if and only if formula_54 and formula_69 belong to the same set of the partition. It follows from the properties in the previous section that if formula_70 is an equivalence relation on a set formula_71 and formula_54 and formula_69 are two elements of formula_71 the following statements are equivalent: Graphical representation. An undirected graph may be associated to any symmetric relation on a set formula_71 where the vertices are the elements of formula_71 and two vertices formula_103 and formula_104 are joined if and only if formula_105 Among these graphs are the graphs of equivalence relations. These graphs, called cluster graphs, are characterized as the graphs such that the connected components are cliques. Invariants. If formula_70 is an equivalence relation on formula_71 and formula_108 is a property of elements of formula_22 such that whenever formula_110 formula_108 is true if formula_112 is true, then the property formula_113 is said to be an invariant of formula_114 or well-defined under the relation formula_115 A frequent particular case occurs when formula_116 is a function from formula_22 to another set formula_118; if formula_119 whenever formula_120 then formula_116 is said to be formula_114 or simply formula_115 This occurs, for example, in the character theory of finite groups. Some authors use "compatible with formula_70" or just "respects formula_70" instead of "invariant under formula_70". Any function formula_127 is "class invariant under" formula_114 according to which formula_129 if and only if formula_130 The equivalence class of formula_54 is the set of all elements in formula_22 which get mapped to formula_133 that is, the class formula_56 is the inverse image of formula_135 This equivalence relation is known as the kernel of formula_136 More generally, a function may map equivalent arguments (under an equivalence relation formula_137 on formula_22) to equivalent values (under an equivalence relation formula_139 on formula_118). Such a function is a morphism of sets equipped with an equivalence relation. 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 formula_71 either to an equivalence relation that induces some structure on the set of equivalence classes from a structure of the same kind on formula_71 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.