Docsity

Groups, Rings and Field, Lecture Notes - Mathematics - 5, Study notes of Mathematics

Toggle sidebar
bg1
30 Groups, Rings and Fields
6. Equivalence relations, and modular arithmetic
The first part of this section considers equivalence relations on a set and establishes their re-
lationship to partitions of that set. [Some of this material was also covered in Introduction to
Pure Mathematics in MT, but for completeness and ease of reference a self-contained treatment is
included here.]
In the second part of the section we focus on a special equivalence relation, congruence mod
n, on Zand use it to manufacture important examples of finite rings and fields.
6.1 Relations: recap. [web notes only] Fix a non-empty set Ω. A binary relation on Ω is
(officially) a subset Rof Ω ×Ω. So the elements of ∼are certain pairs (a, b)∈Ω×Ω. A relation
Rgives a true/false split (a predicate): for (a, b)∈Ω×Ω we may have
•(a, b)∈ R is true: we write aRb;
•(a, b)∈ R is false: we write a6 Rb.
We henceforth use the symbol ∼(‘twiddles’) rather than Rto denote a general relation, and adopt
the more usual notation a∼bin place of (a, b)∈∼.
Relations of special types. We say ∼is
(R) reflexive if a∼afor any a∈Ω;
(S) symmetric if a∼bimplies b∼afor any a, b ∈Ω;
(T) transitive if a∼band b∼cimply a∼cfor any a, b, c ∈Ω.
Examples
Ω∼(R) (S) (T)
R6Y N Y
R<N N Y
lines in R2“is parallel to” Y Y Y
lines in R2“is orthogonal to” N Y N
Za∼biff 3|(a−b) Y Y Y
N r {0}“divides” Y N Y
any Ω = Y Y Y
any Ω a∼b∀a, b Y Y Y
6.2 Equivalence relations and equivalence classes: definitions and examples. Let Ω
be a non-empty set and ∼a relation on Ω. Then ∼is an equivalence relation if ∼satisfies (R), (S)
and (T). When ∼is an equivalence relation we shall call
[a] := {b∈Ω|a∼b}
the equivalence class of a.
6.3 Examples of equivalence relations. [mainly web notes only]
(1) Equality relation, =, on any non-empty set: [a] = {a}for any a.
pf3
pf4
pf5

Partial preview of the text

Download Groups, Rings and Field, Lecture Notes - Mathematics - 5 and more Study notes Mathematics in PDF only on Docsity!

6. Equivalence relations, and modular arithmetic

The first part of this section considers equivalence relations on a set and establishes their re- lationship to partitions of that set. [Some of this material was also covered in Introduction to Pure Mathematics in MT, but for completeness and ease of reference a self-contained treatment is included here.]

In the second part of the section we focus on a special equivalence relation, congruence mod n, on Z and use it to manufacture important examples of finite rings and fields.

6.1 Relations: recap. [web notes only] Fix a non-empty set Ω. A binary relation on Ω is (officially) a subset R of Ω × Ω. So the elements of ∼ are certain pairs (a, b) ∈ Ω × Ω. A relation R gives a true/false split (a predicate): for (a, b) ∈ Ω × Ω we may have

  • (a, b) ∈ R is true: we write aRb;
  • (a, b) ∈ R is false: we write a 6 Rb.

We henceforth use the symbol ∼ (‘twiddles’) rather than R to denote a general relation, and adopt the more usual notation a ∼ b in place of (a, b) ∈∼.

Relations of special types. We say ∼ is

(R) reflexive if a ∼ a for any a ∈ Ω; (S) symmetric if a ∼ b implies b ∼ a for any a, b ∈ Ω; (T) transitive if a ∼ b and b ∼ c imply a ∼ c for any a, b, c ∈ Ω.

Examples

Ω ∼ (R) (S) (T) R 6 Y N Y R < N N Y lines in R^2 “is parallel to” Y Y Y lines in R^2 “is orthogonal to” N Y N Z a ∼ b iff 3|(a − b) Y Y Y N r { 0 } “divides” Y N Y any Ω = Y Y Y any Ω a ∼ b ∀a, b Y Y Y

6.2 Equivalence relations and equivalence classes: definitions and examples. Let Ω be a non-empty set and ∼ a relation on Ω. Then ∼ is an equivalence relation if ∼ satisfies (R), (S) and (T). When ∼ is an equivalence relation we shall call

[a] := { b ∈ Ω | a ∼ b }

the equivalence class of a.

6.3 Examples of equivalence relations. [mainly web notes only]

