MathIsimple
LA-1.3
Available

Equivalence Relations

Equivalence relations partition sets into disjoint classes of "equivalent" elements. This fundamental concept underlies quotient spaces in linear algebra, modular arithmetic, and the construction of new algebraic structures from old ones.

3-4 hours Foundation Level 10 Objectives
Learning Objectives
  • Define relations on sets and identify their properties
  • Verify if a relation is reflexive, symmetric, and transitive
  • Construct equivalence classes from an equivalence relation
  • Understand the bijection between equivalence relations and partitions
  • Apply quotient structures in algebraic contexts
  • Connect equivalence relations to quotient vector spaces
  • Prove theorems about equivalence classes
  • Work with the canonical projection map
  • Verify well-definedness of operations on quotient sets
  • Count partitions and equivalence relations on finite sets
Prerequisites
  • Basic set theory (sets, subsets, operations)
  • Understanding of functions and their properties
  • Field axioms from LA-1.1 (Algebraic Structures)
  • Proof techniques (direct proof, contrapositive)
  • Modular arithmetic basics
Historical Context

The concept of equivalence relations emerged in the late 19th century as mathematicians sought to formalize the notion of "sameness up to some property."

Gauss (1801) introduced modular arithmetic in Disquisitiones Arithmeticae, using congruence to classify integers—an early example of equivalence relations.

Dedekind and Cantor developed set theory in the 1870s-1880s, providing the language for relations and partitions.

Emmy Noether (1920s) championed the abstract approach, using quotient structures systematically in algebra. Today, equivalence relations are foundational in every area of mathematics.

1. Relations

A relation is a way of associating elements of a set with each other. We start with the general concept before specializing to equivalence relations.

Definition 1.1: Relation

A relation on a set SS is a subset RS×SR \subseteq S \times S.

If (a,b)R(a, b) \in R, we write aba \sim b or aRbaRb and say "aa is related to bb."

Example 1.1: Examples of Relations
  • Less than on ℤ: R={(a,b):a<b}R = \{(a, b) : a < b\}
  • Divisibility on ℤ: R={(a,b):ab}R = \{(a, b) : a \mid b\}
  • Congruence mod n: R={(a,b):n(ab)}R = \{(a, b) : n \mid (a - b)\}
  • Equality: R={(a,a):aS}R = \{(a, a) : a \in S\} (the diagonal)
Definition 1.2: Properties of Relations

A relation \sim on SS is:

  • Reflexive: aaa \sim a for all aSa \in S
  • Symmetric: abbaa \sim b \Rightarrow b \sim a for all a,bSa, b \in S
  • Transitive: aba \sim b and bcacb \sim c \Rightarrow a \sim c for all a,b,cSa, b, c \in S
Example 1.2: Checking Properties

Consider the relation "≤" on R\mathbb{R}:

  • Reflexive? Yes: aaa \leq a for all aa
  • Symmetric? No: 121 \leq 2 but 2≰12 \not\leq 1
  • Transitive? Yes: aba \leq b and bcb \leq c implies aca \leq c

Since ≤ is not symmetric, it's not an equivalence relation.

Remark 1.1: Other Types of Relations

Relations with different property combinations have special names:

  • Partial order: reflexive + antisymmetric + transitive (e.g., ≤)
  • Strict order: irreflexive + asymmetric + transitive (e.g., <)
  • Preorder: reflexive + transitive (no symmetry or antisymmetry)
Definition 1.3: Antisymmetry

A relation \sim is antisymmetric if:

ab and baa=ba \sim b \text{ and } b \sim a \Rightarrow a = b

Note: antisymmetry is NOT the same as "not symmetric."

Example 1.3: Divisibility

On Z+\mathbb{Z}^+, the divisibility relation aba \mid b is:

  • Reflexive: aaa \mid a (every number divides itself)
  • Antisymmetric: if aba \mid b and bab \mid a, then a=ba = b
  • Transitive: if aba \mid b and bcb \mid c, then aca \mid c
  • Not symmetric: 242 \mid 4 but 424 \nmid 2

So divisibility is a partial order, not an equivalence relation.

2. Equivalence Relations

Definition 1.3: Equivalence Relation

An equivalence relation on a set SS is a relation that is reflexive, symmetric, and transitive.

Example 1.3: Congruence Modulo n

