0% found this document useful (0 votes)
13 views12 pages

Number Theory

Number theory

Uploaded by

Rounak Kundu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views12 pages

Number Theory

Number theory

Uploaded by

Rounak Kundu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Chapter 4

Elementary Number Theory


4.1 Division algorithm and its applications
In this section, we study some properties of integers. We start with the division algorithm'.

Lemma 4.1.1. (Division algorithm] Let a and b be tuo integers with b> 0. Then there erist unique
integers 4,r such that a = qb +r, where 0 sr<b. The integer q is called the quotient and r, the
remainder.

Proof. Eristence: Take S = fa+ b<z e Z} n W. Then a + la<b e S. Hence, S is a nonempty subset
of W. Therefore, by the well ordering principle, S contains its minimum, say so. So, s0 = a+ bro, for
some ro ¬ Z. Since so ¬ W, so > 0.
If s0 >b then 0 S s0 -b= a+ b(20 1) e S. This contradicts the minimality of s0- Hence
0s s0 < b. Take q= -o and r = s0- Then gb +r=-rgb+s0 = -rob +a +bro =a, i.e., we have
obtained q and r such that a = gb +r with 0<r<b.
Uniqueness: Assume that there exist integers q1,42,1 and r2 satisfying a =q1b+r, 0s r1 <b,
a= qpb+rg, and 0 S r <b. Suppase r1 < r2. Then 0 < r-71 <b. Notice that ra-TË = (91-2)b. So,
0< (91-g)b < b. This is a contradiction since (0, b) does not contain any integer which is a multiple
of b. Similarly, r <r leads to a contradiction. Therefore, r = F. Then, 0 = 1 -2 = (91 - 2)b
and b 0 imply that q1 = 2

Defnition 4.1.2. Let a, be Z with b 0. If a = be, for some c ¬ Z then b is said to divide a and
we write bla (read as b divides a. ) When b<a, we also say that b is a divisor of a, and that a is a
multiple of b.

Remark 4.1.3. Let a be a nonzero integer. If bis a positive divisor of a, then 1 < b< la). Hence the
set of all positive divisors of a nonzero integer is a nonempty finite set.
Further, if a is a positive integer and bis a positive divisor of a, then a = kbfor some k ENso
that bS a. It then follows that if a, bENsuch that a<b and b<a, then a = b.
Definition 4.1.4. 1. Let a and bbe two nonzero integers. Then the setS of their common positive
divisors is nonempty and ânite. Thus, S contains its greatest element. This element is called
the greatest common divisor of a and b and is denoted by gcd(a, b). The gcd is also called
the highest common factor.

2. An integer a is said to be relatively prime an integer b if gcd(a, b) = 1. In this case, we also


say that the integers a andb are coprimes.
61
62 CHAPTER 4. ELEMENTARY NUMBER THEORY

The next result is often stated as "the ged(a, b) is a linear combination of a andb'.
Theoremn 4.1.5. (Bézout's identity] Lel a and b be two nonzero integers and let d = gcd(a. b).
Then there ezist integers zO, 4O such that d = ao + byo.

Proof. Consider the set S = {ar +by : ,y e Z}nN. Then, eithera e Sor -ae S. Thus, S is a
nonempty subset of N. By the well ordering principle, S contains its least element, say d. As de S,
we have d= aro +byo, for some to, yo EZ. We show that d= ged(a, b).
By the division algorithm, there exist integers q and r such that a = dq +r, with 0 r<d. If
r>0, then

r=a- dq = a-glazo +byo) = a(1 - qzo) + b(-qyo) ¬ {ar+by:r, y¬Z}.


In this case, r is a positive integer in S which is strictly less than d. This contradicts the choice of d
as the least element of S. Thus, r =0. Consequently, d<a. Similarly, d<b. Hence d s ged(a, b).
Now, ged(a, b)la and gcd(a, b) |b. Since d = azo + byo for some zo, yo E Z, we have ged(a, b)]|d.
That is, d = kx ged(a, b) for some integer k. However, both ged(a, b) and d are positive. Thus k is a
positive integer. Hence d > ged(a, b).
Therefore, d= ged(a, b).
We prove three useful corollaries to Bézout's identity.
Corollary 4.1.6. Let a, b e Z and let d EN. Then, d = ged(a, b) if and only if d<a, dlb, and each
common divisor of a and b divides d.