(1) Equality relation, =, on any non-empty set: [a] = {a} for any a.

  • Ω = R^2 : (a, b) ∼ (c, d) if and only iff a^2 + b^2 = c^2 + d^2. Notice that (R), (S) and (T) hold for this ∼ precisely because they hold for the = relation on R. Watch out for other examples which work in the same way.

[(a, b)] = { (x, y) ∈ R^2 | x^2 + y^2 = c^2 }, where c^2 = a^2 + b^2.

(2) Fractions Let Ω = Z × (Z r { 0 }) with ∼ given by

(m, n) ∼ (p, q) ⇐⇒

m n

p q

So [(m, n)] contains all pairs (p, q) which correspond to the same rational number as does (m, n). (3) On matrices: We have various useful equivalence relations On Mn(K) (K any field, n > 2). For example, consider ∼ given as follows:

  • Row equivalence: A ∼ B if and only if there exists an invertible P ∈ Mn(K) such that P A = B—this says that B is obtainable from A by elementary row operations;
  • Equivalence: A ∼ B if and only if there exist invertible P, Q ∈ Mn(K) such that P AQ = B—this says that B is obtainable from A by elementary row and column oper- ations or, equivalently, A and B have the same reduced Echelon form. LA theorem:

A ∼ B ⇐⇒ A and B have the same rank.

  • Similarity: A ∼ B if and only if there exists an invertible P such that P AP −^1 = B—A and B represent the same linear transformation with respect to possibly different bases. The first two of these can be extended to non-square matrices: we can define row equivalence, and equivalence, on Mm,n(K). (4) [Lecture example] The torus. (5) integers modulo n. [Recap from Introduction to Pure Mathematics] Let Ω = Z and let n > 1 be a fixed integer. Then

a ∼n b ⇐⇒ n|(a − b) ⇐⇒ ∃k ∈ Z such that a − b = kn

defines an equivalence relation on Z.

  • The case n = 2: there are two equivalence classes

E = { 2 k | k ∈ Z } = [0], O = { 2 k + 1 | k ∈ Z } = [1].

Notice that [2] = [4] =... = [−2] = [−4] =... = [0] and [3] =... = [1].

  • The case n = 3: there are three equivalence classes

[0] = { 3 k | k ∈ Z }, [1] = { 3 k + 1 | k ∈ Z }, [2] = { 3 k + 2 | k ∈ Z }.

[Lecture: pictures of decomposition into equivalence classes for some familiar examples.]

6.6 Theorem (cycle decomposition of permutation). Let σ ∈ Sym(n), the permutations of { 1 , 2 ,... , n}. Then σ is expressible as a finite product of disjoint cycles.

Proof. Let Ω = { 1 ,... , n}. For a, b ∈ Ω define a ∼ b if and only if there exists k ∈ Z such that b = aσk.

Claim: ∼ is an equivalence relation. The properties (R), (S) and (T) follow directly from properties of exponents.

By Theorem 6.5, Ω is the disjoint union of the distinct ∼-equivalence classes (also called orbits). Let these equivalence classes be [c 1 ],... , [cr ]. Let [ci] have size ni (i = 1,... , r). Then

[ci] = {ci, ciσ, ciσni−^1 }

and σ acts on [ci] as the cycle σi := (ci ciσ... ciσni−^1 ).

The cycles σ 1 ,... , σr are disjoint and σ = σ 1 σ 2 · · · σr (note that disjoint cycles commute, so the order in which they are performed is immaterial). 

We now return to the general theory.

6.7 Theorem (from a partition to an equivalence relation). Assume that U = {Ui}i∈I is a partition of Ω. Let ∼U be the relation

a ∼U b ⇐⇒

∃i such that a ∈ Ui and b ∈ Ui

Then ∼U is an equivalence relation and its (distinct) equivalence classes are exactly the sets Ui of the partition U.

Proof. Properties (part1) and (part2) for a partition guarantee that ∼U is an equivalence relation. Exercise: check this, and also that Ui = [x] for any x ∈ Ui ((part3) is used here).

6.8 Theorem (the correspondence between equivalence relations and partitions). Let Ω be a non-empty set. Then the maps

Φ : ∼ 7 −→ U∼ and Ψ : U 7 −→ ∼U

set up a bijective correspondence between the set of all equivalence relations on Ω and the set of all partitions of Ω.

Proof. By construction, ∼U∼ = ∼ and U∼U = U.

This is saying that Φ and Ψ are mutually inverse maps, and so set up the required correspon- dence. 