On Z\mathbb{Z}, define ab(modn)a \equiv b \pmod{n} iff n(ab)n \mid (a - b).

  • Reflexive: n(aa)=0n \mid (a - a) = 0
  • Symmetric: If n(ab)n \mid (a - b), then n(ba)n \mid (b - a)
  • Transitive: If n(ab)n \mid (a - b) and n(bc)n \mid (b - c), then n(ac)n \mid (a - c)

This is the equivalence relation behind modular arithmetic.

Definition 1.4: Equivalence Class

Given an equivalence relation \sim on SS, the equivalence class of aSa \in S is:

[a]={bS:ab}[a] = \{b \in S : a \sim b\}

Any element of [a][a] is called a representative of the class.

Example 1.4: Equivalence Classes for Mod 3

In Z\mathbb{Z} with congruence mod 3:

  • [0]={...,6,3,0,3,6,9,...}[0] = \{..., -6, -3, 0, 3, 6, 9, ...\}
  • [1]={...,5,2,1,4,7,10,...}[1] = \{..., -5, -2, 1, 4, 7, 10, ...\}
  • [2]={...,4,1,2,5,8,11,...}[2] = \{..., -4, -1, 2, 5, 8, 11, ...\}

Note that [0]=[3]=[6][0] = [3] = [6], [1]=[4]=[7][1] = [4] = [7], etc.

Example 2.1: Same Absolute Value

On R\mathbb{R}, define aba \sim b iff a=b|a| = |b|.

  • Reflexive: a=a|a| = |a|
  • Symmetric: a=bb=a|a| = |b| \Rightarrow |b| = |a|
  • Transitive: a=b|a| = |b| and b=ca=c|b| = |c| \Rightarrow |a| = |c|

Equivalence classes: [r]={r,r}[r] = \{r, -r\} for r>0r > 0, and [0]={0}[0] = \{0\}.

Example 2.2: Same Remainder

On Z+\mathbb{Z}^+, define aba \sim b iff aa and bb leave the same remainder when divided by 5.

This is an equivalence relation with 5 classes:

  • [0]={5,10,15,20,...}[0] = \{5, 10, 15, 20, ...\}
  • [1]={1,6,11,16,...}[1] = \{1, 6, 11, 16, ...\}
  • [2]={2,7,12,17,...}[2] = \{2, 7, 12, 17, ...\}
  • [3]={3,8,13,18,...}[3] = \{3, 8, 13, 18, ...\}
  • [4]={4,9,14,19,...}[4] = \{4, 9, 14, 19, ...\}
Corollary 2.1: Class Membership

For any equivalence relation:

a[b]    ab    [a]=[b]a \in [b] \iff a \sim b \iff [a] = [b]
Example 2.3: Similarity of Matrices

On the set of n×nn \times n matrices over FF, define ABA \sim B iff B=P1APB = P^{-1}AP for some invertible PP.

This is an equivalence relation (similarity):

  • Reflexive: A=I1AIA = I^{-1}AI
  • Symmetric: B=P1APA=PBP1=(P1)1B(P1)B = P^{-1}AP \Rightarrow A = PBP^{-1} = (P^{-1})^{-1}B(P^{-1})
  • Transitive: B=P1APB = P^{-1}AP and C=Q1BQC=(PQ)1A(PQ)C = Q^{-1}BQ \Rightarrow C = (PQ)^{-1}A(PQ)

Similar matrices share eigenvalues, trace, determinant, and rank.

Example 2.4: Isomorphism of Groups

On the class of groups, define GHG \sim H iff GHG \cong H (isomorphic).

This is an equivalence relation on groups. Each class contains all groups with the same structure.

Remark 2.1: Equivalence as Abstraction

Equivalence relations allow us to ignore irrelevant differences and focus on essential structure. "Same up to isomorphism," "same up to similarity," and "same up to a constant" are all examples of this powerful idea.

Theorem 1.1: Equivalence Classes Are Disjoint or Equal

Let \sim be an equivalence relation on SS. For any a,bSa, b \in S:

[a][b]    [a]=[b][a] \cap [b] \neq \emptyset \implies [a] = [b]

Equivalently, either [a]=[b][a] = [b] or [a][b]=[a] \cap [b] = \emptyset.

Proof of Theorem 1.1:

Suppose c[a][b]c \in [a] \cap [b]. Then aca \sim c and bcb \sim c.

By symmetry, cbc \sim b. By transitivity, aba \sim b.