Proof. Suppose d = gcd(a, b). Then dla and db, By Bézout's identity, d = ak+ bm for some k, m e Z.
Thus, any common divisor of a and b divides d = ged(a, b).
Conversely, suppose da, and cach còmmon divisor of a and b divides d. Since d is a common
divisor of a and b, by what we have just proved, dl ged(a, b). Further, ged(a, b) is a common divisor of
a and b; so, by assumption ged(a, b) |d. By Remark 4.1.3, d = ged(a, b).

Corollary 4.1.7. Lel a, b be nonzero integers. Then gcd(a, b) = 1if and only if there erist integers
To and y0 such that aro + byo = 1.

Proof. If gcd(a, b) =1, then by Bézout's identity, there exist integers ro and yo such that aro+byo = 1.
Conversely, suppose there exist integers zo and yo such that azo + byo = 1. If ged(a, b) =k, then k is
a positive integer such that kl1. It follows that k <1; consequently, k= 1.

Corollary 4.1.8. Let nj,... , n¡ be positive integers which are pairuise coprimes. If aE Z is such
that n1la,...,ngla, then nË a.
Proof. The positive integers nË,...,n7 are pair wise coprimes means that if i#j, then ged(n,, n;) = 1.
Let a ¬Z be such that n1la, , ngla. We show by induction that nË ngla. For k = 2, it is given
that nla, n2la and god(n1, n2) = 1. By Bézout's identity, there exist z, y E Z such that nz+n2y = 1.
Multiplying by a, we have a = an1z + angy = n1n2(z(4) + y(4)).
Since nzla and n1la, we see that eZ so that (z() + v()) ¬ Z. Hence n1 n2la.
Assume the induction hypothesis that the statement is true for k = m. Let each of nË,..., nm+l
divide a and that they are pairwise coprimes. Let nËnm = l. Then ged(l, nm+1) = 1. By the
induction hypothesis, <a. By the basis case, (k =2 as proved), we conclude that lnm+1la. That is,
nËnn+1|a.
4.1. DIVISION ALGORITHM AND ITS APPLICATIONS 63

The division algorithm helps to algorithmically compute the greatest commnon divisor of two
nonzero integers, comnonly known as the Euclid's algorithm.
Let a, and b be nonzero integers. By the division algorithm, there exists integers q and r with
0<r< b| such that a = |blq +r. We apply our observation that a common divisor of two integers
divides their ged.
Now, ged(|b|, r) divides both lbl and r; hence it divides a. Again, ged(|b|, r) divides both a and |b|.
Hence ged(|b|, r)l ged(a, |b|).
Similarly, with r = a- |blq, we see that ged(a, lo|) divides both a and bl; hence ged(a, |b|)|r.
Consequently, god(a. lb|)l ged(l, r).
Further, the ged of any two integers is positive. Thus, ged(a, b) = ged(a, Jb|). So, we obtain

gcd(a, b) = gcd(a, ]b|) = god(||, r).


Euclid's algorithm applies this idea repeatedly to find the greatest common divisor of two given
nonzero integers, which we now present.
Euclid's algorithm
Input: Two nonzero integers a and b; Output: gcd(a, b).
a b qo + ro with 0< rÍ <b
b = ro qi + ri with 0<r1 < ro
= 1q2 + r2 with 0<r2 < r1
T2 q3 + T3 with 0< r3 < r2

r-1 Te qe+1 tre1 with 0< r+1 < re


= Tt+19+2
ged(a, b) Te+1

The process will take at most b- 1 steps as 0S ro < b. Also, note that re+1 can be expressed in
the forn r+1 = a to + byo for integers ro, yo using backtracking. That is,

