Algrbra and Number Theory
Algrbra and Number Theory
C. Vijayakumari
Professor of Mathematics (Retired)
Queen Mary's College (Autonomous)
Mylapore, Chennai
@Pearson
Eaitor=Acquistuonst-e; Dneeptka. ,
'Editor-Production: M. Balakrishnan
This book is sold subjectto the condition that it shall not, by way of trade or otherwise, be lent, resold,
hired out, or otherwise circulated without the publisher's prior written consent in any form of binding o
cover other than that in which it is published and without a similar condition including this condition br
imposed on the subsequent purchaser and without limiting the rights under copyright reserved above, n1
part of this publication may be reproduced, stored in or introduced into a retrieval system, or transmitte
any form or by any means (electronic, mechanical, photocopying, recording or otherwise), without the I
written permission of both the copyright owner and the publisher of this book.
ISBN 978-93-534-3418- 2
First Impression
Head Office: 15th Floor, Tower-B, World Trade Tower, Plot No. 1, Block-C, Sector 16,
Noida 201 301, Uttar Pradesh, India.
Registered Office: 4th Floor, Software Block, Elnet Software City, TS 140, Blocks 2 & 9,
Rajiv Gandhi Salai, Taramani, Chennai 600 113, Tamil Nadu, India. ·
Fax:080-30461003,Phone:080-30461060
Website: in.pearson.com, Email: [email protected]
Preface xi
About the Authors xiii
Index I-1
Preface
This text book of Algebra and Number Theory is designed to meet the requirements of students of
B.E. Computer Science and B.Tech. LT. courses as per the latest syllabus of Anna University. The
book covers the syllabus completely and exhaustively. The units of the. syllabus are presented as five
chapters in the book. The topics have been presented to provide a firm foundation on the basic con-
cepts of groups, rings, field, polynomials, division algorithm, Euclidean algorithm, congruences and
Diophantine equations.
Special care has been taken to present the subject as simple as possible with clarity and rigour.
A lot of standard problems and university questions are worked out step by step so as to induce con-
fidence in the students.
A salient feature of the book is that at the end of each chapter, a collection of important and
frequently asked Part A questions are given with solution for the benefit of the students.
Self-confidence and perseverance are the essentials to success. Mathematics is a subject to be
studied by working. Practice is the key-word in the learning process of the mathematics. Remember the
maxim "Mathematics without practice is Blind and Practice without understanding is Futile."
We are sure that this book is student friendly and we hope it will be well received by students and
teachers. Suggestions for the improvement of the book will be gratefully accepted.
ACKNOWLEDGEMENTS
P. Sivaramakrishna Das: I express my gratitude to our chairperson, Dr Elizabeth Varghese, CEO
and Directors Dr Anand Jacob and Annie Jacob. I am obliged to my department colleagues for their
encouragement.
The inspiration to write this book came from my wife, Prof. C. Vijayakumari, who is also the
co-author of this book.
P. Sivaramakrishna Das and C. Vijayakumari: We are grateful to the members of our family for
lending us their support for the successful completion of this book.
We are obliged to Sojan Jose, R. Dheepika and M. Balakrishnan of Pearson India Education
Services Pvt. Ltd, for their diligence in bringing this work out to fruition.
P. Sivaramakrishna Das
C. Vijayakumari
About the Authors
many students to obtain their M.Phil. degree from the University of Madras, Chennai and Bharathia
University, Coimbatore.
Along with her husband P. Sivaramakrishna Das, she has co-authored several books on Engineeriru
Mathematics catering to the syllabus of Anna University, Chennai and has also co-authored "Numerica
Analysis" and "Engineering Mathematics", all India books, catering to the syllabi of all major universi
ties in India.
Groups and Rings 1
1.0 INTRODUCTION
Before the introduction of set theory by the German mathematician Georg Cantor towards the latter
part of the 19th century, mathematics was based on number sets. The developments of set theory
brought about not only new mathematics but a fresh out look-abstraction. Many problems in
mathematics which were earlier considered totally unrelated are now recognized as diverse
manifestations of one common problem because of the abstract approach in mathematics,
For example, in elementary school you learned adding two pencils to four pencils and getting six
pencils or two marbles to four marbles and getting six marbles. By abstracting these physical problems
about pencils and marbles, we get a simple relation 2 + 4 = 6.
Thus abstraction is to identify the similarity of certain physical or theoretical situations and to
describe the pattern or form of these situations without any reference to the objects which make these
situations seemingly different.
Abstract algebra which has evolved as an independent subject in this way serves as the unifying
thread which interlaces almost all of mathematics - geometry, number theory, analysis, topology and
applied mathematics.
An algebraic system can be described as a set of objects together with some operations for
combining them. Some of the algebraic systems we will be discussing in this section are Groups,
Rings and Fields.
Note
1. Under the binary operation * the image of (a, b) is written as a * b instead of *(a, b) following
the notation in number system where we write 2 + 3, 2•3, 2- 3.
2. Binary operations on an arbitrary set Sare also denoted by •, o, E9, 0, + etc.
3. The Caretesian products S x S, S x S x S, ... , S x S x ... x Sn times are denoted by
S2, s». ... , S".
A function/: S3 ~Sis called a 3-ary operation on S.
A function/: s4 ~Sis called as 4-ary operation on Sand so on.
1.2 • Algebra and Number Theory
Examples
1. The usual addition+, i.e., addition on number sets is a binary operation.
The number sets are
N = the set of all positive integers
={1,2,3, ... }
Z = the set of all integers
= { ... ,-2, -1, 0, 1, 2, 3, ... }
={flp,q,e Z,q~o}
R = the set of all real numbers
C = the set of all complex numbers
I
= {a+ ib a, b, E R}
Thus, (N, +), (Z, +), (Q, +), (R, +),and (C, +)are algebraic systems.
2. Subtraction - is not a binary operation on N, since
'
1-3 =-2 ~ N
3. Let S = { 0, 1, 2}. A binary operation * on Sis defined by
0 * 0 = 0, 0 * 1=1*0 = 1, 0 * 2 = 2 * 0 = 0
1 * 1 = 2, 1 * 2 = 2 * 1 = 1, 2. * 2 = I
The result of the operation can be displayed as a two way table.
The Cayley table is
* 0 1 2
0 0 1 0
I 1 2 0
2 0 1 1
This table is called the multiplication table or operation table or Cayley table.
Cay/ey Table
Let S = {a 1, a2, ... , an} be a finite set with n elements and * be a binary operation on S.
There are n2 products ai * aj for all ai, aj e S. These n2 products are arranged in n rows and
n columns with ai * aj occurring in the intersection of the ith row and /h column. Such an operation
table is called a Cayley table, named after the great British mathematician Arthur Cayley.
Groups and Rings • 1.3
1.2 GROUPS
Group is a single operation algebraic system and it is an important building block for other algebraic
structures. Group theory finds applications in a wide variety of fields like physical sciences and
biological sciences, in the study of crystal structures, configuration of molecules and structure ot
human genes. Quantum mechanics and the theory of infra-red spectra rely on group theory to some
extent. Hamming code used in communication systems for automatic error-correction are groups.
Groups are used in film animations too.
Definition1. 7 Groups
A non-empty set G with a binary operation * defined on it is called a group if the following axioms
are satisfied.
l. Closure: For all a, b E G, a * b e G
2. Associativity: For all a, b, c E G, we have a* (b * c) =(a* b) * c
3. Identity: There exists an element e E G such that
a e e=e e a=a si a e G
4. Inverse: For each a E G, there exists an element a' such that a * a'= a' * a = e
The group is denoted by ( G, * ), the set and the binary operation.
Note In axiom (3), e is called an identity element for « on G. In axiom (4) element a' is called an
inverse of a with respect to *·
The definition does not say e is unique and a' is unique.
We will prove below that in a group (G, *)identity element and inverse of an element are
unique.
Note A commutative group is also called abelian group in honour of the great Norwegian
Mathematician Neils Henrik Abel.
Definition1.9 Let G be a group under the operation *· The number of elements in G is called the
order of the group G and is denoted by O(G).
If G has n elements, then O(G) = n.
If the O(G) is finite, then G is called a finite group, otherwise it is called an infinite group.
Theorem 1.1 Let (G, *)be a group, then (i) identity element is unique
(ii) For each a e G, inverse is unique.
Groups and Rings • 1.5
(i) Given a * b =a * c
Let a-1 be the inverse of a.
Premultiplying by a-1, we get
a-1 *(a* b) = a-1 *(a* c)
~ (a-1 *a)* b = (a-1 *a)* c [by associative axiom]
~ e*b=e*c [by inverse axiom]
~ b=c [by identity axiom]
(ii) Given b*a=c*a
~ (b *a) * a-1 = (c *a)* a-1 [post multiplying by a-1]
~ b *(a* a-1) = c *(a* a-1) [by associative axiom]
~ b*e=c*e [by inverse axiom]
~ b=c [by identity axiom]
•
1.6 • Algebra and Number Theory
*
Theorem 1.3 In a group (G, *) the equation a * x = b and y a = b have unique solutions for the
unknowns x and y as x = a-1 * b,y = b * a-1, where a, b e G. [AU 2003)
Proof Given ( G, *) is a group. Let e be the identity element of G and a-1 be the inverse of a.
Given a*x=b
::::} a-1 * (a* x) = a-1 * b [premultiplying by a-1]
::::} a-1 * (a* x) = a-1 * b [by associative axiom]
::::} e * x=a-1 * b [by inverse axiom]
::::} x=a-1 * b [by identity axiom]
Thus, x = a-1 «b e G is a solution.
We shall now prove the uniqueness.
Suppose xi' x2 e G be two solutions of a * x = b,
then a * x 1 = b and a * x2 = b
a* x1 =a* x2
::::} x 1 = x2 [by left cancellation law]
Hence the solution is unique and the unique solution is x = a-1 * b.
Similarly, we can prove that y * a = b has unique solution y = b * a-1•
Now Y* a=b
(y *a) * a-1 = b * a-1 [postmultiplying by a-I]
y *(a* a-1) = b * a-1 [by associative axiom]
y * e = b * a-1 [by inverse axiom]
y=b * a-1
y = b * a-1 e G is a solution.
We shall now prove the uniqueness.
Letyl'y2 be two solutions ofy *a= b
y1 *a= b and y, *a= b
Theorem 1.5 Let (G, *)be a group and a e G then for all integers m, n.
(i) am * an = am + n
(ii) (am)n = amn
= (a-l)k *a
= (a-l)k-1 * a-1 *a [·:k-1>0]
= (a-l)k-1 * e
= (a-l)k-1=a-k+1 =am+ I
Hence am * a = am + 1 for all integers m.
Thus, the result is true for n = 1.
Now we assume the result is true for n = k (> 1 ).
Then am * ak = am+ k
We have to prove that the result is true for n = k + 1
i.e., to prove am* ak+ I= am+k+ I
Now am* ak+ 1 =(am* a~* a [by Definition 1.9]
=am+k•a [by induction hypothesis]
=am+k+I [by definition]
:. the result is true for n = k + 1.
Hence by induction, the result holds for all positive integers n.
Case (ii) If n < 0, let n = -s, wheres is a positive integer.
Since s > 0, by case (i), we have
am-s.as=am-s+s=am
am-s =am* (astl =am* a=
~
Hence am+n =am* an is true for all integers m, n.
(ii) To prove (am)n ~ amn for all integers m, n.
When n =0, (am)n = (am)O = e
and amn=aO=e
(am)n = amn
Case (i) Let n be a positive integer.
We prove by induction on n.
Ifn = 1, then (am)l =am= am•I
So, the result is true for n = 1.
Now we assume that the result is true for n = k
i.e., (am)k = amk is true.
To prove the result is true for n = k + 1
i.e., to prove (am)k+ I = am(k+ 1)
Now (am)k+ I = (am)k * (am) · [by Definition 1.9]
=amk* am, [by induction hypothesis]
= amk+ m = am(k+ 1)
:. the result is true for n = k + I.
Hence by induction the result is true for all positive integers n.
Case (ii) Let n be a -ve integer, say n = -r, where r > 0.
Then (am)n = (am)-r
Groups and Rings • 1.9
EXAMPLE 1
Let G = {1,-1}.
Prove that G is a group under usual multiplication.
Solutlon.
Given G = { 1, -1} and the binary operation is usual multiplication.
Since G is a finite set, we form Cayley table and verify the axioms of a group.
Cayley table is
. 1 -1
1 1 -1
-1 -1 1
Closure: The body of the table contains only elements of G.
So, G is closed under multiplication.
Associativity: Since multiplication is associative in any number set, it is true here also.
Hence associative axiom is satisfied.
Identity: 1 is the identity element.
Inverse: Inverse of 1 is 1 and inverse -1 is -1.
So, ( G, •) is a group.
Further it is abelian group, since • is commutative.
EXAMPLE 2
Solution.
Let/= [ 01 OJ1 ,A= [-10 OJ1 ,B=. [ 01 -10 ] 'C= [-10 -10 ]
:. G= {l,A,B, C}.
Since it is a finite set we shall form Cayley table and verify the axioms of a group.
I is the identity element.
A•l=J.A =A, B•l=f.B=B, C•l=f.C=I
1.10 • Algebra and Number Theory
-1
A-B= [ 0
1
0J[10 -1oJ=[-10 l-
o
-1
-1
A-C= [ 0
1
OJ[-10 -1OJ=[l0 -10 J=B
B2=B•B=[l
0 -1OJ[l0 -1OJ=[l0 OJ=/ 1
c2=C•C= [ -10 -10 J [-10 -10 ] = [ 01 OJ1 =I
BC=[l0 -1OJ[-10 -1o]=[-10 o]=A
1
CA= [-1 0 J[-1 OJ= [1 0 J = B
0 -1 0 1 0 -1
BA=[~ ~lJ[~l ~]=[~l ~]=C
CB-
[ -1 0 ][1 0 J
0 -1 0 -1
-A
:. Cayley table is
• I A B c
I I A B c
A A I c B
B B c I A
c c B A I
1. Closure: The body of the table contains only all the elements of G.
So, G is closed under matrix multiplication.
2. Associative: Since matrix multiplication is associative it is true for G also.
So, associative axiom is satisfied.
3. Identity: I is the identity element.
4. Inverse: Inverse of I is I, Inverse of A is A, Inverse of B is B, Inverse of C is C.
So, (G, •)is a group under matrix multiplication.
5. Commutativity: Further, elements equidistant from the main diagonal are same.
Hence, the operation is commutative.
:. (G, •)is abelian.
EXAMPLE 3
Show that M2 the set of all 2 x 2 non-singular matrices over R is a group under usual matrix
multiplication. Is it abelian? [AU 2015]
Solutlon.
M2 = {[: ! Ja,b,c,de Rand ad-be :;e 0}
4. Inverse: Let A e M2, then IAI :;e 0 and so A-1 exists and A-1 = a~I
EXAMPLE 4
Show that the set of all non-zero real numbers is an abelian group under the operation * defined
ab
by a* b
2
= -. [AU 2007, 2016]
Solutlon.
Let G be the set of all non-zero real numbers.
:. G = R - { 0} ,. where R is the set ofreal numbers.
The operation * on G is defined by a * b = ab "i/ a, b e G.
2
We verify the axioms.
ab
1. Closure: a * b = - where a and b are non-zero real numbers.
2
ab . l b .
S o, - is non-zero rea num er.
2
ab
- e G => a * b e G "i/ a, b, E G
2
Hence G is closed under *·
1.12 • Algebra and Number Theory
a•(b*c)~a*bc
2
~ill~
2
a(bc)
4
EXAMPLE 5
If Sis the set of all ordered pairs (a, b) of real numbers with the binary operation E0 defined by
(a, b) E0 (c, d) =(a+ c, b + d), where a, b, c, dare real, prove that (S, E0) is a commutative group.
[AU 2008)
Solution.
Given S={(a,b)la,bE R}
1. Closure: Let x, y E S. Thenx =(a, b);y = (c, d),
where a, b, c, d E R
Now x E9 y =(a, b) E9 (c, d) =(a+ c, b + d)
Since a, b, c, d are real numbers, a + c, b + dare real numbers.
Hence (a+c, b+d) ES ~ x E9 yE S
So, S is closed under E9
Groups and Rings • 1.13
=y Ee x
X ® y =y ® X \::/ X, y E S.
Hence (S, Ee) is a commutative group.
i.e., (S, Ee ) is an abelian group.
EXAMPLE 6
Solution.
. 1
2ax=a=>x=
. -2
4. Inverse: Let A = a a] .
[ a a , a -:;:. 0 m G. If B = [b
b b] is the inverse, then AB= I
b
Groups and Rings • 1.15
[: :][: .] tJ
2ab 2ab] =
[ 2ab 2ab 1
2
r~ ~1 1
2
1 1
2ab= - ~b= -
2 4a
_!_j
l
_l_
_1 4a 4a .
Inverse of B =A = _l ___!_ exists.
4a 4a
Inverse axiom is satisfied.
G is a group under matrix multiplication.
5. Commutative: Since ab = ba V a, b, E R, for any
A = [: : l l
B= [: : we have AB= BA
EXAMPLE 7
If G = {l, w, w2} is the set of cube roots of unity, the prove that G is groupundermultiplication.
Solutlon.
Given G = {1, co,<02}
where co is the complex cube root of unity.
2n . . 2n
and co=cos-+zsm-
3 3
w3 3
= ( cos 2n+zsm
.. 32nJ3
2; 2;)
= cos(3 }isin(3 (by De. Morgon 's theorem)
EXAMPLE 8
The set of fourth roots of unity {1, -1, i; -i} is a group under usual multiplication.
Solution.
Let G={l,-1,i,-i}
We have to prove G is a group under usual multiplication.
We know i2 =-1
We have 1 • i = i, 1(-i) =-i, {-i)(-i) = i2 =-1
i(-i) = -i2 = 1
Since G is a finite set, we form Cayley table and verify the axioms.
The Cayley table is
. 1 -1 i -i
1 1 -1 i -i
-1 -1 1 -i i
i i -i -1 1
-i -i i 1 -1
1. Closure: The body of the cayley table contains only the elements of G.
:. closure axiom is satisfied.
Groups and Rings • 1.17
Note
l. The fourth roots of unity are the roots of the equation
x4- 1 = 0 ~ (x2- l)(x2 + 1) = 0
~ (x2-1)=0 ~ x2= 1 ~ x=±l
and x2 + 1 = 0 ~ x2 -1 = ~ x = ±i
:. the fourth roots are 1, -1, i, -i.
2. The cube roots of unity are the roots of the equation
x3 - 1 = 0 ~ (x - 1 )(x2 + x + 1) = 0
x-1=0 x=l
-1±"'1-4 -l±i../3
and x2+x+1=0 x= =---
2 2
-l+i../3 h -1-i../3
If m= 2 , t en m 2 = --- 2 ,
Since mis root of x3 - 1 = 0, m3 - 1 =0 ~ m3 =1
: . the roots are 1, m, m2.
EXAMPLE 9
Show that set of nth roots of unity {1, w, m2, ... , mn - 1 }, where n ;:: land m = cos 21r + sin 21r , is
n n
an abelian group under usual multiplication.
Solution.
The nth roots of unity are denoted by 1, m, m2, m3, ... , mn -1, where m = cos 21r + i sin 21r .
L etG = {1 , m, m 2 , m 3 , ... , m n-1}· n n
where
1.18 • Algebra and Number Theory
=cos
( n-;;2n) +zsm
. ( n-;;2n) (by De Morgan's theorem)
. 1 w w2 w3 ... wn-1
1 1 w w2 w3 ... wn-1
w w w2 w3 w4 ... 1
w2 w2 w3 w4 w5 ... w
w3 w3 w4 w5 w6 ... w2
... w3
1. Closure: The body of the table contains only all the elements of G. So, G is closed under
multiplication.
the closure axiom is satisfied.
2. Associativity: Since multiplication of complex numbers is associative, it is true here also,
So, the associative axiom is inherited.
associative axiom is satisfied.
3. Identity: The number l is the identity element of G, since
l •a= a- 1 =a Va E G.
EXAMPLE 10
Show that (R - {-1 }, *) is an abelian group under the binary operation * defined by
a* b =a+ b +ab 'Va, he R - {-l}.
Groups and Rings • 1.19
solution.
Givena* b =a+ b +ab,"\/ a, be R - {-1} = G.
1. Closure: Since a, b are real numbers -:F- -1, we have
a + b + ab is a realnumber and a + b + ab -:F- -1
For,if a+b+ab=-1
Then 1 +a+b+ab=O
=> (1 + a)(l + b) = 0
=> a = -1 or b = -1, which is a contradiction.
a+b+ab-:F--1
=> a+b+ ab e G=R-{-1}
aebe G
So, G is closed under *
2. Associativity: Let a, b, e e G
Then 'a* (b * e) =a* (b + e +be)
=a+ b + e +be+ a(b + e +be)
=a+ b +e+ be+ab +ac +abc (1)
and (a* b) * e =(a+ b +ab)* e
=a +b +ab +e+ (a +b + ab)e
=a +b + e +ab +ae +be+ abe (2)
From (1) and (2), a* (b * e) =(a* b) * e "\/a, b, e e G
3. Identity: Suppose e e G be the. identity, then
a•e=a=>a+e+ae=a
=> e(a+l)=O
=> e=O [·: a:;t-1]
Identity element is 0.
4. Inverse: Let a e G he any element. :. a -:F- -1
If a' is the inverse of a, then a * a' = 0
=> a+a'+aa'=O
=> a'(l+a)=-a
' -a
a=-- [·: a-:F--1., 1 +a-:F-0]
l+a
Clearly
-a
--:F--1
l+a
[·. l:aa eG]
Thus inverse exists for every element.
So, inverse axiom-is satisfied.
5. Commutativity:)·>. a * b =a+ b +ab
=b+a+ba=b•a
(G, •)is an abelian group.
1.20 • Algebra and Number Theory
EXAMPLE 11
Solution.
Let G = { ( :b : )a, be R, a # 0 or b # 0}
x y)eG~A•BeG
( -y x ,
I
G is closed under *
2. Associativity: We know matrix multiplication is associative. Hence it is true in G also.
Suppose A' = ( x
-y
y)
x
be the inverse of A
then A •A'= I
(:b : ) * (:Y, ~) = ( ~ ~)
-i a b
(2) => ay=-bx=>y= -• =
a a2 +b2 a2 +b2
A' =[a ;b a :b
2 2 2 2]
a2 +b2 a2 +b2
2 2 a2 b2 a2 + b2 1
Now x +y = + = = -::F-0
(a2 +b2)2 (a2 +b2)2 (a2 +b2)2. a2 +b2
A'e G.
Hence inverse exists.
:. Inverse axiom is satisfied.
A•B=(a
-b
b)*(e
a -d
d)
e
=(ae-bd -ad-be)
be+ad -bd+ae
and
B•A= (:d ;}(:b :)=(::::~ -ad-be)
-bd+ac
A * B = B *A VA, B e G.
Hence (G, •)is an abelian group.
;1.22 • Algebra arid Number Theory
EXAMPLE 12
Show that if every element in a group G is its own inverse; thenthe group G must be ~belian.
[AU 2005, 2006]
.(OR)
In a group G, if a2 = e 'V a e G, then G is abelian.
Solution.
Let a, b E G be any two elements, then a * b e G.
Given every element is its own inverse.
a-1 =a, b-1 =band (a* bt1 =a* b
=>
=> b * a = a * b 'V a, b e G
G is abelian.
Note
1. · Consider the second part.
Given a2=e'V aeG
a-1* a2 = a-1 * e
=> (a-1 *a) *a= a-1 * e
=> a= a-1 'Va e G.
i.e., every element is its own inverse.
Hence G is abelian by first part.
2. Is the converse true?
i.e., if G is abelian, then every element is its own inverse.
Ans. No. for example, (Z, +)is an abelian group. But inverse of2 is -2 and not 2.
3. Let (G, *)be a group. An element a e G is called an idempotent element if a2 =a.
Then a-1 * a2 = a·-1 * a =>a= e. So, the only idempotent element ·in a group is the identit
element.
EXAMPLE 13
If ( G, *) is a group of even order, then show that there is an element *
a e in G such that a2 = e,
Solution.
Let (G, *) be a group of even order. Let 0( G) = 2n and let e be the identity element of G.
Omitting e there are 2n - 1 other elements in G.
We know in a group the inverse of an element in unique.
Inverse of e is e.
Since 2n - 1 is an odd number, pairing off the elements and their inverses as (ap a[1), (a2, a;:1
... , we will be left with at least one element a :t:. e, left out of the pairing.
So inverse of a is itself.
i.e., a = a-1 => a * a =a * a-1 => a2 = e
Groups and Rings • 1.23
EXAMPLE 14
Jn a group (G, •),if (a• b)2 = a2 • b2 \:/a, be G, then show that (G, •)is abelian. [AU 2013]
Sofutlon.
Given (G; •)is a group.
and (a• b)2 = a2 • b2 \:/a, be G
(a• br» (a• b) =(a• a)• (b • b)
a• (b •a)• b =a• (a• b) • b [by associative axiom]
=> b • a=a• b [by left and right cancellation laws]
This is true for all a, b e G.
Hence (G, •)is abelian.
EXERCISE 1.1
1. Show that Qi" of all positive rational numbers form an abelian group under the operation • defined
by a • b = -ab2 'Va,b e Q + .
2. The set ofall 2 x 2 matrices {[: : ]Ix'* 0, x e R} is a group under multiplication.
3. Let G be the set of all 2 x 2 matrices (: _~). where a ¢ O. Prove that G is an abelian group
0
under matrix multiplication.
4. Show that (Z8 - {O}, •)is a group.
5. Show that (Z17- {O}, •)is a group.
6. Ifin a group G, (ab)c = a(cb) for all a, b, c e G, then show that G is abelian.
7. Ifin a group G1 b-1 a-1 b a== e for all a, be G, then show that G is abelian.
8. Show that in a. group a-1 = b-1 => a= b.
9. Show that H = {(~ ! )ad :F- 0} is a group under matrix multiplication .
. 0. If G is a group in which (a• W = ai •bi for three consecutive integers i for all a, b, e G, then show
that G is abelian.
1. Prove· that the set of all complex numbers C= ·{a +ibja,be R} is a group under usual addition.
We shall now consider some special groups which will be typical examples of many concepts ii
the development of group theory.
They are
1. Congruence modulo group
2. Permutation group
=
Note a b (mod n) is read as "a is congruent to b modulo n", The relation a is an equivalence
relation on the set of integers Z.
The relation is called congruence modulo n and n is called the modulus .of the relation.
Groups and Rings • 1.26,
Remark For any two integers a, be Zand an integer n > 1, by division algorithm
a= q1 n + r1 and b = q2 n + r2, where 0 s; r1<nand0 s; r2< n.
Then (1)
Since 0s;r1< n and 0 s; r 2< n, we have lri -r1I < n.
If a= b(mod n), then a - bis divisible by n
(1) => r1 - r2 is divisible by n
Since Os; lri-r21 <nand nl(ri-r2)=>1ri-r2l=O
=> r1-r2=0
=> rl =r2
=> a(mod n) = b(mod n)
Thus a=b(modn)
=> a(mod n) = b(mod n)
Conversely,if a= q1 n + r1 and b = q2 n + r2 with r1 = r2,
then a-b=(q1-q2)n
=> a -.bis divisible by n
=> a=b(modn) [by Definition 1.9]
.a= b(mod n) if and only if
a(mod n) = b(mod n)
In other words, a = b(mod n) if and only if a and b have the same remainder when divided by n.
Theorem 1.6 Prove that the congruence modulo n relation is an equivalence relation on Z.
(ii) Symmetry:
if a= b(mod n), then a - b is divisible by n
~ b - a is divisible by n
~ b=a(modn)
So, the relation is symmetry.
(iii) Transitive:
If a= b(mod n) and b = c(mod n)
~ a - b is divisible by n
~ a=b==qi n
and b - c is divisible by n
b-c=q2n
a-·b + b-c = q1 n +s»
a - c = (q1 + q2)n
a - c is divisible by n
a =c(modn)
So, the relation is transitive.
:. the congruence relation is reflexive, symmetry and transitive.
Hence the relation of congruence is an equivalence relation on Z.
Hence the theorem
A characteristic property of the equivalence relation on a set is that it partitions the set.
:. the equivalence relation =on Z are called congruence classes mod n. I
WORKED EXAMPLES
EXAMPLE 1
Show that the set G = {O, 1, 2, 3, 4, 5} is group under addition modulo 6.
Solution.
Given G = {O, 1, 2, 3, 4, 5} is the modular set we have to prove that (G, +6) is a group.
We form the Cayley table and verify the group axioms.
The Cayley table is
+6 0 1 2 3 4 5
0 0 1 2 3 4 5
1 1 2 3 4 5 0
2 2 3 4 5 0 1
3 3 4 5 0 1 2
4 4 5 0 1 2 3
5 5 0 1 2 3 4
1. Closure: The body of the table contains only elements of G once is each row and column.
So, G is closed under +6.
2. Associativity: Since usual addition is associative, +6 is associative.
3. Identity: 0 is the identity element
t Inverse: Inverse ofO is 0, Inverse of 1 is 5.
Inverse of 2 is 4, Inverse of3 is 3
Inverse of 4 is 2, Inverse of 5 is 1.
, Further a + 6b = b + 6a 'if a, b E G, since the elements equidistant from the main diagonal are the
fame.
. (G, + 6) is an abelian group.
j Similarly, G = { 0, 1, 2, 3, ... , (n - 1)} isa group under+n'
EXAMPLE 2
If G = {I, 2, 3, 4}, the non-zero elements of Z5, then prove that Gin an abelian group unde
multiplication modulo 5.
Solution.
Given G = { 1, 2, 3, 4 }. Let x5 denote multiplication modulo 5.
We shall form the Cayley composition table and verify the axioms of a group.
2 x5 3 = 6 = 1 (mod 5)
3 x5 4 = 12 = 2 (mod 5)
Same way compute all the products and the Cayley table is given below:
X5 1 2 3 4
1 1 2 3 4
2 2 4 1 3
3 1 4 2
3
4 4 3 2 1
1. Closure: The body of the table contains only all the elements of G.
So, G is closed under x5
2. Associativity: Since multiplication of integers is associative, and x5 depends on usual multiplier
tion and so, x5 is associative.
i.e., ax 5(b x 5c) =(ax 5b) x 5c, 'c;/ a, b, c e G.
3. Identity: 1 is the identity, since 1 x 5a =a\;/ a e G.
i.e., lx51=1, lx52=2, lx53=3, lx54=4
4. Inverse: From the table we find inverse of 1 is 1, inverse of2 is 3, inverse 3 is 2 and inverse of
is 4. So, inverse axiom is satisfied.
5. Commutativity: In the table, we find elements equidistant from the main diagonal are all equ
and so, x5 is commutative.
Hence ( G, x5) is an abelian group.
Groups and. Ril'lgs • 1;2?
EXAMPLE 3
Verifywhetherthe non-zero elements of Z6 form a groupundermultiplicationor not?
solutlon.
The non-zero elements of Z6 are 1, 2, 3, 4, 5, 6 we denote it as z;.
z; ={l,2,3,4,5}
Since it is finite, we verify the axioms by forming cayley table.
The Cayley table is
"6 1 2 3 4 5
1 1 2 3 4 5
2 2 4 0 2 4
3 3 0 3 0 3
4 4 2 0 4 2
5 5 4 3 2 1
EXAMPLE 4
rove that the non-zero elements of Z7 is a groupundermultiplication.
={l,2,3,4,5,6}
?Smee z; is finite set, we verify the axioms by forming Cayley table.
=
Te have 2•8 = 16 2(mod 7)
3 • 5 = 15 = l(mod 7) and so on
fhe Cayley table is
•7 1 2 3 4 5 6
1 1 2 3 4 5 6
2 2 4 6 1 3 5
3 3 6 2 5 1 4
4 4 1 5 2 6 3
5 5 3 1 6 4 2
6 6 5 4 3 2 1
i.30 • Algebra and Number Theory
I. Closure:
The body of the cayley table contains only all the elements of z; z;
and so, is closed under
multiplication.
2. Associativity:
We have a, ( b • 7 · c) = (a• 7 b) • 7c \:/ a e z;as it depends upon the product of elements in z which
is associative ..
:. associative axiom is satisfied. ,
3. Identity:
Since 1 • 7 a = a- 1 \:/ a ez;
1 is identity of z;
4. Inverse:
The inverse of 1 is l
We have 2·,4 = 8 = l(mod 7) and 4°72 = 8 = l(mod 7)
4 is the inverse of 2 and 2 is the inverse of 4
3°75 = 5°73 = 15 = l(mod 7)
5 is the inverse of 3 and 3 is the inverse of 5
and 6•76 = 36 = l(mod 7)
6 is the inverse of 6 ,
all the axiom are satisfied
Hence ( z; 7) is a group
0
5. Commutative:
Clearly a•7 b = b•1 a\:/ a, be z;
Since it depends on the product in Z, which is commutative.
:. ( z;'·,)is an abelian group.
EXAMPLE 5
Prove that (Zn,+) is a group. Where Zn= {[O], [l], [2], •••• , [n - 11}.
Solution.
Given Zn= {[O], [1], [2], ... , [n - l]}
We verify the axioms for a group
l. Closure:
lf[a], [b] e Zn, then [a]+ [b] =[a+ b] = [r] where r is the remainder when a+ bis divided by n
[r] E Zn :. [a]+ [b] E Zn
closure axiom is satisfied.
Groups and Rings • 1.31
2. Associativity:
We have [aJ + ([bJ + [c]) = ([aJ + [b]) + [cJ V [aJ,
, [bJ, [cJ E Zn
since it depends on the associative property y + in Z.
:. associative axiom is satisfied.
3. Identity:
Since [aJ +[OJ= [a+ OJ= [aJ Va EZn
and [OJ+ [aJ = [O + aJ = [aJ Va EZn,
[OJ is the identity element in Zn
identity axiom is satisfied.
4. Inverse:
If[aJ EZn, then [n-aJ is the inverse of[aJ,
Since [aJ+ [n-aJ =[a +n-aJ = [nJ =[OJ
inverse axiom is satisfied
all the axiom are satisfied in Zn
(Zn, +) is a group.
5. Commutative:
We have [aJ + [bJ =[a+ bJ = [b + aJ = [bJ + [aJ V [aJ, [bJ a EZn
(Zn,+) is an abelian group
We have seen that (Z6 •) is not a group and even (z;, •)
is not a group.
However we can prove that the subset { 1, 5} if z;, which are less than 6 and relatively prime to
6 is a group. This group set is denoted by U6 or U(6).
Definition1.13 If n is an integer> 1, then the set of all positive integers less than n and relatively
prime to n is denoted by Un or U(n ).
For example,
z; = {1, 2, 3, 4, 5, 6, 7, 8} then U = {1, 2, 4, 5, 7, 8}
9
WORKED EXAMPLE
EXAMPLE 6
Prove that U9 = {1, 2, 4, 5, 7, 8} is a group.
Solution.
Given U9 = {l, 2, 4, 5, 7, 8}
Since it is finite set, we verify the axioms of a group by forming the Cayley table.
We have
2•5 = 10= l(mod 9)
4•8 = 32 = 5(mod 9)
5•7 = 35 = 8(mod 9)
7•8 = 56 = 2(mod 9) and so on.
1~32 • Algebra and Number Theory
•9 1 2 4 5 7 8
1 1 2 4 5 7 8
2 2 4 8 1 5 7
4 4 8 7 2 1 5
5 5 1 2 7 8 4
7 7 5 1 8 4 2
8 8 7 5 4 2 1
1. Closure: The body of the Cayley table contains only all the elements of U9.
So, U9 is closed under multiplication mod 9.
closure axiom is satisfied.
2. Associativity: We have a» (b • c) =(a• b) • c "i/ a, b, c E U9 because it depends on the associative
property of integers for multiplication.
associative axiom is satisfied.
3. Identity: From the table we find that
I • a = a • 1 "i/ aE U9 .
We shall now put these permutations in a two row notation with the first row in the given order and
the second row in the rearranged order. So, we can write the above permutations as
(: : :} (: : ~} (: : :}
(: : :} (: : ~} (: : :)
In the new notation we can look upon these permutations as one-one functions from S ~ S, with the
second row elements as images of the first row elements. In the case of finite set a one-one function
from S ~ Sis also onto. So, these permutations are bijective functions on S.
We now define a permutation.
Definition 1.15 A symmetry of a rigid body is a one to one distance preserving mapping or
transformation of the body onto itself.
If n is even ; there are !!.. reflections about the lines through opposite vertices and !!.. reflections
2 ·2
about the lines through the mid-points of opposite sides.
Dn is called the nth dihedral group.
If n = 3, D3 is the group of symmetries of an equilateral triangle, since a regular polygon of3 sides
is the equilateral triangle.
D3=S3
If n = 4, the regular polygon of 4 sides is the square, then O(D4) = 8, but O(S4) = 4! = 24
D4 is a proper subgroup of S4.
;,· 1.34 • Algebra and Number Theory
WORKED EXAMPLES
EXAMPLE 1
If S = {l, 2, 3}, then prove that (S3 •)is a non-abelian group, where• is composition offunction.
Solution.
Given S = { 1, 2, 3}.
The total number permutation on Sis 3 ! = 6.
The permutations are
Pi=G
2
2 ~). P2=G
2
3 ~). ~=G
2
3 ~)
P4 = 2
(1
2
~). Ps=G
2
~). P6=G
2
2 ~)
Then S3 = {ppp2,p3,p4,p5,p6} and the binary operation on S3 is the composition of functions.
The operation is performed on the left as below.
1-+1-+2
For example (1) (p2 • p3) = ((l)p2)p3 = (l)p3 = 2, i.e.,...____... (i) [p2 • p3] = 2
Similarly for other elements.
Since (l)p1=1, (2)p1=2, (3)p1=3,
p1 is the identity element on S.
3-+2-+3
2 2
P2 •p3= G 3)(1 2 D=p4
3 2 2 3 ~)=G P2 P3
,,.-----...._
2 1-+1-+2
P2•P3 =G 1 ~)= p4 ,,.-----...._
2-+3-+1 P2•P3
2 2 2 ,,.-----...._
P2•P4 =G ~)=G n=p3 3-+2-+3
3 ~)G 3
2 2 2
P2 •p5 =G
3 ~)G ~)=G 2 ~)=p6
2 2 2
P2•P6 =G ~)= Ps
3 ~JG 2 ~)=G
Groups and Rings
• 1.11
2 2 2
p3·P2 =G 3 DG 3 ~l=G 2 D=p6
p3•p3 = (12 2
3
2 2
~)G 3 ~)=G 1 ~)=Ps
p3·p4 =G
2
3 ~)G D=G 3 ~)= P2
2 2
2 2 2
p3•P6 =G ·3 .nG 2 D=G ~J=p4
2 2 2
P4 •P2 =. (12 ~)G ~)=G D=p5
3
2 2 2
p4 •p3 =(~
DG 3 ~)=G 2 D=p6
2 2
p4 ·p4 =·G
2
~)G 1 ~)=G 2 ~)=Pi
2 2 2
P4 • Ps =, (12 1 DG 1 ~)=G 3 D=P2
3 ~)= P3
2 2 2
p4·P6 .=G ~)=G
DG 2
Ps•P2 =G
2
~)G 3 D=G l ~)= p4
2 2
2 2 2
Ps·P3 =G
DG 3 ~)=G 2 D=P1
2 2
Ps·P4 =G ~)=G 2 D=p6
2_3)(1
1 2 2
2 2 2
Ps•Ps =G 1 DG D=G 3 n=p3
2 2 2 3)
Ps•P6 =G 2 D=G 3 2 = P2
.
~)G
2 2 2
P6·P2 =G 2 DG 3 ~J=G 3 3)1 =. PJ .
2 2 2
P6•P3 =G 2 ~)G 3 ~)=G 3 ~)= P2
1.~36 • Algel;>ra and Number Theory
• P1 P2 P3 P4 Ps P6
P1 P1 P2 P3 p4 Ps P6
P2 P2 P1 p4 P3 P6 Ps
P3 P3 P6 Ps P2 P1 P4
P4 P4 Ps P6 P1 P2 P3
Ps Ps p4 P1 P6 P3 P2
P6 P6 P3 P2 Ps p4 P1
Closure: Since the body of the table contains only the elements of S3, S3 is closed with respect to.
Associativity: We know composition of functions is associative and so it is true in S3 also.
So, associative axiom is verified,
2 3)
Identity: p1 = (l1 2 3
is the identity element of S3•
Inverse: To find the inverse ofan element pi, find p. in the row through pi, to column head ofp1 is the
inverse ofpi i.e., pj1.
: . From the table we see that
-1 -1 -I
P1 =r.. P2 = P2, P3 = Ps,
-1 -1 -1
p4 = p4, Ps = p3, P6 = P6·
Thus inverse exists for every element. Hence inverse axiom is verified. So, (S3, •)is a group.
From the table we find thatp3 • p4 = P: andp4 • p3 = p6•
P3"P4*-P4"P3
Hence the group is not commutative.
Note
I. (S3, •) is the smallest non-abelian group. So the order of the smallest non-abelian group is 6. All
groups of order < 6 are abelian.
2. The permutation group (S3, •) is also known as symmetric group because certain permutation
groups can be considered as the group of symmetries of regular polygons.
Groups and Rings • 1.37
EXAMPLE 2
Show that D3 is same as S3•
Solution.
D3 is the dihedral group of symmetries ofan equilateral triangle whose vertices are 1, 2, 3.
1 3
2 3
The symmetries are the rotations about the centre 0 and the reflectionsRj,R2, R3 about the altitudes
through the vertices 1, 2, 3 respectively. 1
2 2
R1=G 3 ~) = Pz, R2=G 2 ~) = P6,
2 2
R3=G ~)= P4, R120° = (~ 3 ~)=~,
R240° = (~
2
D = Ps' R360° = G
2
2 D=Pi 2 3
The three rotations and the three reflections are the symmetries of the equilateral triangle, which are
the six permutations of { 1, 2, 3}.
EXAMPLE 3
Find the dihedral group D4•
Solution.
D4 is the dihedral group of symmetries of a regular polygon with 4 sides, which is a square.
Let 1, 2, 3, 4 are the vertices of the square.
1~38 • Algebra and Number Theory
4 3 4 .------~----.
B 3
~------~
' , '' ,
''
'' ,, '' ,,
,
'' , ,, '' ,,
'' , ,, '
''
I
r ,, /
,
)(0 C ------?!(------- D
,, '' ,." 1c),
, ,, '' , I '
,, '' ,,
,, '' ,,
'
2 A 2
The symmetries are the rotations about the centre 0 through 90°, 180°, 270°, 360° and the reflections
about the diagonals and the bisectors of the sides.
R13 = ( ~ ! ~ ;} R24 ~ ( ~ ~
3
:)
EXAMPLE 4
Let G be the set of all (symmetric) rigid motions of a equilateral triangle. Identify the elements
of G and show that it is a non abelian group of order six. [AU 2013, 2017, 2018)
Solutlon.
Let the vertices of the equilateral triangle be 1, 2, 3.
Grpups and Rings • 1.39
2 3 2
--+
The symmetries are the three rotations about centre 0 through 120°, 240° and 360° in the anticlock-
wise sense and the reflections RI' R2, R3 about the _i_r bisectors to opposite sides through the vertices
l, 2, 3 respectively in the plane.
The reflection about the _i_r bisector through l, 1 goes to l , 2 goes to 3, 3 goes to 2( ....
The reflection about the .ir bisector through 2, 1 goes to 3, 2 goes to Z; ~ gq~s.tQ._1.·
The reflection about the .ir bisector through 3, l.goes to 2, 2 goes to 1;,an!l 3 gOeSto3,/.
1'·<
R1 = L
1 2
3 2).
3
R2 =(
.1 2 3
3 2 1).
.
R3 =
>·1·\~'-1
(2 i 3)
Since it is a finite set we shall prove it is a group by forming Cayley's Table.
In the compositions, we use left operation x(f • g) (xi) • g =
Ro --(1 2
l 2 ~) and so, R0 is the identity permutation -.»
R1 •R1 =G 2
3
2
~}G ~)=G3
2
2 ~)=Ro
R1·R2 =G 2
3 ~}G D=G
2
2
2
~) = R240°
R1 •R3 =G 2
3 ~}G D=G
2 2
3 ~) = R120°
R2 ·R2400 =G 2
2 ~}G ~)=G2 2
~)=R3
R2 •R1200 =G 2
2
2
~}G ~J.=G
3
2
3 ~)=R1
2
R2•R1 =G 2 ~}G ~)=G
2
3
2
3 ~) = R120°
R2·R2 =G 2
2 ~}G ~)=G
2
2
2
2 D=Ro
R2 •R3 =G 2
2 ~}G D=G
2 2
1 ~) = R240°
R3•R2 =G 2
~}G ~)=G
2
1
2
3 ~) = R120°
R3•R1 =G 2
1 ~}G ~)=G
2
3
2
1 ~J= R240°
R3•R3 =G 2
~}G D=G
2
1
2
2 ~)=Ro
The Cayley Table is
• Ro R120° R240° RI R2 R3
R.
Ro 0 R120° R240° R1 R2 R3
RI R1 R3 R2 Ro R240° R120°
R2 R2 RI R3 R120° Ro R240°
R3 R3 R2 RI R240° R120° Ro
2. Associativity: In general composition of functions is associative and hence it is true here in G also.
3. Identity: The identity map R0 is the identity element; since R0 • f =f V f E G.
4. Inverse: Inverse of R0 is R0.
Since R1200 R2400 = R2400 • R1200 =Ro
The inverse of R120o is R240o and the inverse of R240o is R120o
the inverse of R1 is RI' since R1 • R1 = R0
the inverse of R2 is R2, since R2 • R2 = R0
the inverse of R3 is R3, since R3 • R3 = R0
So, the inverse exists for every element in G
So, (G, •) is a group of order 6.
we have R120o • R1 = R2 and R1 • R120o = R3
:. we find R120o R1 ::!:- R1 • R120o
So, the group is non abelian and the order of the group is six.
EXAMPLE 5
Show that the set of symmetric rigid motions of a square with the binary operations of
composition of functions is a non abelian group of order 8. [AU 2015]
Solutlon.
Let the vertices of square be 1, 2, 3, 4.
2 A 2
~-----~ ~-----~
'
'' ,, '
'' ,,
,
'
, ,, ' ,
''
'' ,,
'' ,,
,,
-. I ",,
' "'O ' I
)( D ------*------ C
//" 0 -. .: I ''
,,
, I '
'' ;'" I ',,
, ''
,, ' //,
, '
',
'
4 3 4 B 3
The symmetries are the rotations about 0 through 90°, 180°, 270°, 360° in the anticlockwise sense,
~0° =G
2
3
3
4 ~} R1goo =G
2 3
4 ~)
R210° = (~
2 3
2 ;} R3600 =G
2 3
2 3 :)=Ro
Reflections about the diagonals joining 1, 3 and 2, 4 are R13 =G 2 3
4 3 ~)
3
R24 = (13 2
2 :)
Groups and Rings • 1.43
RAB =C ~ ~ ~). (
RcD=432
1 2 3 41)
These are the 8 symmetries ofa square which form the group D4.
2 3
. =(~ 2
4)
4 =R24-
&;oo •RAB= G 2
3
3
4
4}(1
1 2
2
3
1 4 ~)
2 3
4)
=G 4 3
2 =R13
Note D4 is a non abelian group with 8 elements and so, it is a called an octic group.
But S4 contains 4! = 24 elements.
So D4 is a subgroup of S4•
EXAMPLE 6
Solutlon. ·
Given
t=(~
2 3
3
4
4 ~} g=
(15 2 3 4
4 3 ~)
Then
r' = (~
3
2 3
4
4 ~)=(~
2 3
2
4
4 ~) [Reversing/, we getj1]
g
-1
= (5
1
4
2
3
3 4 ~)=(~
2
5
3
3
4
2
n
1.44 • Algebra and 'Number Theory
2 3 4 2 3 4 2 3 4
f 2 = (12 3 1 4 ~)G 3 1 4 ~)=G 1 2 4 ~)
2 3 4 2 3 4 2 3
4 5)
fg=G 3 4 ~)G 4 3 D=(: 3 5 1 2
2 3 4 2 3 4 5)(1 2 3 4 5)
gf2g-1 =G
4 3 DG 2 4 545321
2 3 4
=G 2 5 3 !)
g-1/gf-1 = (:
2 3 4
5 3 2 n(: 2 3 4
3 5 1 ~)G
2 3 4
2 4 ~)
2 3 4
=G 1 5 2 !)
EXAMPLE 7
2 3 2 3
If /=G ;) and g=G :). thenfind/-1gfandgfg-1• [AU 2006]
3 4 1 4
Solution.
Given
2 3
f =(~ 3 4 4)
1
and
.
g= (13 2 3 4)
1 4 2
. on four symbols.
are Permutations
3 2 3
1-1 =(~ 2 4 1 )=(1
3 4 4 1 2 ;)
1 2 3
g -1 = (3 4_2)=(1 ;)
1 2 3 4 2 4
2 3 2 3
1-lgf =(: 2 3 4)(1
2 ;)G 1 4 2 2 3 4 ;)
2 3
=(~ 4 2 ;)
and gfg-1 =G
2
1
3
4 ~)G 2 3
3 4 ;)G 2 3
4 1 ;)
2 3
=(~ 4 2 ;)
Groups and Rings • 1:45
EXAMPLE 8
Solutlon.
Given
I=
(1 3
2 3 4)
2 I .4 '
(1
s= 2 3 4
2 3
;)
g·l=G
2 3
3 4
·;}G 2 3 4}=(1
2 1 4 2
2 3
1 4 ;)
(g• f)- I = 2(1 2 3
4 ;) (1)
2 3 2 3 4)
Now 1-1 =(~ 4)
4 , g-1 =(14 1 2 3
2
2 3 2 3
1-1•g-t = (1
3 2 :}(: 2
4) =(1 2
3
3
2 1 4 ;) (2)
EXAMPLE 9
Solutlon.
g=(: 2
I 5
3 4
2 ~)G 2 3 4
2 4 3 ~)G 2
4 5
3 4
D
EXAMPLE 10
=G
2 3 4
3 2 4 n
In the group S5, let a = (~ 2
3 4 5) and f3
3 1 4 5 '
= (12 2 3 4 5)
1 5 3 4
.
. Determme
lllutton.
2 3 4
Given a=G
2 3 4 5)
3 l 4 5 ' P=G 5 3 !)
2 3 4 2 3 4 5)
(i) af3=G 3 1 4 ~}G 1 5 3 4
[left operation]
2 3 4
=G 5 2 3 !) ~;~
(ii) a2=G 2
3
3 4
I 4 ~}G
2
3
3 4
4 ~)
=G
2 3 4
2 4 ~)
:. a3 = a2 •a= (1 3
2 3
l 2
4
4 ~}G
2 3 4
3 1 4 ~)
=(1 2
1 2
3
4
4
5 ~)
(iii) p4 =P·P~G 2 3
s
4
3 !}G 2
I 5
3 4
3 !}
=(1 2
1 2
3
4
4
5
n
:. /34 = p2 • p2 = c 2
l 2
3
4
4
5 ~}G 2
2
3 4
4 5 D
=(1I 2
2
3 4
5 3 4
5)
. Groups and Rings • 1.47
:··::i·
p-1 =( ~
2 3 4
4 5 ~) [i.e., 1 ""2, 2"" 1, 3 ""4, 4 ~ 5, 5 "" 3,]
2 3 4
(v) we have (aP) = G
5 2 3 !)
(ap)-1 =G
2 3 4
3 4 5 ~)
(vi) p-la-1 =G
2 3 4
4 5 ~}G 2 3 4
2 4 ~)
=G
2 3 4
3 4 5 ~)
We find
Which is inverse reversal law.
EXERCISE 1.2
3. Given. f = (1
3 4
2
31 4)
2 . s = 2
2 3
4) (1
3 4 1,h=324
(1 2 3 ~}Compute (i) if• g) • h (ii) h-1
(iii) h-1 gh
[Ans: (i) ( ~
2 3
2 3
4) (1
.. h = 4
'1 ' (ii)
2 3
2 (1
3 ' (iii) h = 3
4)
2 3
4 2 ~}
4. Show that z;
= { 1, 2, 3, 4} is group under 's-
5. Show that the set U6 = { 1, 3, 5, 7} is group under-j,
6. Show that the set G = {O, 1, 4, 7} is not a group under +8.
2. 3 4)g=(l 2 3 4)
7. lf/=(l Thenfindf·g·g•/alsoverifyif•gt1=g-1·/-1•
3412 2341' '.
[AU 2009]
8. mven/= (~ ! 3
; } g= (~ ~ : ~} h = (~ ! J3
; compute (i) c- g)h, (ii) h-1,
(iii) h-1gh.
1~48 • Algebra and Number Theory
1.2.6 Subgroup
Definition 1.17 Let (G, •)be a group. A non-empty subset Hof G is said to be a subgroup of G if
H itself is a group under the same operation • of G.
For example, (Q, +)is a group and Z is a subset of Q. We know that (Z, +)is a group and so (Z, +)
is a subgroup of (Q, +)
In the group ( G, • ), if e is the identity then the singleton { e} and G are subsets of G.
It is obvious ({e}, •)and (G, •)are subgroups of(G, •).
These two subgroups are called trival subgroups of ( G, • ).
All other subgroups of (G, •)are called non-trival subgroups.
The non-trival subgroups are also known as proper subgroups.
Theorem 1. 7 Let (H, •) be a subgroup of ( G, •) and e is the identity of G.
Then (i) e is also the identity of H.
(ii) Every a e . H bas the same inverse as a treated as an element of G has.
i.e., inverse of a is tr1•
Proof Given (H, •) is a subgroup of ( G, •) and e e G is the identity.
(i) Suppose e' be the identity element of H. Let a e H
Then a • e' = a.
Sinceae HcG~ae G
a•e=a [ ·: e is identity of G]
a•e'=a•e
Treating this as an equation in G, by left cancellation law in G, we get e' = e.
Hence e is the identity of H.
(ii) Let a e H be any element.
Let a-1 be the inverse of a as an element ofG.
Let a' be the inverse of a as an element of H.
a • a-1 = e and a • a'= e [ ·: e is the identity of G and H]
a• a-1 =a• a'
Treating this as an equation in G, by left cancellation law, we get a-1 =a'.
Thus inverse of a in His a-1•
The above theorem means that identity of any subgroup Of G is the identity of G and the inverse of any
element in a subgroup is the inverse of that element in G. •
Criterion for Subgroup
According to the definition of a subgroup, to test a subset is a subgroup we have to verify all the
axioms of a group. Instead, we find a set a minimum conditions to decide a subset is a subgroup.
The next theorem gives this condition.
Theorem 1.8 A non-empty subset Hof a group (G, •) is a subgroup of G if and only if
a * b-1 e H 'V a, b e H. [AU 2008, 2012)
Theorem 1.9 Let (G, *)be a group and let H be a non-empty finite subset of G • (H, •)is a
subgroup of (G, •)if a* be H'V a, b, e H.
WORKED EXAMPLES
EXAMPLE 1
Prove that nZ = {11.X Ix e Z} is a subgfoup of (Z, +).
Selutlon.
Given nZ={nxlxe Z}.
Ifx=O then nx = 0 => 0 e nZ, So nZ is non-empty.
Let a,be nZ
Then a'"= nx and b = ny for some integers x, y.
Then a-b= nx-ny= n(x-y) e nZ.
a
Hence (nZ, t) is subgroupof(Z, +).
EXAMPLE 2
If H1 and H2 are subgroups of a group (G, •)prove that H1 r.H2 is a subgroup of (G, •).
[AU 2008, 2013, 2014, 201!)
Sohltlon.
Given Hp H2 are subgroups of(G, •).
Let a, b e H1 n H2 => a, b e H1 and a, b e H2•
Since H1 and H2 are subgroups by criterion for subgroup (Theorem 1. 7).
a,be H1 =>a•b-1 e H1
and a, b e H2 => a • b-1 e H2
a • b-1 e H1 n H2
, I
Thus a, b e H1 n H2 => a • b: e H1 n H2•
Hence H1 n H2 is a subgroup of G.
Selutlol.
We know that the power set P(S) is the set of all subsets of S. The binary operation on P(S) is n.
Let G = P(S). We shall verify the axioms of a group.
Closure: Let A, B be any two subsets of S.
A n B is a subset of S.
Thus A, B e P(S) =>A n B e P(S)
So, P(S) is closed under n.
1.51
Then A 11S=S11A=A
:. Sis the identity element in P(S) for 11.
Inverse: Let A be any subset of S.
Since S is the identity, it is obvious there is no subset B or ~ sucn mat A n B = S.
So, the inverse axiom is not satisfied.
Hence (P(S), n) is not a group.
Solution.
Given H1, H2 are subgroups of ( G, * ).
Let H1 u H2 be a subgroup of(G, *).
To prove H1 ~ H2 or H2 c H1•
Assume the contrary.
i.e., assume H1 ~ H2 and H2 c H1•
Then there exists d e H1 and a e H2; b e H2 and b e H1.
Since a e H1 and b e H2, a, b e H1 u H2 => a * b e H1 u H2
Since H1 u H2 is a subgroup of ( G, *)
a * b e H1 or a * b e H2
=:ase (i): Let a * b e H1•
Since a e HI' a-1 e H1
a-1 *(a* b) e Hp as H1 is a subgroup.
~ (a-1 *a)* be H1 => e «b e H1 => be Hp
Which contradicts the assumption b e H1•
::ase (ii): Let a * be H2.
Since be H2, b-1 e H2
(a* b) * b-1 e H2, as H2 is a subgroup.
~
Which contradicts the assumption a e H2.
Hence in either case we have contradiction.
Our assumption H1 er. H2 and H2 er. H1 is wrong.
H1 ~H2 or H2 ~H1
1.s2:< Ill' .. Alaebra and'N'i.Jmber Theorv
EXAMPLE 5
Find all the non-trivial subgroups of (Z6, +6). (AU 200(i
Solution.
We have Z6 = {[O], [1], [2], [3], [4], [5]}
Let H1 = {[O], [3]} and H2 = {[O], [2], [4]} are all the non-trivial subgroup of (Z6, +6)
EXAMPLE 6
Determine H = {O, 5, 10} and K = {O, 4, 8, 12} are subgroups of the group (Z15, +15). [AU 2007
Solution.
The modular set Z15 = {O, 1, 2, 3, ... , 14}.
Given H = {O, 5, 10} and K = {O, 4, 8, 12} are finite subsets of Z15.
To verify they are subgroup, it is enough to verify the closure axiom.
+s 0 4 8 12
+15 0 5 10 0 0 4 8 12
0 0 5 10 4 4 8 12 1
5 5 10 0 8 8 12 1 5
10 10 0 5 12 12 1 5 9
H K
Groups and Rings • 1.53
EXAMPLE 7
Let (G, *)be a group and let a e G be a fixed element. If H ={an I n e Z}, prove that His a
subgroup of G.
Solutlon.
Given
Since a0 = e e H, His non-empty.
Letx,y e H, thenx = am,y =a", where m, n e Z.
Then x * y-1 =am* (anti
[·:m-neZ]
(H, *) is a subgroup of ( G, *)
EXAMPLE 8
Find all subgroups of S3•
Solutlon.
Let S3 = { e,fi,fi,f3,f4,J5}
where
e=C ~ ~} Jl=G f2=G ~ :} 2 ~}
ff= J3 • J3 = C ~ ~) C ~ ~) = C ~ ~) =e
!2 • Ii = C ~ ~} G .~ ~) ~ C ~ ~) =e
EXAMPLE 9
In the group U9, H = {l, 4, 7} is a subset of U9• Is it a subgroup?
Solution.
We know U9 = { 1, 2, 4, 5, 7, 8} and (U9, •)is a group.
To prove H = { 1, 4, 7} is a sub-group of U9.
Since His finite, to prove His a subgroup it is enough to verify closure property.
We have 4 • 4 = 16 = 7 (mod 9)
4 • 7 = 28 = 1 (mod 9)
7 • 7 = 49 = 4 (mod 9)
•9 1 4 7
1 1 4 7
4 4 7 1
7 7 1 4
Since the body of the table contains only all the elements of H, His closed under multiplication mod 9.
His a subgroup of (U9, •)
EXAMPLE 10
In G=S4•
Let H={G 2
3 2
3
Solution.
Let
Where e = G ~ ~ :} ft = G ~ ; ~} /2 = G ~ ~ ;} J3 = ( ~ ~ ~ ~)
To prove His subgroup, it is enough to proveH is closed under composition of functions.
We form the Cayley table.
e is the identity map
:. e is the identity element of H.
Groups and Rings
• 1~51
=(~ 2 3
3 2
4)=13
1 .
2 3 2 3 2 3
fi·13=G 4 ;JU 3 2 ~J=G 4 ;)=12
f.2. Ji= . (13
2 3 2 3 2 3
4 ;JG 4 ;)=(~ 3 2 ~)=13
f2·l2 =G 4
2 3 2
;JG 4
3
;)=G 2 3
2 3
4)4 = e
f2·13=G 42 3 ;)(~ 23 3
2 ~)=G
2 3
4 ;)=Ji
2 3
13·ii=(~ 23 32 ~)G 21 3
4 ;)=G 4 ;)=12
2
13·/2=(; 23 23 ~)G 42 3
;J=G
3
4 ;)=ii
2 3
13·13=(; 23 23 ~)(~ 23 3
2 ~)=G 2 3 :)=e
The Cayley table is
. e f1 ii 13
e e Ji ii 13
Ji Ji e 13 ii
ii ii 13 e Ji
13 .13 ii Ji e
I From Cayley table, we find His closed ~der composition of function.
Hence His a subgroup of G = S4.
XAMPLE 11
Let Hand Kare subgroups of G with O(Jl) = 10, O(K) = 21, then prove that H l'I K = {e}.
olutlon.
~
piven O(H) = 10, O(K) = 21.
1.56 • Algebra and Number Theory
Note If the binary operation of G is denoted by+, then instead of an, we write na.
For example, in the group (Z, +), 2Z = <2> is the cycfic subgroup generated by 2.
In the group (Z12, +12), {[O], [3], [6], [9]} is the cyclic subgroup generated by [3], since
2[3] = [6], 3[3] = [9], 4[3] = [12] = [O]
Definition1.19 Cyclic group
A group ( G, *) is said to be a cyclic group if there exists an element a E G such that every element
x E G is of the form an for some integer n. The element a is called a generator of G and is written as
G =(a) or <a>. It is read as G is cyclic group generated by a.
For example
(i) The multiplicative group G = { 1, -1, i, -i} is cyclic group generated by i, since i2 = -1, i3 = -i, i4 = 1
It can be seen easily that -i is another generator.
(ii) The group (Z; +)is cyclic group generated by 1, since any element is nl for some integer n.
It can be seen easily that -1 is another generator.
(iii) The group (nZ, +)is cyclic group generated by n and-n.
(iv) The group Z8 = {O, 1, 2, 3, 4, 5, 6, 7} under x8 is a cyclic group, generated by 1.
Other generators are 3, 5, 7.
Note
1. If G =<a> is an infinite cyclic group, then a and a-1 are the only two generators.
2. If G is a finite cyclic group of order n, then for each divisor d of n there is a unique cyclic
subgroup of order d. '
Note The converse is not true. i.e., an abelian group is not cyclic.
Example: (Q, +) is an abelian group, but not cyclic.
Note
(i) In any group the identity element e is the only element of order 1.
And it is the only element oforder 1.
(ii) If the binary operation is+, then the condition is written as ma= e.
For example,
1. In the group G = { 1, -1, t, -i} under usual multiplication, O(i) = 4, 0(-i) = 4 and 0(-1) = 2
since (i2) =-1, i4 = (-1)2 = 1 and (-1)2 = 1.
2. If R* is the set of all non-zero real numbers and (R*, •) is a group, then find the order of -
and 3.
Solution: The identity of this group is 1.
Since (-1)2 = 1, 0(-1) = 2
There is no integer for which 3n = 1
0(3) is infinite.
3. Find the order of 2, 3 in Z8 = {O, 1, 2, 3, 4, 5, 6, 7} under+8
Solution: We have 2 +8 2 = 4
i.e., =
2(2) = 4 4(mod 8) -;t:. 0
Similarly, =
3(2) = 6 6(mod 8) -;t:. 0
=
4(2) = 8 O(mod 8) -;t:. 0, 0 is the identity of Z8
0(2) = 8
Now 3 +8 3 = 6 => 2(3) = 6 = 6(mod 8) -;t:. 0
= =
3(3) = 9 l(mod 8) -;t:. 0, 4(3) = 12 4(mod 8) -;t:. 0
= =
5(3) = 15 7(mod 8) -;t:. 0, 6(3) = 18 2(mod 8) -;t:. 0
= =
7(3) = 21 5(mod 8) -;t:. 0, 8(3) = 24 O(mod 8)-;t;. 0
0(3) = 8
4. we know,
(Z, +) is group of infinite order, since Z contains infinite number of elements.
0 is the identity element and order of 0 is 1
What is the order of 3 in (Z, +)?
3 + 3 = 2(3) ¢ 0
3 + 3 + = 3(3) ¢ 0
i.e., there is no positive integer in Z such that n(3) = 0
3 is of infinite order.
Theorem 1.13 Let (G, *)be a finite cyclic group generated by an element a e G. If O(G) = n, then
an= e and so, G= {a, a2, a3, ... an-t, an= e}. Further O(a) =n.
That is n is the least positive integer such that an= e. [AU 2011)
Thus any element of G is ar for r < m. This means the number of elements of G is at most m.
i.e., O(G) = m < n, which contradicts the hypothesis O(G) = n.
Hence am = e is not possible for m < n.
Next we shall prove that the elements a, a2, a3, ••• , an are all distinct.
Suppose it is not true, then there are repetitions.
Let as= a', 0 < r < s ::;; n.
as - r = a0 = e, 0<s- r<n
This is again a contradiction by first part.
all the elements are distinct.
a, a2, a3, , an= e are all distinct.
Since O(G) = n, it follows G ={a, a2, a3, an= e} and an= e.
So, O(a) = n
•
Note
1. The theorem says that in the case of finite cyclic group order of the generating element is order
of the group.
2. In a finite group G of order n, if there is an element a of order n, then the group G is cyclic group
generated by a.
WORKED EXAMPLES
EXAMPLE 1
Find the cyclic subgroups of (Z6, +6).
Solution.
Given Z6 = {[O], [1], [2], [3], [4], [5]} :. O(Z6) = 6.
Since Z6 is cyclic, there exists subgroups.
Divisors of 6 are 2 and 3. So there are subgroups of order 2 and 3.
They are namely {[OJ, [3]} and {[O], [2), [4]}
Note that 0((1)) = 6, since [1] + [1) + [l]+ [1]+ [1]+ [l] = 6 = [O]
6 times
We have 0((3)) = 2, since 2[3] = [6] = [O]
and 0((2)) = 3, since 3[2] = [6] = [O]
1.60 • Algebra and Number Theory
EXAMPLE 2
Solution.
2
GivenG=S4and a=(~ 3 4)
3 4 1
a 2 =a•a= (1 2 3
2 3 4 ~)G ~)
2 3
3 4
=G
2 3
4 ~)
a 3 =a 2 •a= (1 2 3
3 4 ~)G ~)2 3
3 4
=(~
2 3
2 ~)
a 4 =a 3 •a= (1 2 3
4 1 2 :)G ~)2
3 4
3
=(1 2 3 4)=e
1 2 3 4
~
H= {(12 23 43 4) 2 3 4)(1
1' (13 4 1 2 ' 4
2 3
2 :JG
2 3
2 3 ;)}
1.2. 7 Cycles and Transpositions
Definition 1.21 Let S = {al' a2, ... , an} and be a permutation on S. o is called a cycle of length r if
there exist r elements al' a2, ... , a; such that a(a1) =,a2, a(a2) = a3 ••• , oi«: 1) = a; and a(ar) = a1.
This cycle is represented by the symbol (al' a2, ... , ar) or (a1 a2 .•. ar).
Note
1. In the cycle (a 1, a2, ... , ar), the image of any element is the following element, the image of the
last element is the first element and all other elements go to itself i.e., the elements not in the cycle
are fixed.
2. The cycle (a1, a2, •.. , ar) = (a2, a3, ... , ar, a1) = (a3, a4, ... , ar, a1, a2) etc.
For example, if S = { 1, 2, 3, 4, 5} and the cycle a= (2, 3, 5) is oflength 3.
Then a = 1 2 3 4 5) is a permutation.
(1 3 5 4 2
Groups and Rings • 1.61
Since cycles are special types of permutations, two cycles can be multiplied in the usual way,
The product of two cycles need not be a cycle.
For example,
LetS= {l, 2, 3, 4, 5}. CT1 = (1 5), CT2 = (2 3 4) be 2 cycles
then CT1CT2 = (1 5) (2 3 4)
=G
2 3
4 5)
2 3 4 , 1 1
(1 2 3
3 4 2
4
~)
2 3 4 5}
which is not a cycle.
=(~ 3 4 '2 1 .
Definition 1.22 Two cycles are said to be disjoint if they have no elements in common.
For example, (1 2 3), (4 5) are disjoint cycles.
But (1 2 3), (3 4 5) are not disjoint.
Theorem 1.14(a) Any permutation rron a finite set S ={al' a2, ••• an} can be written as a product
of disjoint cycles.
Note The decomposition of a permutation into disjoint cycles is unique except for the order of the
factors.
WORKED EXAMPLES
EXAMPLE 1
Compute the product (1 2) (2 4) (3 6) as a permutation on {1, 2, 3, 4, 5, 6}.
Determine (i) it is even or odd.
(ii) its order.
Solution.
Let a= (1 2) (2 4) (3 6)
=G
2 3 4 5
3 4 5 :)C 2 3 4 5
4 3 2 5 :)C 2 3 4 5
2 6 4 5 :)
2 3 4 5
=(~ 6 2 5 :)
We shall write a as a product of disjoint cycles.
a= (1 4 2) (3 6) 1 --7 4 --7 2 --7 1 cycles
3--76--73
Order of the cycle (1 42) is 3 and the order of the cycle (3 6) is 2.
Order of O"= lcm {3, 2} = 6
Now to decide a is even or odd, we shall write a as a product of transpositions.
O" = (1 4)(1 2)(3 6)
a is a product of 3 transpositions.
a is an odd permutation.
EXAMPLE 2
1 2 3 4 5 6 7 8 9)
Express 0 = in S9 as a product of disjoint cycles. Decide its order
(2 3 4 5 1 6 7 9 8
and test it is even or odd.
Solution.
Groups and Rings • 1.63
we see 1 -+2 ~ 3 ~ 4 ~ 5 ~ 1
So, one cycle is (1 2 3 4 5).
6 and 7 are left fixed.
8 ~ 9 ~ 8. So another cycle is (8 9)
e = (I 2 3 4 5)(8 9)
Order of (1 2 3 4 5) is 5 and order of (8 9) is 2.
Definition 1.25 Let (H, *) be a subgroup of ( G, * ). Let a E G be any element. Then the set a H =
{a * h I h E H} is called the left coset of Hin G determined by a.
Sometimes a His written as a H. *
The set Ha = {h *G I h E H} is called the right coset of Hin G determined by a.
Note
1. Since e E H, a* e E a H ~a E a Hand e *a= a E H.a
Also e H = { e * h I h E H} = { h I h E H} = H
and He = { h * el h E H} = { h I h E H} = H
So H itself is a left coset as well as right coset.
2. In general, Ha 1:- aH
But if G is abelian, then Ha= aH. That is every left coset is a right coset.
3. If the binary operation of G is denoted by + then the left coset will be written as a + H = {a + h I
hE H}.
For example if H = 5Z then (H, +) is a subgroup of (Z, + ), then the cosets are 1 + H = {l + 5x I
x E Z}, 2 + H = { 2 + 5x I x E Z} and so on.
We shall now prove that the left cosets of Hin G form a partition of G.
xEaH nbH
XEaH and XEhH
x = a * h1 and x = b * hi, for some h1 , hi _E H
1.64 • Algebra and Number Theory
a*h1=b*hz
(a* h1) * h1-I = (b * hz) h1-I *
il*(h1 *h11)=b*(hz *h1-I)
aH = b*(hz * h[1)
=> a= b*.(hz * h[1)
If x is any element in a H, then
x=a*h
X = b * (hz * h1-I) * h
x=b*(hz*hi-l*h)EbH
XE aH =>XE bH
aHr;;;;,_bH (2)
Similarly, we can prove
b Hr;;;;,_ a H (3)
From (2) and (3), we get, aH=bH
Thus any two left cosets are either equal or disjoint.
Further U aH <;;;;,_ G , since union of subsets is a subset.
aEG
lfx is any element in G, thenx =x * e Ex H
:. xis in a left coset and hence x E U a H
aEG
Hence
XEG =>x E UaH
aEG
=>G c UaH
aEG
G = UaH
aEG
That is all the left cosets partition G.
•
Theorem 1.16 Thereis one to one correspondencebetween any two left cosets of Hin G.
[AU 2017]
Thus,
Index of H in G
O(H) divides O(G)
•
Definition1.26 Let (H, *) be a subgroup of ( G, * ). Then the number of different left cosets (or right
cosets) of Hin G is called the index of Hin G and is denoted by [ G : H] or i ( H).
G
Note
1. In the case of finite group i (H) = O( G) .
G . O(H)
2. It is quite possible in an infinite group there is a subgroup of finite index.
For example, if H = 5Z, then (H, +) is a subgroup of (Z, +). Then the different left cosets of Hin
Zare
1.66 • Algebra and Number Theory
O+H = H = {Sx] x E Z}
l+H = {1+5x Ix E Z}
2+H = {2+5x Ix E Z}
3+H = {3+5x lxE Z}
4+H = {4+5x I xEZ}
5+H = {5+5x Ix EZ}
= { 5(1 + x) I x E Z} = H
and 6+H = {6+5xlxeZ}
= {1+5(1 + x) I x E Z}
= l+H and so on.
:. the number of different left cosets of Hin G is 5.
Hence iG (H) = 5
WORKED EXAMPLES
EXAMPLE 1
Find the left cosets of the subgroup H ={[OJ, [3]} of the group [Z6, +6J.
Solution.
Z6 ={[OJ, [lJ, [2J, [3J, [4J, [5]}
H ={[OJ, [3]} is a subgroup of Z6
The left cosets of H are
[aJ + H = {[aJ +[OJ, [aJ + [3]} v [aJ E z6
[aJ + H = {[aJ, [a+ 31}
[OJ+ H = {[OJ, [3]} = H
[lJ + H = {[lJ, [4]}
[2J + H = {[2J, [5]}
[3J +H= {[3J, [6]} = {[3J, [OJ} =H
[4J + H = {[4J, [l]} = {[lJ, [4]} = [lJ + H
[5J + H = {[5J, [2]} = {[2J, [5]} = [2J + H
:. the distinct cosets are H, [lJ + H, [2J + H.
EXAMPLE 2
Find all the subgroup of (Z9, +9).
Solution.
We know that (Z9, +9) is a cyclic group of order 9
(Z9, +9) and Z9 ={[OJ, [lJ, [2J, [3J, [4J, [5J, [6J, [7J, [8]}
By Lagrange's theorem,
· the order of the subgroup divides the order of the group.
: . the subgroups are of order 1, 3 ~ 9 only.
Since 1, 3, 9 divides 9, the order of the group.
So, the subgroups are . H1 = {[OJ}
H2 ={[OJ, [3J, [6]} [ ·: 0([3]) = 3, 0([6]) = 3J
and
EXAMPLE 3
For the group G = (Z12' +), H ={[OJ, [4J, [8]} is a subgroup. Find the cosets of Hin G.
Solutlon.
Given ; G = (Z12, +)
We know Z12 ={[OJ, tu[2J, [3J, [4J, [5J, [6J, [7J, [8J, [9J, [lOJ, [11]}
Also given, H ={[OJ, [4J, [8]} is a subgroup.
1.68 • Algebra and Number Theory
[6] + H = {[6] + [10] + [14]} = {[2] + [6] + [10]} [·: 14 = 2(mod 12)]
[7] + H = {[7] + [11] + [15]} = {[3]+ [7] + [11]} [·: 15 = 3(mod 12)]
[9] + H = {[9] + [13] + [17]} = {[1] + [5] + [9]}
[10] +H= {[10] + [14] + [18]} = {[2] + [6] + [10]} [·: 18 = 6(mod 12)]
[11] + H = {[11] + [15] + [19]} = {[3] + [7] + [11]} [·: 19 = 7(mod 12)]
[1] +H= [5] +H= [9] +H
[2] + H = [6] + H = [10] + H
[3] +H= [7] +H= [11] +H
:. H, [I]+ H, [2] + H, [3] +Hare the distinct left cosets of His G.
EXAMPLE 4
Determine all cosets of subgroup H = { 1, a2} of a group G = {l, a, a2, a3} under multiplication,
where a4 = 1. [AU 2007]
Solutlon.
Given G = {l, a, a2, a3}, a4 = 1, is a group under multiplication.
H ={I, a21. We shall find all left cosets of H.
Note The index of H in G is 2. Since G is cyclic and hence abelian, H is a normal subgroup of G.
So, every left coset is also a right coset. ·
EXAMPLE 5
=
Let (H, *) be a subgroup of (G, * ). For a, ,b, c, the relation a b (mod H) if h-1 * a e H, is
an equivalence relation on G. The equivalence class of a is [a] = {x E G I x a (mod H)I. =
Prove that [a]= a H.
=> a-1*yEH
=> y = a(mod H), by definition of the relation
=> y E (a]
a H <;;;;[a]
Hence from (1) and (2) we get, [a]= a H.
•
=
Note The equivalence class of a under the equivalence relation a b (mod H) is the left coset of H
determined by a. So, this relation is called a left coset relation modulo H.
Note
1. all=Ha does not mean a* h = h *a element wise. It only mean a* h = h1 *a for some h, h1 EH.
2. If His a normal subgroup, then Ha = aH for every a E G, and so we may simply called them
cosets.
3. In any group (G, *),the trivial subgroups and ({e}, *)and (G, *)are normal subgroups ofG.
WORKED· EXAMPLES
EXAMPLE 1
Every subgroup of an abelian group is normal.
Solution.
Let ( G, *) be an abelian group and (H, *) be a subgroup of G.
Let a E G be any element.
Then aH = {a*hlhEH}
{h*a I h EH} [ ·: G is abelian]
= Ha
Note Since Hn = n Z is a subset of Zand (Z, +)is an abelian group, subgroup (Hn, +) is a normal
subgroup of Z.
EXAMPLE 2
Let (H, *) be a subgroup of index 2 in ( G, *).Then (H, *) is a normalsubgroup of ( G, * ).
Solution.
Let a E G be any element.
If a E H, then a H = H
For if x E a H, then x = a * h for some h E H.
Since, h E Hand His a subgroup of G, we get
a*bEH~xEH
XEaH~xEH (1)
aHk.H
Lety EH. Theny=a*(a-'*Y)E aH,sincea-1yE H
yEH~yEaH
(2)
~Hk.aH
From (1) and (2), we get a H = H.
Similarly, we have
Ha=H
aH=Ha
Groups and Rings • 1. 71
HUaH=G~aH=G-H
Hence aH=Ha
Thus, aH=H a v ae G
Hence His normal in G.
EXAMPLE 3
(N, *)is a normal subgroup of(G, *) iff an a-1 EN V n EN and Va E G.
Solution.
Let (N, *)be a normal subgroup of(G, *).
aN=NaVaEG
=>
for any n E N, an a-1 E N
Conversely, if an a-1 EN, VnE N, V aE G, then to prove a N=N a
Now
Let y e Na es y = n * a for some n E N
then y = a*(a-1 *n*a)
N a=aNVaE G
HenceN is a normal subgroup of G.
EXAMPLE 4
Prove that the intersection of two normal subgroup of ( G, *) is a normal subgroup of ( G, * ).
[AU 2007, 2013, 2016]
Solution.
Let (Np*) and (N2, *)be two normal subgroups of(G, *).
n
To-prove that (N1 N2, *)is a normal subgroup of(G, *).
Since N1 and N2 are normal subgroup of G, they are basically subgroups. We know N1 n N2 is a
subgroup of G.
Now we shall prove it is a normal subgroup of G.
n
Let n E N, N2 be any element and a E G be any element.
Then n E N1 and n E N2
Since N1, N2 are normal, an a-1 E N1 and an a-1 E N2
a n a-1 E Nl n N2
Hence N1 n N2 is normal, by example 3.
EXAMPLE 5
If His a subgroup of G such that x2 E H "ii x E G, prove that His a normal subgroup of G.
[AU 2008]
Solution.
Let G be a multiplicative group.
Given His a subgroup of G such that
=> aha-1 e H
Hence His a normal subgroup of G.
Groups and Rings • 1. 73
Note
1. If G is finite group and N is a normal subgroup of G, then O(G/N) = O(G).
. . O(N)
2. If(G, *)is abelian and (N, *)is a subgroup ofG, then the quotient group GIN is an abelian group.
Theorem 1.19 Let (G, *)and (H, Li) be two groups. Let G x H be the Cartesian product of G
andH.
rr . is the binary operation G x 8 given by (gl' h1) • (g2, h2) = (g1 * gl' h1 Li h2) for any
(gl' h1) • (g2, h2) e G x H, then (G x H, •)is a group. [AU 2004]
Corollary If(G, *)and (H,ll.) be groups with identity el' e2 respectively, Prove that Gx { e2} and
{ e1} x H are normal subgroups of ( G x H, • ).
EXERCISE 1.3
1. Let (G, *)be a group and a E G. Let H = {xla *x = X* a}. Prove that His a subgroup of G.
2. Showthat({l,4, 13, 16},x17)isasubgroupof(z;7,x17).
3. Let ( G, *) be a group and H1 and H2 are subgroups of G. Prove that H1 U H2 is a subgroup of G
if H1 c H2 or H2 c H1.
4. Find all left cosets and right cosets of H = { [O], [2]} in (Z4, +4).
5. Let (G, *) be a group and H as a subgroup and N as a normal subgroup. Prove that
(i) NH= {x E GI x =a * b \;;/a E N, b E H} is a subgroup of G. (ii) NH is a normal subgroup if
both N and Hare normal subgroups.
6. If N, Mare normal subgroups of G such that M n N ={
e}, then prove that mn nm \;;/ m E M, =
n EN.
[Hint: For any m E M, n E N, consider the element
(mn)(m-In-I)= (m n m-1) n-1 E N as N is normal and
(mn)(m-1n:-1) = minm:" n-1) E Mas Mis normal
=> (mn)(m-1n-1) E MnN= {e}
=> (mn)(m-1n-1) = e => mn =nm]
7. Let G be a group of order 18, and let Hand K be subgroup of G of orders 2 and 9 respectively.
Show that G = HK.
8. Let G be a direct product of two subgroups, each of which is a cyclic group of order 3, show that
G cannot be cyclic. .
9. Show that a group of order 2n, n is odd has a subgroup of index 2.
10. Show that any abelian group of order 2 is cyclic.
1.76 • Algebra and Number Theory
Definition 1.30 Let (G, *) and (G', •) be two groups. A mapping f: G -? G' is called a group
homomorphism if for all a, b E G,
proof
(i) Let a e G be any element.
Then
=> fia * e) =fia)
=> fia) *fie)= fie) [ ·: f is a homomorphism]
=> fia) •fie)= fia) • e' [by identity axiom in G']
By left cancellation law in G', we get fie)= e'
(ii) Let a e G be any element.
. Then a*a-1=a-1*a=e
f(a * a~1) = f(e) = f(a)• f(a-1)=e [by (i)]
Let x, y e .f(H)
Then x =fia), y =fib) for some a, be H
a=b e H
fia•b) efiH)~fia)*fib) efiH)
=} x * y efiH)
So,fiH) closed under
Finally, let x e .f(H), then x =T: a) for some a e H
Now x-1 = [f{a)t1 = fia-1) [by property 2]
1. 78 • Algebra and Number Theory
=>
: . 1 ()Y is the pre image of y and hence f is onto
Thus f is one to one and onto
f is an isomorphism
Then (R+, •) is isomorphism to (R, +)
Groups and Rings • 1. 79
f is one to one
Suppose n E z, then a" E G andf(an) = n
/is onto
f is one to one onto
So, f is an isomorphism
Then (G, •)is isomorphic to (Z, +)
i.e., (G, •) :::: (Z, +)
•
Note This theorem says that any element an of cyclic group can be identified with the integer n.
In other words the integer n is labeled as a" in the other group upto isomorphism.
There is only one infinite cyclic group which is (Z, + ).
Theorem 1.22 Show that Kernel of a group homomorphism is normal subgroup of the group.
[AU 2006, 2008, 2009, 2013]
Proof Let (G, *)and (G', •)be the groups andf: G ~ G' is a group homomorphism.
Then we knowf(e) = e ',where e, e' are the identities of G and G'.
e E kerfand hence kerfis a non-empty subset of G.
1.80 • Algebra and Number Theory
a*n*a-1 eker f.
Proof To prove GIN is the homomorphic image of G, we have to prove that there exists a
homomorphism of G onto GIN.
G
Define the map/ G ~ N by </)(a)= a N V ae G.
</)(a * b) = (a * p)N
=aN6'bN
= <PCa)$<f>(b)
Hence f is a homomorphism.
Now we prove/is onto.
Let a Ne GIN be any element, where a E G, thenf(a) =a N. Thus every element of GIN is the:
image of an element of G.
Hence/is onto. Thus/is a homomorphism of G onto GIN.
i.e.,f(G) =GIN.
Hence GIN is the homomorphic image of G.
Note This map f: G ~ GIN given by f (a) = a N is called the natural homomorphism.
Groups and Rings • 1.81
GIK
First we shall prove lfl is well defined.
* *
If a K = b K , then a x 1 = b x2 for some x1 x2 e K
'
=>
=> b=aK
=> bK=aK [·: KK=KJ
:. IJ!is one-one.
Finally, suppose x Ef(G), then there exists an a E G such that
x = f(a) = IJl(a K)
:. IJ!is onto.
Thus lJI is an isomorphism of GIK onto f ( G).
G/Ko:f{G)
•
Note Suppose/ G ~ G' is onto, then G' =f(G).
:. the result will be GIK"" G' ·
Theorem 1.26 Every finite cyclic group of order n is isomorphic to (Zn,+ n>• the· residue classes
mod n group.
proof Let(G,*)beacyclicgroupoforderngeneratedbyae G. Then G ={a, a2, a3, •.. , an-I, a11 = e}.
:.fis a homomorphism.
We shall now prove/is one-one and onto.
Supposej'(s") =!{as), then [r] = [s]
=> r - s is divisible by n.
r - s = kn for some integer k.
Now ar-s = akn = (a11 )k = ek = e => ar = as
Thus
Hencefis one-one.
Now if[r] e Z11 is any element, then 0 s; rs; n - 1 we have are G exists in G such that
f{a1 = [r]
f is onto.
Thusfis an isomorphism of G onto Zn. So, G"" Zn
•
Note
1. Thus any element ar in G can be identified with [r] in Z11• So, upto isomorphism there is only one
cyclic group of order n, which is (Zn, + 11).
2 An infinite cyclic group G =<a> has only two generators a and a-1 and a finite cyclic group
G =<a> of order n has ¢(,n) generators, since am E G is a generator if (m, n) = 1.
WORKED EXAMPLES
EXAMPLE 1
Let (R*, •)be the group of non-zero real numbers under usual multiplication and G = {1, -1} be
the group under usual multiplication.
. {1 ifx>O
Let/: R* ~ G be defined by /(x) = _1
if x< 0
Then prove that/is a homomorphism.
Solution.
Given the map f R* ~ G is defined by
1 if x > 0
/(x)= {
-1 ifx<O
Let x, y E R* be any two elements, then x • y E R*
j{xy) = 1
and j(x) = 1, fly)= 1 :. j(x) •fly)= 1
Hence f(x • y) = j(x) •fly)
(ii) If x is positive and y is negative then xy <0
:.f(x•y)=-1 and f(x)=l,f(y)=-1
:. f(x)• f(y) = -1
Hence j{x • y) = f(x) •fly)
Similarly, if x < 0, y > 0, we getf(x • y) = f(x) •fly)
(iii) If x.< 0, y < 0, then xy > 0
=
f(x • y) 1
and j(x) = -1,fly) = -1
j(x). fly)= (-1) (-1) = 1.
fix, y) =f(x) •fly) ·
Thus f(x• y) = f(x)f(y) Vx, y ER*
Hence f is a homomorphism.
EXAMPLE 2
Let G be a group and a E G. Show that the map/: G ~ G defined by /(x) =ax a-1'ef x e G is
an isomorphism. [AU 2007]
Solution.
Let G be a multiplicative group.
Given/ G ~ G and f(x) =ax a-1 V x E G and a E G is a fixed element.
1.86 • Algebra and Number Theory
EXAMPLE 3
Show that/from the permutations group Pn onto the multiplicative group G = {1, -1} defined by
1 if a is even
f(a) =
{ -1 is a homomorphism. [AU 2003)
if a is add
Solutlon.
Here P n is used instead of Sn
Given : f: Pn ~ G defined by
l if a is even
f(a) = { -·1 if a is odd ''ii a e pn
EXAMPLE 4
Let (G, *)and G', •)be two groups. If/: G ~ G' be an isomorphismand G is abelian, then prove
that G' is abelian.
EXAMPLE 5
Consider the group(R, +)and the mapping(/J: R ~ R be defined by (/J(a) = 5a V a e R. Prove
that t/J is a homomorphismand find the kerf.
Solution.
Giventhe map tf>: R ~ R is defined by t/>(~) = 5a "1 a e R
Now t/>(a + b) = 5(a + b) = 5a + 5b = t/>(a) + tf> (b)
:. f is a homomorphism.
Ker</>= {x ER I t/>(x) =0}.
Now t/>(x) = 0 ~ 5x = 0 ~ x = 0
So, the only number is 0. ·
kertf>={O}.
1.88 • Algebra and Number Theory
EXAMPLE 6
Let (G, •), (G', •)be groups withe, e' as identities. Let/: G ~ G' be a homomorphism. Prove
that/is one-one if and only if ker /= {e}.
Solution.
Given/: G ~ G' be a group homomorphism.
Let ker f = { e}. To provef is one-one.
Suppose ft.a)= j{b),
then f(a)•[f(b)r1 = e'
=> f(a)• f(b-1) = e'
=> f(a*b-1)=e' [·: f is a homomorphism]
=> a•b-1 e ker f = {e}
a*b-1 =e=>a=b
Thus ft.a)= j{b) =>a= b.
/is one-one.
Conversely, let/be one-one. To prove that ker/ = { e}
Let x e ker f, be any element.
Then j{x) = e' and/(e) = e' [ ., f is a homomorphism]
:. j{x) = j{e) => x = e, since/is one-one.
Thus, the only element of kernel is e.
ker/= {e}
EXAMPLE 7
(R, +)and (R•, •)are groups and/: R ~ R* define by /{a)= 2a 'Va e R is a homomorphism.
Find ker f and test/isl - 1 or not.
Solutlon.
Ker/= {x e R lftx) = 1 }, since l is the identity of R*.
Now j{x)= 1 =>2x=1 =>x=O
:. ker/ = {O} and hence/is one-one [by example 6]
EXAMPLE 8
Show that the mapping g from the algebraic system {S, +) to the system {T, x) defined by
g(a) = 3a, where Sis
the set of all rational numbers under addition+ and Tis the set of non-zero
real numbers under multiplication operation x, is a homomorphism but not an isomorphism.
[AU 2007]
Solutlon.
Given S is the set of all rational numbers.
Then (S, +) is an abdian group.
Groups and Rings • 1.89
EXAMPLE 9
Let G be a group and if the functionfi G ~ G' is defined by j(a) = a-1 Va e G, then prove that
f is an isomorphismiff G is abelian.
Solution.
Given G is an group and the function/ G ~ G' is defined by j{a) = a-1 Va E G
Let G be abelian
To provef is an isomorphism
If a, b E G, thenj{a) = a-1 andj{b) = b-1
Now f{a•b)=(a•bt1
= b-1. a-1
=f{b)•f{a)
= j{a) • j{b) [·: G is abelian]
So,f is a homomorphism
Now to prove/is one-one and onto
Suppose j{x) = j(y)
=>
f is one to one
If a E G be any element (in the codomain), then we can find a-1 E G (domain) such that
j{a-1) = (a-ltl= a
This true for every a E G
/is onto
/is one to one and onto
Hence f is an isomorphism
Conversely: LetfG ~ G is defined by j{a) = a-1 is an isomorphism
To prove G is abelian
That is to prove a • b = b • a V a, b e G
Leta, be G.
1.90 • Algebra and Number Theory
EXAMPLE 10
Prove that (U9, •)and (Z6, +)are isomorphic groups.
Solutlon.
We know U9= {l, 2, 3, 4, 5, 7, 8} andZ6= {[O], [1], [2], [3], [4], [5]} are cyclic group of some order
Since U9 is a multiplicative group generated by 2, any element ae U9 can be written as
a=2m, O~m ~ 5
Define the function/: U9-+ Z6 by /(2m) = [mJ.
Let a, be U9, then a= 2m, b = 2n, 0 ~ m, n ~ 5
j(a • b) = j(2m • 2n) = j(2m+n)
= [m +n]
= [m] + [n]
=f{a) +f{b)
:. f is a homomorphism.
Now j{a) = j{b)
j{2m) =f(2n) => [m] = [n]
m =n(mod6)
m - n is divisible by 6
Since 0 ~ m, n ~ 5, m - n is divisible by 6
=> m-n=O =>: m=n
/is one to one.
Since U9 and Z6 are finite groups with the same number of eiements one to one => onto
Hence/is one to one and onto.
:. f is an isomorphism.
EXAMPLE 11
If A = ( ~l ~) and M = {A, A2, A3, A4} then show that (M, *) is an abelian group where * i!
matrix multiplication. Further prove that (M, •)is isomorphic to the abelian group (G, •) when
G = {l, -1, i, -i} and- ordinary multiplication; [AU 201s:
Groups and Rings • 1.91
Solution.
A4 = A3 *A= ( 01 -1)
0 * (01 -1)
0 = (10 0)
1 :: I
We form the Cayley table, since Mis a finite set and verify the axioms.
The Cayley table is
A A2 A3 A4
*
A A2 A3 I A
A2 A3 I A A2
A3 I A A2 A2
A4 A A2 A3 I
l. Closure: The body of the table contains only all the elements of M.
:. closure axiom is satisfied.
2. Associativity: We know matrix multiplication is associative and so it is.true in M
i.e, it is inherited in M.
. ·. associative axiom is satisfied.
3. Identity: A4 =I is the identity element in M.
4. Inverse: We have A* A3 =A3 *A =A4 =I
:. A3 is the inverse of A and A is the inverse of A3
and A2 * A2 = A4 =I
:. the inverse of A2 is A2 itself. .
Since A4 * A4 .=I* I= I
The inverse of A4 is A4
: . inverse axiom is satisfied.
5. Commutativity: In the Cayley table, the elements equidistant from the main diagonal are the same
i.e,X* Y= Y*XforeveryX, YeM.
:. *is commutative.
Hence (M, *) is an abelian group:
Now to prove the second part
We have M ={A, A2, A3, A4}, where A4 =I is the identity elements in M..
Given G = { l, -1, i, -i} is a group under multiplication,
1.92 • Algebra and Number Theory
=j(Am) • j(An)
=j(a) • j(b)
:. /is a homomorphism.
To prove one to one and onto
Suppose j(a) =j(b), where a =Am, b =An
=> j{Am) =j(An)
EXERCISE 1.4
1. If(G, *)is a group and/: G ~ G is given by
j(x) = x2 V x E G is a homomorphism prove that G is abelian.
[Hint: Let a, b E G thenj(a) = a2,j(b) = b2 andj(a * b) =(a* b)2
f is a homomorphism.
.', j(a * b) = j(a) * j(b) =>(a* b)2 = a2 * b2 =(a* b) *(a* b) =(a* a) (b * b)
=>a* (b *a)* b =a* (a* b) * b "= b *a= a* b by left and right cancellations.
:. (G, *)is abelian]
2. Let G be a group and a E G. show that the map/: G ~ G defined by j(x) =ax a-1 V x E G isan
isomorphism. (AU 2007]
3. Show that the groups (Z4, +4) and ( z;,
x5) are isomorphic.
[Hint: Define g : Z4 ~ z;
by g ([OJ)= [1], g([l]) = [2], g([2]) = [4], g([3]) = [3] Prove g is i
homomorphism, one to one and onto]
4. Let (G, *)and (G', •)be two groups and let/: G ~ G' be a homomorphism. Prove that tht
homomorphic image of G, namely j( G) is a subgroup of G'.
5. Prove any infinite cyclic group in isomorphic to Z.
Groups and Rings • 1.93
Definition1.35 Ring
A non-empty set R with two binary operations denoted by + and • called addition and multiplication,
is called a ring if the following axioms are satisfied.
(i) (R, +) is an abelian group, with 0 as identity.
(ii) (R, •)is a semigroup.
(iii) The operation• is distributive over+
i.e., d • (b + c) =a• b +a• c
and (b + c) •a= b •a+ c «a» a, b, c E R
The detailed axioms are the following
(R, +) is an abelian group means the following axioms
Definition 1.37 A ring (R, +,•)is said to be a ring with identity if there exists an elements I e R
such that a • I = I • a = a 'r/ a E R.
Note
1. The multiplicative identity I. is called the unit element or identity of R.
2. In a ring (R, +,•)if the additive identity 0 and the multiplicative identity I are not equal, then R
is not the zero ring.
i.e., R :;t: {O}
IfO =I, then R = {O}
Theorem 1.28
I = l' So identity is unique
Proof If a e R, then a • 0 = a • (0 + 0)
=a•O+a•O [by distributive axiom]
[by additive identity]
O=a ·O by left cancellation.
Similarly, 0 • a = (0 + 0) • a = 0 • a + 0 • a ~ 0 • a = 0
a » 0 = 0 •a= 0. This proves 1.
Groups and Rings • 1.95
2, Since a • 0 = 0, we have
a» (b + (-b)) = 0, forany be R
a» b +a• (-b) = 0
a•(-b)=-(a•b) [additive inverse]
Similarly Ob=O
=> (-a+a) • b=O
(-a)•b+a•b=O
(-a• b) =....:(a• b)
a» (-b) =(-a)• b =-(a• b)
This proves 2.
3. Since a» (-b) =(-a)• b Va, be R,
replacing a by-a, we get (-a)• (-'-b) =a• b
4. a• (b- c) =a» (b + (-c)) =a• b +a• (-c) =a• b- a» c
5. Let the ring R have identity I .
Since (-a)• b =-(a• b) Va, be R, replacing a by I, we get
(-I)•b=-b VbeR
(-I)•a=-a VaeR
6. Replacing a by -1 in the above relation we get
(-1). (-1)= -(-1) =: 1 [ ·. · inverse of inverse is 1]
•
1.3.2 Some Special Rings
Definition 1.38 If (R, +, •) is a commutative ring, then a "# 0 e R is said to be a zero-divisor if there
exists a non-zero b e R such that a b = 0.
Zero divisor is also known as divisor of zero.
All number rings are without zero divisors.
For example
If R = { (: : )I~' h, c,d e z} . ThenR is a ring under matrix addition+ and matrix multiplication
as operations.
If A =
,
(I O)
0 0
and B =
1
(O O1 )' then. A *- 0, B *- 0
But AB = ( ~ ~} ( ~ ~) = ( ~ ~) = 0
: . A is a left zero divisor and B is a right zero divisor.
1.96 • Algebra and Number Theory
Note The definition requires the ring has more than one element.
Example: Z5 = {[O], [1], [2], [3], [4]}, under +5 and 05 is an integral domain.
We can easily verify (Z5, +5, 5) is a commutative ring with identity [1].
0
From the table for 5 we see product of non-zero elements is non-zero and so the ring is without
0
zero-divisors.
Hence it is an integral domain.
Theorem 1.29 A commutative ring R with identity is an integral domain if the cancellation laws
hold inR.
Since R is finite, these (n + 1) elements are same as the (n + 1) non-zero elements of R in some
order by pigeon hole principle.
for some a; E R
Since R is commutative a ai = ai a.
sa + tn = 1 => sa - 1 = (-t)n
sa - 1 is divisible by n
=> sa = 1 (mod n)
=> [s] [a]= [1]
WORKED EXAMPLES
EXAMPLE 1
Prove that a Boolean ring is always commutative.
Solution.
Given R is a Boolean ring.
=a•a+a•a+a•a+a•a
= (a2 + a2) + (a2 + a2)
=(a+ a)+ (a+ a) [·: a2=a]
=> (a+ a)+ 0 =(a+ a)+ (a+ a) [O is additive identity]
=> a+a=O [by left cancellation law]
(ii) Next we shall prove that a + b = 0 ==> a=b.
Leta+b=O
By first part we have a+a=O
a + b = a + a ==> b = a, by left cancellation in (R, +)
=> a=b
(iii) Finally we shall prove a • b = b • a for any a, b E R
Let a, b E R. Then a + b E R
=> a+b=(a+b)2, by given condition
=(a+b)•(a+b)
=a• (a+ b) + b •(a+ b) [by distributive axiom]
=a v a+o v b+b= a+b v b
=a2+a•b+b•a+b2
a+b e a+a=b+b= a+b
By left and right cancellation laws in the group (R, + ), we get
0 =-a • b + b • a => a • b = b • a [by part (ii)]
:. R is commutative.
EXAMPLE 2
Let R ={a, b, c, d}. Define+ and- on R by the tables here:
+ a b c d
a a b c d
b b a d c
c c d b a
d d c a b
(1)
. a b c d
a a a a a
b a a b a
c a b c d
d a a d a
(2)
Show that (R, +, •) is a ring.
Is it commutative? Does it have an identity? What is the zero of the ring?
Groups and Rings • 1.101
Solution.
Given R = {a, b, c, d} and + and • are defined by the given tables, we shall now verify the axioms of a
ring.
1. we have to prove that (R, +) is an abelian group.
Since the body of the table (1) contain only all the elements of R, R is closed under+.
Since elements of each row and each column are different and for "ii x E R
we have x + a = a + x = x, a is the zero element.
(R, +) is a group with a as additive identity.
The additive inverse of a is a and the inverse of b is b,
The additive inverse of c is d and the inverse of dis c,
since a + a = a, b + b = a, c + d = d + c = a from the given table.
Further, the elements equidistant from the main diagonal are same and so + is commutative.
:. (R, +)is an abelian group.
2. Now we shall prove that (R, •)is a semi-group.
The body of the table (2) contains only the elements of Rand hence R is closed under, •
Associativity: For b, c, d E R, we have
b • (c • d) = b • d =a [From table (2)]
and (b • c) • d = b • d =a [From table (2)]
b • (c • d) = (b • c) • d
Similarly, we can prove for other elements in R.
:. Associative axiom is satisfied.
Hence (R, •) is a semigroup.
3. From tables (1) and (2)
a» (b + c) =a» d =a
and a • b + a • c= a + a=a
a » (b + c) =a• b =a• c
Similarly, we can verify for each triplets.
:. (R, +, •) is a ring.
In table (2), the elements equidistant from the main diagonal are same and so • is commutative.
Hence R is commutative ring.
Since a •a= a, a» b = b •a= a, a» c = c •a= a, a • d = d «a= a, etc., there is no identity element.
4. The additive identity a is the zero of the ring.
EXAMPLE 3
Show that (Z, +, x) is an integral domain where Z is the set of all integers. [AU 2010)
Solution.
We know a commutative ring with identity and without zero-divisors is called an integral domain.
If Z is the set of integers, then
(i) (Z, +)is an abelian group.
(ii) {Z, x) is a semi-ring.
(iii) a x b = b x a "ii a, b E Z
(iv) ax (b + c) =ax b +ax c "ii a, b, c E Z
Hence (Z, +, x) is a commutative ring with identity
If a -::f. 0, b -::f. 0 in Z then we know ab -::f. 0. So Z is without zero divisors.
Hence (Z, +, x) is an integral domain.
1.102 • Algebra and Number!lh,eorv
EXAMPLE 4
Show that the set of integers Z with the binary operations E9 and o defined by a E9 b = a + b - 1
and a O b = a + b - ab "ii a, b e Z is a commutative ring with identity.
Solutlon.
Given a®b=a+ b- 1
and a O b = a + b - ab V a, b e Z
To prove (Z, ®, 0) is a ring we verify the axioms.
1. We shall prove that (Z, ®)is an abelian group.
Closure: Since a, b are integers, a + b - 1 is an integer. :. a ® b e Z
So, Z is closed under ®
Associativity: a® (b ® e) =a® (b + e - 1)
=a+b+e-l-l=a+b+e-2
and (a Ee b) $ e =(a+ b- 1) ® e
=a+b-l+e-l=a+b+e-2
a® (b ® e) =(a® b) ® e Va, b, e e Z
So, ® is associative.
Identity: Let a e Zand let e e Z be the identity for ®
a®e=a=>a+e-l=a=>e=l
1 is the identity for ®
Inverse: Let a e Zand a' e Z be the inverse, then
a®a'=l=>a+a'-1=1
=> d=2-a
So, additive inverse exists for every element.
Commutativity: a ®b= a+ b- 1
=b+a-l=b®a Va, be Z
:. (Z, ®)is an abelian group.
2. Now we shall prove (Z, 0) is a semigroup with identity.
Closure: Let a, b e Z, then a + b - ab is an integer.
:. aO b E Z
So, Z is closed under O.
Associativity: For any a, b, e e Z
a O (b O e) =a 0 (b + a - be)
=a+ b + e-be-a(b + e-be)
=a+ b + e-be-ab-ae + abe
and (a Ob) O e =(a+ b- ab) 0 e
=a+ b- ab+ e - (a+ b - ab) e
= a + b + e - ab - be - ae + abe
aO(bOe)=(aOb)Oe 'rfa,b,eeZ
:. 0 is associative.
Identity: Let a e Z be any element.
We have the integer 0 e Z such that a O 0 = a + 0 - a • 0 = a
:. 0 is the identity for O.
:. (R, 0) is a semi group with identity.
Groups and Rings • 1.103
EXAMPLE 5
If (R, +, •) is a system satisfying all the conditions of a ring with identity with the possible
exception of a + b = b + a, prove that the axiom a + b = b + a must hold in R and that R is a ring.
Solution.
Given (R, +, •) satisfy all axioms of a ring with identity 1, except a+ b = b + a.
We shall now prove a + b = b + a is also true from other conditions.
Consider (a+ b) • (1 + 1) =a » (1+1) + b • (1+1), [distributive conditions.]
=a• l +a• l +b » 1 +b » l
=(a+a)+(b+b)
Also by distributive laws, we get
(a+ b) • (1+1) =(a+ b) 1 +(a+ b) • 1
=a•l+b•l+a•l+b•l
=(a+b)+(a+b)
(a+ a)+ (b + b) =(a+ b) +(a+ b)
a+ (a+ b) + b =a+ (b +a)+ b [·: +is associative]
~ a+b=b+~
by left and right cancellation laws in the group (R, +)
:. (R, +,•)is a ring.
EXAMPLE 6
Show that Q( .Ji) = {a+ h.Ji/ a, b E Q} is a field under usual addition and multiplication.
Sol'-tion. ·
We have to prove Q( Ji) is a commutative ring with identity and every non-zero element has
multiplicative inverse. Now verify all axioms.
1.104 • Algebra and Number Theory
1 a-bJ2
Now
a+bJ2- (a+bJ2)(a-bJ2)
a
= =---
a2 -2b2 a2 -2b2 a2 -2b2
Since atleast one of a and b is -:;:. 0, a2 - 2b2 -:;:. 0 and a and b are rationals.
a2 - 2b2 is rational.
a2 b2
Hence , are rational numbers.
a2 -2b 2
a 2 -2b 2
1
a+bJ2 E Q(J2)
1 1
Also (a+ bJ2) J2 = 1 ~ J2 is the inverse ofa + b J2 .
(a+b 2) a+b 2
Thus, Q( J2) is a commutative ring with identity in which every non-zero element has
multiplicative inverse.
Q( J2) is a field.
1.106 • Algebra and Number Theory
Propertiesof Congruences
=
If a= b (mod n) and c d (mod n), then
=
(i) a + c b + d (mod n)
(ii) a - c = b- d (mod n)
=
(iii) ac bd (mod n)
EXAMPLE 7
Find [25]-1 in the ring Z72• [AU 2017)
Solution.
Since 25 and72 are relatively prime, gcd (25, 72) = 1
Euclidean algorithm leads to
22=7(3)+1, 0<1<3
As 1 is the last non-zero remainder,
We have 1=22- 7(3)
= 22 - 7(25 - 22)
= 6 - 7(25) + 8(72 - 2(25))
= 8(72) - 23(25)
I + 23(25) = 8(72)
EXAMPLE 8
Find
(i) (17)-1 in the ringZ1009
(ii) [lOOJ-1 in the ring Z1009
(iii) (777)-1 in the ringZ1009• [AU 2018]
Groups and Rings • 1.107
Solutlon.
(i) To find [l 7t1 in the ring Z1009
Since 17 and 1009 are relatively prime, the gcd ( 17, 1009) = 1, the Euclidean algorithm leads to
1009=59(17)+6, 0<6< 17 59 2
=> 17=2(6)+5, 0<5<6 11) 1009 6nT
85 12
=> 6=1(5)+1, 0 < 1, < 5
159 5
As 1 is the last non-zero remainder, we have 153
1=6-1(5)=6~1[17-2(6)] 6
=3(6)-17
= 3[1009- 59(17)- 17]
= 3(1009)- 178(17)
Hence 1 = (-178) (17) mod (1009) [ ·: 1 - (-178)(17) is divisible by 1009)]
[1] = [-178] [17]
=> [17]-1 = [-178]
But -178 = 831(mod1009)
[-178]= [831]
[17t1 = [831] in the ring Z1009.
(ii) To find [100t1 in the ring Z1009•
Since 100 and 1009 are relatively prime, the gcd (100, 1009) = 1, the Euclidean algorithm leads
to
1009 = 10(100) + 9, 0<9<100 10
100=11(9)+1, 0<1<9 100) 1009
100
1 = 100 - 11 (9)
9
= 100-11[1009-10(100)]
= 111(100)-11(1009)
=> 1- 111(100) = -11 (1009)
=> 1 - 111(100) is divisible by 1009
=> 1 = 111(100) (mod 1009)
=> [1] = [111] [100] in the ring Z 1009.
EXAMPLE 9
Prove that the set Z4 = {O, 1, 2, 3} is a commutative ring with respect to the binary operation
+4, X4° [AU 2015)
Solution.
=
We know Z4 {O, 1, 2, 3}. Here 0, 1, 2, 3 is used instead ofclass[O], [l], [2], [3]
We shall verify the axiom of a ring forming Cayley operation table.
+4 0 1 2 3 •4 0 1 2 3
0 0 1 2 3 0 0 0 0 0
1 1 2 3 0 1 0 1 2 3
2 2 3 0 1 2 0 2 1 2
3 3 0 1 2 3 0 3 2 1
(1) (2)
1. Closure: The body of the table (1) contains only element of Z4 and hence Z4. is closed under +4.
2. Associative: Associative axiom is inherited from Z.
3. Identity: 0 is the identity element.
4. Inverse: Inverse of 0, 1, 2, 3 are respectively 0, 3, 2, 1.
So, Inverse axiom is satisfied.
Since the element equidistant from the main diagonal of (1) are the same
a+4b=b+4a~a,be Z4
:. (Z4, +4) is an abelian group.
The body of the table (2) contains only elements of Z4
:. Z4 is closed under •4
Further • 4 is associative as it is inherited.
and a •4 b = b •4 a~ a, b
since elements equivalent from main diagonal of (2) are the same.
Further, x•4(y+4z)=(x•4y)+4(x•4z) ~x,y,ze Z4
because the property is inherited from number system.
By commutativity of •4, (y +4 z) •4 x = (y •4 x) +4 (z •4 x) ~ x, y, z e Z4
Hence, (Z4, +4, •4) is a commutative ring.
EXAMPLE 10
Define the binary operations E9 and 0 in Z by x E9 y =x +y - 7 and x 0 y = x + y - 3xy, for
~x,y e Z. Explain why (Z, ED 0) is not a ring?
Solution.
In Z, for every x, ye Z, =
x E9 y x + y - 7 and x 0 y = x + y- 3xy.
First to prove (Z, E9 0) is an abelian group.
1.110 • Algebra and Number Theory
x ®(y ® z) = x ®(y + z - 7)
=x+y+z-7-7
=x+y+z-14
and (x + y) ® z = (x + y- 7) EB z
=x+y-7+z-7
=x+y+z-14
x EB(y EB z) = (x EB y) EB Z V x,y,zE Z
:. associative axiom is verified.
3. Identity: If e is the identity, then for any x E z
x EB e =x => x+e-7=7 => e=7
4. Inverse: If x E z be any element and x' is its inverse, then x EB x' = 7 => x + x' - 7 = 7 => x' = 14 - x E z
Inverse exists for every element in Z.
5. Commutativity:
xEBy=y®x Vx,y,zE Z
:. (Z, EB) is an abelian group
To prove(Z, ® O) is not a ring.
6. xO(yOz)=xO(y+z-3yz)
=x + (y +z~ 3yz)- 3x(y + z- 3yz)
=x + y + z- 3yz-3.xy- 3x(y + z- 3yz)
=x+ y+z-xy-3yz-3xz+ 9xyz
and (x O y) Oz= (x + y - 3.xy) Oz
=x + y- 3.xy +z-3(x + y-3xy)z
=x + y +z-3.xy-3yz-3xz+ 9xyz
x 0 (y Oz)= (x Oy) Oz for V x,y,zE Z.
We now check distributive law.
We have x O (y EB z) = x O (y + z - 7)
=x + y + z- 7 - 3x(y + z- 7)
=x +y + z - 7 - 3.xy - 3xz + 2 lx
= 2x + y + z - 3xy - 3xz - 7
Groups and Rings • 1.111
= 2x + y + z - 3.xy - 3xz - 7
:. x 0 (y Et> z) + (x 0 y) Et> (x 0 z)
: . distributive law is not satisfied in Z.
:. (Z, Et>, O) is not a ring
EXAMPLE 11
Let k, m be fixed integers. Find all values of k, m for which (Z, Ea, 0) is a ring under the binary
operationsx Eay=x+ y-k andx Oy=x+ y-nuy '<:/ x,y e Z.
Solution.
Given (Z, Et>, O) is a ring under the binary operation.
Given x Et> y = x + y - k and x O y = x + y - mxy '<:/ x, y e Z.
:. the distributive law is true in (Z, Et>, O).
That is, if x, y, z e Z, then x 0 (y Et> z) = (x 0 y) Et> (x 0 z)
x O (y + z - k) = (x + y- mxy) Et> (x + z - mxz)
x + y +z-k-mx(y +z-k) =x + y-mxy +x+z-mxz-k
x + y+z-k-mxy-mxz+ kmx = 2x+ y+z-mxy-mxz-k
kmx=x~km= 1.
Since k and m are integers, k = 1, m = l or k = -1, m = -1.
:. If k= 1, m = 1, then (Z, Et>, O) is a ring
and if k=-1, m = -1, then (Z, Et>, O) is a ring.
EXAMPLE 12
Let (Q, Ea, O) be a field where Ea and Oare defined by a Ea b =a+ b - k
ab
and a Ob= a+b+-, m:;t:O
m
(i) Given 3 is the zero of the field.
=> 1+-=0
3
m
=>m==-3
k= 3, m=-3
(ii) Given additive inverse of 6 is -9
Let b be the zero of the field.
Then aEE>b=a
=> a + b - k == a => b = k.
So, k is the zero of the field (Q, Et>, O)
6 Et> (-9)= k
6-a-k== k=> 2k=-3 => k ==-'i
2
Further aOk=k
=> a+k+ ka == k
m
=> a(l+~)=o
k 3
=> 1 + - == 0 => m + k = 0 => m == +k == -
m 2
3 3
k=-- m==-
2' 2
=> ae
a+e+-;;==a => e ( I+;a) ==0 =>e=O
Groups and Rings • 1.113
20.!.=o
8
1
2·-
2+.!.+-8 =0
8 m
17 1 2
=> -=.,.-- => m=--
8 4m 17
k
and 1+-=0 =>m+k=O
m
2
k=-m=-
17
2
k= }:_ m=--
17' 17
1.3.3 Subring
Definition 1.43 Let (R, +,•)be ring. A non-empty subset S of R is said to be a subring of R if S itself
is a ring with respect to the same operations + and • of R.
Note In other words Sis a subgroup of R if (i), (S, +) is a subgroup of (R, +) and (ii) Sis closed
under+·
i.e., for a, b e S, a - b e Sand a • b e S
Thus to verity a subset of a ring is subring it is enough to verify the above conditions.
WORKED EXAMPLES
EXAMPLE 1
Prove that in the ring of integers (Z, +,•),the subset of even integers 2Z is a subring.
Solution.
Leta, b e2Z, then a = 2x, and b = 2y
a-b = 2x-2y= 2(x-y) e2Z
and a • b = 2x • 2y = 2(2xy) e 2Z
EXAMPLE 2
In the ring (Z6, +6, x6), show that
(i) S ={[OJ, [2J, [41} and (ii) T ={[OJ, [3J are subrings.
1.114 • Algebra arid Number Theory
Solution.
(i) Given S = {[O], [2], [4]} is a non-empty subset of Z6
We shall prove that [a] - [b]ES V[a]
Now [2] - [O] = [2] ES
[4]- [O] = [4] ES
[0]-[2] = [-2] = [4] ES
[0]- [4] = [--4] = [2] ES
:. (S, +)is an abelian group.
Further Sis closed under x6.
So (S, +6, x6), is a subring of(Z6, +6, x6)
(ii) Given T= {[O], [3]} is a subgroup of(Z6, +6, x6)
Proof
(i) To prove .l{O) O'=
Where 0 and O' are the identity elements of R and S respectively
=> = j(O)
O' (by right cancellation law)
j(O) = O'
= [f(aW
f(an) = [f(aW
(v) To prove if A is subring of R, then.l{A) is a subring of R.
Given A is subring of R and so, A =F- </>
Proof
(i) If I is the unity of R, then to provej[l ) is the unity of S.
Let ft. a) be any element of S.
Then a e R, since/is onto.
Alsofil) e S
fil) 0fia) = fil •a)= fia)
and fia) 0fil) = fia • 1) = fia)
fil) is the identity of S.
(ii) If a is a unity of R, then there is an element a-1 e R such that
a • a-1 = a-1 • a= 1
fia • a-1) = fil) => fia) 0fia-1) =fil)
and fia-1 •a)= fil) => fia-1) 0fia) = fil)
fia) 0fia-1) = fia-1) 0fia) = fil)
:. the multiplicative inverse offia) isfia-1) and sofia) is a unit of S
and
(iii) If R is commutative, then we have to prove Sis commutative.
Let x, y e S, then we can find a, b e R such that fi a) = x, fib) = y, since f is onto
x 0 y = fia) 0fib)
=fia•b) [ ·: f is a homomorphism]
Groups and Rings • 1.-t17
=f(b•a) [ ·: R is a homomorphism]
=f(b) Of(a)
=> xOy=yOx
S is commutative.
•
WORKED EXAMPLES
EXAMPLE 1
Consider the rings (Z, +, • ), (2Z, +, • ). Test the map I: z ~ 2Z given by flx) = 2x ';/ x e z is a ring
homomorphism or not.
Solution.
Given the two rings (Z, +, ·)and (2Z, +, ·)
The map f: Z ~ 2Z is defined by
j(x) = 2x ';/ X E Z
For any x,y e Z,
we have j(x+y) = 2(x+ y)= 2x + 2y
=f(x) + j(y)
and j(x,y) = 2(x,y) = 2xy
But j(x) • j(y) = 2x • 2y = 4xy
j(x, y) "# f(x) • j(y)
Hence f is not homomorphism of rings
EXAMPLE 2
LetR= {a+ b.J2Ja,b e z} and (R,+,•) bearing,Let/:R-Rbe defined by f {a+ b.J2) = a-h.J2.
Prove that f is a ring homomorphism and it is onto.
Solution.
Given R = {a+ Ji ja, be Z} and (R, +, ·)is a ring.
The map f: R ~ R be defined by
f(a + b.Ji) = a-b.Ji '\/a +b.Ji e R
Letx= a +b.Ji ,y= c +d.Ji, thenx + y= (a+ c) + (b + d) Ji
j(x + y) =f(a + c + (b + d) Ji)
=a+c-(b+d) Ji [by definition]
= (a-b.Ji) +(c -u Ji , 7f(x) + j(y)
and xy =(a+ b Ji )(c + d Ji)
1.118 • , Algebra and Number Theory
EXAMPLE 3
Prove that the only idempotent elements of an integral domain are 0 and 1.
Solution.
Let (R, +, •) be an integral domain.
Let a e R be an idempotent element.
Then
a(a-1) = 0
Since R has no zero divisors.
a(a-1)=0 a= 0 ora-1=0
Hence a=Oanda= 1
Hence 0 and 1 are the only independent elements of R.
EXAMPLE 4
Let F be a finite field with n elements. Prove that an = a for all a E F.
Solution.
Letae F
Ifa=O, then an= a= 0
Leta:;tO
Since F is a field, F - { 0} is a group under multiplication.
O(F - { 0}) = n - 1 and 1 is the identity element.
Hence an-I = 1 => an =a [by theorem
Groups and Rings • 1.119
EXAMPLE 5
Let (C, +, •) be a commutative ring with identity 1, Prove that f: C ~ C be defined by f (z) == z
is an isomorphism.
Solution.
Given (C, +,•)is a commutative ring
The map/: C ~ C is defined by f(z) = z Vz e C
f is a ring homomorphism.
Further, j(z1) =j(z2)
=> =>
/is one-to-one.
-
For any z e C (Co domain), we have z e C such that f (z) = z = z
/is onto.
Hence f is an isomorphism of C onto C.
EXAMPLE 6
Test whether f: (Z, +, •) ~ (2Z, +, •) defined by f{x) = 2x 'V x e z is a ring homomorphism.
Solution.
Given (Z, +, •) and (2z, +, •) are rings.
Given the map f: Z ~ 2Z defined by
j(x) = 2x 'r;/ XE Z
Test whether/is a ring homomorphism
Let x, y e z, Then j(x + y) = 2(x + y)
=2x+2y
== j(x) + j(y)
and j(xy) = 2(x • y) = 2x • 2y = 4.xy
j(x) "# j(x) • j(y)
EXAMPLE 7
Let R be a ring with identity. Prove that the set of all units of R is a group under
rnultiplication.
Solution.
Let (R, +,•)is a ring with identity 1.
Let Ube the set of all units of R.
Clearly 1 e U and so U is non-empty
Let a, be U, then a-1, b-1 exists in R.
Now (ab) (b-1 a-1) = a(b b-1)a-1
ta» b) (b-1 • a-1) =a• 1 • a-1=a•a-1=1
and (b-1 • a-1) •(a• b) = b-1(a-1 •a) b = b-1 • 1 • b = b-1 b = 1
ta» b) (b-1 • a-1) = (b-1 • a-1) (a• b) = 1
a • b has multiplicative inverse
a cb e U.
EXAMPLE 8
What arethe units in the ring (Z, +, •).
Solution.
1, -1 are the only units in the ring (Z, +,•),since l• 1=1, (-1) • (-1) = 1
Solution. 1 ·
If a'# 0e Q, then the inverse - exists in Q, such that
a
1 1
a•-=-•a=l
a a
So, every non-zero element of Q is a unit.
Groups and Rings • 1.121
EXAMPLE 10
Give an example of a commutative ring with identity which is not a field.
Solution.
We know that (Z, +,•)is a commutativering with identity l.
If 2 E Z, then r1 = .! (l z
2
:. So, (Z, +,•)is not a field.
EXERCISE.1.5
1. Define a ring and give an example of aring with zero-divisors. [AU 2005, 2008]
2. Define an integral domain. Give an example of a finite integral domain which is also a field.
[AU 2004)·
3. Show that the set S = {a+ b.J5 b E \a, Q}
is a field under usual addition and multiplication.
4. Let M2 = {(: -: Ji a.b e R} and M2 is a ring under matrix addition EB and matrix
multiplication *·
C = {a+ib\ a.b e R} is a ring under usual addition + and multiplication. Show that M2 is
=(a* a) * (b * b)
=a2*b2
5. Give an example of a cyclic group.
Ans. The fourth roots of unity { l, -1, i, -i} under usual multiplication is a cyclic group generated
by i.
6. Let G = {1,-1, i, -i} is a group under usual multiplication and H = {1,-1} is a subset of G.
Is Ha subgroup of G?, Is Ha normal subgroup?
Ans. Given G = { l, -1, i, -i} is group under.
H = { 1, -1} is a finite subset ofG.
Since His closed under multiplication, His a subgroup of G.
• 1 -1
1 1 -1
-1 -1 1
O(i) =4
(-1)2 = 1
0(-1) = 2
Groups and Rings • 1.123
+4 [O] [2]
[O] [O] (2]
[2] [2] 0
14. Show that the inverse of an element in a group (G, *)is unique. [AU 2009]
15. Find a subgroup of order two of the group (Z8, +8). [AU 2008]
17. If His a sub group of G, among the right cosets of Hin G, then prove that there is only one
subgroup viz. H. [AU 2006]
Clearly Ha is a subset of G.
={hjhEH}
So, His the only right coset, which is a subgroup ofG.
Ans. To decide even or odd, we have to write the permutations as product of transpositions
!= (1 2 5 6)(3 7 4 8)
= (12) (15) (16) (37) (34) (38)
f is a product of 6 transpositions, which is even.
=> /is even
s= (1 4 2 3) = (14) (12) (13)
21. If pl= (1 2 3 4 5
3 2 5 1 4 :), P2 =
(1 2 3 4 5
4 2 3 5 1 :) compute P1 • P2 and verify
(P p tl -1 -1 [AU 2010]
1°2 =p2•P1·
Ans. =
P1 G 2 3 4
5 6)
2 5 1 4 6 ,
(1
p2 = 4
2 3 4 5 6)
2 3. 5 1 6
2 3 4 5 2 3 4 5
P1 • P2 = (~
2 5 4 !) . (: 2 3 5 !)
2 3 4 5
=G 2 1 4 5 !)
2 3 4 5
1r =(:1 2 5 3 !)
2 3 4 5
=G
P2-l
2 3 4 !)
(P1 • P2) -1 = c3
2 3 4
2 4 5
5
:)
-I
P2 °P1
-I
= (15 2 3 4 5
2 3 4 !) . (: 2 3 4 5
2 5 3 !)
2 3 4 5
=G 2 4 5 !)
(P
1• 2
p ti =r«-1 0 P1 -1
1.126 • Algebra arid Number Theory
22. Show that H = {[O], (1), [8]} is a subgroup of (Z12, +12). Also find the left cosets of Hin
(Z12, +12). [AU 2009)
Ans. Since His finite it is enough to verify closure
[9J +H= {[9J, [l], [5]}; [10] +H= {[10], [2], [6]}
H4 ={[OJ, [3], [6J, [9]}, H5 ={[OJ, [2J, [4J, [6], [8J, [10]}
1 2 3 4 5 6)
24. If a= ( e S6• ·
4 1 6 2 5 3
Find (i) a36 (ii) a97
cr36=/=G ~ .: ~)andcr96=(cr6)t6=(J)l6=/
25. Let (R; +,•)and (R', E9, 0) be rings with zero 0 and O' respectively. Let/: R .....+ R' be a
=
homomorphism. Prove that (i).l{O) O' and (ii).l{-a) 'Ir/ a e R.
Ans. a + 0 = Va E R,
j(a + 0) = j(a) => j(a) EB j(O) = j(a) E9 O'
=> j(O) = O' by left cancellation in (R', EB)
j(a +(-a))= j(O)
=> j(a) EB j(-a) = O' => j(-a) = -j(a)
26. If Z10 = {O, 1, 2, ••. , 9} of integers mod 10, then (Z10, +10, x10) is a ring.
Find (i) -3, -8, 3-1, 4-1
Ans. By definition a + a' = 0, then a' is inverse of a for + we write a' =-a
-3 = 7 (mod IO), since 7 + 103 = 0 (mod IO) or 7 +10 3 = 0 in Z10
-8 = 2 (mod IO), since 2 + 108 = 0 (mod 10)
By definition ax = 1 in Z10 means a' is the inverse of a for x and we write a;= a-1
10a'
Note that only numbers relatively prime to 10 will have multiplicative inverse.
i.e., 1, 3, 7, 9 will have multiplicative inverse.
27. Define a commutative ring.
Ans. A non empty set R with two binary operations + and • is called a commutative ring if
(i) (R, +)is an abelian group
(ii) (R, •) is a semigroup
(iii) a • b = b • a '<;/ a, b E R
(iv) a» (b + c) =a» b +a• c '<;/a, b, c ER
28. State any two properties of a group.
Ans. In a group ( G, * ), (i) identity element is unique and (ii) inverse of any element is unique.
29. Define homomorphism and isomorphism between two algebraic systems.
Ans. Let (A,*) and (B, d) be two algebraic systems.
A mapping/ A ~ B is called a homomorphism if
j(a * b) =j(a) dj(b) Va, be. A
35. If a=G 2 3 4 5
1 4 6 2 :) and fi=(~ 2
2 6 1
3 4 5
3
:). then find p-1a-1•
Ans. Given
a=G 2 3 4 5
4 6 2 ~)
P=G
2
2
3 4
6
5
3 ~)
Groups and Rings
• 1.129
a-I = (12 2 3 4 5
5 1 3 6 !)
and p-1 =( ~
2
2 5
3 4 5
1 6 ~)
p-la-1 =U
2 3 4 5 2 3 4 5
2 5 6 ~) G 5 3 6 !)
=(~
2 3 4 5
5 6 2 4 ~)
36. If a= (12 2 3 4
1 3 4
5)5 , find a. 2
.
Ans; Given a = (12 2 3 4 5)
1 3 4 5
a = a•a=G
2
4
2
3 4 5)(1
3 4 5 2
2 3 4
3 4 ~J
=(1 2 3
1 2 3 4 ~)=e
37. G = {-1, 1} is a group under multiplication -True or false.
Ans. Given G= {-1, l}
(-1) . 1 = -1, (-1 )(-1) = 1
G is closed under.
G = {-1, 1} is a group under multiplication.
38. Prove that G = {-1, l} is not a group under+ •.
Ans. Given G = {-1, 1 }.
:. G is not a group.
Letx,y e G.
a
x=-
z:'
1.130 • Algebra and Number Theory
Ans. Given G = S4
O(H)=4.
24
Since His a subgroup of G, the number of cosets of Hin G is equal to O( G) = =6
O(H) 4 .
:. there are 6 left cosets are there.
43. Let Hand Kare subgroups of G, where e is the identity of G. If IHI = 10 and I.Kl = 21, prove
thatH ("\ K = {e}.
Ans. Given Hand Kare subgroups of G and IHI = 10 and IKI = 21 .
. i.e., O(H) = 10 and O(K) = 21.
Since Hand Kare subgroup of G,
H n K is subgroup of G contained in Hand K.
: . by Lagrange's theorem,
O(H n K)i O(H) and O(H n K)I O(K)
Since O(H) = 0 and O(K) = 21 are relatively prime, we find O(H n K) = 1.
:. HnK= {e}.
44. Determine U14'
Ans. U14 is the set of positive integers less than 14 and relatively prime to 14.
:. U14 = {1, 3, 5, 9, 11, 13}
45. Find the order of 2 in (Z8, +).
Ans. In Z8; the identity for + is
Now 2 + 2 = 2(2) = 4, 3(2) = 6, 4(2) = 8 = O(mod 8)
0(2) =4
46. Find the order of -1and3 in (R* •).
Ans. We know R* =R- {O}
Identity for • is 1
Since (-1)2 =-I, 0(-1) = 2
There is no positive integer such that 3n = 1
0(3) = co,
47. In the group (Z12, +), H = {O, 4, 8} is a subgroup. Find the left cosets of Hin Z12•
Ans. Given H = {0, 4, 8}
Since O; 4, 8 e H, 0 + H = H, H + H = H, 8 + H = H.
1.132 • Algebra and Number Theory
1+H={1+0, 1 + 4, 1+8}= { 1, 5, 9}
2+H={2+0,2+4,2+8}={2,6, 10}
3 + H = {3 + 0, 3 + 4, 3 + 8} = {3, 7 ,11}
5 +H= {5 +O, 5 +4, 5 + 8} = {5, 9, 13}, etc.
:. the different left cosets are 1 + H, 2 + H, 3 + H, 5 + H.
48. Find all x in (z;, •) such that x = x-1•
and
O(x) =2
and 102= 100= 1(mod11)
~ 10· 10= 100= l tmod l l)
10-1=10
:. 1 and 10 are the elements.
50. How many rigid motions (in two or three dimensions) are three for a regular pentagon?
Describe then geometrically.
Ans. Regular pentagon has 5 vertices and 5 sides. There are 10 transformations. 5 rotations about
0 and 5 reflections about the line joining the vertex to the mid-point of the opposite side.
51. Does the set {5n: n e Z} from a group under addition? Justify your answer. [AU 2013]
5z. Example z; = {1, 2, 3, 4} is a cyclic group under multiplication module 5. [AU 2013)
Ans. We know that (z; ,•) is a group with identity 1 and z; ={1, 2, 3, 4}
Now 22 = 4, 23 = 8 = 3 (mod 5)
24= 16= 1 (mods)
0(2) = 4 = O(z;)
Hence z; is a cyclic group generated by 2.'
53. Does the set {O, 1, 2, 3} form a field with respect to addition module 4 and multiplication
module 4? Why?
Ans. Let Z4 = {l, 2,3, 4}
We know (Z4, +, •) is a field if n is a prime.
Since 4 is not a prime, (Z4, +, • ) is not a field.
54. Why is the set of integers not a group under subtraction? [AU2017]
Ans. Consider 2, 3, 4 E Z.
Then 2 -(3 - 4) *- (2 - 3)- 4
So, associative axiom is not satisfied for subtraction.
:. Z is not a group.
55. Give any two properties of cyclic group. [AU 2017]
Ans. Let G = <a> be a cyclic group generate by a.
Two properties are
(i) G is. abelian.
(ii) If a is a generator, then a-1 is a generator.
56. Define a group homomorphism with an example. [AU 2017]
Ans. Let (G, •), (G', *)be two groups.
A map/: G ~ G' is called a homomorphism if.f{a • b) =f{a) * j{b) Va, be G.
Example Let/: (Z, +) ~ (2Z, +)be defined by .f{x) = 2x V x E Z.
If a, b E Z, then.f{a + b) = 2(a + b) = 2a + 2b =.f{a) + .f{b)
:. f is a homomorphism.
57. Find the elements of U20•
Ans. The elements of U20 are positive integers less than 20 and relatively prime to 20.
:. U20 = {l, 3, 5, 7, 9, 11, 13, 17, 19}
1.134 • Algebra and Number Theory
Ans. Since (Z12, +)is cyclic group of order 12, there will be unique subgroup corresponding to
the divisions of 12, namely 1, 2, 3, 4, 6, 12.
[1]6 = [1]
n6 - 1 = 0 (mod 7)
71 n6 -1
Finite Fields ,
and Polynomials 2 .
.
2.0 INTRODUCTION
You have studied in school polynomials with integer coefficients, rational coefficients and real
coefficients. A polynomial is an expression of the form a0 + a1x + ar2 ... + a,,x", where n is a
non-negative integer and a0, a1, a2, ... an are integers (rationals or real numbers).
We know how to add two polynomials, subtract one polynomial from another and multiply two
polynomials.
We shall now define polynomial with coefficients from a ring and this collection of all polynomials
with respect to addition and multiplication is a ring.
2.1 POLYNOMIALS
Definition 2.1 Let (R, +,·)be a ring. An expression of the form
where n is a non-negative integer and a0, al' a2, ... , .an E R, is called a polynomial over R in the
indeterminate x and it is denoted by f(x).
Thus,
Let
and
and
be two polynomials in R[x].
Then ftx) + g(x) = C0 + C1x+ C2x2 + ... + C8x8
where
And the product
ft.x) · g(x) = (a0 + a1x + a2 x2 + +an x") · (b0 + b1x + b2 x2 + ... + bm xm)
C2 = ao b2 +al b1 + a2 ho
Note Though the definition of multiplication appear to be complicated,· it is the familiar process of
using distributive property and collecting like terms.
For example, consider ftx) = 2 + 3x + 2x2 + x3
where
Since C;E R.
where
Since addition + and multiplication · are associative in R, addition and multiplication of polynomials
are associative in R[x].
The zero polynomial 0 in R[x] is the identity for + in R[x]. Since
j{x) + 0 = f{x) \;/ j{x) E R[x]
j{x) + (-f{x)) =0
-f{x) is the additive inverse ofj{x).
since
(R [x], +)is an abelian group.
2.4 • Algebra and Number Theory
Note
1. This ring R[x] is called the ring of polynomials over R or the ring of polynomials with coef
inR.
2. If R is commutative, then R[x] is also commutative.
For, if j(x) = a0 + a1x + a2 x2 + +an xn
and g(x) = b0 + b1x + b2x2 + + bm xm.
Then coefficient of xr inj(x) g(x) is
= ao hr+ al br-1 + a2 br-2 + ". + a; ho
=brao+br-1 al+ ... +boar [·: R is comrm
And fix)· 1 = (a0 + a1x + a2x + +an xn) · (1 +Ox+ Ox2 + ... + Oxt)
= a0 + a1x + a2x + +an x"
=fix)
Thus 1 is the identity in R[x].
111eorem 2.2 Prove that R[x] is an integral domain iff R is an integral domain.
PJOOf Let R be an integral domain.
Then R is a commutative ring with identity and without zero divisors.
Hence R[x] is commutative ring with identity 1, since fix)· 1 =fix).
We have to prove R[x] is without zero divisors.
i.e., to prove fix) :t: 0, g(x) :t: 0 ~ fix) g(x) :t: 0
Let
degj(x) = n
and g(x) = b0 + b1x + bzX2 + ... + bm x", bm ::f. 0
degg(x)= m
Now
where
2. fl.x) + g(x) =0
or deg (j{x) + g(x)) s max { degfl.x), deg g(x)}
peflnltlon 2.8 Root of a polynomial
Let R be a ring with identity 1 and let
fl.x) = a0 + a1x + a.f' + ... +an x" e R[x]
with degfl.x) ~ 1.
An element a e R is called a root offl.x) if
fl.a)=a0 +a1a + a2a2 + ... +an an= 0
i.e., iffl.a)= 0, then a is root offl.x).
WORKED EXAMPLES
EXAMPLE 1
What is the degree of the polynomialj{x) = 6x3 + 5x2 + 3x - 2 over Z6?
Solutlon.
Given j{x) = 6x3 + Sx2 + 3x - 2.
Since the coefficients are from Z6 = {O, 1, 2, 4,5, 6}
6 = 0 (mod 6) is [6J =[OJ, [4J = [-2J
: . the polynomial is Ox3 + Sx2 + 3x + 4 = Sx2 + 3x + 4.
So, the leading c_oefficient is 5 ;t:. 0 in Z6•
Hence the degfl.x) = 2.
EXAMPLE 2
Let j{x) = 4x2 + 3 and g(x) = 2x + 5 be two polynomials over Z8• Find the deg.f{x) · g(x).
Solutlon.
Given fl.x) = 4x2 + 3, g(x) = 2x + 5 are polynomials over Z8.
i.e., fl.x), g(x) e Z8 [x].
2.8 • Algebra and Number Theory
= 8x3 + 20 x2 + 6x + 15
Normally we expect degree of the product = sum of the degrees.
Since the coefficients belong to Z8, we find 8 = 0 (mod 8)
i.e., [8] = [O] and 20 = 4 (mod8), and 15 = 7 (mod8)
fix) g(x) = 4x2 + 6x + 7 over Z8
degfix) g(x) = 2 < 3 = degfix)+ deg g(x)
EXAMPLE 3
Find the roots of the polynomial x2 - 2 over the real numbersR.
Solution.
Given polynomial is x2 - 2 over R.
To find the roots of x2 - 2, we solve
x2 - 2 = 0 => x2 = 2 => x =±Ji.
:. the roots are Ji, -Ji in R.
*Ifwe consider the polynomial x2 - 2 over Q, then the roots Ji, -Ji do not belong to Q.
So, the polynomial x2- 2 e Q[x] had no roots in Q.
EXAMPLE 4
Find all the roots of.l{x) = x2 + 4x in Z12[x]. [AU2017)
Solution.
Given fix) =x2+ 4x over Z12
and Z12 = {O, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}
We verify and find the roots.
Now fiO) = 0 + 0 = 0
:. 0 is a root offix)
.f(1)=1+4=5;t:O
1 is not a root
.f(2) = 22 + 4 · 2 = 4 + 8 =12 = 0 (mod 12)
2 is a root ofj(x)
.f(3) = 32 + 4 · 3 = 9 + 12 = 21=9 (mod 12) -:t. 0
Finite Fields and Polynomials • 2.9
Note In your earlier classes you have seen that a polynomial of degree 2 had at most two roots, which
is not true here for a polynomial over a ring.
EXAMPLE 5
Determine all the roots of.f{x) = x3 + 5x2 + 2x + 6 in Z7 [x],
Solutlon.
Given j(x) = x3 + 5x2 + 2x + 6 over Z7
and Z7 = {O, 1, 2, 3, 4, 5, 6}.
We verify and find the roots.
Now .1(0) = 6 = -1 (mod 7) :;e 0
:. 0 is not a root
1 is a root ofj(x)
./(2) = 23 + 5 · 22 + 2 · 2 + 6 = 8 + 20 + 4 + 6 = 38 = 3(mod 7):;: 0
2 is not a root
./(3) = 38 + 5 · 32 + 2 · 3 + 6 = 27 + 45 + 6 + 6 = 84 = O(mod7)
3 is a root ofj(x)
./(4) = 43 + 5 . 42 + 2 · 4 + 6 = 64 + 80 + 8 + 6 =128 = 2(mod 7):;: 0
4 is not a root
./(5) = 53 + 5 · 52 + 2 · 5 + 6 = 125 + 125 + 10 + 6 = 266 = O(mod7)
. 5 is a root ofj(x)
./(6) = 63 + 5 · 62 + 2 · 6 + 6 = 216 + 180 + 12 + 6 = 434 = O(mod7)
6 is a root ofj(x)
the roots ofj(x) are 1, 3, 5, 6 in Z7.
EXAMPLE 6
Determine all the roots ofj(x) = x2 + 3x + 2 e Z6 [x].
Solution.
Given fix) =x2 + 3x +2 in Z6 [x]
and Z6 = {O, 1, 2, 3, 4, 5}.
We verify and find the roots.
Now ./(0)=2:;t:O
:. 0 is not a root
./(1) = 12+3·1+2 = 1+3 + 2 = 6 = O(mod6)
1 is a root ofj(x)
=
./(2) = 22 + 3 · 2 + 2 = 4 + 6 + 2 = 12 O(mod 6)
2 is a root ofj(x)
./(3) = 32 + 3 · 3 + 2 = 9 + 9 + 2 = 20 = 2(mod 6):;: 0
3 is not a root.
./(4) = 42 + 3 .4 + 2 = 16 + 12 + 2 = 30 = O(mod6)
4 is a root ofj(x)
./(5) = 52 + 3 · 5 + 2 = 25 + 15 + 2 = 42 = O(mod6)
5 is a root ofj(x)
the roots ofj(x) are 1, 2, 4, 5 in Z6.
Finite Fields and Polynomials • 2.11
!EXAMPLE 7
'petermine all the polynomials of degree 2 in Z2 [x].
solutlon.
We have to find all the polynomials of degree 2 over Z2 = {O, 1}
Let the general polynomial of degree 2 is.f(x) = a0 + a1x + azX2, a2-:;; 0
The possible coefficients are from Z2, where a2 -:;; 0, so a2 = 1
j(x) = a0 + a1x + x2
where
WORKED EXAMPLES. ·
EXAMPLE 1
=
Consider j{x) 3x4 + x3 + 2x2 + 1 and g(x) = x2 + 4x + 2 in Z5 [x]. Find q(x) and r(x) whenj{x) is
divided by g(x).
Solution.
Given j(x) = 3x4 + x3 + 2x2 + 1 and g(x) = x2 + 4x + 2.
Since Z5 is a field, to find q(x) and r(x) whenj{x) is divided by g(x),
we perform long division, keeping in mind the addition and multiplication are performed modulo 5.
Z5 = {O, 1, 2, 3; 4} is a field.
The division is shown here [·: 12 = 2 (mod 5)
3x2+4x
6 = 1(mod5)
x2 + 4x + 2) 3x4 + x3 + 2x2 + 1 ·
-1=4(mod5)
3x4+ 2x3 +x2
16= 1 (mod5)
4x3+x2 +1 8 = 3 (mod 5)
4x3 + x2 + 3x -3 = 2(mod 5)]
2x + 1
3x4+x3+2x2+ 1=(x2+4x+2)(3x2+4x)+2x+1
EXAMPLE 2
If j{x) =2x4 + 5x2 + 2, g(x) = 6x2 + 4, then determine q(x) and r(x) in Z7[x], when j{x) is
divided by g(x). [AU 2017)
Solution.
Given j(x) = 2x4 + 5x2 + 2 and g(x)=6x2+4
Since Z7 = {O, 1, 2, 3, 4, 5, 6} is field, to find q(x) and r(x) in Z7[x], whenj(x) is divided by g(x).
We use long division method keeping in mind addition and multiplication are done under modulo 7
EXAMPLE 3
= =
Jff{x) 3x2 + 4x + 2, and g(x) 6x4 + 4x3 + 5x2 + Jx + 1, are polynomials in Z7[x] find q(x) and
r(x), when g(x) is divided by j{x).
Solutlon.
Given j(x) = 3.x2 + 4x + 2 and g(x) = 6x4 + 4x3 + 5x2 + 3x + 1
Since Z7 = {O, 1, 2, 3, 4, 5, 6} is a field, to find q(x) and r(x) in Z7 [x].
We perform long division method when g(x) is divided by j(x), keeping in mind addition and
multiplication under modulo 7.
The division is shown here [:. 8== l(mod 7)
2x2+x + 6
-3== 4(mod 7)
3x2 + 4x + 2) 6x4 + 4x3 + 5x2 + 3x + 1
18== 4(mod 7)
6x4+x3 +4x2
24== 3(mod 7)
3x3+x2 + 3x 12== 5(mod 7)
3x3 +4x2 + 2x -2== 5(mod 7)
4x2+x + 1 -4 == 3(mod 7)]
4x2+ 3x + 5
5x +3
q(x)= 2x2 +x+ 6 andr(x) = 5x+ 3
6x4 + 4x3 + 5x2 + 3x + 1 = (2x2 + x + 6) (3x2 + 4x + 2) + 5x + 3
EXAMPLE 4
Ifj(x) = x5 + 3x4 + x3 + x2 + 2x + 2 e Z5[x] is divided by x - 1, find the quotient and remainder.
Solution.
Given j(x) = x5 + 3x4 + x3 + x3 + 2x + 2 and g(x) = x - 1
Since Z5 = {O, 1, 2, 3, 4} is a field, to find q(x) and r(x) in Z5 [x], we perform long division method,
whenj{x) is divided by g(x), keeping in mind addition and multiplication under modulo 5.
(x - 1) is a factor ofj{x)
EXAMPLE 5
j(x) = x3 + 5.x2 + 2x + 6 e Z7[x],then write j(x) as a product of first degree polynomials.
Solutlon.
We know Z7= {O, I, 2, 3,4, 5, 6}
Given j{x) = x3 + 5x2 + 2x + 6
Now j{O) = 6 =-l(mod 7) :f:. 0
j{l) =I+ 5 + 2 + 6 = 14 = 0 (mod 7)
., l is a root ofj{x) and so, (x - l) is a factor ofj{x)
j{2) = 23 + 5 x 22 + 2 x 2 + 6
= 8+ 20 + 4 + 6 = 38 = 3(mod 7):;:. 0
j{3) = 33 + 5 x 32 + 2 x 3 + 6
= 27 + 45 + 6 + 6 = 84 = O(mod 7)
., 3 is a root ofj{x) and so, (x - 3) is a factor ofj{x)
j{4) = 43 + 5 x 42 + 2 x 4 + 6
= 64 + 80 + 8 + 6 = 128 = 2(mod 7):;:. 0
j{6) = 63 + 5 x 62 + 2 x 6 + 6
EXAMPLE 6
Ifj(x) = (2x3 + 1) (5x3 + Sx + 3) (4~ - 3) e Z7 [x],then write j{x) as a product of a unit and three
monic polynomials.
Solution.
Given j{x) = (2x3+ 1) (5x3 + 5x + 3) (4x- I) in Z7 [x]
We have Z7 = {O, 1, 2, 3, 4, 5, 6}
To writej{x) as product of three monic polynomials, we have to take out 2 from first factor, 5 from
second factor and 4 from third factor.
i.e., 2 from 2x2 +I, 5 from 5x3 + 5x + 2 and 4 from 4x - 3
Now 1=8 (mod 7) .
Finite Fields and Polynomials • 2.17
3=10 (mod 7)
-3 =4 (mod 7)
j{x) = (2x2 + 8) (5x3 + 5x + 10) (4x + 4)
= 2 (x2 + 4) 5(x3 + x + 2) 4(x + 1)
= 40 (x2 + 4) (x3 + x + 2) (x + 1)
=5(x2+4)(x3+x+2)(x+ 1) [·: 40 = 5(mod 7)]
deg r(x) =0
=> 'r(x) = r (a constant), an element is F.
j{x) = q(x) (x-a) +r
Putx=a.
j{a)=q(a)·O+r=r. ~ r=f{a)
Solutlon.
Given j{x) = xs + 2x3 + x2 + 2x + 3.
Whenj{x) is divided by (x- 1), the remainder isj{l).
f{l)= 1 +2+ l +2+3
= 9 =4 (mod 5)
the remainder is4 inZs·
EXAMPLE 2
What is the remainder whenj{x) = 2x3 + x2 + 2x + 3 e Z5[x] is divided by (x- 2)? [AU 2018]
Solutlon.
Given j{x) = 2x3 + x2 + 2x + 3 and Zs= {O; 1, 2, 3, 4}.
Whenj{x) is divided by (x-2), the remainder is.1(2).
!{2) = 2 . 23 + 22 +2 . 2 + 3
= 16 + 4 + 4 + 3 = 27 = 2 (mod 4)
the remainder is 2 in Zs.
EXAMPLE 3
Find the remainder whenj{x) = x100 + x90 + x80 + x50 + 1 is divided by g(x) = x - 1 is Z2[x].
[AU 2018)
Solutlon.
Given j{x) = xlOO + x90 + xSO + xso + 1 and g(x)=x-l
Finite Fields and Polynomials • 2.19
nteorem 2.5 If.l{x) e F[x] is of degree n ~ 1, then.l{x) has at most n roots if F. [AU 2017]
EXAMPLE 1
Test the Theorem 2.5 for x2 + 2 e R[x], where R is the field of real numbers.
Solution.
Let f{x) = x2 + 2 over R.
Now ==> x2=-2 => x=± i.J2
2.20 • Algebra and Number Theory
EXAMPLE 2
Ifj{x) =x2 + 3x + 2 e Z6 [x], then find the roots ofj{x). Why Theorem 2.5 is not satisfied?
Solutlon.
Given fix)= x2 + 3x + 2 over Z6 = {O, 1, 2, 3, 4, 5}
and Z6 is not a field, since 6 is not a prime.
We have the roots ofj{x) are 1, 2, 4, 5.
So the four roots belong to Z6 which is more than 2 roots.
Since Z6 is not a field, this is not a contradiction to Theorem 2.5.
EXERCISE 2.1
1. Determine R ={Kn Jn e
z, K is a fixed integer} is a ring under ordinary addition and
multiplication.
2. S={l, 2} andR =P(S). Determine+ and· onR by A +B=AiiB = {x: xeA or xeB, but not both}
and A · B =A n B. Prove that (R, +, ·)is a ring.
[Hint: Form cayley tables for+ and· and verify the axioms]
3. Prove that any field is an integral domain.
4. Let R = M2(Z) be the ~ing of 2 x 2 matrices over Z. Show that S = {[ x x+ x :x,yez y]
ts }.
x+y
a subring.
5. Determine R ={a+ b./2.Ja, be Z} is a ring under ordinary addition and multiplication. Is it is a
field?
7. If R = P(S) is the power set of a nonempty set S, Define· additions- and multiplication as
A + B =A u B. A · B =A n B "!:/A, B e, R. Is (R, u; n) a ring?
8. Let R ={a+ ibJa, be Z}. with usual addition and multiplication on R, is (R, +, ·) an integral
domain? ·
9. Give an example of a ring with eight elements. If a and b an integers, the complex number a + ib
is called a Gaussian integer
WORKED EXAMPLES
EXAMPLE 1
Test whether the polynomial.l{x) = 2x2 + 4 is irreducible over Z, Q, R and C.
Solution.
Given j{x) = 2x2 + 4 = 2 (x2 + 2)
Since 2 is constant polynomial in Z[x]. Whose degree is 0 andx2 + 2 e Z[x].
Now 2x2+4=0
x2=-2 x = ±i.J2
the roots do not belong to Z, Q and R .
.f{x) = 2x2 + 4 is irreducible over Z, Q and R.
But i.J2, and i.J2 belong to C.
the roots belong to C.
Hence j{x) = 2x2+ 4 is reducible over C.
EXAMPLE 2
Is.l{x) = x2 + 1 in Z[x) is irreducible over Z.
Solution.
Given j{x) = x2 + 1 in Z[x]
Now x=±i
:. the roots i, -i do not belong to Z.
:. j{x) = x2 + 1 is irreducible over Z.
EXAMPLE 3
Letj{x) =x3 +x2+x+1 e Z2[x] is it reducible or irreducible? If reducible find the other factor.
Solution.
Given j(x) =x3 +x2+x+1 e Z2[x] and Z2 = {O, l}
.f{O) = 1 :;: 0 :. 0 is not a root in Z2
2.22 • Algebra and Number Theory
EXAMPLE 5
Test the polynomialx2 +x + 4 in Z11[x] is irreducible over Z11•
Solution.
Let f(x)=x2+x+4 inZ11[x] and Zll = {O, 1, 2, 3,4, 5, 6, 7, 8,.9, 10} isa field, since 11 is a prime.
j(x) = x2 + x + 4 is a polynomial of degree 2 in Z11 [x].
We search for an element a E Zll such thatj(a) = 0
We have j(O) = 4-:;:. O(mod 11) ·
EXAMPLE 6
Find two non-zero polynomials.ftx) and g(x) in Z12[x] such thatj{x)g(x) = 0.
Solution.
We know Z12 == {O, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}
Consider j(x) = 3x2 e Z12[x]
and g(x) = 4x + 8 e Zn[x]
We know j(x) and g(x) are non zero polynomials.
But j(x)·g(x)=3x2(4x+8)
EXAMPLE 7
Find two non-zero polynomials j{x), g(x) in Z7[x] such that j{x) g(x) :;i!: 0.
Solution.
We know Z7 = {O, 1, 2, 3, 4, 5, 6}
Let j(x) = (2x2 + 4x + 1)
and g(x) = 6x3
Proof
(i) Let.f{x) =ax+ b, a-::/:. 0 in F[x].
Suppose.f{x) is reducible, then there existg(x), h(x) E F[x] such that
=-(a · a-1)b + b
Theorem 2. 7 Let F be a field and fl.x), g(x) be polynomials in F[x] with atleast one of them non-
zero polynomial. Then their g.c.d d(x) can be expressed as d(x) = a(x) fl.x) + b(x) g(x) for some
a(x), b(x) e F[x].
Then an
-1d( l= -I -1
x .-an ao+an a1x+an
-1 2 -1
anx + ... +an an_1x
n-1 -I
+an anx
n
is a monic polynomial
and a;1d(x) is also a g.c.d ofj{x) andg(x).
Suppose d1(x) and di(x) be two monic polynomials, which are the g.c.d's ofj{x) and g(x).
Then d1(x) divides di(x) [treading d2(x) as g.c.d]
and di(x) divides d1(x) [Treating d1(x) as g.c.d]
:. d1(x) = u d2(x) for some u '#- 0 in F.
Since both d 1 (x) and d2(x) are monic polynomials by using equality of polynomials and by equating
the leading coefficients, we get
u=l
Theorem2.8 'Let F be a field andj{x), g(x) e F[x], where g(x) :¢ 0 and deg g(x) ~ degj{x).
Applying the division algorithm, we write
j{x) = q1(x) g(x) + r1(x), deg r1(x) <deg g(.x)
WORKED EXAMPLE
EXAMPLE 1
Find the g.c.d of x4 + x3 + 2x2 + x + 1 andx3 - 1 over Q.
Solution.
Let j(x) = x4 +x3 +2x2 +x+I
g(x)=x3 ..c.1
and deg g(x) < degj(x)
Dividej(x) by g(x) by division algorithmsuccessively,
lx _ .L
x+l 2 2
x3 - 1) x 4 + x3 + 2x2 + x + 1 2x2 + 2x + 2) x3 - 1
x4-x x3+x2 +x
-x2-x-1
-x2-x- 1
2x2+2x + 2 0
f(x) = (x+ l)(x3 -1)+ 2(x2+x+1), deg(2x2 +2x+2) < deg(x3 -1)
x3 -1=(~-~)<2x2+2x+ 2)+0
=(x-l)(x2+x+1)
: . The last nonzero remainder is x2 + x + .l , which is the gcd.
Since Fis a field, Fis an integral domain and so, it has no divisor of zero.
either p · 1 = 0 or q · 1 = 0
Since p and q are less than n, it contradicts the definition of characteristic of F.
:. n is a prime number.
•
Note
1. The characteristic of a ring need not be a prime. For example char(Z6) = 6, which is not a prime.
2. The characteristic of a finite field is a prime number P.
3. The fields (Q, +, ·), (R, +, ·)are of characteristic zero.
Theorem 2.10 The number of elements of a finite field is p", where pis a prime number and n is
a positive integer. [AU 2013, 2018]
Proof We know for a prime p, ZP is a field havingp elements and char(ZP)= p, since pa= 0 ";/a E ZP
n n I
Considerthepolynomial f(x)=xP -x inZP[x].Nowthederivative f'(x)=pnxp- -1
Since char(ZP)= p, char (ZP[x]) ~ p and so, p g(x),= 0 ";/ g(x) E ZP[x]
n I n I
Hence p xP - = 0 ~ pn · xP - = 0
i.e., F= {a e K I aP" = a} CK
Hence F has only pn elements.
We now prove Fis a field.
Leta, b E F. Then aP" =a and bp" =b
(ab )P" = aP" ·bp" [·: a-b = b-a \f a-b e K]
=ab vs a-b e F
With 0 < m1, m2, n1, n2 :::; p and at least one if ( m1 ~ m2) and n2 - n1 is "/:. 0
(n2-ni)x=(n2-n1)1x
=((n2-ni)l)x=0x=0
Note An ideal is always a subring, but a subring is not an ideal. Ideal is something more than 1
subring.
1. In any ring R, { 0} and R are ideals of R. The ideal { 0} is called the trivial ideal.
2. For any positive integer n, the subset n Z = {O, ±n, ±2n, ... ,} in the ring (Z, +,·)is an ideal of Z.
For example:
(Z, +, ·)is a subring of (Q, +, ·),but it is not an ideal,
(a+/)+ (b +I) = a+ b +I
This ring is called factor ring or quotient ring and is denoted by R/I.
WORKED EXAMPLES
EXAMPLE 1
Construct a field consisting of four elements.
[Hint: Using the irreducible binary polynomial x1- + x + 1] [AU 2013]
Solutlon.
Consider Z2= {O, 1}
.f{O) = 1:;e0
[t{x)J = [r(x)J
So, to find the equivalence classes mod(x2 + x + 1 ), it is enough to find the possible values of
r(x) =ax+ b.
If a=O, b=I), r(x)=O
If a=O, b=l, r(x)=l
If a= 1, b=O, r(x)=x
If a=O, b=l, r(x)=x+l
:. the equivalence classes are [OJ, [lJ, [xJ, [x + lJ
Z2[xJ
:. the 4 elements of the field are [OJ, [lJ, [xJ, [x + lJ
2
<x +x+l>
EXAMPLE 2
In the above example 1, find [xi-1•
Solutlon.
Z2[x]
In the above example 1, we have proved is a field having the four elements
< x2 +x+l>
[OJ, [lJ, [xJ, [x + lJ, where [OJ is the zero element. [xJ z
The non-zero elements [lJ, [x], [x + l ] form a group under multiplication, because --2-=-2--
is a field. < x +x+l >
We write [aJ as a.
[xJ = 1, [xJ = x and [x + 1) = x + 1 [·: -1 = l(mod2)]
x·x=x2 = (x + 1) mod (x2 +x+ 1)
x(x + I) = x2 + x = 1 mod (x2 + x + 1)
(x+ l)·(x+ l)=x2+2.x+ 1
=x2+x+ I +x=xmod(x2+x+ 1)
I x x+1
I 1 x x+l
x x x+l 1
x+l x+l 1 x
Since I is the identity
We find x(x + 1) = 1
:. inverse of xis x + 1 :. [xt1 = [x + I]
EXAMPLE 3
Z3[x]
In Z3[x], s(x) = x- + x + 2. Show that s(x) rs Irreduefble
__ 2 • • •
over Z3 and construct the field ---
< s(x) >
What is the order of this field?
Solutlon.
Given s(x)=x2+x+2inZ3[x] and Z3={0,l;2}
Now s(0)=2:F.0
s(l)= 1+1 +2=4= l(mod3):F.0
s(2) = 22 + 2 + 2 = 8 = 2(mod 3) ¢ 0
s(x) has no.root in Z3.
Hence s(x) is irreducible in Z3[x].
---Z3[x] . tieId
1sa
< s(x) >
Since deg s(x) = 2, this field has 32 == 9 elements.
This field consists of9 different equivalence classes (mod s(x)).
, Finite Fields and Polynomials •
2.35
Letfi:x) E Z3[x].
Then fix)= q(x)(x2 + x + 1) + r(x)
where r(x) = 0 or deg r(x) <deg (x2 + x + 1) = 2 :. deg r(x) is 0 or 1.
r(x) =ax+ b, a, b E Z3
and [f(x)] = [r(x)]
:. the different equivalence classes mod(x2 + x + 1) correspond to the different values of r(x).
Each of a and b can take 3 values from Z3 and so, there are 3 · 3 = 9 values for r(x).
They are
1. If a= 0, b = 0, then r(x) = 0
2. If a=O, b= 1, then r(x)= 1
3. If a= 0, b = 2, then r(x) = 2
4. If a= 1, b=O, then r(x)=x
5.lf a=l, b=l, thenr(x)=x+l
6. If a= 1, b=2, then r(x)=x+2
7. If a= 2, b = 0, then r(x) = 2x
8. If a= 2, b = 1, then r(x) = 2x + 1
9. If a=2, b=2, then r(x)=2x+2
:. the nine equivalence classes are [O], [l], [2], [x], [x + 1], [x + 2], [2x], [2x + l], [2x + 2]
Z3[x]
= {[O], [1], [2], [x], [x+ 1], [x+ 2], [2x], [2x+ l], [2x+ 2]}
2
<x +x+2>
the order of the field is 9.
i.e., the number elements is 9.
EXAMPLE 4
Z3[X]
In the find field 2
with 9 elements (Refer worked example 3 above), find
<x +x+2>
(i) [x+2)[2x+2]+[x+l]
(ii) [2x + 1)2[x + 2]
(iii) [2x + 1i-1
Solution.
. Z3[xl
G rven is a finite field with 9 elements.
< x2 +x+2>
(i) To find [x + 2][2x + 2] + [x + l]
Now [x + 2][2x +2] = [2x2 +6x+4]
For, 2
x2+x+2)~-2x_2_+_4~~~-
2x2+ 2x +4
-2x =x :. -2 = l(mod 3)
[x + 2][2x + 2) + [x + 1] = [x] + [x + 1]
= [2x + 1]
EXERCISE 2.2
1. Determine whether the following polynomials are 'irreducible over the given fields
2 ' '
(a) x + x + 1 over Z3, Zs, Z7
(b) x4 + x3 + 1 over Z2
(c) x3 + 3x2-x + 1 over Zs [AU 20131
2. Findthe remainderwhen.f(x) = 3xs- 8x4 +x3 ~x2 + 4x-7 is divided by g(x) =x + 9 in Z11[x).
3. Let.f(x) = x4 + x3 + x2 + x + 1 e Z2[x]. Is itreducible in Z2[x]?
[Hint: 0, 1 are not roots ofj(x). So first degree factors suppose it has 2nd degree factors then (x2 -I
ax + b)(x2 +ex+ d). Which leads to contradiction. So.f(x) is irreducible in Z2[x]].
4. Let.f(x) =x3 + 6 e Z7 [x], write.f(x) as a product of irreducible polynomial Z7.
5. Show that x2 + x + 4 is irreducible over Z11.
6. Use Euclidean algorithm for polynomial to find gcd ofj(x) = x4 + 2x2 + 2x + 2, g(x) = 2x3 + 2x2 -I
x+ 1 in Z3[x].
7. How many monic polynomial in Z8[x] have degree 5?
8. Show that s(x) = x2 + 1 is reducible in Z2[x]. write the factors.
Finite Fields and Polynomials • 2.37
:. 1 = 0, which is a contradiction.
Sofix) = x has no inverse.
:. F(x) is not a field.
2. If ftx) = 7x4 + 4x3 + 3x2 + x + 4 and g(x) = 3x3 + 5x2 + 6x + 1 belong to z,[x], then find
Jtx) + g(x) and deg (J{x) + g(x)).
Ans. Given j{x) = 7x4 + 4x3 + 3x2 + x + 4 and g(x) = 3x3 + 5x2 + 6x + 1
Since 7 = O(mod 7),
fix)= Ox4 + 4x3 + 3x2 + x + 4
= 4x3 + 3x2 + x + 4
fix)+ g(x) = 7x3 + 8x2 + 7x + 5 [·: 8 = l(mod7)]
= Ox3 + lx2 + Ox + 5
=x2+ 5
deg (j{x) + g(x)) = 2
2.38 • Algebra and Number Theory
7. Ifj{x) = x2 + 4x e Zu[x], then find two different linear polynomials g(x) and h(x) in z12[x],
such thatftx) =g(x) h(x).
Ans. Given j{x) = x2 + 4x e Zdx]
Letg(x) =x-2 andh(x)=x-6 e Zdx]
Then g(x) h(x) = (x - 2)(x - 6)
=x2-8x+ 12
But -8 = 4 (mod 12) and 12 = O(mod 12)
g(x) h(x) = x2 + 4x
j{x) = g(x) h(x)
8. Find the remainderwhenftx) =3x5-8x4 +x3-x2 +4x-7 is divided by g(x) =x+ 9 inZ11[x].
Ans. Given j{x) = 3x5- 8x4 +x3-x2 + 4x-7 e Z11[x]
Andg(x) =x + 9 =x-2 [·: 9 =-2 (mod 11)]
Whenj{x) is divided by x - 2, the remainder is
/(2) = 3·25 -8·24 +23 -22 +4·2-7
= 96-128+8-4+8-7 = -27 = 6(modll)
:. the remainder is 6 e Zu.
9. Test whether 2x + 1 e Z4[x] is a unit.
Ans. Consider (2x + 1 )(2x + 1) = 4x2 + 4x + 1
=Ox2+0x+ 1=1 [·: 4=0mod4]
:. 2x + 1 is unit in Z4[x] and its inverse is 2x + 1.
10. How many monic polynomials in Z7[x] have degree 5?
Ans. We have Z7 = {O, 1, 2, 3, 4, 5, 6}
Any monic polynomial of degree 5 over Z7 is a0 + a1x + a.;c2 + a3x3 + a4x4 + x5,
where a0, al' a2, a3, a4 e Z7.
Each coefficient can be chosen in 7 ways. So, all the five coefficients can be chosen in 75 ways.
The number of monic polynomial is 75.
11. What is the g.e.d of.l(x) = x4 + x3 + 1 and g(x) = x2 + x + 1 in Z2[x].
Ans. We know Z2 = {O, l}
Given f{x)=x4+x3+ l and ·g(x)=x2+x+ 1
Now j{O) = 0 + 0 + 1 = 1 :;t: 0
f{2) = 24 + 23 + 1=16 + 8 + 1 = 25 = 1 (mod 2) :;t: 0
2.40 • Algebra and Number Theory
Note
1. In both the principles condition (i) is called the basis for induction. n0 may be I or 2 or 3, ...
The verification of the truth of p(n0) is the basis step. The assumption in condition (ii) is called
the induction hypothesis. Verification ofp(k + 1) is true is the inductive step or induction step.
3.2 • Algebra and Number Theory
2. The two principles differ only in the induction hypothesis. Theoretically, both the principles are
equivalent. But in practice the second principle is.stronger in the sense that there are propositions
for which only the second principle is applicable. All those propositions for which first principle
is applicable, we can apply the second principle also.
3. Sometimes, if the propositionp(n) is true for n = 0, we take n0 = 0.
In computer service, we use the set of whole numbers W = { 0, 1, 2, 3, ... } rather than N.
Note
I. The well ordering principle can be extended to the set of non negative integers and also to the set
of integers :<:: k for some integer k.
2. The well-ordering principle is logically equivalent to the principle of induction.
Definition3.1 Divisibility
Let ab E Z. we say b divides a and write b I a if a= be for some integer c.
We also say that b is a factor of a orb is a divisor of a or a is a multiple of b.
If b does not divide a, we write b / a.
Divisibility gives a relation between two integers with the following properties.
Theorem3.1 If a, b, c e Z, then
(i) a I a Va* 0 e Z (reflectivity)
(ii) a I band b I c ~a I c Va, b -::t; O, c * 0 E Z (transitively)
(iii) alb ~ albc,Va-::1;0,beZ
(iv) a I band a I c ~a I xb +ye 'V x,y' e Z, a* 0 e Z (linearity)
Proof
(i) If a -::t; 0, a I a (·:a= a· 1)
(ii) a I b ~ b = q1 a and b I c ~ c = q2 b
where a -ct= 0, b -ct= 0 in Z, q1, q2 are some integers
:. c = qz.(q,a) = (qzq1)a ~ a I c.
Divisibility Theory and Canonical Decompositions •
3.3
r =a - q b, where r ~ 0.
WORKED EXAMPLES
EXAMPLE 1
Find q and r when
(i) 207 is divided by 15
(ii) -23 is divided by 5.
13
Solutlon. 15~
(i) We have 207 = 13(15) + 12, 0 < 12 < 15 15
57
q= 13andr=12.
45
(ii) We have -23 == -5(5) + 2, 0<2<5
12
q=-5 andr=2.
Divisibility Theory and Canonical Decompositions • 3.5
EXAMPLE 2
[,et b be an integer ~ 2. Suppose b + 1 integers are randomly selected prove that the difference
~ftwo of them is divisible by b. (AU 2013]
solution.
Givenb is an integer ~ 2.
We know, when an integer a is divided by b, we have the division algorithm a = q b + r, O $.;; r < b.
Given b + 1 integers are selected randomly.
When they are divided by b, we get b + 1 remainders (pigeons).
But there are only b possible remainders (pigeon holes).
So, by pigeon hole principle two of the remainders must be equal and equal tor.
Let x and y be the numbers among the b + 1 numbers with remainder r when x and y are
dividedby b.
Then x = q1 b +randy= q2 b + r
blx-y
lxl = {x ~f x~ 0
-x if x < 0
2. Greatest integer function
[x] =the greatest lnteger s x.
In computer science the greatest integer function is called floor function and is denoted
by LxJ.
3. The ceiling function fx l is the least integer z x.
J
For example, L -3.4 =the greatest integer $.;-3.4 is -4
l 2~;6J=L109.26J=109.
Corollary In the set of integers {1, 2, 3, ... , n} the numberof integers divisible by a primepis
Instead of floor function notation, we will be using greatest integer function notation.
If Pp Pz are distinct primes, the numbers of integers divisible by p1 Pz is
WORKED EXAMPLES
EXAMPLE 1
Find the number of positive integers in the range 1976 through 3776 that are divisible by 13.
[AU 2017]
Solution.
The number of positive integers s 1976 that are
1976 3776
1~~6]
divisible by 13 is = [ = [152] = 152
EXAMPLE 2
Find the number of positive integers a 2076 and divisible by neither 4 nor 5. [AU 2013, 2018)
Solution.
First we find the number of positive integers s 2076 that are divisible by 4 or 5.
3.8 • Algebra and Number Theory
Where S1 =IAl+IBI
S2 = IA11BI
Now
EXAMPLE 3
Find the positive integers ~ 3000 and divisible by 3, 5 or 7. [AU 2018)
Solutlon.
Let A, B, C be the set of numbers s 3000 that are divisible by 3, 5, 7 respectively.
Required IAv B v Cl
By inclusion and exclusion principle, we get
IAvBvCl=S1 -S2 +S3
Solutlon.
Let A, B, C, D be the set of integers divisible by 2, 3, 5, 7 respectively.
Required jAuBuCuDj
By inclusion-exclusion principle, we know
!AuBuCuDj = S1 -S2 +S3 -S4
where S1 = IAi\+IA2l+IA3j+IA4j
S2 =IAnBj+jAnCl+IAnDj+jBnCj+jBnDj+jCnDj
S3 =IAnBnCj+jAnBnDj+jAnCnDj+jBnCnDI
S4 =jAnBnCnDj.
2~0]
IBI = [ = [83.3) = 83
jcj = [
!J
2 0
= [ 50] = 50
S1 =IAl+IBl+ICl+IDI
=125+83+50+35=293
3.10 • Algebra and Number Theory .
Now
250]· = [25] = 25
IAnCI = [ -·
2x5
250] = [16.6] = 16
IBnCI = [ -.
3x5
250J=[11.9]=11
IBnDI = [
3x7
S3 =8+5+3+2=18
EXAMPLE 5
Find the numberof positive integers in the range1976 through3776 that are not divisible by 17.
Solutlon.
First we shall find the number of integers that are divisible by 17.
The numbers of integers :;;; 1976 that are divisible by 17 is
1976]
= [ 17 =[116.2]=116
Divisibility Theory and Canonical Decompositions • 3;11
:. the number of integers from 1976 to 3776 that are divisible by 17 is= 222-116
= 106
;. the number of integers from 1976 to 3776 that are not divisible by 17 is
= total number of numbers - 106
But the total number of integers from
1976 to 3776 is= 3776 - 1976 + 1
= 1800 + 1 = 1801
:. the number ofnumbers that are not divisible by 17 is 1801 - 106 = 1695.
EXAMPLE 6
Find the number of positive lntegers s; 3076 that are not divisible by 24.
Solution.
The number of integers : : ; 3076 that are divisible by 24 is
The number of numbers not divisible by 24 is= total number of numbers - 128
= 3076- 128 = 2498.
EXAMPLE 7
Prove by induction that 2n3 + 3n2 + n is divisible by 6 for all integers n ~ 0.
Solution.
Letp(n) be the statement 2n3 + 3n2 + n is divisible by 6.
To prove p(n) is true V n;;:: 0.
Basis step: Here n0. = 0
:. p(O): 0 is divisible by 6, which is true
So, p(O) is true
Solutlon.
Letp(n) denote the statement
24n + 3n - 1 is divisible by 9.
To prove p(n) is true V n;;::: 0.
Basis step: Here n0 = 0
p(O) is 2° + 3.0- 1 = 0, which is divisible 9
p(O) is true.
p(k+ 1) is true.
fhusp(k) is true ee p(k+l) is true.
Hence by I principle ofinductionp(n) is true V n ~ 0.
EXAMPLE 9
If the sum of the cubes of threeconsecutive integers is a cube k3 prove that 31 k,
Solutlon.
Let n, n + 1, n + 2 be the three consecutive integers.
Given n3 + (n + 1)3 + (n + 2)3 is a cube k3
n3 + n3 + 3n2 + 3n + 1 + n3 + 3n2 · 2 + 3n · 22 + 23 = k3
3n3 +9n2 +15n+9 = k3
EXAMPLE 10
Show that n3 + (n + 1)3+(n+1)3 + (n + 2)3 = (n + 3)3 has a unique solution.
Solutlon.
Given n3 + (n + 1)3 + (n + 2)3 = (n + 3)3 (1)
Since L.H.S is the sum of cubes of three consecutive integers, by example 11, 3ln+ 3
Since 31n +3 and 313, we get 3ln + 3-3 :::::} 3ln
n = 3m, where m is an integer
(1)
where a0, a 1' ... , ak are non negative integers then the expression in ( 1) is called the base b expansion
of the integer n.
We then write n = (ak ak-l ... a1a0)b.
For example,
(345)10= 3(102) + 4 (10) + 5 (100)
Note
1. The number system with base 10 is called the decimal system because the latin word decem
means 10.
The decimal system uses the 10 digits 0, 1, 2, 3, ... , 9.
2. If the base b > 10, we use the letters A, B, C, ... to represent the digits 10, 11, 12, ... respectively
in decimal notation.
WORKED EXAMPLES
EXAMPLE 1
Express (101011111)2 in base 10.
Solutlon.
(101011111)2= 1(28) + 0(27)+1(26) + 0(25) + 1(24) + 1(23) + 1(22)+ 1(2) + 1(2°)
= 256+64+ 16+8+4+2+ 1
= 351
EXAMPLE 2
Express (3 ABOE)i6 in base ten.
Solutlon.
We know A= 10, B = 11, E = 14
(3ABOE)16 = 3(164) + A(l63)+ B(l62)+ 0(16)+ E(16°)
= 3(164) + 10(163) + 11(16)2+14
= 196608+40960+ 2816+ 14
= 240398
EXAMPLE 3
Express (3 ABC)u; in base 10.
Solutlon.
We know A= 10, B = 11, C = 12
WORKED EXAMPLES
EXAMPLE 4
Express 1076 in the binary system.
Solution.
1076 538 (2) + ~-0~
I I 538 269 134 67
538 269 (2) +:o:
I I 2~ 2V38 2) 269 2~
269 = 134 (2) +: 1 : 10 4 2 12
134 = 67 (2)
I
+ O•
I -- -- --
I 7 13 6 14
67 33 (2) + l: I 6 12 6 14
+ 1:
33 = 16 (2)
16 = 8 (2)
8 = 4 (2)
+ O•
+ o:
I
I r 16
16
--
18
18
9
8
0
I 0 0
4 = 2(2) + o:
2 = 1 (2) + o: I
33 16
1 = 0 (2) + 1 :
2~ 2F
6
--2
7 13
6 12
-
1
1076 = (10000110100)2
Divisibility Theory and Canonical Decompositions • 3.17
:XAMPLE 5
ix.press 12345 in the octal system.
;olutlon.
We have to write the decimal integer into base 8 system.
12345 = (3007l)g
EXAMPLE 6.
Express 1776 in the octal system.
Solution.
r--.,
1776 = 222 (8)
+:o:I 222 27 3
222
27
=
=
27 (8) +:6:
3 (8)
I
+:3:
I 8~
16
s?2
16
8~
I I
-24
3 = 0 (8) +: 3: 17 62 3
16 56
--
16 6
16
0
1776 = (3360)g
3.18 • Algebra and Number Theory
EXAMPLE 7
Express 3014 in base 8.
Solution.
3014 = (5706)g
EXAMPLE 8
Represent 15036 in hexadecimal system.
Solution.
We write
r--,
153036 = 939 (16) + : 12: ~ c 939 58 3
939 = 58 (16) + iI 111 I = B 16) 15036 16F 16~
58
3
=
=
3 (16)
0 (16)
+ :10:
I
+ :3 :
I
=A
1 144
63
80
139
48
10
48 128
156 11
144
12
153036 = (3 ABC)16
Divisibility Theory and Canonical Decompositions •
3.9
1
EXAMPLE 9
f;xpress 177130 in hexadecimal system.
Solution.
We write
I
I 16) 177130 16) 11070 16~ 16~
691 = 43 (16) + : 3 :
I I
16 96 64 32
43 = 2 (16) +:11:=B 17 147 51 11
2 = 0 (16) + : 2 : 16 144 48
-- -
113 30 3
112 16
--
10 14
. 177130 = (2 B3EA)16
We have seen how to convert decimal system to base-b system and base-b system to decimal system.
We shall now find the method of changing a binary number to octal or hexadecimal system.
WORKED EXAMPLES
EXAMPLE 1
Convert the binary number (11110011)2 into octal digit.
Solution.
Given 11 110 011
We group the digits in blocks of three digits from right to left.
Here the blocks are 011, 110, 011 (adding 0 to the left most block to get 3 digits).
Now 011=0(22)+1(2)+1=3
110=1(22)+1(2)+0 = 6
EXAMPLE 2
Write 111010two as an octal integer.
Solution.
Given (11 lOlO)two
We rewrite 111010 = 111, 010
EXAMPLE 3
Convert (11100101)2 to octal digit.
Solution.
Given the binary number 11100101
We group into blocks of three bits from right to left.
The blocks are 011, 100, lOI by adding 0 to the left most block.
WORKED EXAMPLES
EXAMPLE 1
Write (11111010111100)2 as a hexadecimal digit.
Solution.
Given (l I l I IOI lOI I I lOO)z
1011=1(23)+0(22)+1(2)+1=8+2+1=11(= B)
· 1100=1(23)+1(22)+0(2)+0= 8+4= 12(=C)
(11l11010111100)i = (3EBC)t6
EXAMPLE 2
Write (1110101)2 as a hexadecimal number.
Solution.
Given (1110101)2
We rewrite 111, 0101=0111, 0101
Now 0111=0(23)+1(22)+ 1(2)+ 1 =7
and 0101=0(23) +1(22) + 1(2) + 1=5
(1110101)i = (75)16
EXAMPLE 3
Write (11110011)2 as a hexadecimal number.
Solution.
Given (1110011)2
We rewrite 11110011 =1111,0011
Now 1111 = 1(23) + 1(22) + 1(2) + 1 = 15 (= F)
EXAMPLE 4
Rewrite 23716 as a binary digit.
Solution.
Given (237)16
So each digit we have to rewrite as blocks of four bits.
:. we write 2 = 0(23) + 0(22) + 1(2) + 0(1) = 0010
3 = 0(23) + 0(22) + 1(2) + 1(1) = 0011
and 7 = 0(23) + 0(22) + 1(2) + 1(1) = 0111
(237)16 = (0010 0011 01 ll)i
= (1000110111)2
3.22 • Algebra and Number Theory
EXAMPLE 5
Rewrite (36)16 as a binary number.
Solution.
Given (36)16
We rewrite each digit as a block of four bits.
EXAMPLE 6
Write (3 AD)16 as a binary number.
Solution.
Given (3AD)16
We rewrite each digits as block of four bits.
(3 AD)16 = (00111010110l)z
=(1110101101)z
EXAMPLE 7
Rewrite (345)8 as a binary number.
Solution.
Given (345)8
We write each digits as block of three bits.
:. we write 3=1(22)+ 1(2)+ 1 =011
;;,,, (11100101)2
Divisibility Theory and Canonical Decompositions • 3.23
EXAMPLE 8
Convert (237)8 as a binary number.
Solution.
Given (237)8
We rewrite each digit as blocks of three bits.
(237)g = (010011111)2
= (1001111 l)i
EXAMPLE 9
Arrange the binary numbers 1011, 110, 11011, 10110 and 101010 in increasing order of
magnitude.
Solution.
Given 1011, 110, llOll, 10110.
We will convert these binary numbers into decimal numbers for comparison.
. EXAMPLE 10
Find the number of ones in the binary representation of 24 -1.
Solution.
Given 24-1
Now we write 24-1=15= 1(23)+ 1(22)+ 1(2)+ 1
= 1111
EXAMPLE 11
Find the value of the base b if lOOlb = 9.
Solution.
Given lOOlb = 9
Since the digits are binary, we expect b = 2.
We shall now workout
Now lOOlb= 9
EXAMPLE 12
If 144b = 49, find the base b.
Solutlon.
Given (144)b = 49
l(b2) + 4(b) + 4 = 49
b2 +4b-45 =0
=> (b + 9)(b - 5) = 0
Since base b is ~ 2, b+9:t=O.
EXERCISE 3.1
I. Find the number of positive integers ~ 3076 that are divisible by 17.
2. Find the number of positive integers s 3076 that are divisible by 19.
3. Find the number of positive integers s 3076 that are not divisible by 17.
4. Find the number of positive integers from 1976 to 3776 that are divisible by 15.
5. Find the number of positive integers from 1 to 250 that are divisible by 2, 3, 5.
6. Express 3014 in base eight. 7. Express 15036 in the hexadecimal system.
8. Write 6137 in the octal system. 9. Write (Al3F)16 in the binary system.
10. Write 527 in binary system. 11. Write 527 in hexadecimal system.
12. Write (1010111)2 in hexadecimal system.
221 + 1 = 5, a prime
2
22 + l = 17, a prime
3
22 +1=257, a prime
On the basis of these particular cases Fermat conjectured that 2.2" + 1 is a prime for any positive
integer n and he challenged the mathematicians of his days to disprove it.
After nearly 100 years, the great Swiss mathematician Euler (1707-1783) showed that 225 + 1 =
4294967297 is not a prime because it is divisible by 641. Thus the conjecture is disproved .
2. The great German mathematician G.W. Leibnitz ( 1646-1716) noticed that for any positive integer n. ·
n3 - n is divisible by 3
n5 - n is divisible by 5
n 7 - n is divisible by 7
Observing this pattern, he was on the verge of conjecturing that for any odd integer r, nr -n is
divisible by r.
But soon he noticed that 29 - 2 = 510 is not divisible by 9.
This counter example disproved the conjecture.
3. The Prussian mathematician Christian Goldback (1690-1764) observed
4=2+2
6=3+3
8=3+5
10=3+7
12 = 5 + 7, ...
These even integers are expressed as a sum of two primes.
On the basis these particular cases he conjectured that every even integer greater than 2 is a sum
of two primes.
In 2006, with the help of computers it is verified for all even integers upto 2.107.
But till today it continues to remain as a conjecture.
From these examples, we find that inductive reasoning need not lead to correct conclusion.
3.26 • · Algebra and Number Theory
WORKED EXAMPLES
EXAMPLE1
From the pattern.
1.9+2=11
12.9+ 3=111
123.9+4=1111
1234.9+ 5=11111
Write down the nth row and prove the validity of the number pattern.
Solutlon.
From the given pattern we find the nth row is 1· 2·3·4·5 ... n·9+(n+ 1) = ~
n+lones
EXAMPLE2
Using the number pattern
12-02=1
22-12=13
32-22 =5
42 -32 = 7
Solution.
From the· given number pattern, we find the nth row is
n2-(n-1)2=2n-1.
Divisibility Theory and Canonical Decompositions • 3.27
:. the conjecture is
n2-(n - 1)2 = 2n - 1Vn'2::.0
L.H.S = n2 -(n-1)2
= n2 -(n2-2n+l) = 2n-1 = R.H.S
EXAMPLE 3
Given the pattern
9·9+7=88
98·9+6=888
987. 9 + 5 = 8888
Solution.
Observing the pattern, we find the nth tow is
+(10-n)· 1]+(8-n)]
= l on+ 1 -( 1 On: - l )- l
= i[ J
8 · lOn+I - 8 = % [10n+l -1 J
R.H.S = 888... 8
'---v--'
(n+I) eights
= 8 · lOn + 8 · lOn-l + 8 · lOn-l + ... + 8·10 + 8
EXAMPLE 4
Observing the patternof numberswrite down the formulafor the nth row and prove it.
1·8+1=9
12·8+2 = 98
123. 8 + 3 = 987
1234· 8+ 4 = 9876
Solution.
From the given number pattern, we find the nth row is
It is an arithmetic geometric series with the common ratio of the G.P part is 10.
Multiplying (1) by 10. We get
lOS= n·lO+(n-1)102 + ... +2·10n-l +Ion (2)
(1) - (2)
9S = n-(10+102 + ... +Ion-I +10n)
10(
S =8110 n
-1 ) -9n
Divisibility Theory and Canonical Decompositions • 3.29
Let
S = (10-n)l +(11-n) · 10+ '." + 8 .10n-2 + 9.10n-l (1)
This is an arithmetic geometric series with the common ratio of the G.P. part is 10.
Multiplying by 10, we get
(1)- (2)
10 on -1)-10 n+I
=10-n+g-(1
= l0-n+.!.(10n+l _10-9·10n+I)
9
= i-[90-9n-10-8 · lOn+I J
=i-[80-80·10n-9n]
80 n
= 90-10 )-n
s = -80 (1-1 on ) + !:
81 9
80
R.H.S =
. 81
(10n. -1) + !:9
Hence L.H.S = R.H.S.
3.30 • Algebra and Number Theory
Definition3.4 A positive integer p > 1 is called a prime if its only positive factors are 1 and p.
If p > 1 is not a prime, then it is called a composite number (or simply composite).
It is obvious, the integer n is composite if and only if there exists an integer a such that a I n
and 1 <a « n.
For example, 5 is prime because its only positive factors are 1 and 5.
But 6 is a composite number because it has 2 and 3 as factors.
Note that by definition the integer 1 is neither a prime nor a composite number.
1 is just the multiplicative identity or unit.
WORKED EXAMPLES
EXAMPLE 1
Show that 101 is a prime.
Solutlon.
Given number is 101.
First we find all primes :5 [ /101] = 10. The primes are 2, 3, 5, 7.
Since none of these is a factor of 101, (by the above note), we get 101 is a prime.
EXAMPLE 2
Determine whether 1601 is a prime.
Solution.
Given number is 1601.
J
First we find all primes :5 [ .J160l = 40.
The primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31and37.
We can verify that none of them is a factor of 1601.
Hence 1601 is a prime.
3.32 • Algebra and Number Theory
EXAMPLE 3
Determine 1001 is a prime.
Solution.
Given number is I 00 I. To prove it is a prime.
EXAMPLE 4
Find the smallest prime factor of 119.
Solution.
Given number is 119.
We have to find the smallest prime factor of 119.
Definition 3.5 Let x be a positive real number. Then 1t(x) denote the number of primes ::;; x.
For example n-(10) =4 (·: 2,3,5, 7 are the primes s 10)
n-(18.75) =7 (·: 2,3,5, 7,11,13,17 are the primes s 18.75)
If n is a positive integer, then by using inclusion-exclusion principle we state a formula for 1t(n),
the number of primes ::;; n.
Theorem 3.8 Letpl'p2, ... .», be the prtmes s [ -Fn]. Then the number of prlmes S n is ni_n) and
n-(n)=n-l+n-(-Fn)-I,[!!._]+
; P;
L,[-n ]- L [ n ]
i«] PiPj ic j-ck P;PjPk
+.•. +(-1) r [ n
P1P2···Pr
J
EXAMPLE 5
Find the number of primes s; 47 using Theorem 3.8.
Solution.
We have to find the number of primes ::;; 4 7.
Here n:: 47, then Fn = .J47 = 6.8.
The primes s ( .J47) are 2, 3, s.
Divisibility Theory and Canonical Decompositions • 3.33
n(J47) == 3.
We know
== 46+3-(23+15+9)+(7+4+3)-1
== 49 - 47+14 -1
== 15
EXAMPLE 6
Using the formula for n(_n) find the numberof primess; 100.
Solution.
We have to find the number of primes s 100. Here n == 100, and J;; ==Mo== 10.
The primes s 10 are 2, 3, 5, 7.
n(v'iOO) == 4.
We know n( n) == n -1 + n ( J;;)- L [!!_]
P;
+ L [~]- L [ n
PiPj P;PjPk
] + ...
Ifx>O, then
x~~c:x)
Jim n-(x) = 1
Theorem 3.10 For every positive integer n, there are n consecutive integers that are composite
numbers.
EXAMPLE 1
Find five consecutive composite numbers. (AU 2013)
Solutlon.
Here n= 5.
We know the 5 consecutive composite integers are
(n + 1)! + 2,(n + 1)! + 3,(n + 1)! + 4,(n + l)! + 5,(n + l)! + 6
Putn = 5,
( n + 1) ! + 4 = 6 ! + 4 = 720 + 4 = 724
( n + 1) ! + 5 = 6 ! + 5 = 720 + 5 = 725
( n + 1) ! + 6 = 6 ! + 6 = 720 + 6 = 726
EXAMPLE 2
Obtain six consecutive integers that are composite numbers'. [AU 2017]
Solution.
Here n = 6.
Then the six consecutive composite numbers are
(n+ l)! + 2, (n+ 1)! +3, (n+ l)! +4, (n+ l)! +5, (n+ l)! +6, (n+l)! +7
Put n = 6
(n+l)! +2 = 7! +2 = 5040+2 = 5042
EXAMPLE 3
Find five consecutive integers < 100 that are composite numbers.
Solution.
Since 5! = 120 > 100
We consider
4!, 4! +1, 4! +2, 4! + 3, 4! +4,
=> 24, 25, 26, 27, 28 are 5 consecutive composite numbers c 100.
.> • .>u • Aigeora ana rsurnoer 1 neory
Definition 3.6 The greatest common divisor (gcd) of two integers a and b, not both zero, is the largest
positive integer that divides both a and b.
It is denoted by gcd (a, b) or (a, b).
For example
(12, 18) = 6, (-15, 20) = 5
(3, 6) = 3, (-3, 6) = 3, (5, 0) = 5
and (12, 23) = 1.
One way to find gcd of two integers is to find all positive common divisions and then take the largest
common divisor.
For example, the common factors of24 and 36 are 1, 2, 3, 4, 5, 12, of which the largest is 12.
gcd (24, 36) = 12
Note Since gcd (a, -b) = gcd (-a, b) = gcd (-a, -b) = gcd (a, b),
we confine our discussion of gcd to positive integers.
Now we give the symbolic definition of gcd.
(i) dlaanddlb.
(ii) If c I a and c I b, then c Id, where c is a positive integer.
Theorem3.11 The gcd of two positive integers a and bis a linear combination of a and b.
i.e., if d =(a, b), then d =la+ mb for some integers I and m. [AU 2013)
==> r=a-qd
Definition 3.8 Two positive integers a and b are relatively prime if their gcd is 1 ie (a, b) = 1.
•
For example the gcd (6, 25) =I and so 6 and 25 are relatively prime.
Corollary 1 Two positive integers a and b are relatively prime if and only if there exist integers
a and f3 such that aa + f3b = 1.
Proof If a and b are relatively prime, then (a, b) = 1.
Then, by Theorem 3.11, there exist integers a and f3 such that aa + f3b = 1.
Conversely, let aa + f3b = 1.
To prove (a, b) = 1.
If d= (a, b), then dla anddlb
~ dlaa+f3b ~ dll
d=l (asd>O)
Corollary 2
(a, b) = 1 ~a and bare relatively prime.
flnductive Step: Assume that the proposition is true for all integers upto k, k > 2.
f i.e., p(3),p(4), ... ,p(k) are true.
To prove P(k + 1) is true.
i.e., to prove k + 1 is either a prime or is a product of primes.
If k + 1 is a prime, then we are through.
If k + 1 is not a prime, then it is a composite number.
k+ 1 =.xy, where 1 <x < k+ 1, 1 <y < k+ 1.
That is the integers x, y are ~ k.
So, by our induction hypothesis x and y are primes or product of primes.
k + 1 = .xy is a product of two or more primes.
p(k+ 1) is true.
Hence by second principle or strong principle of induction p(n) is true for all n ;;:: 2.
Thus every integer n (:e:: 2) is either a prime or product of primes.
Next we prove uniqueness of the product.
Let n = p1 · p2 · p3 · ... ·Pr and n = q1 • q2 · q3 · ... · q8 be two factorisations of n into product of
primes.
We shall prove r = s and every pi is some qj'
1 s i s r, 1 ~j ~ r.
We have
Suppose r<s
Since p1 I P, · Pi · p3 • ••• • p, we have p1 I q1 · q2 · q3 · ... · q8 and p1 is a prime.
p1 must divide some qj => p1 = qj' as they are primes.
Divide both sides by Pp we get
P2 · P3 -»,> qlqz ... qj-lqj+l -s,
Repeat this argument with P2, P3, ... , Pr·
Since r < s, finally we get 1 =a product of q's (the excess over r)
i.e., 1 = a product of primes, which is a contradiction.
:. Our assumption r <sis wrong => r e s.
Similarly ifs< r (arguing with q's instead of p's)
We get a contradiction
s ;;:: r and hence r = s.
Hence the primes p1, Pi- p3, ... ,Pr are the same as q1, q2, ... ,qr in some order.
Thus the factorization is unique, except for the order.
3.40 • Algebra and Number Theory
This theorem is also known as unique factorization theorem for positive integers.
For example
2 240
240 = 24 .3.5 2~50
5 125 2 120
250 = 2·53 5 25 2 60
These are called prime power decomposition. 5 2 30
Since the primes are written in increasing order, 3 15
these decompositions are called canonical decompositions.
5
Definition 3.10 Canonical decomposition
The canonical decomposition of a positive integer n is of the form n = pf 1 • p~2 · pf 3 ••• pfk, where
p1, Pz- ... , Pk are distinct primes with p1 < Pz < ... < Pk and a1, a2, ... , ak are positive integers.
WORKED EXAMPLES
EXAMPLE 1
Find the canonical decompositions of
(i) 999
(ii) 1024
(iii) 2520
Solution.
We have to find the gcd of 414, 662 2'j 662
First we find the canonical decompositions 2~14
3 207 331
414=2·32·23 3 69
662 = 2·331 23
EXAMPLE 3
Find (175, 192) using canonical decompositions.
Solutlon.
We have to find (175, 192).
First we find the canonical decompositions
5tit
5 35
7
2 192
2
2
96
48
175 = 52 ·7 2 24
192=27·3 2 24
We notice that there is no common factor except 1. 2 12
2 6
(175, 192)= 1
3
EXAMPLE 4
Find gcd of 168 and 180 using canonical decompositions. [AU 2017]
Solution.
2 168 2 180
We have to find gcd of 168, 180.
First we find the canonical decompositions ' 2 84 2 90
2 42 3 45
168=23·3·7
3 21 3 15
and 180=22·32·5
7 5
gcd (168, 180) = 22 · 3 = 12
EXAMPLE 5
Find the gcd of 120 and 500.
EXAMPLE 6
Use recursion to evaluate (12, 36, 60, 108).
Solution.
We have to evaluate gcd (12, 36, 60, 108).
We isolate each term from the right and find gcd of the inner groups as below.
(12,36,60,108) = ((12,36,60),108)
= ( ( (12,36)60),108)
EXAMPLE 7
Use recursion to evaluate (18, 30, 60, 75, 132). [AU 2017]
Solutlon.
2 18, 30
We have to evaluate gcd (18, 30, 60, 75, 132).
We isolate each term from the right and then find the gcd of inner 3 9, 15
groups. 3, 5 - No common
factor
(18,36,60, 75,132) = ((18,36,60, 75),132)
= (((18,30,60), 75),132)
3~
= ((((18,30),60), 75),132) 2, 25 - No common
factor
Now (18, 30} = 2. 3 = 6
=3 [ ·: 3 is a factor of 132]
EXAMPLE 8
Use recursion to evaluate (12, 18, 28, 38, 44).
Solution.
We have to evaluate gcd(l2, 18, 28, 38, 44).
Divisibility Theory and Canonical Decompositions • 3.43
We isolate each term from the right and then find the gcd ofinner groups
2~
as below
3~
(12, 18, 28, 38, 44) = ((12,18,28,38),44)
2, 3 - No factor
= (((12,18,28),38 ),44)
= ( ( ( (12\18),28 )~38 ),44) 2~
3, 14 -. No factor
Now (12, 18) = 2 . 3 = 6
EXAMPLE 9
Using recursion evaluate (15, 24, 28, 45).
Solution.
We have to evaluate gcd (15, 24, 28, 45). 3115,24
We isolate each term from the right and then find the gcd of inner
5, 8 - No factor
groups as below
(15, 24, 28, 45) = ((15, 24, 28), 45)
EXAMPLE 10
Find the gcd of a= 22 · 33 • 52. 7 -112
and b = 211 · 39 · 53 · 11
Solution.
Given a= 22 · 33·52·7·112
and b= i11-39 .53 ·11
(a,b) = 22 .33 ·52 ·11=29, 700
(choosing minimum of powers of common factors)
3.44 • Algebra and Number Theory
EXAMPLE 11
Find the gcd of 92928 and 123552.
a=qb+r, O~r<b.
Then the gcd (a, b) =the gcd (b, r)
=> a=qb=r
Let d = gcd (a, b) and d' = gcd (b, r).
To prove d=d'.
Divisibility Theory and Canonical Decompositions • 3.45
EXAMPLE 1
Find the gcd (414, 662) using Euclidean algorithm.
1 1
Solution.
We have to find the gcd (414, 662). Here 662 > 414. 414) 662 248E
Applying division algorithm successively, we get 414 248
662 = I(414) + 248 248 166
414=1(248)+166
1 2 41
248 = 1(166)+ 82
166) 248 82F 2~
166 = 2(82) + [l] 166
82 = 41(2)+ 0 --164 8
2
82 2
The last non-zero remainder is 2. 2
the gcd (662, 414) = 2 0
3.46 • Algebra and Number Theory
EXAMPLE 2
Find the gcd (2076, 1776) using Euclidean algorithm. [AU 2018)
Solution. 1 5
Here 2076 > 1776.
1776) 2076 300) 1776
Applying division algorithm successively we get:
1500
2076 = 1(1776)+ 300
--1776
300 276
1776 = 5(300)+276
300 = 1(276)+ 24 11 1
276=11(24)+[gj 24) 276 276~
24 = 2(12)+0 24 276
--
The last nonzero remainder is 12 34 24
24
the gcd (2076, 1776) = 12 10
EXAMPLE 3
Apply Euclidean algorithm to compute (3076, 1976). [AU 2017)
Solution.
We have find the gcd of3076 and 1976.
Here 3076 > 1976.
Applying the division algorithm successively, we get 1 1 1
EXAMPLE 4
Apply Euclidean algorithm to express the gcd of1976and1776 as a linear combination of them.
[AU 2017)
Solution.
We have to find the gcd of 1976 and 1776. Here 1976 > 1776.
Applying division algorithm successively, we get
1976=1(1776)+200
Divisibility Theory and Canonical Decompositions • 3.47
1776=8(200)+176 1 8
200 = 1(176)+ 24 1776) 1976 200~
176 = 7(24) + [fil 1776 1600
--
200 176
24 = 3(8)+0
1 3
The last nonzero remainder is 8.
176) 200 8~
gcd (1976, 1776) = 8 176 24
Using the above equations in reverse order and substituting for
-
24 0
remainder each time, we get the linear combination of 1976 and 1776.
(1976, 1776) =8
= 176-7(24)
= 176 - 7[200 .: 1(176)]
= 8 (176)- 7(200)
= 8(1776)- 71 (200)
= 79(1776)- 71 (1976)
EXAMPLE 5
Use the Euclidean algorithm to express the gcd of 4076 and 1024 as a linear combination of
them.
Solution.
We have to find the gcd of 4076 and 1024. Here 4076 > 1024. 3 1
By applying division algorithm successively, we get 1024) 4076 1004) 1024
407 6 = 3(1024) + 1004 3072 1004
1024=1(1004) + 20 1004 20
1004 = 50(20) + [±]
20 = 5(4)+0 50 5
The last nonzero remainder is 4. 20) 1004 4~
100 20
the gcd (4076, 1024) = 4
4 0
Using the above equations in reverse order.
3;48 • Algebra and Number Theory
= 1004 - 50(20)
= 51(1004)- 50(1024)
= 51 [4076- 3(1024)] - 50(1024)
= 51 (4076)- 203(1024)
EXAMPLE 6
For any positive integer n, Prove that 8n + 3 and Sn + 2 are relatively prime.
solution.
To prove (8n + 3, 5n + 2) 1 =
When n = 1, 8n + 3 = 11 and 5n + 2 = 7
gcd (11, 7) =1
Hence it is true when n 1 = 1
For n ;;:: 2, we have 8n + 3 > 5n + 2. By division algorithm,
8n + 3 = 1·(5n+2) + (3n + 1), 0<3n+1<5n+2
5n + 2) 8n + 3
5n+3
5n+2=1·(3n+1)+(2n+l), 0<2n+l<3n+l
3n +1
3n+l = 1·(2n+l)+n
2n + 1 = 2(n)+[!J 1
n=l·n+O 3n + 2) 5n + 2
: . the last nonzero remainder is 1. 3n +1
2n + 1
gcd (8n + 3, 5n + 2) = 1 'Vn:2:2
Solution.
=
Let (a, b) 1.
Then there exist integers l and m such that
la+ mb = 1
la + ma + mb - ma = 1 (adding ma and substracting ma)
(/ + m)a-m(a-b) =1
(/ + m)a + (-m)(a - b) = 1
(a,a-b)= 1
(a, b)= 1
EXAMPLE 8
If the square of an integer is odd, then prove that the integer is odd.
Solution.
Let n be an integer such that n2 is odd.
To prove n is odd.
Suppose n is not odd, then n is even.
n2 = 4m2 = 2(2m2),
EXAMPLE 9
If (a, b) = 1, then prove that (a2, b2) = 1.
Solution.
Given (a, b) = 1.
To prove (a2, b2) = 1.
Suppose (a2, b2) -:t:. 1, then a2 and b2 have a common factor and hence have a prime factor p.
p I a2 andp I h2
=> p I a· a andp I b · b
=> p I a andp I b (·:pis a prime andp I ab=> p I a or p I b).
:. p I the greatest common divisor of a and b
=> p I (a, b) => p I I,
which is not possible and hence a contradiction.
=> (a2, b2) = 1.
•
EXAMPLE 10
If a and b are positive integers such that bla and bla + 2, prove that b = 1 or 2.
Solution.
Given b I a and b I a + 2
b I la+ m(a + 2) for all integers/, m.
=> b I (/ + m )a + 2m for all I, m.
In particular, it is true for l = -1, m = 1.
=> b I oa+2 => bl2
Divisibility Theory and Canonical Decompositions • 3.51
EXAMPLE 11
If a, b are odd positive integers, prove that 21 a2 + b2 but 4 J a2 + b2•
S,olutlon.
Given a and b are odd positive integers.
Then a = 2m + 1 and b = 2n + 1,
where m, n are integers :2: 0.
= 4m2 + 4m + 1 + 4n2 + 4n + 1
= 4m2 + 4n2 + 4m + 4n + 2
= 2(2m2 + 2n2 + 2m + 2n +1)
f
but 4 a2 + b2. [ ·: 2m2 + 2n2 + 2m + 2n + 1 is an odd integer]
EXAMPLE 12
Prove that the product of any two integers of the form 4n + 1 is also the same form.
Solution.
Let a= 4m + 1, b = 4n + 1 be two integers.
To prove ab is of the form 4n + I.
Then a· b = (4m +1)(4n + 1)
= 16 mn + 4 m + 4 n +1
= 4 (4 mn + m + n) + 1
=4k+ 1,
which is of the same form.
Hence ab is of the form 4n + 1.
WORKED EXAMPLES.
EXAMPLE 1
Find the lcm of 1050 and 2574.
EXAMPLE 2
Find the lcm of 120 and 500.
EXAMPLE 3
Find the gcd and lcm of 504 and 540.
= 22. 32 = 36
Divisibility Theory and Canonical Decompositions • 3.53
=7560
Proof Let a= pf1 • pf2 ••• pfk and b = p~··pf2 ... pfk be the canonical decompositions of a and b.
_ · min(a1,J3i) min(a2,,82) min(ak,.Bk)
Then (a, b) - P1 · P2 ···Pk
_ max(a1,J3i) max(a2,,82) . max(ak,.Bk)
and [a, b] - Pt · P2 ···Pk
= min(a1,J3i) + max(a1,J3i). min(a1,/3i) + max(a2,/32) min(ak,.Bk) + max(ak,.Bk)
(a, b) [ a, b] P1 P2 ···Pk
a1+A a2+A ak+.Bk
= P1 ·P2 ···Pk
_-1 Pa1 . PAI . Pa2 p.82 Pak . p.Bk
22···k k
EXAMPLE 4
Find the lcm of 504 and 540 using their gcd.
Solution.
We have to find the km of 504 and 540.
First we find the canonical decompositions.
Now 504 = 23 ·32
·and 540 = 22 .33 .5
gcd (504, 540) = 22 · 32 = 36
504·540=14.540
km [504 540] = = 7560
' 36
3.54 • Algebra and Number Theory
EXAMPLE 5
Use recursionto evaluate [24, 28, 36, 40].
Solution. 2 24,28
We have to find [24, 28, 36, 40].
We isolate each term from the right and find the lcm of the inner 2 12, 14
groups as below 6, 7 - No common
factor
[24, 28, 36, 40] = [[24,28,36],40]
= [[[24,28],36],40 J 2 168,36
2 84, 18
But [24, 28] = 2. 2. 6. 7 = 168
3 42,9
[[24,28],36] = [168,36] 14, 3 - No common
= 2·2·3·14·3 = 504 factor
Solution.
We have to find [15, 18, 24, 30].
We isolate each term from the right and find the lcm of the inner groups as below
[15, 18, 24, 30] = [[15,18,24],30] 3 90,24 3115, 18
= [[[15,18],24],30 J 2 30, 8 5,6
15, 4 - No common
But [15, 18] = 3 . 5 . 6 = 90
factor
[[15,18],24] = [90,24]
= 3·2·15·4 = 360
[15, 18, 24, 30] = [360, 30]
=360 [ ·: 30 is a factor of 360]
EXAMPLE 7
Find the positive integera if [a, a+ 1] = 132. [AU 2017]
Solution.
Given [a, a+ 1] = 132
Divisibility Theory and Canonical Decompositions • 3.55
EXAMPLE 8
Findthe canonical decomposition of 23!
Solution.
The primes dividing 23 ! are
2,3,5, 7, 11, 17, 19,23. [·: 23! = l . 2. 3. 4. 5. 6. 7 ... 23]
= 11+5+2+1=19
2:]
The power of 3 di~iding 23 ! is = [ + [ ~;] (•: 33 > 23)
=7+2=9
2:]
The power of 5 dividing 23 ! is = [ + [ ~;] = 4 + 0 = 4
2;]
The power of 7 dividing 23 ! is = [ =3
EXAMPLE 9
Find the largestpower of 2 that divides 97!
Solution.
We know 2 I 97!
: . the largest power of 2 dividing 97 ! is
=48+24+12+6+3+1=94
294 is the highest power of2 dividing 97!
EXAMPLE 10
Find the numberof trailingzeros in the decimal value of 260!
Solution.
The number of zeros in which 260 ! is ending with is the same as the highest power of l 0 dividing 260 !
Now 10=2·5
10m =2m. 5m
: . the highest power of 10 is the same as highest power of 5.
The highest power of 5 dividing 260! is
=52+10+2=64
:. 1064 is the highest power of 10 dividing 260!
:. the number ofzeros in the decimal form of260f.is 64.
In the other words, 260! ends 64 zeros.
Note Ifwe find the highest power 2 contained in 260!, then we get
J
[ 2~0 + [ ~~o J + [ 2~0 J + ... + [ 22~0J
=258
Min {258, 64} = 64.
So, it is enough we find the power of 5.
Divisibility Theory and Canonical Decompositions • 3.57
EXAMPLE 11
Find the number of trailing zeros in 234!
Solution.
The number of zeros in which 234! is ending with is the same as the highest power of 1Odividing234!
Now 10==2·5
So, the highest power of 10 is the same as the highest power of 5 dividing 234 !
The highest power of 5 dividing 234! is
== 46 + 9 + 1 ::: 56
:. 264! ends with 56 zeros.
EXERCISE 3.2
1. Use the Euclidean algorithm to find the gcd of the following pairs of integers.
(i) 1024, 1000 (ii) 2076, 1076
{iti) 20241 1024 (iv) 1947, 63
2. Express gcd as a liner combination of the two given numbers.
(i) 2076, 1776 (ii) 414, 662
(iii) 3076, 1976 (iv) 1820, 231
3. Use recursion to find the gcd of the given numbers.
(i) (16, 20, 36, 48) . (ii) (28, 48, 68, 78)
(iii) (14, 18, 21, 36, 48) (iv) (12, 17, 31, 37)
4. Find the canonical decomposition of:
(i) 1771 (ii) 1001
(iii) 729 (iv) 7007
5. Find the lcm of:
(i) 123, 243 (ii) 1000, 625
(iii) 22 . 33 . 53' 25 . 33 . 52 (iv) 2·3·5·7·11·13, 211 .39 ·11·1714
6. Find the number of trailing zeros in the decimal value of 1400!
(1) =>x(~)+y(%)=1
=> gcd(~·%)=1
Further d I 2 => d = 1 or 2.
:. gcd (n, n + 2) = 1 or 2
18. If a, h, care positive integers, prove that gcd (ca, ch)= c gcd (a, h).
Ans. Let d =(a, b), then d = xa + yb for some integers x andy.
de= (xa)e + (yb)e
= x(ae) + y(be) = (ae, be)
=> e(a, b) = (ae, be)
19. If (a, h) = 1 then prove that (a+ b, a - h) = 1 or 2.
Ans. Let d =(a+ b, a - b)
Then d I a+ b and·d I a-b.
d I (a+ b) +(a - b)and d I (a+ b) - (a - b)
=> d I 2a and d I 2b
=> d I gcd (2a, 2b)
But we know gcd (2a, 2b) = 2 gcd(a, b) (Refer example 18 Part A]
=2·1=2 [·: gcd (a, b) = 1]
d I 2 => d = 1 or 2
20. If (a, h) = 3 and ah= 693 find [a, h].
Ans. We know that
693
[ a,b] = !!.J?__ = = 231
(a,b) 3
21. Find the positive integer a if [a, a+ 1] = 132. [AU 2017]
Ans. Refer example 7, Page 3.54.
22. If a and bare positive integers with a= 231, (a, I!)= 7 and [a, h] = 600060, find b.
a·b
Ans. We know that [a, b] = --
(a, b)
231
60060 = 'b
7
b = 60060 x 7 = 1820
231
23. If (a, h) =[a, h], what can you say about the relation between a and b.
Ans. If(a, b) =[a, b] then the only possibility is a= b.
Divisibility Theory and Canonical Decompositions • 3.61
24. If ah= 156, and a and bare relatively prime find [a, b].
Ans. Given a and b are relatively prime.
.. (a,b)=l.
a-b 156
We know that [a, b] = -- = - = 156
(a, b) 1
25. The lcm of two consecutive positive integers is 812. Find the numbers.
Ans. Let a and a + 1 be the consecutive integers.
Then a and a + 1 are relatively prime.
:. (a, a+ 1)== 1.
Given [a, a+ 1] = 812
a(a+l) = 812
(a,a+l)
a(a+1)=812
2 812
But 812=2. 2. 7. 29
2 406
=28. 29
7 203
a(a + 1) = 28 · 29 29
Hence a= 28.
26. If a and b are positive integers with a · b = 24 · 34 · 53 · 7 · 113 · 13.
and[a,b]=22·33·52·7· 112· 13whatis(a,b)?
Ans. Given a· b = 24 · 34 · 53 · 7 . 113 · 13
and [a, b] = 22 · 33 · 52 · 7 · 112 · 13
a·b
We know --=[a,b]
(a, b)
a·b
(a,b)-;= [a,b]
24·34·53·7·113·13
=-------
22·33·52·7·112·13
= 2·3·5·11=330
Linear Diophantine Equations
and Congruences 4
4.0 INTRODUCTION
Equations with integer coefficients which are to be solved in integers are called Diophantine equations.
This type of equation was first investigated by the Greek algebraist Diophantus of Alexandria in the
third century AD.
For example the equations
2x+ 3y=4,
are called Diophantine equations ifwe restrict their solutions to be integers.
The Diophantine equation 2x + 3y = 4 is linear where as the other two Diophantine equations are
nonlinear.
The equation 2x + 3y = 4 has (-1, 2) as a solution. In fact it has infinitely many solutions
(2 + 3t, -2t), where tis an arbitrary integer.
Geometrically, such solutions are points in the plane with integer coordinates and they are called
lattice points.
Theorem 4.1 The linear Diophantine equation ax+ by= c is solvable if and only if d I c, where
d=(a,b).
If x0, y0 is a particular solution of the linear diophantine equation, then all its solutions are
given by
Conversely, assume d I c.
=
To prove the diophantine equation ax + by c is solvable.
Since d I c, c = dm for some integer m.
Since d = (a, b), then there exist integers r and s such that
d= ra +sb
Multiplying by m, we get
dm = (ra)m + (sb)m
c = (rm)a + (sm)b
This shows that x0 =rm, andy0 = sm is a solution of the linear Diophantine equation ax+ by= c.
So, it is solvable.
Next we shall prove that if (x0, y0) is a solution of ax + by = c, then
x = x0 + ( %} and Y = Yo -( ~}
is a solution for any integer t.
Now
ab ab
= (ax0 +by0 ) +-t--t
d d
b
x = x0 +-t ution f or any t.
an d y =Yo --ta. is a so lution
d d
Finally, we prove that every solution x', y' is of this form.
Since x0, Yo and x', y' are solutions of the linear diophantine equation ax+ by= c,
we have ax0 + by0 = c and ax'+ by'= c
ax0 + by0 =ax'+ by' => a(x' - x0) = b(y0 -y') (2)
Dividing by d, we get
-a ( x - xo
d
I )
= -db ( Yo -. Y ')
Since (a,b)=d, (~·%)=1
Hence, %1(x'-xo) => x'-xo =(%} for some integer t
x' x +(%}
= 0
Linear Diophantine Equations and Congruences • 4.3
Yo - y ' =-ta
d
Corollary If(a,b) = 1, then the linear diophantine equation ax+by=cis solvable and the general
•
solution is
x= x0 +bt
y= Yo-at
where x0,y0 is a particular solution and tis an arbitrary integer.
We can extend this result to equation with more than 2 variables.
Theorem 4.2 The linear diophantine equation a1x1 + a-r2 + ... + a,,xn = c is solvable if and only
if (ap a2, ... , an) I c. When it is solvable, it has infinitely many solutions.
WORKED EXAMPLES
EXAMPLE 1
Determine if the linear diophantine equation 12x + 18y = 30 is solvable. If so, find the solutions.
Solution.
Given the LDE is 12x+ 18y=30 (1)
Here a=12,b=18,c=30
(a, b) = (12, 18) = 6
So, d=(a,b)=6
Since 6 I 30, we have d I c
So, the LDE is solvable.
Clearly, x0 = 1, y0 = 1 is a solution of ( 1)
Therefore the general solution is given by
x = x0 + ( ~} and y = Yo -( ~}, t E Z
4.4 • Algebra and Number Theory
18 12
=> x=l+-t and y=l--t
6 6
X = 1+3t and y = 1- 2t, t E Z
EXAMPLE 2
Examine whether the LDE 12x + 16y = 18 is solvable. Write the general solution if solvable.
[AU 2013)
Solution.
Given the LDE is 12x+16y=18
Here a= 12, b= 16, c= 18
(a, b) = (12, 16) = 4
d=4
EXAMPLE 3
Prove that LDE ax+ by= c is solvable if and only if d I c, where d =(a, b). Further obtain the
general solution of 15x + 21y = 39. [AU 2017, 2018]
Solutlon.
For the first part refer Theorem 4.1
Given the LDE is 15x+21y=39 (1)
b a
x=x0+-t and y=yo--t, teZ
d d
21 15
=> x=-3+-t and y=4--t
3 3
=> x=-3+7t and y = 4-5t, teZ
Linear Diophantine Equations and Congruences • 4.5
Remark The solution (x0, y0} can be also found by using division algorithm systematically by first
expressing gcd (a, b) as a linear combination of a and b.
In the above problem
21=1(15)+6
15 = 2(6)+3
6=2(3)+0
(a, b) = 3 =d
Now (15, 21) = 3
= 15 - 2(6) = 15 - 2[21 - 15]
= 3(15)- 2(21)
3(15)- 2(21) = 3
Multiplying by 13, we get
39(15)- 26(21) = 39.
b a
x=39+-s and y=-26--s seZ
d d'
21 15
=> x=39+-s and y=-26--s
3 3
=> x=39+7s and y = -26-5s, seZ
x = 39 + 7 (t - 6) = -3 + 7t
So, we find the two sets solutions are same though they appear to be different as t, s are arbitrary in Z.
4.6 • Algebra and Number Theory
EXAMPLE 4
Find the general solution of the LDE 6x + Sy + 12z = 10.
[AU 2017}
Solutlon.
Given the LDE is 6x + 8y + 12z = 10 (1)
Here a1=6, a2=8, a3=12, c=lO
216, 8, 12
(al' a2, a3) = (6, 8, 12) = 2 and c = 10
3,4,6
d = (a1, a2, a3) =2
Since 2 110, d I c
So, the given LDE is solvable by Theorem 4.2
Since 8y + 12z is a linear combination of 8 and 12, it must be a multiple of (8, 12) = 4
8y+ l2z=4u (2)
:. (1) => 6x+4u = 10 (3)
First we solve the LDE (3) in two variables x and u.
Here a=6,b=4,c=l0
(a, b) = (6, 4) = 2 2~
d=Ia, b) =2andc::;:10 3,2
Since 2110, d I c
So, equation (3) is solvable.
We find x0 = 1, u0 = 1 is a solution of (3)
Therefore the general solution of (3) is
b a
x=x0+-t and u=u0--t, tEZ
d . d
4 . 6
=> x=l+-t and u=l--t
2 . 2
,
==> x=l+2t and u = l-3t,
Substituting for u in (2), we get
8y+ 12z=4(1-3t)
Since d=( S, 1~) = 4 and 4 = 2 · 8 + (-1) · 12 is a linear combination of8 and 12.
Multiplying by (1 - 3t), we get
4(1 - 3t) = 2(1 - 3t). 8 + (-1) (1 - 3t). 12
= (2 - 6t). 8 + (-1+3t). 12
Linear Diophantine Equations and Congruences • 4.7
:. a solution of(2) is
y= Yo b '
+di and z=z0--1 a ' I' E Z
d '
12 ' z=-1+31-~I'
y= 2 - 6 1+41 and
4
y = 2-6t+3t'. and z = -1 +3t.-'J;t~:
EXAMPLE 5
Determineif the LDE 2x + 2y + 3z = 6 is solvable? If so find the general solution.
Solution.
Given the LED is 2x+2y+3z= 6 (1)
Here c=6
2y+3z=u (2)
EXAMPLE 6
Determine if the LDE 2x + 4y- 5z = 11 is solvable. If solvable, find its general solution.
Solutlon.
GivenLDE is 2x + 4y - 5z = 11 (1)
d= 1andc=11
Since 1 I 11, di c
Hence (3) is solvable.
Linear Diophantine Equations and Congruences • 4.9
4.2 CONGRUENCES
We have seen congruence relation in chapter 1. Congruence relation was introduced and developed
by the German mathematician Karl Friedrich Gauss (1777-1855). Gauss is considered as one of the
greatest mathematician of all time, known as the prince of mathematics.
When Gauss was in elementary school his teacher gave the class the problem of finding the sum
of the first 100 natural numbers. In no time Gauss, at the age of 7, had the answer. The teacher was
surprised to see his answer.
He has considered the numbers in increasing order as
l, 2, 3, , 99, 100.
and in the decreasing order as 100, 99, 98, , 2, 1
and added them. Each sum is 101.
There are 100 terms and so the total is 100 · 10 L
Since each number is used twice, he divided it by 2.
. 100·101
So, the answer is = 5050.
2
This type of addition is now known as Gaussian addition.
It is used to find the sum of n terms of an A.P a, a + d, a + 2d, ...
4.10 • Algebra and Number Theory
a =b (modm)
•
Note
I. Through the result is very simple, the significant aspect about it is that it gives the relation
between congruence and equality.
= =
2. It follows that a 0 (mod m) if and only if m I a. Thus a 0 (mod m) and m I a mean exactly the
same thing.
Proof
I. Since mla-a=O 'iaeZ
a= a(modm) vs«z
2. If a== b (mod m), then m I a- b
m 1-(b-a)
=> mlb-a=>b=a(modm)
3. If a= b (mod m) and b = c (mod m), then m Ia-band m I b-c.
m I (a-b)+(b-c) => m I a-c =>a= c(modm)
This theorem says congruence relation is an equivalence relation.
•
Linear Diophantine Equations and Congruences • 4.11
Theorem 4.5 a e b (mod m) if and only if a and b have the same remainder when divlded by m,
Corollary If a= r (mod m), where 0 Sr< m, then r is the remainder when a is divided by m,
•
Theorem 4.6 If a= b (mod m) and c = d (mod m), then
(i) a+c=b+d(modm)
(ii) a· ess b · d(~odm)
WORKED EXAMPLES
EXAMPLE 1
Find the remainder when 1! + 2! + 3! + ... + 100! is divided by 15.
Solution.
We know n! = 1 · 2 · 3 ... (n - 1) · n
For divisibility by 15, we consider mod 15.
5! = 1 · 2 · 3 · 4 · 5 is divisible by 15. (but 4! = 1 · 2 · 3 · 4 is not divisible by 15)
5! = O(mod 15)
All higher factorials are divisible by 15.
So, for r ~ 5, =
r! 0 (mod 15)
:. 1! +2! +3! +4! +5! + ... + 100!
= 1! + 2! + 3! + 4! + 0 + 0 + ... + 0 (mod 15)
= 1 + 2 + 6 + 24 (mod 15)
= 1+2 + 30 (mod 15)
= 3 + 0 (mod 15) [:. 30 = 0 (mod 15)]
= 3 (mod 15)
:. when 1! + 2! + 3! + ... + 100! is divided by 15, the remainder is 3.
EXAMPLE 2
Find the remainder when 1! + 2! + 3! + 4! + ... + 300! is divided by 13.
Solution.
For divisibility by 13, we consider mod 13.
For r ~ 13, r! will contain 13 as a factor.
r! = 0 (mod 13)
:. 1! + 2! + 3! + 4! + ... + 12! + ... + 300!
= 1! + 2! + 3! + 4! + ... + 12! + 0 + 0 + ... + 0 (mod 13)
= 1! +2! +3! +4! +5! +;., + 12! (mod 13)
== 1 + 2 + 6 + 24 + 120 + ... + 12! (mod 13)
Linear Diophantine Equations and Congruences •" 4>.l~
'··;,'
EXAMPLE 3
Find the ones digit in the sum 1! + 2! + 3! + ... + 100!, when expressed in decimal notation.
Solution.
Required the digit in the unit's place of the number 1 ! + 2 ! + 3 ! + 4 ! + ... + 100 !
So, we find the remainder when it is divided by 10.
If r e 5, then r! has 10 as a factor
r! = 0 (mod 10) [:. 5! = 120]
1! + 2! + 3! + 4! + ... + 100! = 1+2 + 6 + 24 (mod 10)
= 1 + 2 + 30 (mod 10)
4.14 • Algebra and Number Theory
EXAMPLE 4
Compute the remainder 3181 is divided by 17. [AU 2018]
Solutlon.
We have to find the remainder when 3181 is divided by 17.
We have 32 = 9 (mod 17) 4 2
34 = 92 = 81(mod17) 17~
68
17E
34
= 13 (mod 17) 13 5
=-4 (mod 17)
38 = (-4)2 (mod 17)
=16(mod17)
=-1(mod17)
316 = (-1)2 = 1 (mod 17)
(316)9=19=1(mod17)
3144 = 1 (mod 17)
3181=3144+32+4+ 1=3144. 332. 34. 31
EXAMPLE 5
Compute the remainder when 3247 is divided by 25. [AU 2017]
Solution. 3 10
We have to find the remainder when 3247 is divided by 25.
25~ 25~
We have 32 = 9(mod 25) 75 250
34 = 92 = 81 = 6 (mod 25) 6 6
Linear Diophantine Equations and C . . ..,
· ongruences •
38 = 62 = 36 = 11 (mod 25)
316 = 112 = 121=21(mod25)
332 = 212 = 16 (mod 25)
364 = 162 = 6 (mod 25)
3128 = 62 = 11(mod25)
Now 3247 = 3128+64+32+)6+4+2+ I
= 11 · 6 · 16 · 21 · 6 · 9 · 3 (mod 25)
= 11 · (96) · (21) · (54) · 3 (mod 25)
= 11 · (-4) · (-4) · 4 · 3 (mod 25)
= 44 · 48 (mod 25)
= (-6)(-2) (mod 25)
= 12 (mod 25)
:. the remainder is 12 when 3247 is divided by 25.
EXAMPLE 6
Find the remainder when 3247 is divided by 17.
Solutlon.
We have to find the remainder when 3247 is divided by 17.
We have 33 = 27 = lO(mod 17)
36 = 102 (mod 17)
=> 36 = -2 (mod 17) [ ·: 102 is divisible by 17]
=> (36)4 = (-2)4(mod17)
=> 324 = 16 (mod 17) =-1 (mod 17)
(324)10 = (-1)10 (mod 17)
=> 3240 = 1 (mod 17)
3247 = 3240+6+ 1
= 3240. 36. 3
=l ·(-2)·3(mod17)
=-6 (mod 17)
= 11(mod17)
: . the remainder is 11 when 3247. is divided by 17.
4.16 • Algebraand NumberTheory
EXAMPLE 7
Find the remainderwhen 13218 is divided by 17.
Solution.
We have to find the remainder when 13218 is divisible by 17.
132= 169=-1(mod17)
(l32)109= (-1)109(mod 17)
= 16 (mod 17)
:. the reminder is 16, when 13218 is divided by 17.
EXAMPLE 8
Find the remainderwhen 193183 is divided by 19. [AU 2013)
Solution.
We have to find the remainder when 193183 is divisible by 19.
We have 193 = 3 (mod 19)
1932 = 9 (mod 19)
1934 = 81=5 (mod 19)
1938 = 52 = 6 (mod 19)
19316 = 36 =-2 (mod 19)
(19316)4 = (-2)4 (mod 19)
=> 19364 = 16 (mod 19)
=-3 (mod 19)
(19364)2 = 9 (mod 19)
=> 193128 = 9 (mod 19)
193128. 19316 = 9 · (-2) (mod 19)
= -18 (mod 19)
=> 193144 = 1 (mod 19) ·
193144. 19316 = 1 · (-2) (mod 19)
=> 193160=-2(mod 19)
193183=193160+16+4+2+ 1
= 193160. 19316. 1934. 1932. 193
= (-2) · (-2) · 5 · 9 · 3(mod 19)
Linear Diophantine Equations and Congruences . '11!1 !i)ftfi;~
=(4 x 5) · (9 x 3) (mod 19)
~'?'
= 1 · 8 (mod 19)
= 8 (mod 19) =
[·: 4 x 5 20 = l(mod 19)
and 9 x 3 = 27 = 8 (mod 19)]
. ·. the remainder is 8 when 193183 is divided by · 19.
EXAMPLE 9
Find the last two digits in the decimal value. of 17761776,
Solutlon.
The last two digits is the remainder when a number is divided by 100.
1776 = 76 (mod 100)
We shall now study the powers of 76.
EXAMPLE 10
Solutlon.
We observe that 640=-l (mod641) [·: 640 = 64. 10
5 · 21 =-1(mod641)
= 26. 2. 5J
Note In Section 3 .3 we have referred this number and Euclid proved it is not a prime.
4.18 • Algebra and Number Theory
Theorem .4. 7 If a= b (mod m1), a= b (mod m2), a= b (mod m3) ••• a= b (mod mr>·
Then a= b (mod [m1, m2, ••• , mrD·
Note The above result says that congruences of two numbers with different moduli can be combined
into a single congruence.
=>
Inverse of a modulo m
Definition 4.2 When (a, m) = 1, there is unique least residue x such that ax= 1 (mod m). Then a is
said to be invertible and xis called an inverse of a modulo m, denoted by a-1•
a a-1 = l(modm)
If
a-1 =a, then a is said to be self-invertible.
Linear Diophantine Equations and Congruences • 4.19
Theorem 4.9 The unique solution of the linear congruence ax= b (mod m), where (a, m) = 1, is
the least residue of a-1b (mod m).
(a-1a)x = a-1b(modm)
lx = a- b (modm)
1
x = a- b (modm)
1
Definition 4.3 A congruence of the form ax = b (mod m), where m is a positive integer and a, b are
integers and x is a variable, is called a linear congruence.
Next theorem gives the necessary and sufficient condition for a linear congruence to be solvable.
Theorem 4.10 The linear congruence ax= b (mod m) is solvable if and only if d I b, where d =(a, m).
If d I b, then it has d incongruent solutions.
Then (by Theorem 4.1) the linear diophantine equation is solvable iff d I b.
When d I b, there are infinitely many solutions, which are given by
x = x +(; }-t)
0 and y =Yo+(~ }-t)
m,
x=x0+-t where t' = +t E Z
d
Where (x0, y0) is a particular solution of (2).
=
Hence the congruence ax b (mod m) has infinitely many solutions given by
where x0 is a particular solution if the congruence and t is an arbitrary integer.
When d I b, we shall now prove that there are only d incongruent solutions.
WORKED EXAMPLES
EXAMPLE 1
Determine whether the congruence 12.x = 48 (mod 18) is solvable and also find all the solutions
if solvable. (AU 2013)
Solution.
Given the linear congruence equation
12x 48 (mod 18) =
Here a= 12, b=48, m= 18
(a, m) = (12, 18) = 6
d=6
Linear Diophantine Equations and Congruences • 4.21
EXAMPLE 2
Determinethe numberof incongruentsolutions of 48.x= 144 (mod 84). [AU 2017, 2018)
Solution.
Given the congruence
48x = 144 (mod 84)
Here a=48, b=144, m=84
Now (a, m) = (48, 84) = 12
d= 12
Since 121144, d I band so the congruence is solvable. It has 12 incongruent solutions.
EXAMPLE 3
=
Find the incongruentsolutions of the linear congruence 28.x 119 (mod 91).
Solution.
Given the congruence 28x = 119, (mod 91)
Here a=28, b=l19, m=91
(a, m) = (28, 91) = 7
1 J 28, 91
d=7 4, 13
Since 71119, we have d I b
:. the congruence is solvable and the incongruent solutions are given by
m
x=x0+-t, O~t<d
d
4.22 • Algebra and Number Theory
When t = 0, 1, 2, 3, 4, 5, 6, we get the solutions 1, 14, 27, 40, 53, 66, 79 (mod 91)
EXAMPLE 4
Solve the linear Diophantine equation 63x - 23y = - 7 using congruence.
Solutlon.
Given the LDE is 63x - 23y = - 7 (1)
From this we get the congruence
63x =-7 (mod 23) and -23y = -7(mod 63)
d=l
We find x0 = 5 is a solution, since 30 = 7 (mod 23).
:. the general solution of the congruence is
m
x=x0+dt
23y = 63 (5 + 23t)+ 7
= 322 + 63 + 23t
=> y= 14+63t
:. the general solution of the LDE is
x= 5 +23t, y= 14+63t, te Z.
Linear Diophantine Equations and Congruences • 4~23
[ ·: 7 single fruits]
EXAMPLE 6
Use congruence to solve the LDE 15x + 2ly = 39.
Solution.
Given the LDE is 15x+21y=39 (1)
From (1), we form the congruence
3115, 21
15x = 39 (mod 21) 5, 7
Here a= 15, b=39, m=21
(a, m) = (15, 21) = 3
d=3
Since 3 J 39, we have d I band so the congruence is solvable.
4.24 • Algebraand Number Theory
EXAMPLE 7
Using inverse find the incongruentsolutions of the linearcongruence Ss; = 3 (mod 6).
Solution.
Given the linear congruence
5x=3 (mod6) (1)
Here a= 5, b = 3, m=6
(a, m) = (5, 6) = l
d=l
Since l I 3, we have d I b and hence it is solvable
We know 5 · 5 = 25 = 1 (mod 6)
the inverse of 5 is 5
5-l = 5 (mod 6)
Multiplying (I) by 5-1, then
(5-I · 5) X = 5-l · 3 (mod 6)
=> x=5· 3 (mod6)
x = 3 (mod 6) is the solution
Linear Diophantine Equations and Congruences • 4.25
4.3.1 DivislbllityTests
As an application of theory of congruence we shall now find the criterion for a given integer
to be divisible by another integer.
Let n be a positive integer in the decimal system.
Let
Then (1)
EXAMPLE 1
Solve the system of congruences x = l(mod 3), x = 2(mod 5), x = 3(mod 7).
Solution.
Given x= l(mod 3), x=2(mod 5), x= 3(mod 7)
We solve this system by iteration. We start with x = 1 (mod 3)
Here a= 1, b = 1, m=3
Linear Diophantine Equations and Congruences • 4.27
(a,m)=(l,3)=1
d= 1 and so di b
So, the equation has a solution x0 = 1.
:. the general solution is
m
x=x0+dt
=> X = 1+3t1, t1 E Z (1)
Substituting in (1) x = 2 (mod 5), we get
1 +3t1 =2(mod5)
=> =
15 t2 3 (mod 7) [·: --4 = 3 mod 7]
We find t2 = 3 is a solution, since 45 = 3 (mod 7)
'z = 3 (mod 7) is a particular solution
Here a= 15, b = 3, m =7 and (a, m) = (15, 7) = 1
t2 = 3 + 7t, t E Z
X = 7 + 15 (3 + 7t) = 52 + 105t, t E Z
. n
Working rule: Let n = m1m2 ... mk and ni = -
mi
Step 1: Find the solutionsyi'y2, ... ,yk, where niyi= 1 (mod m;), i= 1, 2, ... , k.
Step 2: x = a1n1y1 + a2n2y2 + ... + aknkYk is the solution (mod n)
EXAMPLE 2
Solve the system x = 1 (mod 3), x=2 (mod4), x=3 (mod 5). [AU 2017, 2018]
Solution.
Given system is
x = l(mod3)
x = 2(mod4)
x = 3(mod5)
Here a2 =2,
m2=4,
We find m1 m2 m3 are pairwise relatively prime
Let ' ' n = m1 m2 m3 = 3 · 4 · 5 = 60
n 3·4·5
and n1=-=--=20
m1 3
n 3·4·5
n2 =-=--=15
m2 4
n 3·4·5
n3 =-=--=12
m3 5
1. We find yi' y2, y3 from the congruences
n1y1 = l(modm1)
n2y2 = l(modm2)
~y3 = l(modm3)
we have n1y1 = l(mod m1)
EXAMPLE 3
Solve the linear system x = 3(mod 7), x = 4(mod9); x = S(modll)
[AU 2018]
Solutlon.
Given linear system is
x = 3(mod7), x = 4(mod9), x = 8(modl 1)
Here a2 =4, a3 = 8
and m2 = 9, m3 = 11
we find ml' m2, m3 are pairwise relatively prime
Let n = m1 m2 m3 = 7 · 9 · 11 = 693
and
n 7·9·11
n1 =-=--=99
m1 7·
n 7·9·11
n2 =-.=--=77
m2 9
n 7·9·11
n3 =-=--=63
m3 11
1. We find yl' y2, y3 from the congruences
n1y1 = l(modm 1) ' 14
n2y2 = l(modm 2) 7~
n3y3 = l(mod m3) 7
29 64
We have n1y1= l(modm 1) 28 63
=> 99y = l(mod 7)
1
EXAMPLE 4
Sun-Tsu's puzzle given in the introduction page 4.26 can be translated as a system of congruences.
If x is the number of things then
x = 2(mod 3), x = 3(mod 5), x = 2(mod 7).
Solutlon.
Given linear system is
x = 2(mod3), x = 3(mod5), x = 2(mod7)
Here a2 = 3,
m1 = 3, m2 = 5, · m3 = 7
We find m1, m2, m3 are pairwise relatively prime
Let n = m1 m2 m3 = 3 · 5 · 7 = 105
and
n 3·5·7
n1 =-=--=35
m1 3
n 3·5·7
n2 =-=--=21
m2 5
n 3.5.7
n3 =-=--=15
m3 7
1. We find y 1' y2, y3 from the congruences
n1y1 = l(modm1)
n2Yz = l(mod m2)
~Y3 = l(mod m3)
4.32 • Algebra and Number Theory
=> 15 y3 = 1 (mod 7)
Since 15 x 1=15 = 1 (mod 7), we seey3=1 is a solution
2. Then solution is x = a1n1y1 + a2n2y2 + a3n3y3 (modn) is the solution
EXAMPLE 5
Find the least positive integer that leaves remainder 3 when divided by 7, 4 when divided by 9,
and 8 when divided by 11.
Solution.
Let x be an integer that leaves remainder 3 when divided by 7, 4 when divided by 9, 8 when divided
by 11.
x = 3(mod 7), x = 4(mod 9), x = 8(mod 11)
This is same as example 3, page 4.30.
Solution is x = 283 (mod 493).
: . the least positive integer is 283
EXAMPLE 6
Find the least positive integer which when divided by 3, 4, 5, 6 leaves remainder 2, 3, 4, 5
respectively.
Solution.
Let x be the number. When x is divided by 3, 4, 5, 6, the remainders are 2, 3, 4, 5 respectively
x = 2(mod3) => x = -l(mod3) 2 3, 4, 5, 6
x = 3(mod4) => x = -l(mod4) 3 3, 2, 5, 3
x = 4(mod5) => x = -l(mod5) 1, 2, 5, 1
x= 5(mod6) => x =-l(mod6)
Linear Diophantine Equations and Congruences
• 4.33
Let bl
..:i= ac d =ad-bc(modm)·
l
Suppose the system has a solution
x = x0(modm) and y = y0(modm)
Then ax0 + by0 = e(mod m) (3)
cx0 +dy0 = /(modm) (4)
(3)xd ~ adx0 + bdy0 =de (modm)
(4)xb ~· bcx0 + bdy0 = bf (mod m)
Subtracting, (ad-bc)x0 = (de-bf)(modm)
~ Lix0 =(de-bf) (modm)
This is a linear congruence in x0•
We know x0 has unique value ijf (..:i, m) = 1 .
Similarly,y0 has unique value ijf(..:i,m) = 1.
4.34 • Algebra and Number Theory
WORKED EXAMPLES
EXAMPLE 1
Solve the system of congruences
3x+ 13y = 8 (mod55)
5x+ 21y = 34 (mod55).
Solution.
Given the linear system
3x+ 13y = 8 (mod55)
5x+21y = 34 (mod55)
131=3·21-5·13
Now 11=13 (mod55)
5 21
=-2(mod55)
= 53 (mod55)
Here 11 = 53 and m = 55
(11, m) = (53, 55) = 1
:. the system has unique solution modulo 55
131
The solution is x 0 = 11-118 (mod55)
34 21
81
and y0 = 11-113 (mod55)
5 34
Linear Diophantine Equations and Congruences • 4.35
To find a-1:
Now A·A-1 =l(mod55) => 53A-1 =l(mod55)
EXAMPLE 2
Solve the system of linearcongruences
5x + 6y = 10(mod13)
6x-7y 2 (modl3). = [AU 2013]
Solution.
Given the linear system of congruences
5x+6y = 10 (mod13)
6x-7y = 2 (mod13)
=--71(mod13)
·'
To findA-1:
Now A·A-1=1(mod13)=>7·A-1=1 (mod13)
We have 7 · 2 = 14 = 1 (mod 13)
A-1 = 2 (mod 13)
x0 = 2·(-70-12)(mod13)
= 2·(-82) (mod13)
= 2(-4) (mod13)
=-8(mod13)
x0 = 5 (mod 13)
and Yo = 2·(10-60) = 2(-50) (mod13)
= 2·2 (mod13)
y0 = 4 (mod13)
EXAMPLE 3
Solve the linear system of congruences
3x+4y = 5(mod7)
4x+5y = 6(mod7)
by using elimination method.
Solutlon.
Given the linear system of congruences
3x+4y = 5(mod7) (1)
4x+5y = 6(mod 7) (2)
(l)x5 => 15x+ 20y = 25 (mod 7)
(2)x4 => 16x + 20y = 24 (mod 7)
Subtracting, we get -x= 1(mod7)
=> x=-1(mod7)
=> x= 6 (mod 7)
Linear Diophantine Equations and Congruences • 4.37
18 + 4y = 5 (mod 7)
4 + 4y = 5 (mod 7)
4y= 1(mod7)
EXAMPLE 4
Solve the linear system of congruences
x+3y=3(mod11)
5x+ y = 5 (modll)
by using eliminating method.
Solution.
Given the system of linear congruences
x+3y = 3 (modll) (1)
5x+y = 5(modl1) (2)
(1) is x + 3y = 3 (mod 11)
(2) x 3 :::} 15x+3y= 15(mod11) 1
20+y=5(mod11)
EXERCISE 4.1
1. Find the general solution of the following linear Diophantine equations, if the solution exists
(i) 14x + 16y = 15 (ii) 12x + 16y = 20 (iii) 12x + 20y = 28
2. Solve the following linear congruences, if solvable
=
(i) 15x 20 (mod 25) =
(ii) 3x 4 (mod 7)
=
(iii) 4x 5 (mod 9) =
(iv) 8x 3 (mod 27)
3. Solve the linear Diophantine equations using congruences
(i) 3x + 4y =:= 5 (ii) 36x + 156y = 96
4. Solve the system of linear congruences, if solvable.
= =
(i) x 2 (mod 3), x 3 (mod 5)
= =
(ii) x 2 (mod 3), x 3 (mod 5), x 5 (mod 2)=
= =
(iii) x 0 (mod 3), x 1 (mod 4), x 5 (mod 7)=
5. Find the least positive integer that leaves remainder 2, 3, 2 when divided by 3, 5, 7.
= =
[Hint: x 2 (mod 3), x 3 (mod 5), x 2 (mod 7)] =
6. Find the remainder when
(i) 21000 is divided by 17 (ii) 3100 is divided by 101
(iii) 21ooo is divided by 9
7. Solve the 2 x 2 linear system of congruences
(i) 5x + lly = 8(mod 13)
=
1 lx + 5y 9 (mod 13)
=
(ii) 5x + 7y 3 (mod 9)
6x + 5y = 4 (mod 9)
94 = 81 = l(modlO)
and so on.
4,40 • Algebra and. Number Theory
999 = 5 (mod 7)
»=:
7
29
So, if today is Monday, then after 5 days it will be Saturday. 28
19
14
5
11. Solve the linear congruence 3x = 1 (mod 5). [AU 2013, 2018)
Ans. Given 3x = 1 (mod 5)
Here a= 3, b = 1, m = 5
(a, m) = (3, 5) = 1
Linear Diophantine Equations and Congruences • 4.41
d= 1andb=1
:. di b.
So the equation has unique solution.
We see x0 = 2 is a solution, since 3 · 2 = 6 = 1 (mod 5)
:. the only incongruent solution is
m
x=x0+-t, 0::;;; t < 1
d
5
= 2+-t1 (·: t=O)
=2
l2. Determine the number of incongruent solutions of the congruence 48x• 144 (mod 84).
[AU 2017, 18]
Ans. Refer worked example 2, Page 28.
l3. Given an example of a linear congruence that has an unique solution. [AU2018)
Ans. Consider 3x = 1 (mod 5), which has unique solution .
. 4. Find the remainder when 297 is divided by 13. [AU 2017)
Ans. 22=4(mod13),z4=16 = 3(mod13)
28 = 3 = 9(mod 13)
2 6
20. Determine whether the linear system 6x+ 8y = 10(mod13) and 8x+ lOy = 12(mod13) is
solvable.
Ans. Given 6x +Sy= 10 (mod 13)
Sx + lOy = 12 (mod 13)
.:1=1: 1~1=60- 64 = -4(mod 13)
= 9(mod13)
Here m= 13
Now (.:1, m) = (9, 13) = 1
:. the system has unique solution.
21. Determine whether the LDE 6x + 8y = 25 is solvable. [AU 2018)
Ans. Given the LDE 6x + Sy = 25
Here a = 6, b = S, c = 25
(a, b) = (6, S) = 2
d=2, c=25
Since 2 / 25, f
d c.
:. The LOE is not solvable.
Classical Theorems
and Multiplicative FunOBDns 5
In this chapter we will discuss three important classical results in number theory namely-Wilson's
theorem, Fermat's little theorem and Euler's theorem. These theorems are important milestones in the
development of the theory of congruence and illustrate the significance of congruence.
5.1 WILSON'STHEOREM
The result known as Wilson's theorem was only conjectured (or guessedjby the British mathematician
John Wilson (1741-1793). But the first proof was given by Langrange in 1770. He observed the
converse is also true.
1 ·2·3·4 (p - 2) (p - 1) = p - 1 (mod p)
•
' .
,A,tgebra ano.rsurnaer rneory
:I'
=> (p-1)! =-1 (modp) (': p- 1 =-l(modp)
WORKED EXAMPLES
EXAMPLE 1
Show that 18! + 1 is divisible by 437.
Solution.
Wilson's theorem is (p-' 1)! + 1 is divisible by a prime p.
Here 437 is not a prime and 437 = 19 · 23, where 19 and 23 are primes.
Since 19 is a prime (19-1)! + 1=18! + l is divisible by 19
=> 18! + l = 0 (mod 19)
Since 23 is a prime (23 - l)! + 1=22! + l is divisible by 23.
=> 22! + 1 = 0 (mod 23)
=24 (mod23)
= 1(mod23)
Multiplying by 18!, we get
22 · 21 · 20 · 19 · 81! = 18! (mod 23)
EXAMPLE 2
If p is a prime number of the form 4m + 1, where m is a positive integer, prove that
(2m!)2 + 1 = 0 (mod p).
Solution.
Given the prime number p is of the form 4m + 1, where m is a positive integer.
To prove (2m!)2 + 1=0 (modp).
Since p = 4m + 1 is a prime, by Wilson's theorem
(p-1)! =-1 (modp)
=> (p- 1)! + 1=0 (modp)
=> (4m + 1 - 1)! + 1=0 (modp)
=> 4m! + 1=0 (modp) (1)
=> 4m(4m - 1)(4m -2) ... (4m -(2m -1)) · 2m! + 1=0 (modp) (1)
But 4m+ 1 =p
4m =p-1 =-l(modp)
4m -1 = p-2 = (-2)(modp)
4m-2 =p-3 = (-3) (modp)
4m-(2m- l)=p-2m =-2m (modp)
Multiplying together we get
4m( 4m -1)( 4m - 2)... (4m -(2m -1))
= (-1)(-2)(-3) ... (-2m)(modp)
=2m!(modp)
Multiplying both sides by (2m)! we get
4m(4m -1)(4m-2) ... (4m-(2m-1))(2m)!
= (2m!) (2m!) (mod p)
=> 4m! = (2m!)2 (modp)
=> 4m! + 1=(2m!)2+1 (modp)
=> 0 = (2m!)2 + 1 (modp) [using (l)]
(2m!)2 + 1=0 (modp)
EXAMPLE 3
If n is a positive integer such that (n -1)! a -1 (mod n), then prove that n is a prime.
Solution.
Given n is a positive integer such that
(n-1)1 = -l(modn) => (n -1)! + 1 = O(modn) (1)
5.4 • Algebra and Number Theory
To prove n is a prime.
Suppose n is not a prime, then n is a composite number.
:. n =ab, where a, b are integers between 1 and n
i.e., 1 <a, b < n.
Since a\ ab, a\ n by (1)
n\[(n-1)!+1)
a\[(n-1)!+1]
But l <a< n, so, a is one of the integers 2, 3, 4, ... , (n - 1)
:. a divides the product 2 · 3 · 4.;. (n - l) = (n - l)!
Thus, a\[(n-1)!+1] anda\(n-1)!
~ a\[(n-1)!+1-(n-l)!]~a\l
which is a contradiction, since l < a.
Our assumption n is composite is wrong
Hence n is a prime.
EXAMPLE 4
Prove that 63! a -1 (mod 71).
Solution.
Here p = 71 is a prime.
:. by Wilson's theorem,
(71 - 1)! =-1 (mod 71)
But 70! = 70 . 69 . 68 . 67 . 66 . 65 . 64 . 63 !
Now
70 = -l(mod 71), 69 = -2(mod 71)
68 = -3(mod 71), 67 = -4(mod 71)
66 = -5(mod 71), 65 = -6(mod 71)
and 64 = -7(mod 71)
63! =-1(mod71)
EXAMPLE 5
If p is a prime, prove that
(p-1) (p- 2) (p- 3) •.• (p- k) e (-1)1'" k! (mod p),
where 1 ~ k <p.
Solution.
Given p is a prime
Now
p-1 = -l(modp)
p-2 =-2(modp)
p-k = -k(modp)
Now
p-(p-2) = -(p-2)(modp)
p-(p-4) = -(p-4)(mod p)
p-3 = -3(modp)
p-1 = -l(modp)
WORKED EXAMPLES
EXAMPLE 1
Find the remainderwhen 21000 is divided by 17.
Solution.
We have to find the remainder when 21ooo is divided by 17.
We known 17 is a prime.
:. by Fermat's theorem
217-1 = l(mod17)
=> 24 = -l(mod17)
(24}2 =(-1)2(mod17)
28 = l(mod 17)
21000 = 2992+8 = 2992 . 28
21000 = 1·l(mod17)
= l(mod17)
: . The remainder is 1 when 21000 is divided by 17.
EXAMPLE 2
Find the remainder when 193183 is divided by 19. [AU 2013)
Solution.
We have to find the remainder when 193183 is divided by 19. 10
19 is a prime and 19/193. 18~
:. by Fermat's little theorem 18
19319-t = l(mod19) 3
=193180·1932·193
But 193 = 3(mod19)
1932=32(mod19)=>1932 = 9(mod19)
193183=1·9·3(modl9)
= 27(mod19)
= 8(mod19)
:. the remainder is 8, when 193183 is divided by 19.
EXAMPLE 3
Find the remainder when 241947 is divided by 17. [AU 2018)
Solution.
We have to find the remainder when 241947 is divided by 17.
Here a=24, p= 17
We know 17 is a prime and 17 / 24
:. by Fermats theorem, 2411-1 = l(mod 17)
Classical Theorems and Multiplicative Functions • 5.9
241947=1·14(mod17)
= 14(mod17)
:. the remainder is 14 when 241947 is divided by 17.
EXAMPLE 4
Find the remainder when 151976 is divided by 23.
Solutlon.
We know 23 is a prime and 23 / 15.
:. by Fermat's little theorem,
1523-l = l(mod23) 89
22~
=> 1522 = l(mod23) 176
216
(1522)89 =189(mod23)
198
=> 151958 = l(mod23) 18
151976 = 151958+18
= 151958.1516·152 9
23~
152=225=18(mod23) 207
=-5(mod23) 18
5.10 • Algebra and Number Theory
154 = 25(mod23)
= 2(mod23)
(154 r = 24(mod23)
= 16(mod23)
1516 = -7(mod23)
151976 = l·(-7)·(-5)(mod23)
= 35(mod23)
= 12(mod23)
EXAMPLE 5
Find the remainder when 2341 is divided by 341.
Solution.
We know 341 = 11 · 31, where 11 and 31 are primes.
Here a = 2, 11 and 31 do not divide 2
So, by Fennats theorem
211-1=l(mod11)
210= 1(mod11)
and 231-1=1(mod31)
230 = 1(mod31)
2300 = 1(mod31)
2341 = 2300+40+1
= 2300 .24o .2
EXAMPLE 6
Find the remainderwhen 52003 is divided by 11.
Solution.
We have to find the remainder when 52003 is divided by 11.
Here p = 11, a = 5 and p a f
:. by Fermat's theorem
51l-l = 1 (mod 11)
510=1(mod11)
(510)200 = 1200 (mod 11)
52000 = 1(mod11)
Now 52 = 25 = 3(modl l)
53 =15(modll) 2
= 4(modl 1)
11~
52003 = 52000 . 53 = 1·4(mod 11) 22
3
=4(modl 1)
. ·. the remainder is 4 when 52003 is divided by 11.
EXAMPLE 7
Computethe remainderwhen 71001 is divided by 17.
Solution.
We have 72 = 49 = -2 (mod 17)
74 = 4 (mod 17)
78 =-1(mod17)
71001=7992+8+ I
Now
= 7992. 78. 7
5.12 • Algebra and Number Theory
=1 ·(-1)·7(mod17)
=-7(mod17)
= 10 (mod 17)
: . the remainder is 10 when 71001 is divided by 1 7.
EXAMPLE 8
Find the remainder when 1318 + 1912 is divided by 247.
Solution. 13 ~
19
We have 247 = 13. 19
Both 13 and 19 are primes.
By Fermats little theorem
1319-1 = l(mod19)
Solution.
We know by Fermat's theorem
ap-l = l(modp), if (p,a) =1
Classical Theorems and Multiplicative Functions • 5.13
= (p- l)(mod p)
But p- l =-1 (modp)
Solutlon.
Given p is a prime and a is an integer not divisible by p.
(a,p) = 1
Definition 5.2 Let </) : N ~ N be a function defined by </J(l) = l and for n > l .
</J(n) =the number of positive integers s n and relatively prime ton.
This function is called Euler's </>-function.
</)(2) = 1, since 1 is the only integer s 2 and prime to it.
</J(3) = 2, since 1, 2 are the only integers s, 3 and prime to 3.
</)(4) = 2, since 1, 3 are the integers s 4 and prime to it.
</J(5) = 4, since 1, 2, 3, 4 are the integers s 5 and prime to 5.
</J(6) = 2, since 1, 5 are the integers s 6 and prime to 6.
</J(7) = 6, since I, 2, 3, 4, 5, 6 are the integers s 7 and prime to 7.
Note that </)(5)=5-1=4
</J(7) = 7 -1 = 6
It is true for any prime p, since 1, 2, 3, ... , p - 1 are the positive integers ::;; p and prime top.
</J(p) = p - 1.
p I a or p I r; and p I m.
Classical Theorems and Multiplicative Functions • 5.15
We get
at/J(m) = l(modm)
Hence the proof.
•
Note We can deduce Fermats theorem. If p is prime </>(p) = p - I.
ap-l = l(modp)
Definition5.3 Multiplicative function.
A number theoretic function/is multiplicative if/is not identically zero and iff(mn) =f(m)f(n)
whenever (m, n) =I.
A multiplicative function is called completely multiplicative ifwe also have
f(mn) = f(m)f(n) for all m, n EN.
Theorem 5.5 Let f be a multiplicative function and n be a positive integer with canonical
decomposr"tion n = Pta1 · p2a2 ••• Pkak •
Then
m 2m 3m 4m ... nm
Proof <{J (pa) = number of positive integers $pa and relatively prime to it
= number of positive integers $pa
- number of positive integers $pa and not relatively prime to it.
The number of positive integers $pa is pa (because they are 1, 2, 3, ... , p~
The number of positive integers $pa and not prime to it are the various multiples of p.
They are lp, 2p, 3p, ... .rr:»
The number of such numbers= pa-1•
Hence <t>(Pa)=pa-pa-l=pa(1-.;) •
This formula is useful to find the number of primes S n and relatively prime to n for lange values of n.
•
WORKED EXAMPLES
EXAMPLE 1
Find <{)(1105) and <{J(7!). [AU 2018]
Solution. 5~
We have 110.5 = 5 . 13 . 17 13CE.[
17
5.18 • Algebra and Number Theory
Solution.
2 6860
We have 6860 = 22 . 5 . 73
2 3430
(/)(6860) = (/)(22) · (/>(5) · (/)(73) 5 1715
7 343
= 22 (1-~}(4)·73 (1-~)
7 49
= 2·4·72 ·6 7
=2352
EXAMPLE 3
Find the positive integers n such that (/J(n) = 6. [AU 2017]
Solution.
Given </>(n) = 6
We have to find possible n by trial and error
</>(6) = </>(2 . 3) = </>(2) . </>(3) = 1 . 2 = 2 ¢ 6
</>(7) = 7 - 1 = 6. :. n = 7
l/>(8)=<1>(23)=23(1-~)=4¢6
l/>(9)=1/>(32)=32(1-l)=6 :. n=9
<P(l3) = 12 =ft 6
<P(l4) = <P(2. 7) = <P(2). cp(7) = l · 6 = 6 :. n = 14
<P(l 5) = <P(3. 5) = <P(3). <P( 5) = 2. 4 = 8 =ft 6
<P(l 7) = 16
= 32 (1-~}1=3·2 =6 :. n = 18
EXAMPLE 4
<P(n)=<P(2k)=2k(1-~)
= 2k . .!_ = !!.
2 2
EXAMPLE 5
Solution.
EXAMPLE 6
Prove that 1699 a 1 (mod 437) using Eulers theorem.
Solution.
We have 437= 19. 23, where 19 and 23 are primes
:>.~u • Algebra ana Number 1 neory
= 18. 22 = 396
Since (2, 437) = 1, by Eulers theorem,
2«437) = 1 (mod 437)
2396 = l (mod 43 7)
(24)99 = l (mod 437)
1699 = l (mod 437)
EXAMPLE 7
Using Eulers theorem find the remainder when 2451046 is divided by 18. [AU 2017]
Solution.
We have to find the remainder when 2451040 is divided by 18.
Here a= 245 = 5 · 72 and m = 18 = 32 · 2
(a, m)= l
Hence by Euler's theorem,
a«m) = l (mod m)
245«18) = 1 (mod 18)
But </)(18) = </)(32. 2) = </)(32). </)(2)
= 32 ( 1-l) · = l 6
EXAMPLE 8
Find the last two digits of 2731961.
Solutlon.
The last two digits are the remainder when 2731961 is divided by 100
273 = 73 (mod 100)
2731961=731961(mod100)
We apply Eulers theorem
Here a= 73, m = 100 and (a, m) = 1
=2. 20=40 .
:. By Eulers theorem
49
40Ei
7340 = 1 (mod 100)
160
(7340)49 = 149 (mod 100) 361
360
731960 = 1 (mod 100)
me Cd if (m,n)=d~ (;.~)=1
Since there is a set corresponding to every divisor d of n and every integer m belongs
to exactly one such set Cd• these sets partition S. s
5.22 • Algebra and Number Theory
The sum of elements in the various sets = the total number of elements in S.
l<t>(!!..)= n
din d
l<t>(~)= l<t><d)
din din
Hence l<t><d)=
din
n
•
EXAMPLE 9
Verify the theorem L </>(d) = n for n = 28.
din
Solution.
Givenn = 28
The positive divisors of28 are 1, 2, 4, 7, 14, 28
l<t><d) = <1><1) + </>(2)+ </>(4)+ <1><1) + <t>(l4)+ <1>(28)
din
But </>(l) = 1, </>(2) = 1,
</>(7) = T- 1 = 6,
</>(14) = </>(2. 7) = </>(2). </>(7) = 1 .6=6
l<t><d) = 1+ 1+ 2+6+6+12
din
= 28
EXAMPLE 10
For n = 113 · 5 verify that L <f>(d) = n, [AU 2013]
din
Solution.
Given n = 113 · 5 = 6655.
The divisors of n are 1, 5, 11, 5 · 11, 112, 5 · 112, 113, 5 . 113
Thus there are 8 divisors.
"L</><d) = <1><1)+ <t><5)+ <1>01)+ <t><5 .11)+ <1>012)+ </>(5 .112)+ </>(113) + <1><5.113)
din
Classical Theorems and Multiplicative Functions • 5.23
But </>(1) = 1
</>(5) = 5-1=4
<f>(l l) = 11-1 = 10
</>(5·11) = </>(5). </>(11) = 4·10 = 40
</>(112)=112(1-1\)=11·10=110
That is a(n)= Ld
din
WORKED EXAMPLES
EXAMPLE 1
Find 1'(12) and i-(19).
Solution.
The positive divisors of 12 are 1, 2, 3, 4, 6, 12.
So, there are 6 divisors.
i-(12) =the number of positive divisors of 12
=6
5.24 • Algebra and Number Theory
=2
* Since for any prime p, the positive divisors are 1 and p
EXAMPLE 2
Find 0'(12) and 0'(19).
Solution.
The positive divisors of 12 are 1, 2, 3, 4, 6, 12
0'(12) = 1 + 2 + 3 + 4 + 6 + 12 = 28
0'(19)= 1+19=20
EXAMPLE 3
Compute the value of the sigma function for n = 28. [AU 2017]
Solution.
Givenn=28
The positive divisors of28 are 1, 2, 4, 7, 14, 28
a(28) = 1 + 2 + 4 + 7 + 14 + 28 = 56
Theorem 5.10 If/is a number theoretic function which is multiplicative and for any positive
integer n the function F given by F(n) = L
f(d) is also multiplicative.
din
F(mn) = L f(d)
dlmn
Classical Theorems and Multiplicative F .
unctions • 5.25
F(mn) = L f(d1d2)
ddm
d2ln
= L [F(m)]f(d2)
dzln
= F(m) L f(d2)
dzln
Then ftd1d2)=1,
ftd1) = 1,
ftd2) =l
ftd1 d2) =ftd1)ftd2)
So, constant function is multiplicative.
2. To prove a is multiplicative
Take j{d) = d, identity function
If d1 and d2 are two divisors and (dp d2) =1
Then f{d1 dz)= d1 dz
= fid1)fidz)
f is multiplicative.
Hence F(n) = 'L,d = a(n)
din
= 1 + P + PZ + ... +r"
pa+i _1
p-1
[·: it is a G.P with C.R= p)
•
Theorem 5.13 If n is a positive integer with canonical decomposition n = p~1 · pf 2 ••• p:k, then
. a1 a2 ak
P roof G rven n = p1 Pz ... Pk ,
where Pv P» ... ,pk are distinct primes and al' £Xi, ... , ak are positive integers.
Since i- and a are multiplicative functions,
and
= P1
a1+1 l a2+1 l
- P2
P1-l
-
P2-l
Pk
ak+l
Pk-1
-
l
•
EXAMPLE 4
If n = p1 · Pt ... pk be a productof k primes,then find 1'(n) and CT(n).
Solution.
Given n = p1 p2 ... p"' where each P; is a prime.
·:.Each pi has 2 factors 1 and pi.
But 'f and a are multiplicative functions.
Since (p;,P) = 1, for all i:;:. j
EXAMPLE 5
If n = 2187 find 't'(n) and a(n). 3 2187
3 729
Solution. 3 243
Given n = 2187 = 37
3 81
So the positive factors are 1, 3, 32, 33, 34, 35, 36, 37.
27
-r(n) =number of factors= 8 =33
38 -1
= 1 + 3 + 32 + 33 + 34 + 35 + 36 + 37 = -- = 3 280
3-1 '
AJiter: Using Theorem 5.12
EXAMPLE 6
For any prime p, prove that
(i) CT ( p + 2) = <T(p) + 2
(ii) CT(p) is odd.
Solution.
Since p is a prime p + 2 is also a prime.
So the factors of p + 2 are 1 and p + 2.
(i) :. otp + 2) =sum of factors
=p+2+ 1=(p+1)+2
=a(p)+2
(ii) a(p) = sum of factors of p
= p + 1, which is odd.
EXAMPLE 7
Compute 1'(28) and 0'(28).
Solution.
Since 28 = 4 · 7 and (4, 7) = 1
-r(28) = -r(4) · -r(7) and a(28) = a(4) · a(7))
But the positive divisors of 4 are 1, 2, 4 and positive divisors of7 are 1, 7
't'(28) = 3 . 2 = 6
a(28) = 7 · 8 = 56
EXAMPLE 8
If n = 6120 compute 't'(n), CT(n).
Solution.
Given n = 6120 = 23 · 32 · 5 · 17
2 6120
By Theorem 5 .12
2 3060
-r(n) = -r(23) · -r(32) · -r(5) · -r(l 7)
2 1530
= (3 + 1) (2 + 1). (1+1) (1+1) 3 765
= 4 . 3 . 2 . 2 = 48 3 255
and a( n) = a(23) · a(32) · a( 5) · a(l 7) 5 85
17
24 -1 33 -1 52 -1 172 -1
= --·--·--·--
2-1 3-1 5-1 17-1
= 15. 13 . 6. 18
= 21,060
Classical Theorems and Multiplicative Functions • 5.29
ASSORTED EXAMPLES
EXAMPLE1
Prove that the cube of an integer has one of the forms 9m, 9m + 1, 9m + 8.
Solutlons.
When an integer a is divided by 9 then the remainder is one of 0, 1, 2, 3, 4, 5, 6, 7, 8.
:. the number a is of the form.
a = 9q or 9q + 1, 9q + 2, . .. or 9q + 8
= 9m + 1 form
= 93 q3 + 392 q2 . 4 + 3 . 9q . 42 + 43
= 93 . q3 + 3 . 92 q2 • 4 + 3 . 9 . q . 42 + 64
= 9(92q3 + 3 . 9 . q2 • 4 + 3 . q . 42 + 7) + 1
=9m+ 1 form
= a3 = 93 q3 + 3 · 92 · q2 • 5 + 3 · 9q · 52 + 53
= 93q3 + 3 . 92 . q2 . 5 + 3 . 9 . q . 52 + 125
=9m+8 form
9m, 9m + 1, 9m + 8.
5.30 • Algebra and Number Theory
EXAMPLE 2
Prove that 32n + 1 + 2n + 2 = 0( mod 7) for all positive integers n,
Solution.
We have 32 = 9 = 2 (mod 7)
32n = 2n (mod 7)
32n +1 = 3 · 2n (mod 7) (1)
Now 2 = 2 (mod 7)
2n + 2 = 2n + 2 (mod 7)
=4 · 2n (mod 7) (2)
(1) + (2) => 32n + I + 2n + 2 = 3 · 2n + 4 · 2n (mod 7)
= 7 · 2n (mod 7)
= 0 (mod 7) ( ·: 7 · 2n is divisible by 7)
EXAMPLE 3
If pis a prime and a and bare integers prove that (a+ b'f = aP +/JP (mod p).
Solution.
Given p is prime, a and b are integers.
: . p is a positive integer.
Using binomial expansion for positive integer index, we have
= aP +bP (modp)
EXAMPLE 4
Show that 7211+1 + 1 = 0 (mod 8).
Solution.
Consider 72n = (72)n
=49n
= (1+48)n
Classical Theorems and Multiplicative Functions • 5.31
= 1+8m form
72n = 1 (mod 8)
72n ·7 = 7(mod8)
12n+ 1 ~-1(mod8)
72n +1 +1 = 0 (mod 8)
EXAMPLE 5
Show that for any integern, n5 - n is divisible by 30.
Solutlon.
We have to prove ns - n = 0 (mod 30)
n5 = n (mod 30)
We have 30 = 2. 3. 5
=1·2·4=8
If (n, 30) = 1, then n8 = 1 (mod 30) [By Euler's theorem]
ns - 1 = 0 (mod 30)
(n4- l)(n4 + 1) = 0 (mod 30)
EXERCISE 5.1
1. Define Euler </>function and prove that it is multiplicative. [AU 2018]
2. If p is a prime and e a positive integer then prove that <f>(pe) = pe - v=.
Hence find <P(81). [AU 2017)
=
3. If a is a solution of the congruence x2 1 (mod n) show that m - a is also a solution.
= =
[Hint: a2 1 (mod n). Now (n - a)2 = n2 - 2an + a2 a2 (mod n) 1 (mod n). =
Son - a is also a solution]
4. If n = nknk_1 ... n2n1 n0 then prove that n is divisible by 8 if n0 + 2n1 + 4n2 is divisible by 8.
5. Show that 712 ! + 1 = 0 (mod 719).
5.32 • Algebra and Number Theory
3302 = 1 · 4 (mod 5)
=4(mod5)
So, the remainder is 4.
2. Find the remainder when 100! Is divided by 101. [AU 2013, 2017]
Ans. We know 101 is a prime.
:. by Wilson's theorem
(101-1)! =-1(mod101)
(19-1)! =-1(mod19)
= 18 (mod 19)
:. The remainder is 18.
Classical Theorems and Multiplicative Functions • 5.33
10. If p is a prime and a is any integer such that p i a. Then prove that aP-2 is an inverse of a
modp.
Ans. Since pis a prime and p /a, by Fermats theorem aP-1=1 (modp)
~ a. aP-2 = 1 (modp)
aP-2 is an inverse of a mod p.
11. If p and q are different primes than find the remainder when pq-l + qP-l is divided by pq.
Ans. Givenp and q are different primes, then (p, q) = 1
By Fermats theorem
pq-l = l(modq) and qp-l = l(modp)
Further p = 0 (modp)
pq-l = 0 (mod p) and q = 0 (mod q)
qP-1=0 (mod q)
pq-1+qp-l =l+O(modq)
= l(modq)
= l(modpq) ·: (p,q) = 1
12. Given two different numbers m and n for which -r(m) = -r(n).
Ans. 't'(m) =the number of different factors.
We know for any prime number there are only 2 factors.
:. If m = 13, n = 17, then i-(13) = 2, r(l 7) = 2
i-(13) = r(l 7).
and a(p) = p + 1
</)(p) + a(p) =p - 1+p+1 = 2p, which is always even.
x - 1 = 0 or x + 1 = 0 (mod 7)
x = 1 or -1 (mod 7)
x = 1 or 6 (mod 7), since -1 = 6 (mod 7)
So, the self invertible numbers are 1, 6 (mod 7).
1
-(p-1)
18. If pis an odd primeand (a,p) = 1 show that a2 ± 1 is divisible by p.
Ans. Given p is an odd prime (p :;t: 2) and p a f
:. by Fermats theorem ap-l = l(mod p)::::} ap-l -1 = 0 (mod p)
Since p is odd, p - 1 is even
p-1 . .
-2- ts an mteger
5.36 • Algebra and Number Theory
ap-I -1 = a
( p-1)
2
2
-1 =
( p-I
a2 -1
) ( p-I
a2 +1
)
p-I p-I
SinceplaP-1-1,weget pla 2 -1 or a 2 +1
I
=> a2(p-l) ± 1 IS
. dilVlSl
. "ble by p.
APRIL 2018
Part - B (5 x 16 = 80 marks)
11.. (i) Ifj{x) = xlOO + x90 + x80 + x50 + 1, g(x) = x - 1 andj{x), g(x) e Z2 [x], find the remainder
when.l{x) is divided by g(x).
Solution: Refer worked example 3, page 2.18.
11. (ii) Prove that a finite field has order p1, Where pis a prime and t e z+,
Solution: Refer theorem 2.10, page 2.27.
12. (a) Show that(M, •) is an abelian group, where M = {A, A2, A3, A4} with A = [ ~l ~] and
• is the ordinary matrix multiplication.Further prove that (M, •)is isomorphicto the abelian
group (G, •)where G = {1, -1, i, -i} and- is the ordinary multiplication. (16)
Solution: Refer worked example 11, page 1.91.
OR
12. (b) (i) Prove that in Zn' [a] is a unit if and only if gcd (a, n) = 1. (8)
Solution: Refer theorem 1.33, page 1.100.
13. (a) (i) Find the number of positive integers S: 3000 and divisible by 3, 5 or 7. (8)
Solution: Refer worked example 3, page 3.8.
13. (a) (ii) Prove that there are infinitely many primes of the form 4n + 3.
Solu'tion: Refer theorem 3.16, page 3.48.
OR
14. (a) (i) Show that n2 + n = 0 (mod 2) for any positive integer n.
(8)
Solution: Refer problem 21, part A, page 5.35.
14. (a) (ii) Find the general solution of the LDE 15x + 21y = 39. · (8)
Solution: Refer worked example 3, page 4.4.
OR
14. (b) (i) Compute the remainder when 3181 is divided by 17. (8)
Solution: Refer worked example 4, page 4.14.
14. (b) (ii) Solve the linear system x = 3 (mod 7), x = 4 (mod 9), x = 8 (mod 11). (8)
Solution: Refer worked example 3, page 4.30.
15. (a) (i) Find the remainder when 241947 is divided 17.
Solution: Refer worked example 3, page 5.8.
15. (a) (ii) Define Euler's phi function and prove that it is multiplicative. (8)
Solution: Refer theorem 5.6, page 5.14.
OR
15. (b) (i) State and prove Fermat's little theorem. (8)
Solution: Refer theorem 5.2, page 5.6.
15. (b) (ii) If p is a prime and e any positive integer then prove that f(.p') = pe - pe -1• Also show
n
thatfln) = - , when n = 2K. (8)
2
Solution: Refer theorem 5. 7, page 5 .15 and worked example 4, page 5 .17.
Index
Q
Quotient groups, 1.69