Now take any x[a]x \in [a]. Then axa \sim x. Since bab \sim a (symmetry) and axa \sim x, we have bxb \sim x (transitivity), so x[b]x \in [b].

Thus [a][b][a] \subseteq [b]. By a symmetric argument, [b][a][b] \subseteq [a].

3. Partitions

Definition 1.5: Partition

A partition of a set SS is a collection P={Pi}iI\mathcal{P} = \{P_i\}_{i \in I} of non-empty subsets of SS such that:

  1. The sets cover SS: iIPi=S\bigcup_{i \in I} P_i = S
  2. The sets are pairwise disjoint: PiPj=P_i \cap P_j = \emptyset for iji \neq j
Theorem 1.2: Equivalence Relations ↔ Partitions

There is a bijective correspondence between equivalence relations on SSand partitions of SS.

  • Equivalence → Partition: The equivalence classes form a partition.
  • Partition → Equivalence: Define aba \sim b iff aa and bb are in the same part.
Proof of Theorem 1.2:

Equivalence → Partition:

  • Non-empty: Each [a][a] contains aa (reflexivity).
  • Cover: Every aSa \in S is in [a][a].
  • Disjoint: By Theorem 1.1.

Partition → Equivalence:

  • Reflexive: aa is in the same part as aa.
  • Symmetric: If aa and bb are in the same part, so are bb and aa.
  • Transitive: If a,ba, b share a part and b,cb, c share a part, then all three share the same part (since parts are disjoint).
Example 3.1: Partition of Integers

The partition of Z\mathbb{Z} into even and odd integers:

P={{...,4,2,0,2,4,...},{...,3,1,1,3,5,...}}\mathcal{P} = \{\{..., -4, -2, 0, 2, 4, ...\}, \{..., -3, -1, 1, 3, 5, ...\}\}

This corresponds to the equivalence relation aba \sim b iff 2(ab)2 \mid (a - b).

Example 3.2: Partition of a Finite Set

Let S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}. The following are valid partitions:

  • {{1,2,3,4,5,6}}\{\{1, 2, 3, 4, 5, 6\}\} — one part (coarsest)
  • {{1,2},{3,4},{5,6}}\{\{1, 2\}, \{3, 4\}, \{5, 6\}\} — three parts
  • {{1},{2},{3},{4},{5},{6}}\{\{1\}, \{2\}, \{3\}, \{4\}, \{5\}, \{6\}\} — six parts (finest)
  • {{1,3,5},{2,4,6}}\{\{1, 3, 5\}, \{2, 4, 6\}\} — odd/even
Example 3.3: Non-Partition

The following are NOT valid partitions of {1,2,3,4}\{1, 2, 3, 4\}:

  • {{1,2},{3}}\{\{1, 2\}, \{3\}\} — doesn't cover 4
  • {{1,2},{2,3},{4}}\{\{1, 2\}, \{2, 3\}, \{4\}\} — parts overlap (2 is in two parts)
  • {{1,2,3,4},}\{\{1, 2, 3, 4\}, \emptyset\} — empty set is not allowed
Theorem 3.1: Counting Partitions

For a finite set SS with S=n|S| = n, the number of partitions is finite (the Bell number BnB_n).

For an infinite set, there are uncountably many equivalence relations.

Definition 3.1: Refinement

A partition Q\mathcal{Q} is a refinement of partition P\mathcal{P} if every part of Q\mathcal{Q} is contained in some part of P\mathcal{P}.

Equivalently, Q\mathcal{Q} is "finer" and P\mathcal{P} is "coarser."

Remark 3.1: Lattice of Partitions

The partitions of a set form a lattice under refinement. The finest partition is {{a}:aS}\{\{a\} : a \in S\} (equality). The coarsest is {S}\{S\}(everything equivalent).

Example 3.4: Refinement Example

On {1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\}, the partition {{1,3,5},{2,4,6}}\{\{1, 3, 5\}, \{2, 4, 6\}\}(odd/even) is coarser than {{1},{3,5},{2},{4,6}}\{\{1\}, \{3, 5\}, \{2\}, \{4, 6\}\}.

The second partition refines the first: every part of the second is contained in a part of the first.

Theorem 3.2: Meet and Join of Partitions

Given two partitions P\mathcal{P} and Q\mathcal{Q}:

  • The meet (finest common coarsening) is the coarsest partition refining both
  • The join (coarsest common refinement) is the finest partition coarsened by both