re+1 = r1- r441 = r(-1 - 4+1(rt-2 r-19) = r-1(1+qe+190)- +1T-2 =*.


Example 4.1.9. We apply Euclid's algorithm for computing ged(155, -275) as follows.
-275 = (-2) · 155 +35 (so, ged(-275, 155) = gcd(155, 35))
155 4-35 +15 (so, ged(155, 35) = gcd(35, 15)
35 = 2.15+5 (so, ged(35, 15) = gcd(15, 5))
15 = 3.5 (s0, gcd(15,5) = 5).

To write 5 = ged(155, -275) in the form 155zo +(-275)W0, notice that

5 =35 -2-15 = 35-2(155 4-35) = 9-35 -2-155 = 9(-275+2-155)-2- 155 = 9- (-275) + 16- 155.
Also, note that 275 =5-55 and 155 = 5-31 and thus, 5 = (9+31z)·(-275) + (16+ 55z) 155, for all
r¬Z. Therefore, we see that there are ininite number of choices for the pair (r, y)¬Z', for which
d= az + by.
ExERCIsE 4.1.10. 1. Let a, beN with ged(a, b) = d. Then ged(4,4) = 1.
2. Prove that the system 15z + 12y = b has a solution for z, y ¬ Z if and only if3 divides b.
64 CHAPTER 4. ELEMENTARY NUMBER THEORY

3. (Linear Diophantine equation] Let a, b, c E Z\ {0}. Then the linear system ar + by = c, in


the unknowns z, y ¬ Z has a solution if and only if ged(a, b) divides e. Furthermore, deternine
all pairs (,y) ¬ Z x Z such that ar + by is indeed e.
4. Prove that gcd(a, bc) = 1 if and only if ged (a,b) = 1 and ged(a, e) = 1, for any three nonzero
integers a, b and c.

5. Euclid's algorithm can sometimes be applied to check whether two numbers which are dependent
on an unknown integer n, are relatively prime or not. For erample, we can use the algorithm to
prove that ged(2n +3,5n +7) =1 for every n E Z.
6. Suppose a milkman has only 3 cans of sizes 7,9 and 16 liters. What is the minimum number of
operations required to deliverlliter of milk to a customer? Erplain.
To proceed further, we need the following definitions.
Definition 4.1.11. 1. The integer 1 is called the unity (or the unit element) of Z.
2. An integer p > 1 is called a prime, ifp has exactly two positive divisors, namely, 1and p.
3. An integer r>l is called composite if r is not a prime.

We are now ready to prove an important result that helps us in proving the fundamental theorem
of arithmnetic.

Lemma 4.1.12. (Euclid's Lemma] Let a, be Z and let p be a prime. Ifplab then pla or plb.
Proof. Suppose plab. If pla, then there is nothing to prove. So, assume that pta. As p is a prine,
gcd(p, a) = 1. Thus there exist integers r, ysuch that 1= ar + py. Then b= abr + pby. Since plab
and plpb, we see that plb.
One also has the following result.
Proposition 4.1.13. Let a, b, n ¬ Z be such that n<ab. If ged(n, a) = 1, then n|b.
Proof. Suppose gcd(n, a) = 1. There exist ro, yo ¬ Z such that nto + ayo =1. Then b= abyo + nbrÍ.
Since nlab and n<nb, we have nlb.
Now, we are ready to prove the funcdamnental theorem of arithmetic that states that 'every positive
integer greater than 1is either a prime or is a produet of primes. This product is unique, except for
the order in which the prime factors appear

Theorem 4.1.14. (Fundamental theorem of arithmetic] LetneN with n > 2. Then there ezist
prime numbers p1 > p>> Pk and positive integers s1, 82,..., 8k such that n = pi'pp,for
some k > 1. Moreover, ifn also equals ai'
a a , for distinct primesq>2> > qu and positive
integers t,,t2,te then k = l and for each ie {1,... , k}, p, = 4 and s, = t;.
Proof. See Example 2.2.6 for a proof.

Theorem 4.1.15. (Euclid: Infnitude of primes] The number of primes is infinite.


Proof. On the contrary assume that the number of primes is finite, say p1 = 2, P2 = 3,... pk. Consider
the positive integer N=PP2**Pk+ 1. We see that none of the primes P1,P2,... ,Pk divides N. This
contradicts Theorem 4.1.14.

Proposition 4.1.16. (Primality testing] Let n eN with n >2. If no prime psVn divides n, then
n is prime.
68 CHAPTER 4. ELEMENTARY NUMBER THEORY

(k) For all a, b, c¬ Zy, a· (b+ c) = (a -b) + (a-c) (mod p).


Any nonempty set containing at least two elements such as 0 and 1, in which 'addition' and
'multiplication' can be defined in such a way that the above properties are satisfied, is called a
field. So, Z, = {0,1, 2, . . . ,p - 1} is an example of a field. The well known examples of fields
are:

(a) Q, the set of rational numbers.


(b) R, the set of real numbers.
(c) C, the set of complex numbers.
8. Let p be an odd prime. Prove the following:
(a) The equation r =l (mod p) has ezactly two solutions in Zp.
(b) Corresponding to any aE {2,3,... ,p-2}, if there erists b e Z, such that a:b=1 (mod p),
then bE {2,3,....p- 2) and ba.
(c) If a, b, c, dE {2, 3,...p-2} satisfy a # c, a·b= 1 (mod p) and c d=1 (mod p), then
bd.
(d) Let p>3. Wrile q = (p-3)/2. Thee erist two-element sets faj, b1}, {a2, b2},.... faq, bg}
that are pairwise disjoint satisfying a, · b, = 1(mod p) for 1 <isq, and Úa,, b,} =
{2,3,....p-2}.
(e) Ifp >3, then 2-3- .. (p- 2) = 1 (mod p).
9. [Wilson's Theorem] Ifp is any prime, then (p - 1)! = -1 (mod p).
10. [Primality Testing) Any integer n > 1l is a prime if and only if (n 1)!= -1 (mod n).

4.3 Chinese Remainder Theorem

Theorem 4.3.1. (Chinese remainder theorem) Fiz a positive integer m. Let n1, n2,..,n be
pairwise coprime positive integers. Write M=njn, n Then, the system of congruences
(mod n1)
r= a2 (mod nT)

(mod m)
has a unique solution modulo M.
M
Proof. For 1 < k<m, define M¡ = ng
Then, ged(Mk, n)= l and hence there exist integers Ik yk
such that M7z7 + nuyk = 1 for 1 <k< m. Let 1 < i,j< m. Then
Mz; =Mr; + niyi=1 (mod n); i j ’ n|M, ’ M,r,=0 (mod n;).
m

Now, zo := MkTRa; = M,z,a, = 1· a, = 4, (mod n;). That is, tÍ is a solution to the given
k=1
system of congruences.
If yo is any solution to the system of congruences, then for each integer k with 0 < k< m, we have
30 = a7 (mod ng) so that yo TÍ = ak a7 = 0 (mod nk). Since n1,...,ng are pairwise coprimes and
their product is M, Corollary 4.1.8 implies that yo - zo = 0 (mod M). Therefore, zo is the unique
solution of the system of congruences module M.
4.3. CHINESE REMAINDER THEOREM 69

Example 4.3.2. Consider the system of congruences z = 20 (mod 28) and z = 14 (mod 27) in
Exercise 4.2.7.5. In this case, ay =20, ag = 14, n = 28 and ng = 27 so that M= 28-27 = 756, MË =
27 and M¡ = 28. Then, zË = -l and zz = Ishow that Mj| +M2) = 27 -1+ 28· 1= 1. Hence
To = 27-1·20 + 281·14 E -540 + 392 = -148 608 (mod 756).

