# Do inequations exist with congruences?

Gauss introduced the $\equiv$ symbol because congruences modulo $n$ were very similar to equality.

But, by curiosity I would like to know if it was possible to write inequations such as:

$$3x + 2y \leq 5 $$.

• It doesn't make sense to have such inequalities. Equality modulo is not an equality in the usual sense. $a \equiv b \pmod n$ only means that $a - b$ is divisible by $n$. What would an inequality mean? $a-b$ is less than something that is divisible by $n$? It certainly is. Moreover, if you want to deal with congruences as if they are equations in the usual sense, then any number is less than any number and any number is greater than any number, etc. Modulo $5$, $10$ is "greater" than $100$ in the sense that $10 = 1000$, and $100$ is "greater" than $10$ in the usual sense. – user230734 Apr 24 '15 at 11:34
• @BolzWeir: This is an answer. – Eric Stucky Apr 24 '15 at 11:55
• @EricStucky: At first, I thought: "let me give a short statement and a simple example on why this doesn't make sense". Then I got carried on. Anyway, I posted it as an answer. – user230734 Apr 24 '15 at 12:01

It doesn't make sense to have such inequalities. Equality modulo is not an equality in the usual sense.

$a \equiv b \pmod n$ only means that $a - b$ is divisible by $n$. What would an inequality mean? $a-b$ is less than something that is divisible by $n$? It certainly is.

If you want to deal with congruences as if they are equations in the usual sense, then any number is less than any number and any number is greater than any number, etc. Modulo $5$, $10$ is "greater" than $100$ in the sense that $10 = 1000$, and $100$ is "greater" than $10$ in the usual sense.

When we write "$x \leq y$" with $x$ and $y$ numbers, the "expected" properties include:

• Totality: For all $x$ and $y$, at least one of "$x \leq y$" and $y \leq x$" holds;

• Antisymmetry: If $x \leq y$ and $y \leq x$, then $x = y$;

• Transitivity: If $x \leq y$ and $y \leq z$, then $x \leq z$.

• Translation invariance: If $x \leq y$, then $x + a \leq y + a$ for all $a$".

Let $n > 1$ be an integer. It's easy to see not all of these properties can be satisfied in the set $\mathbf{Z}/n\mathbf{Z}$ of residue classes modulo $n$. Take $x = $ and $y = $. Which inequality should hold, "$ \leq $" or "$ \leq $"? No matter which you try, you run into trouble because $$\underbrace{ + \dots + }_{\text{(n-1) times}} = [n-1] = [-1]. \tag{1}$$ If $ \leq $, then by (1) and transitivity, $ \leq [-1]$. Adding $$ to both sides gives $ \leq $. This violates antisymmetry because $ \neq $.

Similarly, if $ \leq $, then by (1) and transitivity, $[-1] \leq $. Adding $$ to both sides gives $ \leq $, again violating antisymmetry.

• How can you say that by transitivity ≤[−1] – lopata Apr 24 '15 at 12:58
• @TheoZ: Briefly, "a sum of positive numbers is positive", and $[-1]$ is a sum of $$'s. In more detail, adding "$ \leq $" to itself $(n - 1)$ times gives $$ \leq  \leq  +  =  \leq \dots \leq  + \dots +  = [n - 1] = [-1],$$so $ \leq [-1]$ by transitivity. – Andrew D. Hwang Apr 24 '15 at 13:31
• @TheoZ i.e. ordered $\Rightarrow$ torsion-free. Follow the link for a similar question. – Bill Dubuque Apr 24 '15 at 14:56