0

Many literature gives the definition of congruence modulo n for n > 1.

Is there a serious reason to avoid n = 1? Otherwise, do we get rid of the case just because the congruence modulo 1 is too trivial?

EDIT: My apologies, "Many literature" would be wrong. I've investigated several textbooks and found none of those restricts modulus as n > 1. Only Wikipedia and articles that may refer to Wikipedia give the restriction.

In Gauss's Disquisitiones Arithmeticae, the origin of the congruence relation, modulus are numbers with no restriction. A few textbooks remark modulo 1 is trivial, and so we usually assume n > 1 in practice, but it is just an assumption and not a definition.

Yuki
  • 21

2 Answers2

1

Let $m, n \in \mathbb{Z}$. The remainder of $m/1$ is 0, and the remainder of $n/1$ is also 0. Since $0=0$, then $m ≡ n \pmod 1$ . It's a perfectly cromulent operation, just not used much because it's trivial.

Though, as lhf pointed out in their comment, $\bmod 1$ is more interesting on $\mathbb{R}$ than on $\mathbb{Z}$.

Arturo Magidin
  • 398,050
Dan
  • 14,978
1

Not only is there no serious reason to avoid modulus $\,n = 1\,$ but it may prove cumbersome to do so. In many modular arguments it is natural to work modulo an unknown modulus $\,n,\,$ including the possibility $\,n = 1$.

For example, a nice technique to prove that $\,d = \gcd(a,b)= 1\,$ is to use equational reasoning $\!\bmod d\,$ to prove $\,a\equiv 0\equiv b\,\Rightarrow\, 1\equiv 0\Rightarrow |d| = 1.\,$ This allows us to replace less intuitive manipulation of divisibility statements by more intuitive manipulation of equations (congruences) - allowing us to employ equational logic familiar since grade school. For a simple example see this answer posted a few days ago, which essentially exploits uniqueness of inverses (to prove $r\equiv -b),\,$ an argument that would be a bit harder to discover while thinking in divisibilty language. Compare also the conciseness of that two-line proof to the other answers using alternative arguments (one of many examples one could give illustrating the "cumbersome" claim above).

Bill Dubuque
  • 272,048
  • Please use due diligence in searching for dupes, before answering. – amWhy Jun 08 '22 at 18:23
  • 1
    @amWhy The proposed dupe is incorrect. This question is about modulus $n = 1$ not $n = 0.,$ If you are aware of a correct dupe then post it. – Bill Dubuque Jun 08 '22 at 18:29