ExERCISE 4.3.3. 1. Find the snallest positive integer which when divided by 4 leaves a remainder
1and when divided by 9 leaves a remainder 2.
2. Find the smallest positive integer which when divided by 8 leaves a remained 4 and when divided
by 15 leaves a remainder 10.

3. Does there erist a positive integer n such that n = 4 (mod 14) and n = 6 (mod 18)? Give
reasons for your ansuwer. What if we replace 6 or 4 with an odd number?

4. Let n be a positive integer. Show that the set Z, := {0, 1, 2, . .. , n-1} has the following properties:

(a) For all a, b e Z,,, a + b (mod n) e Zn:


(b) For all a, be Z,, a + b=b+a (mod n).
(c) For all a, b, ce Zn, a + (b+ c) = (a+ b) +c (mod n).
(d) For all a ¬ Zn, a +0 =a (mod n).
(e) For all a e Zn, a+ (n - a) = 0 (mod n).
() For all a, bE Z,n, ab (mod n) ¬ Z,n:
(a) For all a, be Z, a b= b-a (mod n).
(h) For all a, b, cE Zn, a (b-c) = (ab)e (mod n).
(i) For all a¬ Z, a·l=a (mod n).
(i) For all a, b, c¬ Zn, a -(b +c)= (a-b) + (a·c) (mod n).
Any set, say R, with 0,1 ¬ R, 01, in which 'addition' and 'multiplication' can be defined in
such a way that the above properties are satisfied, is called a commutative ring with unity.
So, Z, = {0, 1,2,....n -1) is an example of a commutative ring with unity. The well known
examples of commutative ring with unity are:
(a) Z, the set of integers.
(b) Q, the set of rational numbers.
(c) R, the set of real numbers.
(d) C, the set of complex numbers.

