Definition:Congruence (Number Theory)
Contents |
General Definition
Let $z \in \R$.
Definition by Equivalence Relation
We define a relation $\mathcal R_z$ on the set of all $x, y \in \R$:
- $\mathcal R_z = \left\{{\left({x, y}\right) \in \R \times \R: \exists k \in \Z: x = y + k z}\right\}$
This relation is called congruence modulo $z$, and the real number $z$ is called the modulus.
If $\left({x, y}\right) \in \mathcal R_z$, we write:
- $x \equiv y \pmod z$
and say:
- $x$ is congruent to $y$ modulo $z$.
Similarly, if $\left({x, y}\right) \notin \mathcal R_z$, we write:
- $x \not \equiv y \pmod z$
and say:
- $x$ is not congruent (or incongruent) to $y$ modulo $z$.
We have that congruence modulo $z$ is an equivalence relation.
Definition by Modulo Operation
Let $z \in \R$ be defined as the modulo operation.
Then:
- $x \equiv y \pmod z \iff x \bmod z = y \bmod z$
Definition by Integral Multiple
Equivalently, $x$ is congruent to $y$ modulo $z$ iff their difference is an integral multiple of $z$:
- $x \equiv y \pmod z \iff \exists k \in \Z: x - y = k z$
Definition for Zero
Note that when $z = 0$ the definition is still meaningful:
- $x \equiv y \pmod 0 \iff x \bmod 0 = y \bmod 0 \iff x = y$
and:
- $x \equiv y \pmod 0 \iff \exists k \in \Z: x - y = 0 \cdot k = 0 \iff x = y$
Definition for Integers
The concept of congruence is usually considered in the integer domain.
Let $m \in \Z, m > 0$.
Then we define congruence modulo $m$ as the relation $\mathcal R_m$ on the set of all $a, b \in \Z$:
- $\mathcal R_m = \left\{{\left({a, b}\right) \in \Z \times \Z: \exists k \in \Z: a = b + km}\right\}$
The other definitions also apply under the same restriction.
Thus we see that $a$ is congruent to $b$ modulo $m$ if their difference is a multiple of $m$:
- $a \equiv b \pmod m \iff m \backslash \left({a - b}\right)$
This gives us an alternative method of defining congruence modulo an integer.
Equivalence of Definitions
The definitions as given here are equivalent.
Residue
A residue of $a$ modulo $z$ is another word meaning remainder, and means any number congruent to $a$ modulo $z$.
Historical Note
The concept of congruence modulo an integer was first explored by Carl Friedrich Gauss.
Linguistic Note
The word modulo comes from the Latin for with modulus, that is, with measure.
Sources
- Iain T. Adamson: Introduction to Field Theory (1964)... (previous)... (next): $\S 1.1$: Example $4$
- J.A. Green: Sets and Groups (1965)... (previous)... (next): $\S 2.5$
- Seth Warner: Modern Algebra (1965)... (previous)... (next): $\S 24$
- Donald E. Knuth: The Art of Computer Programming: Volume 1: Fundamental Algorithms (1968): $\S 1.2.4$
- Donald E. Knuth: The Art of Computer Programming: Volume 1: Fundamental Algorithms (1968): $\S 1.2.4$: Exercise $11$ (for definition of modulo $0$)
- C.R.J. Clapham: Introduction to Abstract Algebra (1969)... (previous)... (next): $\S 1.6$
- George E. Andrews: Number Theory (1971): $\S 4.1$: Definition $4.1$
- Allan Clark: Elements of Abstract Algebra (1971)... (previous)... (next): $\S 18$
- T.S. Blyth: Set Theory and Abstract Algebra (1975): $\S 6$: Example $6.5$
- Gary Chartrand: Introductory Graph Theory (1977): Appendix $\text{A}.3$
- Thomas A. Whitelaw: An Introduction to Abstract Algebra (1978)... (previous)... (next): $\S 14$
- John F. Humphreys: A Course in Group Theory (1996): $\S 2$: Example $2.23$