Remark 3.2: Connection to Equivalence Relations

If 1\sim_1 corresponds to P\mathcal{P} and 2\sim_2to Q\mathcal{Q}, then the meet partition corresponds to the intersection of relations (as subsets of S×SS \times S).

4. Quotient Sets

Definition 1.6: Quotient Set

The quotient set of SS by \sim is the set of all equivalence classes:

S/={[a]:aS}S / {\sim} = \{[a] : a \in S\}
Example 1.5: ℤ/nℤ

The quotient Z/nZ\mathbb{Z}/n\mathbb{Z} (or Zn\mathbb{Z}_n) is:

Zn={[0],[1],[2],,[n1]}\mathbb{Z}_n = \{[0], [1], [2], \ldots, [n-1]\}

This has exactly nn elements. Operations on Zn\mathbb{Z}_nare induced from Z\mathbb{Z}:

[a]+[b]=[a+b],[a][b]=[ab][a] + [b] = [a + b], \quad [a] \cdot [b] = [ab]
Remark 1.1: Well-Definedness

When defining operations on quotient sets, we must verify well-definedness: the result should not depend on which representative we choose.

For Zn\mathbb{Z}_n: if [a]=[a][a] = [a'] and [b]=[b][b] = [b'], we need [a+b]=[a+b][a + b] = [a' + b']. This works because n(aa)n \mid (a - a') and n(bb)n \mid (b - b') implies n((a+b)(a+b))n \mid ((a + b) - (a' + b')).

Theorem 1.3: Canonical Projection

The map π:SS/ ⁣\pi: S \to S/\!\sim defined by π(a)=[a]\pi(a) = [a] is a surjection called the canonical projection.

Theorem 1.4: Universal Property of Quotients

If f:STf: S \to T is a function such that abf(a)=f(b)a \sim b \Rightarrow f(a) = f(b), then there exists a unique function fˉ:S/ ⁣T\bar{f}: S/\!\sim \to T such that f=fˉπf = \bar{f} \circ \pi.

Proof of Theorem 1.4:

Define fˉ([a])=f(a)\bar{f}([a]) = f(a).

Well-defined: If [a]=[b][a] = [b], then aba \sim b, so f(a)=f(b)f(a) = f(b) by assumption.

Unique: If g:S/ ⁣Tg: S/\!\sim \to T also satisfies f=gπf = g \circ \pi, then g([a])=g(π(a))=f(a)=fˉ([a])g([a]) = g(\pi(a)) = f(a) = \bar{f}([a]).

Definition 1.7: Induced Function

The function fˉ\bar{f} from Theorem 1.4 is called the function induced by ff on the quotient.

Example 1.6: Induced Function Example

Let f:ZZ5f: \mathbb{Z} \to \mathbb{Z}_5 be f(n)=nmod5f(n) = n \mod 5.

This induces fˉ:Z/5ZZ5\bar{f}: \mathbb{Z}/5\mathbb{Z} \to \mathbb{Z}_5 with fˉ([n])=nmod5\bar{f}([n]) = n \mod 5.

In fact, fˉ\bar{f} is an isomorphism!

Example 4.1: Quotient of ℤ by 2ℤ

Consider Z/2Z\mathbb{Z}/2\mathbb{Z} with aba \sim b iff 2(ab)2 \mid (a - b).

The equivalence classes are:

  • [0]={...,4,2,0,2,4,...}[0] = \{..., -4, -2, 0, 2, 4, ...\} (even integers)
  • [1]={...,3,1,1,3,5,...}[1] = \{..., -3, -1, 1, 3, 5, ...\} (odd integers)

So Z/2Z={[0],[1]}\mathbb{Z}/2\mathbb{Z} = \{[0], [1]\} has exactly 2 elements.

Corollary 4.1: Cardinality of Quotients

If SS is finite and \sim has kk equivalence classes, then S/ ⁣=k|S/\!\sim| = k.

If all classes have the same size mm, then S=km|S| = k \cdot m.

Remark 4.1: Notation Warning

The notation S/ ⁣S/\!\sim means "quotient of SS by \sim." For modular arithmetic, Z/nZ\mathbb{Z}/n\mathbb{Z} or Zn\mathbb{Z}_ndenotes the quotient by congruence mod nn.

Example 4.2: Circle as Quotient