5. Let m and n be tuo coprime positive integers. By Erercise 4.3.3.4, the sels Zn, Zn, and Zmn are
commutative rings with unity. Now, define addition and multiplication in Zm XZ, component
wise. ALso, define the function

f:Zmn ’Z,, x Z, by f(r) = (r (nod m), a (mod n)) for all r ¬ Zmn.

Then, prove the following:


(a) Z,, x Z, is a commutative ring with unity. What are the 0 and1here?
(b) For all r, y E Zmn, S(z + y) = f(r) + fy).
70 CHAPTER 4. ELEMENTARY NUMBER THEORY

(c) For all 1, yEZmns f(ry) = f(r)· fu).


(d) For each (a, b) ¬ Z, xZ, there ezists a unique r ¬ Z,mn such that r = a (mod m) and z = b
(mod n).
(e) |Zm x Zm|= |Z,mn = mn.
Such a function f is called a ring isomorphis1n, and thus, the two rings Zm x Z, and Zmn are
isomorphic.

D R A F T
34 CHAPTER 2. THE NATURAL NUMBER SYSTEM

If m= n, then S(m) = m+1=n+1. So, n< S(m). Thus S(m) ¬ X.


Ifn>m then n = m+k, for some k eN. Further, if k =1, then n =m+l and S(m) =n. Thus,
S(m)¬ X. If k1, then there exists l ENsuch that S(0) = k. Then,
n=m+k= m+ S(() = m+ (l + 1) = m+(1+) = (m + 1) + l= S(m) + .
Hence S(m) <n and hence S(m) E X.
Thus, by Axiom P3, X = N.
As an application of the law of trichotomy, we show that there does not exist any natural number
between n and S(n). Or equivalently, if ns m<n+1, then it is necessarily true that n = m.
Observe that this fact is a consequence of the following result.
Lemma 2.4.6. For all m, neN, m <n if and only if m<n+1.

Proof. Let m,neN. Suppose msn. Clearly, n <n+1. So, if m=n, then n<n+l implies that
m<n+1. If m<n, then n<n+1 again implies that m<n+1. Thus, in any case, m <n+1.
Conversely, suppose m<n+1. If mn, then by the law of trichotomy, m> n. That is, there
exists ( ¬ Nsuch that m=n+t. It follows that n + <n+1 for some E N. Thus, using Additive
Cancellation (Exercise 2.1.4.2), one has <1. However, either l = l or = S(k) for some k ¬ N.
The first cAse implies 1 < 1 and the second case implies that 1 is a successor of some natural number;
giving us a contradiction in either case. Hence m < n.
We are now in a position to state an important principle, namely the well ordering principle.
Theorem 2.4.7. [Well Ordering Principle in N] Every nonempty subset X of N contains its least
element.

Proof. By defnition, a least element of a set is an element of the set. We thus need to show that
every nonempty subset of N has a least element. On the contrary, suppose A is a nonempty subset of
Nthat has no least element. Let B = N\ A. If 1e A, then 1 will be the least element of A. Thus
1¢A so that 1 ¬ B.
Suppose 1, 2,...,m¬ B. Then, none of 1,2,...,m is in A. If S(n) ¬ A, then S(m) would be the
least element of A. Thus, S(m) A and hence S(m) ¬ B.
Hence, by the strong form of induction, B= N. Then, B = N\A implies A = 3, a contradiction. =

ExERCISE 2.4.8. [Variation of well ordering principle] Let nÍ EN and let X be a nonempty subset
of {n0 +1, nÍ + 2,...,). Then prove that X contains ts least element.

2.5 Recursion Theorem

Recall how we defned addition and multiplication in N. For any fixed n EN, we defined addition by
declaring that n+1:= S(n) andn+ S(m) := S(n+m). Due to induction, we remarked that for each
meN, these two conditions defined n + m. This intuitive work requires a formal justification. Notice
that + is a binary operation on N, that is, + is a function from NxN to N. We need to derive rigorously
from our axioms that a function satisfying the properties n + 1:= S(n) and n + S(m) := S(n + m)
exists, and that such a function is unique. Similarly, multiplication is to be tackled. We rather present
a more general result, and view the definitions of addition and multiplication as special cases. The
following result provides this general framework in N.
2.5. RECURSION THEOREM 35

Theorem 2.5.1. [Recursion Theorem) Let f :N’N be afunction. Then, for any fred natural
numbera, there erists a unique function q:N’ N such that

g(1) = a and g(S()) = f(g(r)) for each r eN. (2.3)

Proof. Define g CNxN as follows


1. (1, a) ¬g, and
2. (,y) Eg implies (S(r), f(y)) ¬ g.
As 1is n¡t asuccessor of any natural number, g({1}) = {a), is a singleton. Asstume that g({a}) = {u}.
Then, g{S()}) = (f)}, a singleton as f is a function. So, by Theorem 2.3.3, g is a function.
To show the uniqueness of the function g, we consider two functions g1, 92 :N’N, satisfying
Equation (2.3). Now, define
V= {neN:g1(n) =g2(n)}.
From Equation (2.3), g1 (1) = ga(1) =a. So, 1eV.
Let n ¬ V. Here, g1 (r) = a(n). Therefore, g1(S(n)) = f(gn(n)) = fa(n) = a(S(n). Thus,
S(n) ¬ V. By Axiom P3, V =N. Therefore, g1 = g2.
Using the recursion theorem, we now show that the definitions of addition and multiplication are
indeed well deined.

Example 2.5.2. 1. [Addition function] Let f :N’N be the function defined by f(z) = S(r),
for all z ¬N. Fix any element y eN. By the recursion theorem, there existsa unique function
g:N’Nsuch that g(1) = S(y) and f(glr)) = g(S(1)), for all z ¬ N. (2.4)

