5. Congruences
As Z is infinite, we would like to look at the numbers "smaller" than the integers in which contains a "local" data of the integers. Before we even discuss what this means, let's fix m, an integer. Let n be any integer, then by the division algorithm, there exists unique q,r such that n=mq+r, then consider a situation there n=r. For instance if n=7 and m=3, then 7=2⋅3+1, hence 1=7. If we have a set A and we give an equivalence relation on the set by a∼b if the following conditions hold:
1) a∼a
2) a∼b, then b∼a
3) a∼b and b∼c then a∼c.
For instance, = on Z would give an equivalence relation. Now we consider a new equal, or the equivalence relation ≡ (modm) where a≡b (modm) if m|a−b or, in order words, a and b have the same remainder. Consider [n]m be the set of all elements in Z such that is equivalent to n under ≡ (modm).
Proposition: There are m distinct sets of [n]m.
Proof) m|a−b if and only if a and b has the same remainder, and there are only m different remainders which are 0,…,m−1, hence there are only m distinct sets.
Definition: Let Z/mZ={[n]m | n∈Z}={[0]m,…,[m−1]m}.
The reason why we choose such a notation is apparent when you delve into ring theory, but for now, just take it for granted. Then this set becomes a ring which I will not define here, but basically it says the following:
Proposition:
If we define [n]m+[k]m={l+r|l∈[n]m and r∈[k]m}
[n]m⋅[k]m={lr|l∈[n]m and r∈[k]m}
1) [n1]m+[n2]m=[n1+n2]m
2)[n1]m⋅[n2]m=[n1n2]m
Proof)
1) This is saying that a≡n1 (modm) and b≅n2 (modm) and we want to show that a+b≡n1+n2 (modm). Before we continue, we establish a following lemma:
Lemma: If a,b∈[n]m if and only if a=b+km for some k.
Proof) This is really easy to see because m|a−b⇒ there exists k such that km=a−b, hence a=b+km. The converse is trivial.
Hence a=n1+k1m and b=n2+k2m, then we have a+b=n1+n2+(k1+k2)m, hence (a+b)−(n1+n2)=(k1+k2)m is divisible by m, hence we establish 1).
2) Similiarly, a=n1+km and b=n2+k′m then ab=n1n2+kn2m+k′n1m+kk′m2, hence ab−n1n2=m(kn2+k′n1+kk′m), hence the result.
Now, there is an interesting property when the two numbers are prime. Before we establish this, we see that [1]m⋅[n]m=[n]m, so [1]m is an identity in the sense that when you multiply anything to it, you get the same thing. Similar to the rational numbers, when you have n, then you want to find k such that nk=1, and we know that 1/n exists in the rational if n is not zero.
Proposition: Let n,m be coprime, then [n]m has an inverse.
Proof) If n,m are coprime, then there exists integers x,y such that nx+my=1, then this amount to say that nx−1=m(−y) which is divisible by m, hence [nx]m=1⇒[n]m[x]m=1.
Corollary: Let p be a prime, then [n]p has an inverse when n≠0.
Proof) Direct application of the above.
A ring is called a field, if it has the property stated by the corollary. For example, the set of rational numbers is a field. We know that the set Z/pZ is has prime number of elements by our first proposition (i.e. the set has finite elements), and, in fact, any finite field is of the form Z/pZ or an extension of this form.
Comments
Post a Comment