27.12.2013 Views

Book of Proof - Amazon S3

Book of Proof - Amazon S3

Book of Proof - Amazon S3

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Integers Modulo n 189<br />

11.4 The Integers Modulo n<br />

Example 11.8 proved that for a given n ∈ N, the relation ≡ (mod n) is<br />

reflexive, symmetric and transitive, so it is an equivalence relation. This<br />

is a particularly significant equivalence relation in mathematics, and in<br />

the present section we deduce some <strong>of</strong> its properties.<br />

To make matters simpler, let’s pick a concrete n, say n = 5. Let’s begin<br />

by looking at the equivalence classes <strong>of</strong> the relation ≡ (mod 5). There are<br />

five equivalence classes, as follows:<br />

[0] = { x ∈ Z : x ≡ 0 (mod 5)) } = { x ∈ Z : 5 | (x − 0) } = { ...,−10,−5,0,5,10,15,... } ,<br />

[1] = { x ∈ Z : x ≡ 1 (mod 5)) } = { x ∈ Z : 5 | (x − 1) } = { ..., −9,−4,1,6,11,16,... } ,<br />

[2] = { x ∈ Z : x ≡ 2 (mod 5)) } = { x ∈ Z : 5 | (x − 2) } = { ..., −8,−3,2,7,12,17,... } ,<br />

[3] = { x ∈ Z : x ≡ 3 (mod 5)) } = { x ∈ Z : 5 | (x − 3) } = { ..., −7,−2,3,8,13,18,... } ,<br />

[4] = { x ∈ Z : x ≡ 4 (mod 5)) } = { x ∈ Z : 5 | (x − 4) } = { ..., −6,−1,4,9,14,19,... } .<br />

Notice how these equivalence classes form a partition <strong>of</strong> the set Z.<br />

We label the five equivalence classes as [0],[1],[2],[3] and [4], but you<br />

know <strong>of</strong> course that there are other ways to label them. For example,<br />

[0] = [5] = [10] = [15], and so on; and [1] = [6] = [−4], etc. Still, for this<br />

discussion we denote the five classes as [0],[1],[2],[3] and [4].<br />

These five classes form a set, which we shall denote as Z 5 . Thus<br />

Z 5 = { [0],[1],[2],[3],[4] }<br />

is a set <strong>of</strong> five sets. The interesting thing about Z 5 is that even though its<br />

elements are sets (and not numbers), it is possible to add and multiply<br />

them. In fact, we can define the following rules that tell how elements <strong>of</strong><br />

Z 5 can be added and multiplied.<br />

[a] + [b] = [a + b]<br />

[a] · [b] = [ a · b ]<br />

For example, [2] + [1] = [2 + 1] = [3], and [2] · [2] = [2 · 2] = [4]. We stress<br />

that in doing this we are adding and multiplying sets (more precisely<br />

equivalence classes), not numbers. We added (or multiplied) two elements<br />

<strong>of</strong> Z 5 and obtained another element <strong>of</strong> Z 5 .<br />

Here is a trickier example. Observe that [2] + [3] = [5]. This time we<br />

added elements [2],[3] ∈ Z 5 , and got the element [5] ∈ Z 5 . That was easy,<br />

except where is our answer [5] in the set Z 5 = { [0],[1],[2],[3],[4] } ? Since<br />

[5] = [0], it is more appropriate to write [2] + [3] = [0].

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!