Proposition. Interaction between congruence and multiplication [01A9]
- September 22, 2026
- Marcelo Fiore, Jon Sterling
Fix a positive integer m. For integers a and b, we have that a \equiv b\mod m if and only if for all positive integers n we have that n\cdot a \equiv n\cdot b \mod n\cdot m.
Exegesis.
- September 22, 2026
- Marcelo Fiore, Jon Sterling
First of all, it is instructive to understand how the informal mathematical language of the proposition’s statement maps onto the more formal notions of universal quantification and bi-implication that we are learning.
- “Fix a positive integer m…” is a universal quantification over the collection of positive integers, and might be written \forall m:\mathbb {Z}^+.
- “For all integers a and b…” This is a pair of universal quantifications over the integers, and might be written \forall a,b:\mathbb {Z}.
- “…we have a\equiv b\mod m if and only if for all positive integers n we have n\cdot a\equiv n\cdot b \mod n\cdot m” is a bi-implication between a simple statement and a universally quantified statement, and it can be written like so: (a\equiv b\mod m) \Longleftrightarrow \forall n:\mathbb {Z}^+\mathpunct {.} n\cdot a \equiv n\cdot b \mod n\cdot m
So, in whole, the entire proposition may be written symbolically as follows:
\forall m:\mathbb {Z}^+\mathpunct {.} \forall a,b:\mathbb {Z}\mathpunct {.} (a\equiv b\mod m) \Longleftrightarrow \forall n:\mathbb {Z}^+\mathpunct {.} n\cdot a \equiv n\cdot b \mod n\cdot mProof.
- September 22, 2026
- Marcelo Fiore, Jon Sterling
Let m be a positive integer, and let a and b be arbitrary integers. We prove the bi-implication in either direction below..
- In the forward direction, we assume a\equiv b\mod m and fix positive n to show that n\cdot a \equiv n\cdot b \mod n\cdot m\text {.} Unravelling the definition of congruence, this is to say that n\cdot m \mid (n\cdot a - n\cdot b) or equivalently n\cdot m \mid n\cdot (a - b)\text {.} By our assumption a\equiv b \mod m we have some integer k such that m\cdot k = a - b, and so our goal may be rewritten as n\cdot m \mid n \cdot m \cdot k, which is immediate.
- In the backward direction, we assume that for all positive n we have n\cdot a \equiv n\cdot b \mod n\cdot m, and we must show that a\equiv b\mod m. We instantiate our assumption by choosing n to be 1, from which we may deduce 1\cdot a \equiv 1\cdot b \mod 1\cdot n, which is equivalent to our goal by the unit law of multiplication.