Professional Documents
Culture Documents
Chapter 1 Basic Properties of Integers
Chapter 1 Basic Properties of Integers
Chapter – One
Basic Properties of integers
Introduction
Dear student in this chapter, you will be learning about Algebraic structure of integers, order
properties: the relation of the well ordering Axiom and the principle of mathematical induction,
Divisibility of integers. Also it includes about factors, prime numbers, relatively primness, GCD
and LCM of integers, Euclidean algorithm to find GCD and numbers in different bases.
Objectives:-
Introduction
Dear student, in the course math 321, you have learned about algebraic structure in general, such
as Groups, Rings and fields. In this subtopic your will start by revising these terminologies and
discuss about the Algebraic Structure of integers.
Objectives:
At the end of this subtopic, you will be able to:-
Definitions
1. Group: A group is non empty set G together with a binary operation * defined on G
satisfying the following properties.
For all a,b ∈ G, a¿b∈G.
G1: a¿(b¿c)=(a¿b)¿c, ∀ a,b,c,¿G ( associatively)
G2: There exists e in G such that a¿e= e¿a=a, ∀ a∈G
(existence of identify element for ¿ and e is called identify for ¿ in G)
G3: ∀ a∈G, ∃a-1∈G such that
a¿a-1 = a-1¿a= e
(existence of inverses and a-1 is called inverse of a for ¿ in G)
A Group G is called an abelian (or commutative) group if and only if a¿b= b¿a for every a and b
are in G.
Notation: If G is abelian group, its binary operation is denoted by ’’+’’ and is called addition.
The identify element is denoted by ‘’0’’, and it is called zero.
Ring: A ring is a set R together with two binary operations ∆ and∇ satisfying the following
properties:
In commutative ring the operation ∆ is called addition and is denoted by ‘’+’’, while the
second operation ∇ is called multiplication and is denoted by ‘’.’’.
A ring R is said to be a ring with unity if and only if there exists an element e∈R such that
Let R be a ring with unity 1. a∈R is called a unit ( or invertible) if and only if ∃b ∈R such that
ab=ba=1.
A ring R is said to be an integral domain if and only if R is a commutative ring with no zero
divisor.
A ring R is called a division ring if and only if every non- zero element is a unit
Examples:
1. (Z,+,.) is an integral domain with unity. But it is not a field, since the only unit elements
of Z are -1 and 1.
2. (Q,+,.) is a field
Note: Algebraically all of the above rings are not the same. However all are integral domains
with unity.
3. Ordered Rings
A ring R is said to be an ordered ring if and only if there exists a non –empty subset R+ of
R such that
O1: a, b∈R+ implies a+b∈R+ and ab∈R+
02: For any a∈R exactly one of the following holds:
i) a∈R+ ii) a=0 iii) -a∈R+
R+ is called the set of all positive elements of R
Examples:
1. The integral domains (Z,+,.),(Q,+,.) and ( R , +,.) are ordered rings
2. Let n be a fixed positive integer. Let Rn= 0,1,2,…. , n-1
If R is an ordered ring, then we define the natural ordering relation ‘’>’’ on R as follows:
a≤b⟺b≥a
Let R be an ordered ring and R+ be the set of its positive elements. Let S⊆R+.
Then an element ∝∈S is called the least element S if f ∝≤ x ∀ x∈S.
An ordered ring R is said to be a well ordered ring if and only if every non- empty subset of R+
has a least element.
Example:
Every non- empty subset of the set of natural numbers N has a least element
Remarks:-
Provided:
i) P1 is true
ii) If K is an arbitrary natural number such that PK is true, the Pk+1 is also true:
Objectives:
i) 1 ∈S
ii) If K∈S, Then K+1∈S.
Then S= N
i) 1∈S
ii) K+1∈S when ever 1,2,….,K are in S.
Then S= N
From now on, the PMI will be used to mean any of the two forms.
Remarks;
1. In practical application the PMI takes a different form. Suppose p(n) is an open proposition for each n
∈ N . To prove that ( ∀ n ¿p(n)is true we need only to prove that
i) p(n) is true
ii) P(n) is true implies p(n+1) is true for some n∈ N
Here we assume that p(n) is true and form this infer that p(n+1) is true. The assumption that p(n) is true is
called induction assumption/hypothesis.
= Ko,Ko+1,Ko+2,…..
(xy)n= xnyn
i. p(1)=1=(2x1-1) is true
n
iii) Let p(n) is true for some n∈ N i.e, p(n)= ∑ (2 i−1 )=¿ ¿n2
i=1
n
n ( n+1 ) (2 n+1)
4. 1 +2 +3 +……………+n =∑ 2 i=¿
2 2 2 2
¿
i=1 6
Lemma1: 1 is the smallest positive integer
Proof: (1) using WOA. We proof by contradiction
Let S= x ∈ N |x<1
If 1 is not the smallest positive integer then S≠ ∅ .
Clearly S⊆ N . By WOA, S has a least element say t. Now t<1 and t∈ N
So< t2∈ N and t2<t<1
Hence t2∈ N . This contradicts the minimality of t in s.
So, S=∅ and there is no positive integer less than 1.
There fore 1 is the smallest positive integer.
2) Using the PMI
Thus K∈T⟹k+1∈T
a< n<a+1
Then0< n−a <1
Thus, our assumption that there is n between a and a+1, a∈Z is false.
Let T =N ∖S = { x∈ N /x∉S}
Then ∅ ≠T⊆ N
Hence t-1∉ S
That is t∉S.
∴T=∅ and S= N
∴ Least element Suppose there is a non-empty subset T of N that does not have a least element.
Then 1∉T.
Now. Let S= x∉ N /x<t, ∀ t ∉T
Then :- i) l∉S
ii)Suppose K∉S
If K+1∉S, then K+1 is not less than every element of T. There exists, y∉T such that
This means K+1 is the least element of T. A contradiction to the assumption that T has no least
element.
Now i) l∉S
ii)K∉S⟹K+1∉S
Consequently, T=∅
Again a contradiction to ≥1
This subtopic deals with the concepts of factors ( or divisors) and multiples of integers. We also
discuss about basic properties of primes, the greatest common factor, and least common multiple
of integers. Also you will learn how to find GCF and LCM of integers followed by examples.
Objectives:
At the end of this subtopic, you will be able to :-
Divisibility of integers
Definition:- Let a and b be integers a is said to be divisible by b ( or a multiple of b) if and
only if there exists an integer C such that a=bc
Proposition 1.1 If a, b, c, x and y are any non- zero integers, then the following hold.
Also, a=(-a)(-1)
ii ¿suppose a/b and b/c. then by definition there exists integers m and n such that
⟹C=nb=n(ma) =(mn)a
⟹a/c
bx +cy =( ma ) x +¿(na)y
¿ a( mx+ny )
=ak ; K= mx+ny∈Z
( iv ) a /b ⟹ b=na,n∈Z
⟹/a/≤/b/
⟹/a/=/b/
⟹a=±b
O(m)=0
∴a=0
vii) Let a/b to show that (±b) now, a/b →b= ma for some m∈Z
→(± a)/¿b)
Conversely , Let ¿ a) /(±b) then
±b= (±a)m for some m∈Z
⟹b=am
⟹a/b
For any natural number d, dz shall stand for the set of multiples of d in Z
That is,
For example
In general, suppose (R, +,.) is a commutative ring and n∈ R . Then it is an easy matter to give
the set of multiples of n with respect to ‘’.’’ In R. Indeed the multiples of n in R is
Wollega University Page 18
Number Theory Math 392
nR= nt/t∈ R
Evidently, these set of multiples of 2 in the two different rings, I,e, in (Z,+,.) and (2Z, +,.) are
different
Remarks:-1. Some of the assertions in proposition1.1 above may not hold in some other rings.
For instance in (SZ,+,.) 5 is not a factor of 5, 10 is not a factor of 10, and in fact no element of
5Z, except 0 is a factor of itself.
2. To find all the factors of a given integer in Z, it suffices to obtain only the positive
factors of the integer. Indeed, once the positive factors of the given integer are
identified, then all its factors can be given using proposition1.1 (Vii).
Example:
± 1, ± 2, ±4,±5,±8,±10,±20,±40
Definition:An integer P≠1 is called a prime number if and only if the only divisor of p
are ±1 and ±p
¿other words, a prime number is a number which has exactly two positive factors/divisors
2,3,5,7,11,13,17,19,23,29,31,37,41,43 , ………..
Then by WOA S has a least element, call it P. Then P>1 and P/n.
Defn: A number m that is not prime and not equal to 0 and ±1 is called a composite number.
Proposition 1.3: If n>1 and n is composite, then n has at least one factor d such that 1<d≤ √ n
Proof: Let n=n1n2 for some n1 and n2 such that 1<n1,n and 1<n2<n
Thus n1 ≤ √ n or n2 ≤ √ n
M= ∏ p
P∈ S
Let n= M+1
⟹q≤1 → ←( contradiction)
∴S is infinite.
1.3.2 the Greatest common Divisor (GCD) and the least common multiple (LCM)
1) An integer C is called a common divisor (or factor) of the ai’s if and only if C/ai ∀ i=
1,2,3,…….,n
2) d is called the GCD (GCF) of the ai’s iff d is a common divisor ( factor), d>0, and if C is
a common divisor, then C/d.
Notation: The GCF of the integers a1, a2, …,an is denoted by (a1,a2,…,an)
If a and b are integers and b≠0, then there exist unique integers q and r such that
Suppose b>0
Suppose b<0
Then S≠ ∅ and S⊆ N
Let n= r-b≥0
r⏟
−b < r
n <r
Let n= r+b ≥0
n=r+b<r
So r<|b|
Then 1,b+r1=q2b+r2
⟹(q1-q2)b=r2-r1
⟹ r 1 ,-r 2=0
Theorem 1.3: suppose that a1-a2, ..., an are integers not all zero. Then the GCF of a1,a2,
……………an is the least positive number among the linear combination
Proof: Let S=
{ a1 x 1+ a2 x2 +… … … … …+an x n| a1 x 1 +a2 x 2+ … … … … … …+a n x n >0∧x i∈ Z ,i=1,2, … … .. n }
Claim: d=( a 1 , a 2 … … … … … … a n )
i) d>0
ii) For each i , let a i=q i d +r i , ≤ d by division algorit h m ,
Then r=a i-q i d
Now, r i =a i-q i d
= y 1 a1 + y 2 a2+ … … … … …+ y n an
a i=q i d ⟹ d|ai
iii) Let C be any common divisor of a i’s. We shall prove that C is a common divisor of
2)The numbers a 1 , a2 … … … … .. , an ,are said to be pair wise relatively prime iff (a i , ai )=1 ∀ i, j , i
≠j
Proof: Let (a,b)=1 Then by theorem 1.3 we have 1= ax+by for some x, y∈ Z
⟹ d| 1 ⟹d≤1
d=1
∴(a,b)=1
a b
Corollary 2 : If d= (a,b), then ( , )=1
d d
a
Proof; Let m= and n= b/d clearly m,n∈ Z
d
a b
⟹1= x + y
d d
⟹1=mx+ny
⟹(m,n)=1 by corollary 1.
a b
∴( , )=1
d d
( a , b )=1 ⟹ax+by=1
⟹ a|c
iii ¿ If P, p1,p2,………….pn are primes and if p|p1p2….. pn, then p=± pj for some j.
T h en p|d.
⟹p≤1 →←
Hence d=1
at=br ⟹ b|at.
⟹ ab|c.
Corollary 4: If m1, m2,..., mk are pair wise relatively primes and if m i| a, then m|a where m=m1 m2
…,m k
(a,b,c)= ((a,b),c)
Definition:- Let a 1, a2…….a n be non – zero integers. A number m is called a common multiple
of a i ' s if and only if ai|m ∀ i= 1,2,………,n. The smallest positive integer which is a common
multiple of a i ' s is called the least common multiple (LCM) of a i ' s and it is denoted by [a 1, a2
…….a n].
Note: If a i ' s are non- zero, then the integers m=a 1 a 2…a n and n= −a 1, a2…….a n=−¿m are
common multiples.
Thermos 1.7 Let a and b be non- zero integers m=[a,b] if and only if m>o, m is a common
multiple and for any common multiple n of a and b, m|n .
Corollary 5: M[a 1, a2……., a niff m>o m is a common multiple and m is a factor of any common
multiple of a i ' s.
Theorem 1.8 For any integers a and b with not all zero, [a,b](a,b)=|ab| .
|ab| ab a |ab|
=± =(± )b= kb and =¿ )a= na for some k,n∈ Z
d d d d
|ab|
Thus is a common multiple of a and b.
d
|ab| |ab|
∴ m| . Thus m≤ or md≤|ab|….(*)
d d
|ab|
Thus is an integer.
d
|ab| k 2|ab| k 2 ab
k2 = =± =± a
m k2 b k2 b
|ab|
⟹a=(± k 2)
m
|ab|
⟹ |a
m
Similarly
|ab| k 1 ab k 1 ab
k1 =± =± =±b
m m k 1a
|ab| |ab|
⟹b= (±k) ⟹ |b
m m
|ab|
Thus is a common factor of a and b
m
|ab|
∴ ≤ d. ⟹|ab|≤ md……………….(**)
m
∴[a,b](a,b) = |ab|
Every natural number n>1 is expressible as a product of a finite number of primes in one and
only one way except for the order of the primes.
Proof: (exercise!)
Remarks:1) If n>1 and p1 ¿ p2 < p3 <¿ ……….< p F are the distinct prime factors, then we call the
product.
∝ ∝ ∝
n= p1 p2 … … … … … pk , where ∝i ≥ 0 , t h e standard representation of prime factorization of n.
1 2 k
Example: Find the prime factorizations and the number of positive divisors /factors of
a) 360 b) 2450
Solution
a)360=23x32x5
=24
b)2450=2x52x72
= 18
Next, we shall discuss how to find GCF and LCM of two or more integers
a 1= p∝11
1
∝12 ∝1 k
, p 2 ……….. pk
a 2= p∝21 ∝22 ∝2 k
1 , p 2 ……….. pk
⋮ ⋮⋮ ⋮
a n= p∝1 n1 , p ∝n 2 ∝ nk
2 ……….. pk
1≥ i≤ n and 1≤j≤k
β j = Mix { ∝ij|i=1,2… … … .. , n }
i) d= ( a 1 , a2 ,…………..a n ¿ = p∝1 ∝2 ∝k
1 , p 2 ……….. pk
Example: Using the prime factorization, find the GCD and LCM of the given numbers,
ii)[420,2540,6600]=23x3x52x7x1
=46,200
b) 56=23x7
150= 2x3x52
280=23x5x7
900=22x32x52
Therefore,
i) (56,150,-280,-900)=(56,150,280.900)
=2
ii)[56,150,-280,-900]=[56,150,280,900]
= 23x32x52x7
= 12,600
Suppose a and b are integers such that b>0. We make a repeated application of the division
Algorithm to obtain.
r n−1=r n q n+1
Then (a,b) is the last non-zero remalinder in the division process, Moreover a solution of the
equation ax +by =(a , b) for integers x and y and be obtained by solving for
Proof: Since the sequence b,r 1,r 2 ,……….r n is strictly decreasing (i.e, b>r 1 >r 2 >…..>r n ) sequence
of non-negative integers, there exists n such that r n +1=0
⟹ r n|d=(a,b)
∴(a,b)= r n
To verify the last part of the assertion, one step by step eliminate r n−1 , r n −2 ,….r 2 , to get r n=¿ ¿
ax+by for some x, y∈ z
Examples:
1. Use Euclidean algorithm to find GCD of 51 and 288, and express the GCD as a linear
combination of 51 and 288
Solution
288= 5+51+33 ; r 1 ,=33
51= 1x33+18 ;r 2 , 18
33= 1x18+15 ;r 3 ,=15
18= 1x15+3 ; r 4 ,=3
15= 5x3 ; r 5 ,=0
(51, 288)=3
Now to express 3 as a linear combination of 51 and 288, form the above chain of equations, we
get,
51= 1x33+18⟹18+51-1x33
288= 5x51+33⟹33=288-5x51
3=18-1x15
=18-1x(33-1x18)
=2x18-1x33
3= 2(51-1x33)=1x33
=2x51-3x33
=2x51-3(288-5x51)
=17x51-3x288
=(-3)288+(17)51
(1029,1911)=1029x+1911y
Solution:
1911=1x1029+882
1029=1x882+147
882=6x147
∴(1029,1911)=147
147=1029-1x882
=1029-1(1911-1x1029)
=2x1029-1x1911
=2x1029+(-1)x1011
Solution
64x+72y=24
⟹8x+9y=3
Now, we have
9=1x8+1
8=1x8
⟹1=9-1x8=9+(-1)x8
⟹3=-3x8+3x9
⟹8(3=-3x8+3x9)
⟹24=-3x64+3x72
Remarks:-
i) Any two consecutive integers are relative primes. Thus, if n is any integer, then
(n,n+1)=1
Moreover, [n,n+1]=n(n+1)=n2+n
{
n(n+2)if nis odd
b) [n,n+2] 2( n+2)
if n iseven
2
Dear student, in this section you learn numbers in different bases you also learn how to convert
base ten in to different bases and vice versa.
Objectives:
Defn: Let g∈ N and g>1. Any integer a>0 is said to be written in the scale of 9 (or in base 9) if
and only if there exist non-negative integers r o ,r 1 r 2,……r n such that
Suppose g is a natural number greater than one. For any Natural number m, there exist unique
integers r o ,r 1,……r n with 0≤ r i<g
Such that
=q 1 g2+r 1g+r o
⋮
n n−1
m= r n g +r n−1 g + … r 1 g+r o, letting q n =r n
n
=∑ r i g
i
i=0
If g is ten, then the representation (r n r n−1…….r 1 r 0) ten s called the decimal representation of m
and is simply written as.
m=r n r n −1 …….r 1 r 0
Solution:-
i) 318= 63x5+3 ; r 0= 3
63= 12x5+3 ;r 1= 3
12=2x5+2 ; r 2 =2
2= 0x5+2 ;r 2=2
ii) 318=45x7+3 ;r 0 = 3
45=6x7+3 ;r 1= 3
6=0x7 +6 ;r 2= 6
Theorem 1.12: If g>1, then every real number ∝ can be written as the infinite series
∞
an
∝= ∑ ; 0≤ an ≤g-1
n=0 gn
a 1= [g∝1] , 0≤ a1<g
∝ a 0=[∝]
Now, we have
∝= a 0+∝1
a1 ∝2
∝ 1= +
g g
a2 ∝3
∝3 = +
g g
ak−1 ∝k
∝k−1= +
g g
a1 ∝2
= a 0+∝1= ∝0= +
g g
a1 a2 ∝3
=a 0+ + +
g g2 g2
a1 a 2 a 3 ∝ 4
=a 0+ + + +
g g 2 g 3 g3
a1 a2 a3 a 4 a5 ∝6
=a 0+ + + + + +
g g 2 g 3 g4 g 5 g 5
a1 a 2 a3 an ∞
an
→ ∝=a0 + + 2 + 3 +…+ n +…=∑ n
g g g g n−0 g
∞
an
Corollary: If 0<∝<¿1, then the series of ∝is given by ∝ = ∑ ; 0≤ an <g,
n −1 gn
∞
an
Defn: The series ∑ n
is colled the expansionof ∝ in base g
n −1 g
a1 a2 a3 a4
Then 0.4= + + + +…
3 32 33 3 4
a2 a3 a4
⟹3(0.4)=a 1+ + + +…
3 32 3 4
a2 a 3 a 4 a5
⟹ a1=¿ 0.2 + + + +…
3 3 2 34 34
a3 a4 a5
→0.6= a 2+ + + +…
3 32 33
a3 a4 a5
⟹ a2=0∧0.6= + + +…
3 32 3 3
a 4 a 5 a6
→1.8= a 3+ + + +…
3 3 2 33
a4 a5 a6 a7
⟹ a3=1∧0.8= + + + …
3 3 2 33 34
a 5 a 6 a7
→2.4= a 4 + + + +…
3 3 2 33
a 4 a 5 a6 a7
⟹ a4 =2∧0.4= + + + +…
3 3 2 33 33
a9 a10 a10 a 11
¿ 0.4= + + + +…
3 32 3 3 33
Or 0.4 = (0.1012 ¿3
21.3 21+0.3
i) 21=5x4+1 ; r0=1
5= 1x4+1 ;r1=1
1= x4 +1 ;r2=1
⟹21=(111)4
0.3 0.2 0.8 0.2 0.8
ii) x4 x 4 x 4 x 4 x4
1.2 0 .8 3 .2 0.8 3 .2
This implies
0.3= ( 0.1030303…)4
= (0.1 03 ¿4
Therefore, from (i) and (ii), we have
21.3 = (111.1 03 ¿4
Self check exercise;
Solve the following problems
1. a) Let f(x)= xn, where n∈ N . Using PMI prove that the derivative of f, f’(x) is given by f’)x)
= n x n−1, ∀ n ∈ N
b)use the PMI to prove that if x≤-1 then (1+x)n ≥1+nx, for every n∈ N
2. For non –zero integers a, b and c, if a|b and a|c , then show that a|(bx-cy) for x,y∈ Z
4. For each pair of numbers, express m in the form of m=nq+r, with q,r∈Z and 0≤r<|n|.
a) m= 37 ; n= 8
b) m= -342 ; n=33
6. Express the GCF of 236 and 632 as a linear combination of the integers 236 and 632
A) 1350x + 4500y=900
B) 115x + 203y = 1
8. For non- zero integers a1,a2,…,an, if d=(a1, a2,…,an), then show that
( ad , ad ,… , ad )= 1
1 2 n
10. Find the representation of each of the following numbers in the indicated base
a) 45 in base two
11. Find the decimal ( base ten) representation of each of the following
a) ( 101212 )3 C ¿ (34.32 ) ¿5
A Group is a set G together with a binary operation * defined on G satisfying the following
properties.
A ring is a set R together with two binary operations ∆∧∇ such that
R2 :R 2 : ( a ∇ b ) ∇ C=a ∇ ( b ∇ ) ∀ a , bC ∈ R
a∇ b=b ∇ a ∀ a , b C∈ R
Let R be a ring with unity 1. Then a ∈ R is called a unit (or invertible) if and only if there exists b
∈ R such that ab= ba=1
A ring a is said to be an ordered ring if and only if thee exists a non- empty subset of R+
has a least element.
Well ordering Axiom ( WOA):- every non- empty subst of the set of natural numbers N
has a least element.
(Z,+, .) Is a well ordered integral domain?
Any well ordered integral domain is isomorphic to (Z,+, .)
The principle of mathematical induction ( PMI) suppose S⊆N Such that
i) l∈S
ii) K∈S ⟹K+1 ∈S
iii) Then S=N
a=bc
A integer p≠1 is called a prime number iff the only divisors of p are ± 1and ± p.
A number m that is not prime and not equal to 0 and ± 1 is called a composite
number.
Let a1, a2, …, an be integers not all zero
i) An integer c is called a common divisor of the ai’s iff c|ai for each i= 1,2,
……, n
ii) d is called the GCD (or GCF) of the ai’s iff d is a common divisor, d>o,
and if c is a common divisor, then c|d . Thus c≤ d.
the numbers a1, a2, …,an are said t be pair wise relatively prime iff ( ai,ai)=1
∀ i, j∧i≠ j
Let a 1 , a2 , … , an be non- zero integers. A number m is called a common multiple of ai’s iff
ai|m ∀ i= 1,2, …,n
the smallest positive integer which isa common multiple of of a i ' sis called the least
common multiple (LCM) of a i ' s and it is denoted by [a 1, a2 ,… ,a n]
For any two non−zero integers a∧b ( a , b ) [ a , b ]=¿ |ab|
Let 9∈ N and 9>1. Any integer a>0 is said to be written in the scale of 9 ( or in base 9) iff
there exist non- negative integers r 0 , r 1 r 2 ,…,r n , Such that
n n−1
a=r n , g +r n−1 , g +…+r 1 , g+r 0 ,Where 0≤ r i ≤ g-1 ∀ i=0,1,2 , … , n
In this case we write
a= ( r n r n−1 … … … . r 1 r 0 ) g – Representation of a in base g
And the integers r n r n−1 … … … .r 1 , r 0 are called the digits of a in base g.
If g=10, then the representation (r n r n−1 … r 1 r 0 ¿ten is called the decimal representation of
a and simply written as
a=r n r n−1 … … … .r 1 r 0