The circle S1S^1 can be viewed as the quotient R/Z\mathbb{R}/\mathbb{Z}, where xyx \sim y iff xyZx - y \in \mathbb{Z}.

Each equivalence class is [t]={t+n:nZ}[t] = \{t + n : n \in \mathbb{Z}\}, with unique representative in [0,1)[0, 1).

5. Counting Partitions

Definition 5.1: Bell Numbers

The Bell number BnB_n counts the number of partitions (equivalently, equivalence relations) on an nn-element set.

Example 5.1: Bell Numbers

The first few Bell numbers are:

  • B0=1B_0 = 1 (one way to partition the empty set)
  • B1=1B_1 = 1
  • B2=2B_2 = 2: {{a,b}}\{\{a,b\}\} or {{a},{b}}\{\{a\},\{b\}\}
  • B3=5B_3 = 5
  • B4=15B_4 = 15
  • B5=52B_5 = 52
Theorem 5.1: Bell Number Recurrence

Bell numbers satisfy:

Bn+1=k=0n(nk)BkB_{n+1} = \sum_{k=0}^{n} \binom{n}{k} B_k
Proof:

Consider where element n+1n+1 goes in a partition of {1,,n+1}\{1, \ldots, n+1\}.

Choose kk elements from {1,,n}\{1, \ldots, n\} to be in the same class as n+1n+1: (nk)\binom{n}{k} ways.

Partition the remaining nkn-k elements: BnkB_{n-k} ways.

Wait—the recurrence uses BkB_k, not BnkB_{n-k}. By substitution j=nkj = n - k, we get the standard form.

Remark 5.1: Stirling Numbers

The Stirling number of the second kind S(n,k)S(n, k) counts partitions of an nn-element set into exactly kk non-empty parts.

Bn=k=0nS(n,k)B_n = \sum_{k=0}^{n} S(n, k)
Example 5.2: Computing B₃

List all partitions of {a,b,c}\{a, b, c\}:

  1. {{a,b,c}}\{\{a, b, c\}\} — one part
  2. {{a,b},{c}}\{\{a, b\}, \{c\}\}
  3. {{a,c},{b}}\{\{a, c\}, \{b\}\}
  4. {{b,c},{a}}\{\{b, c\}, \{a\}\}
  5. {{a},{b},{c}}\{\{a\}, \{b\}, \{c\}\} — three parts

Total: B3=5B_3 = 5.

Theorem 5.2: Dobinski's Formula

The Bell numbers can be computed as:

Bn=1ek=0knk!B_n = \frac{1}{e} \sum_{k=0}^{\infty} \frac{k^n}{k!}
Example 5.3: Using Stirling Numbers

The Stirling numbers S(4,k)S(4, k) for partitions of a 4-element set:

  • S(4,1)=1S(4, 1) = 1 (all in one part)
  • S(4,2)=7S(4, 2) = 7
  • S(4,3)=6S(4, 3) = 6
  • S(4,4)=1S(4, 4) = 1 (each in its own part)

Check: B4=1+7+6+1=15B_4 = 1 + 7 + 6 + 1 = 15. ✓

5. Connection to Quotient Spaces

In linear algebra, if VV is a vector space and WW is a subspace, we define an equivalence relation:

vu    vuWv \sim u \iff v - u \in W

The equivalence classes are cosets:

[v]=v+W={v+w:wW}[v] = v + W = \{v + w : w \in W\}

The quotient set V/WV/W becomes a vector space (the quotient space) with operations:

[v]+[u]=[v+u],α[v]=[αv][v] + [u] = [v + u], \quad \alpha[v] = [\alpha v]

We will study this in detail in LA-2.5: Direct Sums & Quotient Spaces.

Theorem 6.1: Dimension of Quotient Space

If VV is finite-dimensional and WW is a subspace, then:

dim(V/W)=dim(V)dim(W)\dim(V/W) = \dim(V) - \dim(W)
Example 6.1: Quotient of ℝ³

Let V=R3V = \mathbb{R}^3 and W={(x,y,0):x,yR}W = \{(x, y, 0) : x, y \in \mathbb{R}\}(the xyxy-plane).

The cosets are horizontal planes: [v]={(x,y,z0):x,yR}[v] = \{(x, y, z_0) : x, y \in \mathbb{R}\}for each z0z_0.

