1

I have answered this question to the best of my knowledge but somehow I feel as if I am missing something? Can I further prove this statement or add anything to it?

Question:

Let $m \in \mathbb N$. Prove that the congruence modulo $m$ relation on $\mathbb Z$ is transitive.

My attempt:

Let $a\equiv b \pmod{m}$ and $b\equiv c \pmod{m}$.

Then $a-b \equiv 0 \pmod{m}$ and $b-c\equiv 0 \pmod{m}$.

Adding, $a-c\equiv 0 \pmod{m}$, so $a\equiv c\pmod{m}$.

user136954
  • 313
  • 1
  • 6
  • 13

2 Answers2

4

In some sense, in your proof, you are assuming what you are trying to prove.

When showing a basic property like the transitivity of a congruence relation, it's important to keep in mind what you already "know".

For example: It seems obvious that $a \equiv b$ (mod $m$) implies that $b \equiv a$ (mod $m$). But at the very beginning, we shouldn't assume this (until it's proven).

To prove something like this you need to either use propositions/theorems you've already established or go back to the definition.

For a homework problem like this I imagine you don't really have any theorems about congruences to work with. This means you're stuck going back to the definition.

Question: How did you define congruences? There are many equivalent ways.

Let's say you defined $a \equiv b$ (mod $m$) to mean there is some integer $k$ such that $a=b+km$. If so we can use what we know about integer arithmetic to rewrite this as: $b=a-km$. Notice that $-k$ is also an integer (since $k$ is) so $b$ and $a$ differ by an integer and we've established that $b \equiv a$ (mod $m$).

Now back to your problem...

Assume $a \equiv b$ (mod $m$) and $b \equiv c$ (mod $m$). So, for example, there exists some $k$ such that $a=b+km$. We can say something about $b$ and $c$ as well. Then combine these two facts and get $a = c + ???m$, make sure ??? is an integer and we'll have established that $a \equiv c$ (mod $m$). Done! :)

Bill Cook
  • 29,244
0

I've often seen the congruence relation modulo $m$ defined as "$a\equiv b \pmod{m}$ means m|(a-b)". If that's the definition that you're working with, then the fact you need to use in this proof is: m|p and m|q imply m|(p+q).

Then, using $a-b$ for $p$, and $b-c$ for $q$, you have your result.

G Tony Jacobs
  • 31,218