In abstract algebra, a congruence relation (or simply congruence) is an equivalence relation on an algebraic structure (such as a group, ring, or vector space) that is compatible with the structure in the sense that algebraic operations done with equivalent elements will yield equivalent elements. Every congruence relation has a corresponding quotient structure, whose elements are the equivalence classes (or congruence classes) for the relation.
The definition of a congruence depends on the type of algebraic structure under consideration. Particular definitions of congruence can be made for groups, rings, vector spaces, modules, semigroups, lattices, and so forth. The common theme is that a congruence is an equivalence relation on an algebraic object that is compatible with the algebraic structure, in the sense that the operations are well-defined on the equivalence classes.
R
for each
n
n
\mu
a1l{R}a'1
anl{R}a'n
\mu(a1,\ldots,an)l{R}\mu(a'1,\ldots,a'n)
A congruence relation on the structure is then defined as an equivalence relation that is also compatible.
n
n
a
b
n
a\equivb\pmod{n}
a-b
n
a
b
n
For example,
37
57
10
37\equiv57\pmod{10}
37-57=-20
37
57
7
10
Congruence modulo
n
n
if
a1\equiva2\pmod{n}
b1\equivb2\pmod{n}
a1+b1\equiva2+b2\pmod{n}
a1b1\equiva2b2\pmod{n}
The corresponding addition and multiplication of equivalence classes is known as modular arithmetic. From the point of view of abstract algebra, congruence modulo
n
n
For example, a group is an algebraic object consisting of a set together with a single binary operation, satisfying certain axioms. If
G
\ast
G
\equiv
G
g1\equivg2
h1\equivh2\impliesg1\asth1\equivg2\asth2
g1,g2,h1,h2\inG
When an algebraic structure includes more than one operation, congruence relations are required to be compatible with each operation. For example, a ring possesses both addition and multiplication, and a congruence relation on a ring must satisfy
r1+s1\equivr2+s2
r1s1\equivr2s2
r1\equivr2
s1\equivs2
If
f:A → B
R
a1Ra2
f(a1)=f(a2)
A
f
On the other hand, the congruence relation
R
f:A → A/R
f(x)=\{y\midxRy\}
Thus, there is a natural correspondence between the congruences and the homomorphisms of any given algebraic structure.
In the particular case of groups, congruence relations can be described in elementary terms as follows:If G is a group (with identity element e and operation *) and ~ is a binary relation on G, then ~ is a congruence whenever:
Conditions 1, 2, and 3 say that ~ is an equivalence relation.
A congruence ~ is determined entirely by the set of those elements of G that are congruent to the identity element, and this set is a normal subgroup.Specifically, if and only if .So instead of talking about congruences on groups, people usually speak in terms of normal subgroups of them; in fact, every congruence corresponds uniquely to some normal subgroup of G.
A similar trick allows one to speak of kernels in ring theory as ideals instead of congruence relations, and in module theory as submodules instead of congruence relations.
A more general situation where this trick is possible is with Omega-groups (in the general sense allowing operators with multiple arity). But this cannot be done with, for example, monoids, so the study of congruence relations plays a more central role in monoid theory.
The general notion of a congruence is particularly useful in universal algebra. An equivalent formulation in this context is the following:
A congruence relation on an algebra A is a subset of the direct product that is both an equivalence relation on A and a subalgebra of .
The kernel of a homomorphism is always a congruence. Indeed, every congruence arises as a kernel.For a given congruence ~ on A, the set of equivalence classes can be given the structure of an algebra in a natural fashion, the quotient algebra.The function that maps every element of A to its equivalence class is a homomorphism, and the kernel of this homomorphism is ~.
The lattice Con(A) of all congruence relations on an algebra A is algebraic.
John M. Howie described how semigroup theory illustrates congruence relations in universal algebra:
In a group a congruence is determined if we know a single congruence class, in particular if we know the normal subgroup which is the class containing the identity. Similarly, in a ring a congruence is determined if we know the ideal which is the congruence class containing the zero. In semigroups there is no such fortunate occurrence, and we are therefore faced with the necessity of studying congruences as such. More than anything else, it is this necessity that gives semigroup theory its characteristic flavour. Semigroups are in fact the first and simplest type of algebra to which the methods of universal algebra must be applied ...