dim(V/W)=32=1\dim(V/W) = 3 - 2 = 1. Indeed, V/WRV/W \cong \mathbb{R}.

Example 6.2: Quotient Group

In group theory, if NGN \trianglelefteq G is a normal subgroup, define:

gh    gh1Ng \sim h \iff gh^{-1} \in N

The equivalence classes are cosets gNgN, and G/NG/N is a group.

Example 6.3: Quotient of ℝ²

Let V=R2V = \mathbb{R}^2 and W={(x,0):xR}W = \{(x, 0) : x \in \mathbb{R}\}(the xx-axis).

Two vectors are equivalent iff they have the same yy-coordinate:

(a,b)(c,d)    b=d(a, b) \sim (c, d) \iff b = d

Each equivalence class is a horizontal line. The quotient V/WRV/W \cong \mathbb{R}.

Remark 6.1: First Isomorphism Theorem

For a linear map T:VWT: V \to W, define vu    T(v)=T(u)v \sim u \iff T(v) = T(u).

This is an equivalence relation with classes [v]=v+ker(T)[v] = v + \ker(T).

The First Isomorphism Theorem states:

V/ker(T)im(T)V / \ker(T) \cong \text{im}(T)
Example 6.4: Projection Map

Consider the projection π:R3R2\pi: \mathbb{R}^3 \to \mathbb{R}^2 with π(x,y,z)=(x,y)\pi(x, y, z) = (x, y).

ker(π)={(0,0,z):zR}\ker(\pi) = \{(0, 0, z) : z \in \mathbb{R}\} (the zz-axis).

By the First Isomorphism Theorem:

R3/ker(π)R2\mathbb{R}^3 / \ker(\pi) \cong \mathbb{R}^2
Theorem 6.2: Well-Definedness of Quotient Operations

The vector space operations on V/WV/W are well-defined because if vvv \sim v' and uuu \sim u' (i.e., vv,uuWv - v', u - u' \in W), then:

  • (v+u)(v+u)=(vv)+(uu)W(v + u) - (v' + u') = (v - v') + (u - u') \in W
  • αvαv=α(vv)W\alpha v - \alpha v' = \alpha(v - v') \in W

7. Worked Examples

Example 7.1: Verifying an Equivalence Relation

Problem: Is the relation "aa and bb have the same last digit" an equivalence relation on N\mathbb{N}?

Solution:

  • Reflexive: aa has the same last digit as aa. ✓
  • Symmetric: If aa has the same last digit as bb, then bb has the same last digit as aa. ✓
  • Transitive: If a,ba, b share a last digit and b,cb, c share a last digit, then a,ca, c share a last digit. ✓

Yes, it's an equivalence relation with 10 equivalence classes (one for each digit 0-9).

Example 7.2: Finding Equivalence Classes

Problem: On Z\mathbb{Z}, define aba \sim b iff 3(a+b)3 \mid (a + b). Is this an equivalence relation?

Solution:

  • Reflexive: aaa \sim a iff 32a3 \mid 2a. This fails for a=1a = 1 since 323 \nmid 2. ✗

No, it's not reflexive, so it's not an equivalence relation.

Example 7.3: Describing a Quotient

Problem: On R\mathbb{R}, define xyx \sim y iff xyZx - y \in \mathbb{Z}. Describe R/ ⁣\mathbb{R}/\!\sim.

Solution:

The equivalence class [x][x] consists of all numbers differing from xx by an integer:

[x]={x+n:nZ}[x] = \{x + n : n \in \mathbb{Z}\}

Each class has exactly one representative in [0,1)[0, 1).

So R/ ⁣[0,1)\mathbb{R}/\!\sim \cong [0, 1) with endpoints identified—this is a circle!

Example 7.4: Counting Equivalence Classes

Problem: On the set S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}, define aba \sim biff ab(mod3)a \equiv b \pmod{3}. How many equivalence classes are there?

Solution:

  • [0]=[3]=[6]={3,6}[0] = [3] = [6] = \{3, 6\}
  • [1]=[4]={1,4}[1] = [4] = \{1, 4\}
  • [2]=[5]={2,5}[2] = [5] = \{2, 5\}

There are 3 equivalence classes.

Example 7.5: Well-Definedness Check

Problem: On Z4\mathbb{Z}_4, is f([a])=[2a]f([a]) = [2a] well-defined?