Application: counting equivalence relations. [Lecture example]

6.9 Notation: the set of equivalence classes for an equivalence relation. Consider an equivalence relation ∼ on a set Ω. We shall denote the set of equivalence classes by Ω/ ∼ and call it the quotient of Ω by ∼. Often, as with the example on fractions in 6.3(2), we do not want to distinguish between elements which are related, and passing from Ω to Ω/ ∼ via the map x 7 → [x] (x ∈ Ω) allows us to think of such elements as being identified. [Informal introductory discussion on quotient structures in lecture.]

We now look more closely at the partition of Z induced by ∼n and the associated quotient Zn := Z/ ∼n.

6.10 ∼n revisited. Consider the equivalence relation ∼n on Z given by

a ∼n b ⇐⇒ n|(a − b).

The relation ∼n is so widely used that it has a special name, congruence mod n (where mod stands for modulo), and a special symbol: if integers a and b are such that a ∼n b we write a ≡ b mod n or simply a ≡ b if there is no ambiguity.

We next show that congruence mod n is compatible, in a natural sense, with the arithmetic operations on Z.

6.11 Congruence Lemma. Fix a positive integer n. Then, for s, t, u, v ∈ Z,

s ≡ u mod n and t ≡ v mod n

imply s + t ≡ u + v mod n and st ≡ uv mod n.

Proof. By assumption there exist integers p and q such that s − u = pn and t − v = qn. Hence

(s + t) − (u + v) = (s − u) + (t − v) = pn + qn = (p + q)n,

so s + t ≡ u + v mod n and similarly

st − uv = (s − u)t + (t − v)u = ptn + qvn = (pt + qv)n,

so st ≡ uv mod n. 

6.12 Theorem (elements of Zn). Let n be a positive integer. There are precisely n equivalence classes for ∼n, namely [0], [1],... , [n − 1].

Proof. By the division algorithm any a ∈ Z can be uniquely expressed as

a = qn + r where 0 6 r < n.

Then a ∈ [r] and so [a] = [r]. Also if we take r, s ∈ { 0 , 1 ,... , n − 1 }, with r > s, then r ∼n s would imply that there exists k ∈ N such that 0 6 r − s = kn and so kn 6 r < n. This forces k = 0 and hence r = s. Therefore there are exactly n equivalence classes and these may be represented as [0], [1],... , [n − 1]. 

6.14 Passing from Z to Zn. We have a natural map π from Z to Zn:

π : x 7 → x.

Then π is surjective, but not injective).

Now consider s, t ∈ Z leaving remainders a, b respectively on division by n. Then s = a and t = b. Therefore

π(s + t) = s + t (by defn of π) = a + b (by the Congruence Lemma) = a + b (by defn of + in Zn) = s + t = π(s) + π(t).

and likewise π(st) = π(s) · π(t). Thus the map π : Z → Zn preserves addition and multiplication.

6.15 Theorem (Zn as a ring). Let n > 2. Endow Zn = { 0 , 1 ,... , n − 1 } with the binary operations of addition and multiplication mod n: for a, b ∈ { 0 ,... , n − 1 },

a + b := a + b, a · b : = ab.

(1) With these operations Zn is a commutative ring with identity. The zero element for addition is 0 and −a = n − a. The multiplicative identity is 1. (2) The following are equivalent: (i) n is prime; (ii) Zn is an integral domain; (iii) Zn is a field.

Proof. (1) We can use the structure-preserving properties of the map π : Z → Zn to verify the associativity, commutativity and distributivity properties. For example, for a, b, c ∈ Zn we have a(b + c) = (a + b) + c in Z, so that

a + (b + c) = a + b + c = π(a) + π(b + c) = π(a + (b + c)) = π((a + b) + c) = a + b + c = (a + b) + c.

Certainly a + 0 = a + 0 = a and a1 = a1 = a. Also a + n − a = a + (n − a) = n = 0. Hence (1) holds.

(2) Since we have assumed n > 2, we have 0 6 = 1. We claim that Zn has no zero divisors if and only if n is prime. If n is not prime we may write n = ab where 1 < a < n and 1 < b < n. Then a 6 = 0, b 6 = 0 but ab = ab = 0. Conversely, assume n is prime and that ab = 0. Then n|(ab), and hence, because n is prime, n|a or n|b (recall 4.10), whence a = 0 or b = 0.

(ii) implies (iii) always, and (iii) implies (ii) because Zn is finite (see Theorem 2.8).