Equivalence Relation

 

What Is an Equivalence Relation?

Let AA be a set.
A relation
\sim
on AA is called an equivalence relation if it satisfies three properties:

1. Reflexive

For every aAa \in A,

aaa \sim a

2. Symmetric

For all a,bAa, b \in A,

abbaa \sim b \Rightarrow b \sim a

3. Transitive

For all a,b,cAa, b, c \in A,

ab and bcaca \sim b \text{ and } b \sim c \Rightarrow a \sim c

Why Equivalence Relations Are Important

Equivalence relations allow us to:

  • Group elements into equivalence classes

  • Treat different objects as “essentially the same”

  • Build structures like modular arithmetic, finite fields, and quotient sets


Congruence Modulo nn

Let nZ,n>0n \in \mathbb{Z}, n > 0.
For integers aa and bb, we say:

ab(modn)a \equiv b \pmod{n}

if and only if:

n(ab)n \mid (a - b)

That is, aba - b is divisible by nn.


Claim

Congruence modulo nn is an equivalence relation on Z\mathbb{Z}.

We prove this by verifying the three properties.


1. Reflexive Property

We must show:

aa(modn)a \equiv a \pmod{n}

Proof

aa=0a - a = 0

Since n0n \mid 0 for all nn,

aa(modn)a \equiv a \pmod{n}

✅ Reflexive


2. Symmetric Property

Assume:

ab(modn)a \equiv b \pmod{n}

Then:

n(ab)n \mid (a - b)

This implies:

n(ab)=(ba)n \mid -(a - b) = (b - a)

Hence:

ba(modn)b \equiv a \pmod{n}

✅ Symmetric


3. Transitive Property

Assume:

ab(modn)andbc(modn)a \equiv b \pmod{n} \quad \text{and} \quad b \equiv c \pmod{n}

Then:

n(ab)andn(bc)n \mid (a - b) \quad \text{and} \quad n \mid (b - c)

Adding:

(ab)+(bc)=ac(a - b) + (b - c) = a - c

So:

n(ac)n \mid (a - c)

Hence:

ac(modn)a \equiv c \pmod{n}

✅ Transitive


Conclusion

Since congruence modulo nn is reflexive, symmetric, and transitive, it is an equivalence relation on Z\mathbb{Z}.


Example: Congruence Modulo 5

Consider integers:

7,12,17,227, 12, 17, 22

Each satisfies:

7121722(mod5)7 \equiv 12 \equiv 17 \equiv 22 \pmod{5}

because all differ by multiples of 5.


Equivalence Classes Modulo 5

The equivalence class of an integer aa is:

[a]={xZxa(mod5)}[a] = \{ x \in \mathbb{Z} \mid x \equiv a \pmod{5} \}

Example

[2]={,8,3,2,7,12,17,}[2] = \{ \dots, -8, -3, 2, 7, 12, 17, \dots \}

There are exactly 5 equivalence classes modulo 5:

[0],[1],[2],[3],[4][0], [1], [2], [3], [4]

Why This Matters in Number Theory

Congruence equivalence classes form:

  • The ring Zn\mathbb{Z}_n

  • The foundation of modular arithmetic

  • The basis for finite fields (when nn is prime)

Comments

Popular posts from this blog

Advanced Mathematics for Computer Science HNCST409 KTU BTech Honors 2024 Scheme

Galois Field and Operations