Solution: We need: if [a]=[b][a] = [b], then [2a]=[2b][2a] = [2b].

If ab(mod4)a \equiv b \pmod{4}, then ab=4ka - b = 4k for some kk.

So 2a2b=8k=4(2k)2a - 2b = 8k = 4(2k), which means 2a2b(mod4)2a \equiv 2b \pmod{4}. ✓

Yes, ff is well-defined.

Example 7.6: Non-Well-Defined Function

Problem: On Z4\mathbb{Z}_4, is g([a])=[a2]g([a]) = [a^2] well-defined?

Solution: Check: [0]=[4][0] = [4], so we need [02]=[42][0^2] = [4^2].

02=00^2 = 0 and 42=160(mod4)4^2 = 16 \equiv 0 \pmod{4}. ✓

Check another: [1]=[5][1] = [5], so we need [12]=[52][1^2] = [5^2].

12=11^2 = 1 and 52=251(mod4)5^2 = 25 \equiv 1 \pmod{4}. ✓

After checking all cases, yes, gg is well-defined on Z4\mathbb{Z}_4.

Example 7.7: Proving Classes are Equal

Problem: In Z12\mathbb{Z}_{12}, prove that [17]=[5][17] = [5].

Solution: We need to show 175(mod12)17 \equiv 5 \pmod{12}.

175=1217 - 5 = 12, and 121212 \mid 12. ✓

Therefore [17]=[5][17] = [5].

Example 7.8: Finding All Classes

Problem: Find all distinct equivalence classes in Z7\mathbb{Z}_7.

Solution: Every integer is congruent to exactly one of {0,1,2,3,4,5,6}\{0, 1, 2, 3, 4, 5, 6\} mod 7.

The distinct classes are:

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

There are exactly 7 equivalence classes in Z7\mathbb{Z}_7.

Example 7.9: Equivalence via Function

Problem: Let f:RRf: \mathbb{R} \to \mathbb{R} with f(x)=x2f(x) = x^2. Define aba \sim b iff f(a)=f(b)f(a) = f(b). Describe the equivalence classes.

Solution: f(a)=f(b)f(a) = f(b) iff a2=b2a^2 = b^2 iff a=±ba = \pm b.

The equivalence classes are:

  • [0]={0}[0] = \{0\}
  • [r]={r,r}[r] = \{r, -r\} for r>0r > 0
Example 7.10: Parallel Lines

Problem: On the set of lines in R2\mathbb{R}^2, define 12\ell_1 \sim \ell_2iff 12\ell_1 \parallel \ell_2 (including \ell \parallel \ell). Is this an equivalence relation?

Solution:

  • Reflexive: Every line is parallel to itself. ✓
  • Symmetric: If 12\ell_1 \parallel \ell_2, then 21\ell_2 \parallel \ell_1. ✓
  • Transitive: If 12\ell_1 \parallel \ell_2 and 23\ell_2 \parallel \ell_3, then 13\ell_1 \parallel \ell_3 (parallel lines have the same slope). ✓

Yes! Each equivalence class consists of all lines with a given slope (a "direction").

8. Common Mistakes

Mistake 1: Forgetting to check all three properties

An equivalence relation must be reflexive, symmetric, AND transitive. Failing any one means it's not an equivalence relation. Always check all three!

Mistake 2: Confusing "transitive" with "if a~b and a~c then b~c"

Transitivity says: if aba \sim b AND bcb \sim c, then aca \sim c. The middle element must be the same in both conditions!

Mistake 3: Assuming equivalence classes have equal size

Equivalence classes partition the set, but they need not have equal cardinality. For example, on {1,2,3,4,5}\{1, 2, 3, 4, 5\}, the partition {{1,2,3},{4,5}}\{\{1, 2, 3\}, \{4, 5\}\}has classes of size 3 and 2.

Mistake 4: Not verifying well-definedness

When defining a function on a quotient set f([a])f([a]), you MUST check that the output doesn't depend on the representative. If [a]=[b][a] = [b], you need f([a])=f([b])f([a]) = f([b]).

Mistake 5: Writing [a] ∈ [b] instead of [a] = [b]

[a][a] is a SET. You can have a[b]a \in [b] (an element is in a class), but [a][b][a] \in [b] is nonsense. If a[b]a \in [b], then [a]=[b][a] = [b].

9. Key Takeaways

Definition

Equivalence relation = reflexive + symmetric + transitive. It formalizes "sameness up to some property."

