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 a∈Aa \in A,

a∼aa \sim a

2. Symmetric

For all a,b∈Aa, b \in A,

a∼b⇒b∼aa \sim b \Rightarrow b \sim a

3. Transitive

For all a,b,c∈Aa, b, c \in A,

a∼b and b∼c⇒a∼ca \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 n∈Z,n>0n \in \mathbb{Z}, n > 0.
For integers aa and bb, we say:

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

if and only if:

n∣(a−b)n \mid (a - b)

That is, a−ba - 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:

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

Proof

a−a=0a - a = 0

Since n∣0n \mid 0 for all nn,

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

✅ Reflexive


2. Symmetric Property

Assume:

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

Then:

n∣(a−b)n \mid (a - b)

This implies:

n∣−(a−b)=(b−a)n \mid -(a - b) = (b - a)

Hence:

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

✅ Symmetric


3. Transitive Property

Assume:

a≡b(modn)andb≡c(modn)a \equiv b \pmod{n} \quad \text{and} \quad b \equiv c \pmod{n}

Then:

n∣(a−b)andn∣(b−c)n \mid (a - b) \quad \text{and} \quad n \mid (b - c)

Adding:

(a−b)+(b−c)=a−c(a - b) + (b - c) = a - c

So:

n∣(a−c)n \mid (a - c)

Hence:

a≡c(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:

7≡12≡17≡22(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]={x∈Z∣x≡a(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

Post a Comment

Popular posts from this blog

Advanced Mathematics for Computer Science HNCST409 KTU BTech Honors 2024 Scheme

Convex and Non Convex Sets