Define
for all EN, y+ ;= gr) (2.5)

When z = 1, from Equation (2.5), we get y +1 = g(1). As g(1) = S(y), we get y+1= S(y).
Further, for any r¬N, we see that
y+ S(r) = g(S()) (using Equation (2.5))
f(glr) (using f(g(r)) = g(S())
= S(gl=)) (using f(z) = S())
= S(y + r). (using glr) =y+r)

Thus, for all y, z eN, y+ S(r) = S(y+z). Hence, both the rules of addition stated in stated
in Definition 2.1.2 are satisfied.
2. (Multiplication function] Fix an element yeN and consider the function f :N’N defined
by f(r) =1+y. (Observe that this is well defined by Part 1. )
Then, by the recursion theorem, there exists aunique function h :N’N, such that h(1) =y
and f(h(r)) = h(S(r), for all r ¬ N. Now, defne y · z := h(z), for all z e N.
Then, forz = 1, we get y·1= h(1) = y. Further, for any z ¬ N, we see that
yS(r) = h(S(r)) = f(h(r)) = f(y- z) = yz+y.
thereby, proving both the rules of multiplication stated in Definition 2.1.3.
36 CHAPTER 2. THE NATURAL NUMBER SYSTEM

3. (Power funetion) Fix an element m e Nand consider the funetion f :N Ndefined by


f(z) = a. m. (Part 2 allows us to define such a function.)
Then, by the recursion theorem, there exists aunique function p:N’N, such that p(1) = m
and f(p()) = p(S(r), for all r ¬ N. Now, define m:= p(r), for all r ¬ N.

Then, for g= 1, we get m' = p(1) = m. Further, for any z E N, S(r) = z+ 1gives
mr+! = mS() = p(S(r))= f(p(r)) = plr)· m = (m") · m.
Hence, we have obtained the required power function.
Remark 2.5.3. Recall that in Example 2.5.2.1, it was easy to show that y + S(r) = S(y +z), for all
V.reN. What is more difficult to prove is that S(u) + = S(y + a), for all #, y¬ Nwhich together
with Example 2.5.2.1 gives us conmutativity of addition.
So, we take X = {r EN S(y)+ r= S(y + )} and prove that X is an inductive set.
By the recursion theorem, there exists a unique function t : N’N such that t(1) = S(S(u)) and
f(r)) = I(S(r)), for all r EN. Define

S(u) + r := t(r) for all r EN. (2.6)

As g(1) = S(u) (see Example 2.5.2.1) and g(1) =y+1 (Equation (2.5), we se that for a = 1,
S(y) +1 = t(1) = S(S(u)) = S(g(1)) = S(y+ 1). This implies that 1 ¬ X.
To show that X = N, we assue that z ¬ X. Now, consider S(u) + S(r). Then, using Exam
ple 2.5.2.1, S(u) + S(r) = S(S(y) + r). As z ¬ X, S(y) + r= S(y+z) and hence
Sy)+ S(r) = S(S(u) +) = S(S(y + r)) = S(y + S(r)).
where the last equality also follows from Example 2.5.2.1.
Therefore, S(r) ¬ X, whenever a e X. Therefore, by Axiom P3, X = N.

2.6 Construction of Integers


By now, the readers should have got a glimpse of the work required to axiomatically construct N,
the set of natural numbers. Similarly, the construction of integers from natural numbers and the
construction of rational numbers from integers require quite a lot of work. These constructions are
very helpful in understanding advanced algebra. In this section and the succeeding one, we will discuss
how to construct the integers and rational numbers from the natural numbers.
To start with let X =NxN. We define a relation ' ' on X by

(a, b) ~ (c, d) if a + d=b+cfor all a, b, c, de N.


Then, verify that ~ is indeed an equivalence relation on X. Let Z denote the collection of all equiv.
alence classes under this relation. So, if [x], [yl E Z then [x] is an equivalence class containing
x= (71,), for some zË,2 ¬ Nand [y) is an equivalence class containing y = (y1 2), for some
y1, V2 E N. Now, using the successor function S defined in Axiom P2, observe that

1. [(1, 1)) = ((n, n): or all n e N},


2. for a ixed element me N, [(1, S(m)] ={(n, m+n): for all n ¬ N}, and
3. for a fixed element m e N, ((S(m), 1)] = {(m + n, n) : for all n ¬ N}.
3.4. CANTOR-SCHRÖDER-BERNSTEIN THEOREM 51

3.4 Cantor-Schröder-Bernstein Theorem


Let A and B be finite sets with |A| = m and |B| = n. Suppose there exists a one-one function from
Ato B. Then we know that m<n. In addition, if there exists a one-one function from B to A, then
nsm so that m = n. It then follows that there is a bijection from Ato B. Does the same result hold
good for infinite sets? That is, given one-one functions f : A ’ B and g : B A does there exist a
bijection from A to B?

Experiment : Creating a Bijection from lnjections


Let X = Y =N. Take one-one functions f: X ’Y and g : Y ’X defined by f(z) = 1+2 and
g(r) = + 1. In the picture, we have X on the left and Y on the right. If (z, y) ¬ f, we draw a solid
line joining z and y. If (y, z) ¬ g, we draw a dotted line joining y and r.

5
6
7

Figure 3.1: Graphic representation of functions f and g

We want to create a bijection h from X to Y by eerasing some of these lines. Initially, we keep all solid
lines and look at rng f. Since f is not an onto function, there are elements in Y\ rngf. Each one of
these elemnents must be connected by a dotted line to some element in X. So, we keep all those pairs
(y,z) ¬g such that y ng f. We follow the heuristie of keeping as many pairs in f as possible; and
then keep a pair (y, z) ¬g if no pair (2,y) Ef has been kept.
1. The elements 1,2 ¬ Y but are not in rng f. So, the dotted lines connecting then to elenents in
X must stay. That is, the pairs (1,2), (2,3)¬g must be kept.
2. Then the pairs (2, 4), (3, 5) Ef must be deleted.
3. Now, (1,3) ¬ f: it is kept, and then (3,4) E g must be deleted.
4. The pair (4,5) ¬g is kept; so (5,7) ¬ f must be deleted.
5. The pair (4,6) ¬ f is kept, and then (6,7) Eg must be deleted.
6. The pair (7, 8) ¬g is kept; so (8, 10) ¬ f must be deleted.

Continue this scheme to realize what is happening. Then the bijection h: X ’Y is given by

if =3n - 2,n EN
h(r) =
lg-'() otherwise.
PRACTICE 3.4.1. Construct bijections using the given injections f : N’N and g:NN.
1. f(r) =r+1 and g(r) =r+2.
52 CHAPTER 3. COUNTABLE AND
52/Z63

2. f(æ) = r+l and gla) = r+3.


3. f(z) = r+l and g(z) = 2r.
We use this heuristic method of constructing a bijection in proving the following theorem.
Theorem 3.4.2. (CantorSchröder-Bernstein (CSB)] Let X and Y be nonempty sets and let
f:X’ Y and g: Y’X be one-one functions. Then there ezisls a bijection h :X ’ Y.
Proof. If f is onto, then f itself is a bijection. So, assume that f is not onto. Then f(X) is a proper
subset of Y. Write B=Y\V(X), ¢ = fog, and A= BUO(B)Uo2(B) U... = BU n=1"j, d"(B). Then
ACY and
o(A) = o(B) U l 6" (B) = o o"(B).
n=2 n=

Hence A = BUo(A). Notice that f(X) = Y\B, o(A) = f(g(A) C Y, and f is one-one. Hence

fX\g(A)) = f(X)\Sg(A) = (Y \ B| \ (4) = Y\ |BUOA)] = Y\4.


Thus, the restriction of f to X\g(A) is a bijection onto Y\A. As gis one-one, its restriction to A
is a bijection onto g(A). That is, g-: g(A) ’ A is a bijection. Therefore, the function h : X ’Y
defined by
Jf(a). if r e X\\g(A),
h(e)=-(), ifr egA)
is a bijection.

Alternate. If g is onto, we have nothing to prove: So, assume that g is not onto. Then 0 :=
X\ g(Y) o. Write y =gofand E = 0Ùv(O)U ñ?(0)U = 0U n=l kw" (O). Observe that
OCEC X, :X ’X is one-one, and g does not map any element ofY to any element of 0. Hence

vE)=v(ouo w(0)) - N"(0) =E\o.


Thus the restriction of to E is a bijection from E onto E\0. Define the function t:X ’ X\O by

if r¬ X\|E,
r() = a), ifreE.
Then is a bijection. Write h:=T'og. Then h is one-one and h(Y) ='(g(Y) = T-l(x\o) = X.
Therefore, h is a bijection from Y to X.

Alternate. Consider the family F = {TEX:g(S(T)) C T} of subsets of X. Here, T = X\T


and f(Ty = Y\S(T).

g¯(T)) f(T)

f(T)

Figure 3.2: Depiction of CSB-theorem

You might also like