Partition Bijection

Equivalence relations ↔ Partitions. The equivalence classes form a partition; every partition defines an equivalence relation.

Quotient Sets

S/ ⁣S/\!\sim is the set of equivalence classes. Operations on SS that respect \sim induce operations on S/ ⁣S/\!\sim.

Linear Algebra Connection

Quotient spaces V/WV/W use the equivalence vu    vuWv \sim u \iff v - u \in W. The dimension drops: dim(V/W)=dim(V)dim(W)\dim(V/W) = \dim(V) - \dim(W).

Equivalence Relations Practice
12
Questions
0
Correct
0%
Accuracy
1
Which property does the relation '<<' on R\mathbb{R} fail to satisfy?
Easy
Not attempted
2
On Z\mathbb{Z}, define aba \sim b iff aba - b is even. What is [3][3]?
Easy
Not attempted
3
If \sim is an equivalence relation on a set SS with 10 elements, and there are 4 equivalence classes, what can we conclude?
Medium
Not attempted
4
Which of the following defines an equivalence relation on R\mathbb{R}?
Medium
Not attempted
5
In Z5\mathbb{Z}_5, what is [7][7] (the equivalence class of 7)?
Medium
Not attempted
6
How many equivalence relations are there on a 3-element set?
Hard
Not attempted
7
If VV is a vector space and WW a subspace, the relation vuv \sim u iff vuWv - u \in W defines equivalence classes of what form?
Hard
Not attempted
8
Given partition {{1,3,5},{2,4},{6}}\{\{1,3,5\}, \{2,4\}, \{6\}\} of {1,...,6}\{1,...,6\}, is 242 \sim 4?
Easy
Not attempted
9
If S=4|S| = 4, how many partitions of SS are there?
Hard
Not attempted
10
The relation 'aba \mid b' (divides) on Z+\mathbb{Z}^+ is:
Medium
Not attempted
11
If [a]=[b][a] = [b], which must be true?
Easy
Not attempted
12
What is the kernel of a homomorphism ϕ:GH\phi: G \to H as an equivalence relation?
Hard
Not attempted

Frequently Asked Questions

Why are equivalence relations important in linear algebra?

Quotient spaces V/W are constructed using equivalence relations: v ~ u iff v - u ∈ W. The equivalence classes [v] = v + W are the elements of V/W. This construction is fundamental for the First Isomorphism Theorem.

What's the difference between an equivalence class and a partition?

An equivalence class is a single piece of a partition—all elements equivalent to a given element. A partition is the collection of all equivalence classes, which together cover the entire set with no overlaps.

Can an element be in two different equivalence classes?

No! This is a key theorem. If [a] and [b] share any element, then [a] = [b]. Equivalence classes are either identical or disjoint—there's no middle ground.

What's a well-defined function on a quotient set?

A function f: S/∼ → T is well-defined if f([a]) doesn't depend on the representative chosen. If a ~ b, we need f([a]) = f([b]). This is crucial when working with quotient spaces.

How do modular arithmetic and equivalence relations connect?

ℤₙ is the quotient ℤ/nℤ where the equivalence relation is a ~ b iff n | (a-b). The equivalence classes are [0], [1], ..., [n-1]. Addition and multiplication are well-defined on these classes.

What is the Bell number?

The Bell number Bₙ counts the number of partitions (equivalently, equivalence relations) on an n-element set. B₀=1, B₁=1, B₂=2, B₃=5, B₄=15, B₅=52. They grow very rapidly.

What's the difference between equivalence and equality?

Equality is the finest equivalence relation: a ~ b iff a = b. General equivalence relations are 'coarser'—they identify more elements as 'equivalent' even if they're not literally equal.

What is a congruence relation?

A congruence is an equivalence relation that respects algebraic operations. For groups, a ~ b means ab⁻¹ ∈ N for a normal subgroup N. The quotient G/N inherits a group structure.

How do equivalence relations relate to functions?

Every function f: A → B induces an equivalence relation: a ~ a' iff f(a) = f(a'). The equivalence classes are the fibers f⁻¹(b). Conversely, functions on A/~ correspond to functions that are constant on equivalence classes.

What is the quotient topology?

In topology, given an equivalence relation on a space X, the quotient space X/~ has the finest topology making the projection π: X → X/~ continuous. This extends the algebraic quotient to topological spaces.