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=23+1, hence 1=7. If we have a set A and we give an equivalence relation on the set by ab if the following conditions hold:
     1) aa
     2) ab, then ba
     3) ab and bc then ac.
For instance, = on Z would give an equivalence relation. Now we consider a new equal, or the equivalence relation  (modm) where ab (modm) if m|ab 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|ab if and only if a and b has the same remainder, and there are only m different remainders which are 0,,m1, hence there are only m distinct sets.

Definition: Let Z/mZ={[n]m | nZ}={[0]m,,[m1]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 an1 (modm) and bn2 (modm) and we want to show that a+bn1+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|ab there exists k such that km=ab, 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+km then ab=n1n2+kn2m+kn1m+kkm2, hence abn1n2=m(kn2+kn1+kkm), 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 nx1=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 n0.
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

Popular posts from this blog

Max-Spec vs Spec

함수와 무한대2