MethodMath
Ask
Join
HomeTopicsAskAlerts
Profile

© 2026 MethodMath. Built for mathematical knowledge sharing.

AboutContactGuidelinesPrivacyTermsCookies
William Tate
May 14, 2026

Equivalence relations and classes explained step by step

I am studying discrete mathematics and I need to understand equivalence relations. A relation ∼\sim∼ on a set SSS is an equivalence relation if it is:

  1. Reflexive: a∼aa \sim aa∼a for all a∈Sa \in Sa∈S
  2. Symmetric: a∼b  ⟹  b∼aa \sim b \implies b \sim aa∼b⟹b∼a
  3. Transitive: a∼ba \sim ba∼b and b∼c  ⟹  a∼cb \sim c \implies a \sim cb∼c⟹a∼c

My questions:

  1. How do I prove that the relation a∼ba \sim ba∼b iff a−ba - ba−b is even on Z\mathbb{Z}Z is an equivalence relation?
  2. What are equivalence classes and how do I find them?
  3. How does an equivalence relation partition the set?
  4. What is the connection between equivalence relations and functions?
  5. How do equivalence relations relate to the concept of quotients (like Zn\mathbb{Z}_nZn​)?

I want to see the complete proof and the resulting partition.

1 answers250 views

1 Answer

4
Amara Okafor
May 15, 2026
Accepted
**Proof that $a \sim b \iff a - b$ is even is an equivalence relation on $\mathbb{Z}$:** **Reflexive:** $a - a = 0$, which is even, so $a \sim a$ ✓ **Symmetric:** If $a \sim b$, then $a - b = 2k$ for some $k \in \mathbb{Z}$. Then $b - a = -2k = 2(-k)$, which is even, so $b \sim a$ ✓ **Transitive:** If $a \sim b$ and $b \sim c$, then $a - b = 2k$ and $b - c = 2\ell$. Then $a - c = (a - b) + (b - c) = 2k + 2\ell = 2(k + \ell)$, which is even, so $a \sim c$ ✓ **Equivalence Classes:** The equivalence class of $a$ is $[a] = \{b \in S : a \sim b\}$. For this relation: $[a] = \{a + 2k : k \in \mathbb{Z}\}$ — all numbers with the same parity as $a$. There are exactly two equivalence classes: - $[0] = \{\ldots, -4, -2, 0, 2, 4, \ldots\}$ (even numbers) - $[1] = \{\ldots, -3, -1, 1, 3, 5, \ldots\}$ (odd numbers) **Partition:** These two classes are disjoint and their union is $\mathbb{Z}$. This is always true: equivalence relations partition the set, and every partition defines an equivalence relation. **Connection to $\mathbb{Z}_n$:** The relation $a \equiv b \pmod{n}$ (i.e., $a - b$ is divisible by $n$) is an equivalence relation on $\mathbb{Z}$ with $n$ equivalence classes: $[0], [1], \ldots, [n-1]$. These are exactly the elements of $\mathbb{Z}_n$, showing that quotient sets arise naturally from equivalence relations. **Equivalence Relations and Functions:** Every function $f: X \to Y$ defines an equivalence relation on $X$: $x_1 \sim x_2 \iff f(x_1) = f(x_2)$. The equivalence classes are the fibers (level sets) of $f$. This is the fundamental connection between functions and equivalence relations.
Still unsure? Join to comment or ask a follow-up.
Login or Register to post your answer

Suggested questions

Can someone explain Hilbert's hotel paradox simply?

24k

How many ways to arrange n distinct objects in a circle? (Circular permutations)

2883

Why is the Collatz conjecture still hard to prove?

14.3k

Why does 0 factorial equal 1 instead of 0? Simple proof

31.4k

Does the Banach-Steinhaus theorem hold for non-complete normed spaces?

31.1k