Professional Documents
Culture Documents
Spectrum Ds Maths
Spectrum Ds Maths
Scanned by
Scanned by TapScanner
TapScanner
CONTENTS
MODULE-1
MODULE-2
MODULE-3
_ be
7
LE
‘i
i:
ee
MODULE-4
: ry ,
Scanned by TapScanner
Scanned by TapScanner
SYLLABUS
BTCS401-18
DISCRETE MATHEMATICS |
3L:1T:0P — 4Credits—
|
Detailed contents :
= —
Module 1:
ef.
and The Power Set theorem, Schroeder-Bernstein theorem. 3
r
i,
SN
he
Principles of Mathematical Induction : The Well-Ordering Principle, Recursive: |
gate
definition, The Division algorithm :Prime Numbers, The Greatest Common Divisor : if
a
Euclidean Algorithm, The Fundamental Theorem of Arithmetic.
Module 2:
Ss a
a i 0 ie ; F s a ‘= - .
7 —_—- ae eae re ee te 7_* —- verEwee
Aw : es
eR IL Vk > i a ™
. 7 : =
7 ij .
VY i "4
en cE oe TI r) e L 4
ie {
AW ¥¥
ro A J 4 ve
if 7 i oA
ia 5 | 7 ! Pi rE | ‘ we + ne
a = Fle T= ae ~ cee a oe am Pa eo - - Spa 7 us
e “
a Zs om _ Lav
~~ ait Sa) Me Sl 27) ee aoe EN a _
re C7 5 2 ie 4, : |a cai a Bes 7 =.
a aac!“a a - i .
a f jy. ts _ p= . < g ie —— - g eri
ae —_ 1sa E
—s . =<
| 4I i 7 i . sg - a a
is f " my yd 5 : 5 4 7 o —
7
nee, he use
et pe
Sea ea
She
Vi.
:
.eS ~~
va
» 0 : f£
es
= a
et
er
;
on) Tepaeilaetete mae
Pa | i | i i | | oe | | ii i 1 '
“TR Ty i = 1 Fl
Ge ‘. iw 1 fl ES . i . >»
: || By a Qt 19) yt acs
=
Ld | =
f F ae
Scanned by
Scanned by TapScanner
TapScanner
Scanned by
Scanned by TapScanner
TapoScanner
®.
— = a
=
i £ as = ‘a: as a
Scanned TapScanner
canner
1.1. Introduction
Set is a basic and
unifying idea of m
terms of sets. In almos t whole of the busin ess a t hematics. In fact all mathematictaal
l 3
ideas can be expres sed in
mathematics, the set theory is applied in one form or the other.
1.2. Def. of a set
By the words ‘well defined’ we mean that we are given a rule with the help of which we can say
whether a particular object belongs to the set or not. The word ‘different’ implies that repetition of objects
is not allowed.
The words ‘family’, ‘class’, ‘collection’ are also used as synonyms for the word set when the elements
are themselves sets.
Element of a Set
Each object of the set is called an element of the set.
Examples of sets
(i) The set of days of a week. (ii) The set of integers from | to 100000.
(iii) The set of even integers. (iv) The set of all states of India.
Scanned by
Scanned by TapScanner
TapScanner
2
Scanned by
Scanned by TapScanner
TapoScanner
4 a
Equality of Sets
sa id to be eq ua l if bot h have the same elem,
Two sets A and B are
eve ry el em en t of A is an el em en t of B and every :
B are equal when 2
B.
ie, fA C Band B CA, then A=
% 8, 9, 10}
Example. A= {1, a as 4, a 6,
d < 19 }
1 =x
B = {xx:isa natural number an
AD arene nin.
Here A=B. 7
~) ee SS
+!
Scanned by
Scanned by TapScanner
TapoScanner
e SSR Sy nese ene eee ce
co (a) Let = 1 & | [s3}= € ER: 3x53)UTD ceeeeae Proms M
ssol.
; = R: x = ea a Whe mg * “we A) i Ee
ss, RELATI ONTION
AND FUNC
i ee am
mg oe
ra abe tet ae oa ean
Re PS i
em ae
PQ.
The setA is represented by the points marked by dot onthe line
esAue2 ES 3
aas
-1 0 1 2 3
x+y= ody Ss +
(d) LetA={@,¥); ee
The setA is represented by all the points which lie on thecele whose
a» ibd
radius as shown below :
=e seen or x=2nw
Scanned by
Scanned by TapScanner
TapoScanner
‘Example7. Find the cardinal number ofeach set:
ii) A= {x:xEN,x7=5} - | ay
Sol. (i) A= {x:x"=25,3x=6) ll
Since x°=25 > x=+5 and 3x=6 +x=2 eats
ahh Fed x igs
ee A=9
6. Scag
Card(A)=0 ie, #(A)=0
, a ee
(ii) Here B= {1, 4, 5,9}
“ P(B)= (@ {1}, {4}, (5), (9), 1,4}, (1,5), 11.9), (4.5),
pee (59
_ Cardinal number of (P- a 16
i Asx’ =5
> Pads ow
ae 2 A= (a,5,2,3)
eet a aes, aeniet 2, 3)
Vi eae te e asete
Scanned by
Scanned by TapScanner
TapoScanner
EXERCISE 1.0
he 7
men ts in eac h of the fo ll ow in g sets using braces ea alin
1. List the ele {x:xisane at
(a) {xix is a natural nu mber divisible by 5} | (b)
Scanned by
Scanned by TapScanner
TapoScanner
is the set
then their union
ts
her with all the elemen
ot * «gt ei |
sosncinaal Us a
An samy con
Note : If Aj, Az Msi
es we ie
ae cs
ein
Sets
1.6. Intersection of Two
: a5 one
ty k CRAIN re
se ts A an d B, ca gh es
The intersection of two ott ast ca
ar e co mm on to A an d B.
is the seoftall elem ents, which
In symbols,
AN € Aa=
{xixB ndx € B}
Example. Let A = {2, 4, 6, 8, 10, 12}. vidi as
(Be 3,5,710 a neem
ot a
Scanned by
Scanned by TapScanner
TapoScanner
PAU
AN(BNO)=
B U C ) = ( A N B ) U (ANC)
AN(
B N O = ( A U B )NAUO)
AU
(AUB) =A°NB
(ANB) =A UB
AU(ANB)=A
AN(AUB)=A
AUA =U
ANA =¢ ae
he
=
ie mt
en
Statement. If A is any set, th
(J AN A= A f e a
(QAUA= A_ — t iie wa
Proof. () LHS. =AUA
= {xix €AUA}={x:x€ AorxGA
RS) 1. 0.) 6
ae ian
(i) LHS. =ANA
‘ad al —
Scanned by
Scanned by TapScanner
TapoScanner
s : (¢ € A o r x € B) and,
= fixe Aor@ Bane rEcp=t
(AUB) N(AL
E A U OF = {x:x€
fx€ A UBands he ats
C)}
= {(AUB)N(AU
=RHS. | -Sea ee
se dish
AUBNE=AUBINAYOSowing that cena 2
result by sh
C)and (A UB) (AU C) CAUE
ve ab ov e
Note. We can also pro B) N (AU
AUBNCCAY | |
= (ij LHS.=ANBUO
ED and x € (B UC)}
={x:xEAN (BU C)} = {x
ee
. 7
vo
A and x € B) ace
Coal
} = {x :@ E
*
={x:xEAand@e Bo rx EC
col e tea!
=: a
=RHS.
dae
ee
+
cae . AN(BUC)=(ANB)U(ANC)
x
VI. De Morgan’s Laws
a
a ene ae
b-sets of U, then
Statement. If A and B are two su ~ 2 i,
() (AUB) =A°NB
OR :
n sets is equal to the intersec
of two
Complement of unio comon
of ti pleme:
Sa t018 B oe
(i) (ANBY=A° UB
OR. 2 a iqasie plem ah an
Complement of intersection of two sets is equal to the union of com
tea
Proof, (i) L.H.S.=(A UB)
~ {e: x € (AU BY } = {xi x ¢ (A UB) } = {x22 @ A a n c
= fr:x€A°andx EB }={e:rE(ANB)} bn )Sam
Ae Aa Be teak 0-8) ~ 1 ee 2»
Rt
CDE (A OB ck ash
dose tun:
SRiodso BY)
ae eee
Scanned by
Scanned by TapScanner
TapoScanner
18
SPECTRUM DiscR i ;
(7) A+B = {xix GAand = {0}
x ¢ B} TE MATHEM Tic ; ; a soe ideale
7) a U 1B)
Scanned by
Scanned by TapScanner
TapoScanner
tc _, poco
(ii) A-(BNC =ANBAC
nie
=(ANB)U(ANC')
=(A-B) U (A-C)
—
(iit) (A UB)-C =(AUB)N
a
=(ANC’)UBNC’)
=(A-C) U (B-C). pee
A e a oan
eras
A UB=(A-B)UB ,
xGAUB | fines
Let
rEASES oF Ba Oe Bae
and x€B eee adil
xE€A
; f LS AcP GAD si am
iffx
as EA-BUB ee ish
Scanned by
Scanned by TapScanner
TapoScanner
apa
|
12 . Le t X= Cl, 2, 3, 4
~ Example
E X A y E X A (x — y )
is an in te gral non-zero multi
If R={% pix
lt
S= {<x pl|xe XAyE
X j (ey) isan integral non-zero mu
Scanned by
Scanned by TapScanner
TapoScanner
=
Also g-AUB
AUB=¢
A=?¢. B=¢ > AUB=¢
:
From(1) and (2), we have |
. “4 a4 a Wer.
AUB=¢@ > A=¢, B=¢.
P (AUB) = {9, {a},{b}, {c}, {a, 5}, {a, ch, {B, c}, {a, b, c}}
showing that P(AUB) # P (A) U P (B)
Example 20. Prove that P (A M B) = P(A) M P (B)
Sol. Let X € P(ANB)
then X C (AN B) ee
= CB
XC AandalsoX vom
= X€P(A)andalsoX €P(B) > XEP(A)NP(B)
eg ER I pe es
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM D SCREN a
26 =. “gall
3. Prove that each ofthe following reJations
holds
multiple se me (x: ‘is an integer m ;
(a) AC Bwhere A= t: x isan integer ege r} and B = {x: x* is an even integer)
is even int ~~
A=B, where A = (x:
(b)
eee : 1 False (4) False oT
Let U={0,1, 2, 3, 4,5, 6, 7, 8: 935A = {x € U: x mult
ofle
ip 3}, 4
proper (6) Notp oper
ais ‘
B={xEU: x -52 9}. Td {0, 3, 4, 5, 6, 7, 8, 3
‘wigs ;
petermine (a) AUB (6) ANB (c)B | (h, bf bo B |
ined as follows : eee {n, i,j k, Bb
LetA and B be subsets of natural numbers def
A= {x: ifp is prime and if x is divisible by p, then x is ble A: 4 {7,8 hese
eger y such that x=y}. eo | r (a,b, 4eh 8}
and B= {x: thise anrinte
proper. Be {a, a G a oh a4
Prove that B C A. Show that the containment is
, ey
‘Let U be the set of letters of the alphabet. Let A = {a, b, c,......,3} B= thi
and C = {0, p, q,..--».2}. Find the elements in each of the following s set: ee “it
(@ ANB (6) AUC (e) AN (BUC) | @ (ANB) hae .
aes
(g) A\B (h) B\A (i) AYB\C) § (j) SPP awe tea
F
(f) (AN BY
LetU be the set of integers and leAt= Sees: divisible by 3},le |
-
on vy ihe
a
() (ANBY (AB () BA
Ans ee
truw or r
false
eo eee UBY
Scanned by
Scanned by TapScanner
TapoScanner
Srectinia
a |
a
of th re e se ts A, B and C such that
ple
Example 2. G ve an exam |
A C H P A N C HP D U A NBNC=
Bee ANB#¢, B
t A= ( 1 , 2 3 ) B= 3 ,451.07 45,2)
Sol. Le
. B N C = (4 ,5 ) #9, CNA {2} HH
A N B = ( 3 } HP
ButANBNC=¢
orsetas lA,lB.
Example 3. Prove that AC BBC AY f
C B
Sol. (i) Assume that A
Letx be an element of B°
ys
i ee Be
ec
Scanned by
Scanned by TapScanner
TapoScanner
SPECT DISCRETE .
3
80 .( B- _ C ) = (ANB)-(ANC )
‘Examp le 6. sh ow ta t
N O ) = - ( A N B ) N A N O F = ( A NB)NAT CS
RHS. =(AMB)-(A ]= [ANA )NBIUAN G
g
=[(ANB)MA SJUL(ANB)NC
Sol.
-C)]
=(@NB)Y[ANB-O)}= =~ U[AN(B
=AN(B-C)
4,12.
= LHS. bed a as B be two given i non-emp
3 dae cn wo
EXEKCISE 1.3
oan
1. Verify the following identities : ARG
(ii) ANBUC=ANB)U
(i) AU(BNO)=(AUB)N(AUC)
* peau
where, A, B, C are three sets defined by
A={1,2,4,5 },
3, 5,6 }, B= {2
C={4,5 ,}
, 6,7
2, If X and Y are two sets, then find X M (XU Y)’.
3, Showthat ()ACAUB (i/)ANBCA.
‘ : i :
Prove the following :
(ii) BCA®ANB=B
f° 4.
a () BCAUB (jij) ANBCB
(v) ACCandBCD * AUBCCUD (vy) BCC*ANB
ee SI
hae
ie (vi) A=BeACBandBCA.
'r,
as sm A-B=A-(AND
chee.
(B.
Scanned by
Scanned by TapScanner
TapoScanner
a ae |
of all num ber s, the n A con sis ts of all points ina line. A x A Will ¢
iis 1. IFA is the set
8} andH =(5:4,2), nd Gx
= Pe an ‘ ;
os
:
f A xX B = {( a, ») (y), 6, x),
() AX(BUC)=(AXB)U(AXC) (i) AX(BAC)= Ax 3). cae exampl>e .
7 ¥), (6, x); Oy
Proof. (i) LHS. =AX (BUC) e A* BE= {(4, x), (a,
(
asst fist lements=
| = {(x,y):x@Aand y E(B UC) = {@, y):x © A and oil 2
Scanned by
Scanned by TapScanner
TapoScanner
a}, B= {2, 3, 5}, C={ -1, — 2}, then verify that
— {F.
*.
Ax(BUC)=(A*B)U(A©)
B=@3.8)0> 61-7)
Sol. Here A = {2,2},
2
3, 5,
(2,-
=, , -2)
-1}
=
.
BUC={2,3,5} U (-1
ig
mecltapercnelfgafe-nacaf oy
1 I l ,
Wy
‘39
* ‘
<
RH.S. = (A x B) U (A x C) re
GeIeeHejancnag)s ie ase
ie
A
;
r
-(33}2}09}-9-2Janane
= '
3
i
nay
HII" ey 4 a:
} Tah
wollen
ae te hag ey
ie
LHS.=RHS. ai 4g ig
-
Scanned by
Scanned by TapScanner
TapoScanner
| SPECTRUM DISCRETE MATHEM | _qevaTion any Buncear
L.H.S. == Ax (B-C) {3
> 3, ‘ s¥0 -41—=,TS aye -, sit-, cre a yep = tl mae xP
Ax | =i,
} x
(2, (2 }G a} (4 Arana) to #
L 4
i
4 is the set of all real nunumbe rs. | :
|
R.H.S. = (A x B)~(A x C) — 5. ? (ce. $9,
Migs.)
See a} Ppa Te
- {2 .2}(3 3} (4$5}.2.23¢ @3.a5} --{(¢ -1}(2. -2}.2,-0, B= } (7.ana (Po),(met a)
x {t2
2"
dB= 3,4),
3} GJeraras} |? somes
: 1. ae following 4
I l ah i i state whether each
of the 1Si0¥ ae
2 2 ~
a f IfP = {m, n} and Q= {n, m)}, tt
L.H.S.= R.HLS.
a if A and B are non-empty setsth,
Example 11. If A and B be non-empty subsets, then show that A
x B = B X A iff A=B “a a (ii) that x € A and y SB.
Sol. (i) Assume that A x B=xBA 33
| sol) i) WA= (1,23,B= (3,4), then A>
| os) Sam Le A and B be vo sets such that
NowxEA > (x y)EAXBVYEB (A
Ppa 2)s (on 3) (a, 2), (Qe 3). (as, 2)
we naA [off andB.
> +rEB Fd
P Let Band 8 bo fo oot
ia
“. xEA>xXxEB ee
12 We “find A and B, where x, y, 2
~ ACB e
Let z be any element of B 1, Let A= {1,2}, B= fl, 2.3,ae
Nowz€B > («,27ECAXBVIEA
; @ Ax (BNC)= “(A>pa
7 Me (ii) A x Cisa subset of B x
7 SRS sh i
> rEA a | .
12, LetA={1,2, 3},
Et B= {4}
ae. an
. zEB >= zEA
GA
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM Discp)
ih
I aa
7. SubofsAeXtBasre . %
3), 1, 3;
g, (3) (0. 4} {2 DH (2, 4}, (C1, I - i
(2, 3} {C1 3), 2, 493, {C1 4), (2, 3)}, {C1, 4), (2, 49},
{(1, 3),
49}, apie: ners ne noe
4)} 5 {(1, 3) CL, 4), 2, 3}, {(1, 3), (1, 4), 2,
; Let =
{( 3).2(2,, A 4 5 ’ 4
4)},AXB
{(1, 4), (2, 3), (2, 4}, {A 3), 2, 3). @ pet R= {(1,2) 2.2.6
A x B has 16 subsets.
r e f o r e cert tet
8. (i) False , t h e
12)eE 1) ERso ——e List
R
Here P = {m, n}, Q= {n,m} on
}. ate oe fs,
P Xx Q= {(m, n), (m, m), (n,n), (n, m)} er Domain of R= (1, , 2, 3
rs a
. 5 3}.
is the correct statement. ee
a l
(ii) True (iii) True +n 2: For any 4 i. =
9. A={ ah, a, a3, a4, as }, B= {2, 3}
10. A= {x,y,z}, B= {1,2}
13. {(1, 1), (1, 2), (1, 3), (1, 4), 2, 2), 2, 4), (3, 3), (4, 4}
1.16. Relation ~ 4)
A relation R from a non-empty set A to a non-empty set B is a subset of the czCa
The subset is derived by describing a relationship between the first element and t
ba ordered
pairs in A X B. The second element is called the image of the first eleme
fi? Let R bea relation from A into B. If (a, 6) R, then we write itas aR Pa
oe bo to b. ee
| 4 Ifa, 6) € R, then we wrt itana R band read it, ais not related to
a ae
is | Let A=
Example: {1,2,3},B= {4,5} | b's
At “ AXB= {l, 2,3} x & 5}= (0,4) (1, 9,0, 0,53 .
=; »-~jka(e ar
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM D SCRE} .
40
on R can be re pr es en te d in tabular form as follows :
Above relati
4 5 ’ era a
R
0 0 }
1 Fe Kg :
:
l l
2
3 0 1
de a8
e | and if (a, b) € R, we
In tabular form, if (a, 6) € R, then we writ
e
con tai nin g | and the co lu mn containing4. Also (2, 4) eR
write0 in the row ‘ihe
ntaining 4.
containing 2 and the column co
| |
ons
Note: Total Number of Relati
eee es ss "I
1 eh te tivo noneemety feeaetntaioe/ gene
elements. Therefore numofbsub ersets ofA x B is OMB.
tae TE
Scanned by
Scanned by TapScanner
TapoScanner
SPECTR
42
B = {7, 11}.
A = {3. 5} and
Example3. Let
Let R= {(a, 6): a€A.beB, a-b is odd}. Shona R is an empty re
{3,5},b):aB={7,
Sol. Here A=gait
11}
EA, DEB, a—bis odd } 4
Example4. LeAt= {1, 2, 3. 4, 6}. Let R be the relation on. A defined by sas
_
aye
{(a,b):a,0 GA, bis exactly divisible by a}
() Wr Ri t
in ros tereform
(i) thendomdain of R
Fi
(iii) Find range of R. AY Fie
Sol. Here A={1,2,3,4,6} “a, ages
R= {(a,b):a,bEA, Bi ext aia os 4th
_ (j Inroaster form, : herr > (dsbbeib a
eos R= {(1, 1), (1, 2), (1, 3), CL, 4), a, 6),2,2),2,4),2,6) 3),
if) DomaofinR= {1, 2, 3, 4, 6} “ites
eee (ii) Ran Re
ofg = {1, 2, 3, 4, 6} os ge ae
Set 2,3: ‘dacs doe
(1,2), G, x), 4, »)}. eprstea in he ee ata ty AAR)
Robie A {l, 2a ee & » 23 se oR
Scanned by
Scanned by TapScanner
TapoScanner
; SPECTRUM DISCRETE yy
i) * Do ma in o fR = {1. 2. 3:4,5};
(i
Rangeof R= {2,3,4,
given
5,6}
below shows
o Oem
a relation R between the sets A and
B. Write this.
| _ ?.
Example The figure ‘OF Lae( 2
Scanned by
Scanned by TapScanner
TapoScanner
pel
Lk Domain= {1,3,4},Range=(x, 9,2) | 4
2. Doma = Z , Rang
in e=Z : 7 Re
cee: 3. @ No; (4,2) Ristrue for g=1
3 A (ii) No; (4,2) ER but(2,4)ER
=. Ah (iii) No; (16, 4) ER, (4,2) E R but (16,2)
ER isk ach ‘
4. () R={(a,a):a €Z}U ((a,—a):a EZ}
oie A isi
(ii) Domain = Z (iii) Range=Z r e l a t i o n Ronaset
) A
4 5. @ R={@,1),©,2),G,3)} (ii) Domain = {9, 6, 3}
: (iii) Range= {1,
2, 3} example.
a _ 6 Domain
= {1, 2, 3, 4}, Codoma=in
{1, 2, 3, ....,. 14}, Range= {3, 6, 9, 12}
eee ey R= {(1, 6), (2, 7), (3, 8)}, Domain = {1, 2,
‘te
Ai sreaueeee {6, 7, 8}
8 R= (1, 4), (1, 6)2,,9), G, 4), 3, 6), (5, 4), (5, 6) 9 bin
rij
ee
i.
Scanned by
Scanned by TapScanner
TapoScanner
48
Asymmetric Relations : a
v R
e r4, thenb R a,
ym
asn me tr ic if w h e n e
A rel aat
R on A Iso
seti
e se t of re al nu mb er s an d let Rbe the relation‘<’,
Example. Let A = R. th bide
b ¢ a (b is not le ss th an a) , so ‘<° is asymmetric.
Ifa<b, then ric, a af ree i .
(2, 1), (2, 3)} - Is R sy mm et
lteA.= {1. 2, 3} and leR= t {(1. 2),
ExampLe
Sol. Here A= {1, 2,3}, R= {(1, 2.2, 1,2 3)}-
tr
eher
Symmetry : R is not symmeit (2, 3) © R butG, 2) ER
cec
sini
Asymmetry: R is not asymmetric since both (1, 2) and (2,1) ER
c 2) and’, DER
tri(1,
Antisymmetry: R is not antisymeesince
Anti-Symmetric Relation
A relation R ona set Ais called an anti-symmetrc relation ifaR b and b
ie, if(a, b)€ Rand(b, a) ER>a=b. gis ‘
OR * is a) 28 ite
hos ay
Arelation R on a set A is called anti-symmetric if a,b € A (orn
and (4,b)ER = (b, a) ER. sat) ne
ca a sie
Sea
Example. LatiA be the set of all ines in a plnne: Let Wi
l Lz. Since in any plane there
L; || Ly ie, if L; is paralleto ex
ee # a ie, Li RL, and LR Li butL, # Ly, the
Scanned by
Scanned by TapScanner
TapoScanner
r
we
SPECTRUM DISCRE)
a TeI é
iz
ae
Ee
SN
j
pl w
Bese ARAL Aer i e
he MAE T
ee
A Gos achdiae A ar ad 8 Rs
ee e
Bs eee (iii) R is Transitive. a 42,
tive. Let Ay, A. This alse ve and As tee
x @
cose congruent triangles and so are A:
. Hy’, ie he
Hence A, R As. af '
| 1
So, R is reflexive, symmetric and transitive. t Eta
o
EB iat ‘Therefore, R is an equivalence relation ] on X. = : i Leth iy '
Ge e
eq ui va le nc e re la ti on on a set X which is nlag. a parti
Remark: The only d by ER Y iff x=y. Ae ;
th e re la ti on de fi ne
relation Ix, that is, bee? ¢ exist b in B such th
grat t Se : ae aye
eee
*
, = ch
Scanned by
Scanned by TapScanner
TapoScanner
(ii) Let b E R(X,
U X2)
U X;
“there exist some a € X,
ik joe
st. (a, b) © R(X, U Xz) )
:
21}=)[4or][a]
in ta n (41-0 Va bE Xie, am
Now a@€X,UX; > aE&X, or aEX, jit) on X.
j) Since R is an equivalence relation 7 a
Similarly
if a€ X; > 6 © R(X)
WR ee
BER(X)) UR(X2)
ae
so. jp vera, be Xsuch
thats € [6] a
Sas ae :
a i). Leven
ie om aa a fi
ha iJ 0m
‘ahi—d ae%
Scanned by
Scanned by TapScanner
TapoScanner
NCTION ie
54
SPECTRUM DISCRETE MATE , peraTionAD® Be itt ‘that [a] and [5]
We prove that X= U_ [a]. . ae SS yin against UF SUPPOS |
aexX a ut is ;
Let a eX. (a) 9 [4] = ?- as
Then a€[a] X is union of distinct caval aes classes
a eA ae [a]
ihe set of distinct equivalence classes of R for
es XC yy [a] Bi he: of X, hee he ieee) =
Since [a]={bEX:bRa}, therefore | a ess Ayjuen be a partition of X. Therefore we have jig
[a] &XWVaeEx ae proof: Let A So) hg gelaR anaes
a . [fa] oX a (i) x= Dehiad a6) od 7 ce
ae 0) » Ay Ag = @ 184 8 where zane ai ——
From (2) and (3), we get X = pe [a]. pe eles te sepeieneoen Finan ; 1
| or
union of distinct equivalence ate o ‘ Then for any 4; b, ¢, EA, we have a:
be Now we prove that any two distinct equivalence classes are disjoint. iN 4 (p Ris reflexive
ee Let [a ] and [ 6 ] be any two distinct equivalence classes where a, b € X a Let a € X. 7 2 a
a We want to prove that [a] N[b]=¢. 1G a ~ by@ae A Amba trad \
If possible, let [a] N [5] ¥ ¢. ae i sibe antag
“. Hx ©X such thatx E[a]N[d]. ae Enercon
D. selo lends e[) ). 4 atiee
Leta
<< “ xRaandxRb.
| > @RxandbRx. | ee a and b belong to Ay for somea GA.
> b and a belong to some Ag. => BD
Now we prove that [ a ] = [6]. ceil. Gh | ‘ion: ; am
a) Leta RBand BR — - a mae
Scanned by
Scanned by TapScanner
TapoScanner
3 Sea peat SPECTRUM DISCRETE MATE . a :
Conversely we prove that each A, is equal to some equivalence of X. = i Ee oo saenty Sha . te —
Consider any A, a ;
Take any a € A, |
Such an a exist, since A, is non-empty. : ‘ oe (Bp Assesa re
} ia partion of A, So ry
We prove that A; =[ a] | : aset A, of the partition
fend fs a =
Let 5 € A,. Then a and b belong to same A, theres such that a
reflexive. =
“.F € [a]
bRaandhenceb Risis te 9 eee
t <= oe Say
(ii) Let
Le @, 4 € Asuch tha aRé. s i
peo bEA, »> x€A, > A, [a]
“. | xRaand hence x, a belong to same A, ie, both b and a belong to some A, = bRa,
ButaGA, .. xEA, .. Ris symmetric. prs
~ x€[a] = xGA, > [a]CA, (iii) Leta,6, ¢ © A such that aR band bR o of
Hence A, =[a] | there are subsetsA; and A , of the partitionsu
ae “. {Aj};ea is the set of all equivalence classes under the relationR. 3 We claim that A, =A; . ah. Se— 4
(1.29. Quotient of A byR | If possible, suppose that A, #A ..yo Ther PA
a Let R be an equival
relation
ence on A. Then the collection of equivalence classes of the el at wala é +
is called Quotient of A by R and is denoted by A | R. nS enea disjoint. aea e Rd 4
SAR ial we EA). Butbis in both A, and A\,. HencA,
e n
oi
hn an we arrive at a sontraiction . ai
c a }
A, =) , showing that a, 6 an
thataRcandsoRistransitive.
Scanned by
Scanned by TapScanner
TapoScanner
4
Scanned by
Scanned by TapScanner
TapoScanner
_ pt ation ASD a
SPECTRUM DISCRETE MA rip ian
r + a — *i
60
but (I, NER sagan
(x) Let A*={I,2).
—_—_—an Nowwil EN a
Then AX A= {(1, 1), (1.2),@, 1)2, ,2)}- a _ isnot reflexive
| ; 2 c (l 30) € R but G9, HNeéeR
Let R= (C Q, 2)}.
1).1,
7 g is not symmetric
RGA * A, SoR isa relation on the set A.
hm (20, Cs 9 ¢ ROA DINER be
e
iv)ER
ex(a,a
R is reflsince V aGA,
a " R is not transitive, aoa iisce i
etri
R is symmsince (4,bc
)ER (6, a)ER
J e) " qifRand R’ are reflexive relations on a setett on ae
R is transitive and antisymmetric clearly, ‘7
relatrion R defined in the set (1, 2, 3, 4, 5, 6) as R= {(a, b): bas,
thehe gxample + and Rare relations ona set A.
Example2. Check whet
reflexive, symmet c
ritive.
or transi gol. Since
Scanned by
Scanned by TapScanner
TapoScanner
cs
SPECTRUM Disc 2
62 ned
er e R is in th e se Z
t of integers.
des a5}, wh
Sol. R= {(a, 6): 5 divi . ai i
) g-a=0=5°0 —
> R is reflexive.
= §dividesa-a > ER . ys
(ii) Let (a, 5) ER aah
. Sdivides a—6 eee as
Z> b-a=5(-n) > S divides b—a
= a—b=S5nfor some nE€ aa
~ (a bKER > (6 a)ER
= oe an 4
.. Ris symmetric. ‘ a
‘i Chae
R
(iii) Let (a, 6) and (6, c) € MAES toe
= §dividesa—b and b-—cboth
Rea 2
ore a)
gata sn) and b= e= 5m t Oe ves “Ag ae
(a-b)+(b-= 50, + 5m ia
c > @oer™
wich big
+ n ) > Sd iv id es a—
ae c= 5 (ny
> (4, c) ER
ni aol pe ABER,
Scanned by
Scanned by TapScanner
TapoScanner
= SPECTRUM DISCRETE MATHp, } 10N AND FuncTics
9, If R is the relation
Example by (a, 6) R (ce, @) if and only if a+d=b +c, show t
in N X N defined ee ‘ Let 4 2 b (mod m) and aa im) ober
(i! mand b=c+hm |
is equivalence relation. aatk ab+hm fe
Sol. Here (a, 6) R(c,d) @ at d=bte. pm thm | eae
ee ifa
+ b= 6+ a, which is true. : +(ko+h)m s oh
relation R is reflexive. gle = a=c(modm) Re ®
a=¢ ita eel
(4) Now (a, 6) R(e, d)
=> a+d=6i¢ = dt+a=c+b > c+b=dta => (c, d) R (a, *) : ae
~. relation R is symmetric. : e Hence ae be a relation define d on the set cree
aa a 12. R is a partial order relation. FA.
ji
(iii) Now (a, b) R (c, d) and (c, a) R(e, f) Exam Pen
=> a+d=b+candc+f=d+e > (a+d)+(ct+f)= (b+c)+(d+e) => a+f=bte 4 caretexive since @ = for any ral number a
{* ; ‘i
Tay
Semin re al doe
{ey 42} 2) hae) a) ie =
Scanned by
Scanned by TapScanner
TapoScanner
—
ER and (d, T
e
= {(2,
: esses ana
= (ao ER, and (a,cE )Ry
= @AER OR
Thus R, M R: is transitive.
order relation.
Hence R, 1 Rz Is partial
ial order relation
But R, U R; need not be part
For example : Let X = (1, 2,3} then
B, 39}
Xx X= {(, DA, 2.043) @ Ds 2,2). 23) GB, Ds G2), |
Let R, = {(1. 1), 2.2). G, 3), (2), G, 1}
= {(1, 1, 2, 2). G, 3). 1, 3). @ DF
casas R are both relations o
x X, Therefore R, and
Then RySe
R, is reflexive since (a, a)ER,V aExX
ha = b,
R, is anti-symmetric since for no (a, b) € R, wit
we have (6, a)
© Ry
R, is transitive since (a, 6) € R, and (6, c) E Ry > (a, c)ER, 0 v-taid , : a
~. R, is partial order relations on X seed Sinko =
Similarly, R, is also partial order relationon X M4 at ena “edo “Sal
But Ry U Ro= {(1, 1), @, 2), G, 3), (1, 2,6, 1, 9) Oey 2 hae
1 (1,2) E east DERN ae
= a Katee or} saa
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE MATHEM,,.
21. Is inclusion of a subset in another, in the context of a universal
class of subsets of the sets ? Justify your answer.
set, an equivalence relationin. }
22. Show that the relation R in the set Z of integers given by R = {(a, b) :2 divides ab} ee
7 Doses: M4 iTpuei2 oe aie ube Bs under the: ruled peur’ ag) @). |
“ FP Sa SasTY en
ge aie
aoe a
" 198 = vt
Scanned by
Scanned by TapScanner
TapoScanner
CTION. “s $$
SPECTRUM DISCRETE MATHEMay, | _. p51A HON AND FUN
en [" cel s, BE of Aes ta Rts Gad if ¢ Se pe
XX Y= {0,5),
92,0,
2 2B,0.
9).B,0,
5.G,7, 4,5)
2. 4,6),24, } “a MG
Let R be a subset ofX x Y where R = {(1, 5), (2, 6), (2, 7), (3, 6), (4, 5)}
_ Here R is not a function from X to Y as 2 € X is associated to two different elements 6,7 of Y a4.|
@ function no two distinct ordered pairs have the same first element. But R is a relation as RCX xy 7
_Agaim
take R = {(I, 5), @, 2), G, ), (4, 9)}- In this case R is a function from X to Y as each eps
of X appears in the first element in one and only one ordered pair in R. R is also a relation from X toy. a
Remark : Oo Ee 3 a uni €Y such y=. : * ne. oo: ge ge wae
we 7 Sr me Sh a a
However, by an abuse of language it has become customary to call f(x) as function instead of f ig
a =
~ Sve
fe 7 7
ite esis Ai
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE
1 110 [ T ean
MATE, Epi All soe
A function /trom X to Y is called onto iff every element of Y is an image of at least one since "
. y uh y be ‘aie is os ds it very tun
sp citer words wo can say that for every y € Y, there exist x @ X such that y = /(y), nn nell on on re ota : _ eines Nemes
Scanned by
Scanned by TapScanner
TapoScanner
*
ee ors = ® *
J lila Pa
14
Pied ens ia reais
ya
: L i Por
: = - ‘ 5 = an ‘ ND)
at f is not one-one.
*
x) = x2 , Pr ov e th
fined by f(
Example 2. Let f:Z > Z 4
e, We take one example.
Sol. To show fis not one-on
ay sae
Let us take two integers 2 and —2 ee
then f@) =@y=4 | abs
a f(-2) =(-2=4
ae Sinc2e# —2 but f(2) =f(-2)
= So fis not one-one.
ctive) :
E Method to check onto (Surje
| Letf: X > Y be any function.
Y.
: hs (i) Take one arbitrary elements yin
‘Teta 31a
ie (if) Take y=f(x) 2? ae
rms of y.
(iii) Solve this equation and find x in te
.
Gy) Ifcorresponding to everyy € Y, there existx X thefisncalled
Peas
| — *D
Scanned by
Scanned by TapScanner
TapoScanner
f(m) =f (m)
3 | m| =]m| > m= #2
+. _fis not one-one function
hgeemk S962 pa 7 ead
= afey=5, (35 Peep tee
So fis not one-one. Te
{0} £2
wd
Scanned by
Scanned by TapScanner
TapoScanner
78 : a SPECTRUM DISCRETE
MA | .
f(x) = 17!
i |-— 7 (if xy ER suchthat f(x) =f(x,)
- SF Y@ON= ait in [> ofq)) gne-one Peas ys ee Sa
rasa " |x| = 1%2 | > % = %X2 or x “—e Tee hee
Piers (3) =3 and f(-
| aant one-one For example
ai ined 0 wiever* ree Path see
~ SLY @)] =x. sg y7 oy ER then VyER a
Example 4. Specify the types (one-to-one or onto or both or neither) of the following function : 4 x €R such that F(x) = y | :
(ii) g:N XN-—N such that g(x, y)=x+yp | le 5. Let A= B=4{1,2,3,4;5)— Define fictions
(iif) X=R, Y= {x: x © Rand x> 0} and f(x) =| x|. | : ae fis one-to-one and onto a Shes 4
, (i fis neither one-to-one nor onto a a9 i
Sol. () f: N>N
| One-one: /(/j) =J (mod 4) LC) = J@mod 4) means J is remainder when J is divided by, (iii) fis one-one but not onto. san 2 1
4 fis not one-one : (iv) fis onto
but not one-to-one. eres.
: gS £3) =3 (mod 4)=3, f(7)=7 (mod 4) =3 ¢ : sol.() Letf: A>B defined by f(x) =x, Vx GA.
Now £3) =f) ie f={(, 1), 2, 2), G, 3), 4, 4), G, 5D}.
But 3 #7 / (ii) Letf: A> B Seton 3 ene
es
Onto Eero ia a
} #FGnenen¢
<i e
bse
‘<i eg Merr;
Scanned by
Scanned by TapScanner
TapoScanner
80
Onto : Let yeER
such that y =s@) |
: * oe
> yextTexryol ea
|
that y = 8) Le 2ie
go Vy ERAxERsuch 7
Hence g is onto.
(ii) g(x) =x +*
g+0=0, (Da tGD=0
_ gisnot one-one as 8 (0) =
But 0=#-!l
a =
al al
“i os
er A lees
Scanned by
Scanned by TapScanner
TapoScanner
|
a
p o p e 8 O N V O M E E R
2 XG
os
we eee eiee
5 aomwob
. i
comp os it io n of ma ps
e as
,
posite Function: Le in
eae The funtion with
Scanned by
Scanned by TapScanner
TapoScanner
8)
,
a\
er s
Pat
helt
g may not be o,
La i
e to illustrate
dl
,
es
|
al
=
>) eee
‘
B= {4
ie
ee
oo
oy.
The
bens
i
A to B sn fr om B to C respectively.
from
then fandg are functions
es
Ry S Dg
f
aLeer
4)=7
gof(i)=g (f())= =g( o 4) se:
=
>=g(6)= 8
g of (2) =2 (f(2)
a
gos t t. 7)(2.8)3
= ;
Scanned by
Scanned by TapScanner
TapoScanner
_ Topo onto ide hh
. eso there exists x © X such that g (”) = *-
S@) > ya¥Gyli
= f(g())=/@ * (fog) ()=/@) > WO)= |
-. fis onto.
j
(i) Assume that f: X = Y is one-one and onto. We are to show that fis invert ible,
and onto
4
ae x= %2
oman Vn,x
aaaheter exist one and only onex €X such that f(s) =y, goer a
we can define a functiong : Y > X such that g (y) = x iff f(x) = y on é ge
ae
Scanned by
Scanned by TapScanner
TapoScanner
88
=!
so. (Foo W=/(g()) =f4)
(fog @=/(¢@) =/M =3 wae
(fog) @)=f(e@) =f =? ”
(fog) (4)=f(g (4) =f) =>
(fog) (S)=f(g 5) =f@) =3
=!
(gof)(=2(f()) =s@)
=8 5) =3
(g of) (2)=2 (F2))
(g of ))=¢ (f(3)) = G3) =!
(gof)(4)=2 (f(4)) = () =4
Sstt ie
(g of) (5)=g(f(5)) = 2) =! |
Ss fogand go fare not equal in general. = eae ig
Example 2. Iff,g:R > Rare defined respectively by f (x)= e+ 3x+ hoe ¥ le 9 . ‘ a
Scanned by
Scanned by TapScanner
TapoScanner
@ y=, 2)
2. fisone-one ie, fis injective. | |
eo
A
sty Let (s, £) be an element of the codomain R X R. We determine (x, Y) such that ig
a F&N=G.D > &+YR X-WY= Oo) ae ‘ =) a y
i!
e tReF
—o
a
foam
el
aiepa
and x-y=t
a
nny
> x=“ ER
avy
Adding (3)and(4),2x=s+t
St+t
fre 5 kets
. e
ie
ot
AD ER
= Y= SP
bar
Scanned by
Scanned by TapScanner
TapoScanner
D Ss a] 1 S
92
ngeasl
val ued fun ction defined byf@=x,x ER. la fRi
Example 8. Let f: R > Rbereal
sol First we check weather f is 8 bijection or 00%
For this let us check f'to be one-one-
Let x27 ER
=X, or ey ey
x
nots
So fi I-I.
Hence fis not a bijection ~- fis not invertible.
ee
lteX = Y = Z= eet
Exam9.pLe
f(x) =2x+ Land gy) =y3- Verify that (g of)"'=f~'og™'
So. f:ix>y f(x)=2x71
g0)=5me
2x+l
wHS.: gof(x)==8(f@)=82x+) = ace
Now we find (¢ of”
Scanned by
Scanned by TapScanner
TapoScanner
A
94 R > R be real valued functions defined pee s
by f(x) = -
x eS
g(x)= B
g both are one-one
sol First we show fand | a
Let Xy*2 € R such that
esa
g(x) =8(%2)
f(x) =f @)
a eat RU)
;
i
es
a # 4
ee.
7. +a
rs
a
rid
= 2x3-1-2x3+1=0 TD
el it ’ RA
-
ete. is
so
>i.
—* aU
ori
i
an atta
=
= 2(xp-x}) =0
ni
—_
:
-
if
ae
7
gat
Sree,
PR,
a ee,” se ee
Soe =
:
«
et eee ede ia
=
ie
4
aa
SA,
age
es
Sect
ae
4
i)
ul
Scanned by
Scanned by TapScanner
TapoScanner
Now V yER (y #0)
3 xER st. y= SO)
so f is onto.
f is one-one and onto.
itsiv
so _f is bijeinct e.
domain
if ais even sna me
&
* (=f FO) SO)"
ee
eee
nm
Se
if ais even
itainna
oe
st fos -FE") 5-1, eginodd | 2.
SS peers
2
eo
gof(a) =2(f(a))
Pies deidg
aniiliieaiabaaiea
;
E
| “2 i flis even a
Te
se
ae
hy
eae
paper
salen
a
1a
iv
F
"s
F
*
3
ev) ng
: | fos itfoisots
-~
ee
a
5
*
Arh
an,
eT
e
Is ‘i coe ar
le |
eS
ee
ege
sn
|
he Pied
eh
eee
ra
Pro
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE ae
Mar i
jons. let fand g be two functions from Rp ! NYta gets oF
ition of two functions. 3
oP eee
y=(x+2 —x). Letg: RR} fa: caer
3 = 1). Is composition commutative *
ae Lou Kn, BER be det
-RXR?RXR be defined by [3 ) sais! |
Find FORMS hoy
re. j
Scanned by
Scanned by TapScanner
TapScanner
ene am pO 5 ea Bae
4 we show that f is biject!
ae | se
inte
i>
fisoneone
i =
c.
e s e e ed
y el em en t e e o a
For onto Let y€ B be an y
The eee
Scanned by
Scanned by TapScanner
TapoScanner
ax
YxEA
= tan
f(x)
We show that f is bijective.
For one-one Let x),%, € A such thst f @) Fp) hess ae
JF"2 222nd, VnEZ
-
ide!7 BX2
soe=
YS eee
Scanned by
Scanned by TapScanner
TapoScanner
, Nee EEE
‘104
pe ete apes
Proof, Define a map f(a, 6) > (6 @ Py
ig ee
seyze+ = &-aV x € (a, b) . i
b-a
map.
We first show that fis well-defined
nih Gi
Letx € (a, b) be any element
> a<x<b > 0<x-a<b-a
Scanned by
Scanned by TapScanner
TapoScanner
a+b
a ele
@ kone ipa Se i=;
2 b-a 2
a+b
———
:. _f is well-defined map.
map.
‘Next, we show that f is bijective
one -on e. Let *), 2 E (a, b) be any tw o points such that f(x)=
- For
®
Scanned by
Scanned by TapScanner
TapoScanner
e v e n in te ge rs is equivalent to
pl
Exam1. ove that the set of
Pre th e se t o f e v e n integers nd
h
{2nt+1in € Z} be
€ Z} an d B= och eee.
Sol. Let A= {( 2n :n A
yext1,VxE
Bas /@:
Define a function f: A> ee
ive.
We show that f is biject
t x, ,% ) © As uc h th at f(x) = f' (x5)
For one-one : Le
eee tar ey
> ti
M = 2 n
=
f 2
iy
u c h t h a t f e ) =
‘Tus 3x=2neAs
oF
Scanned by
Scanned by TapScanner
TapoScanner
110
** | x , - % ) / < ! > son=0
But xx, €0, 1)
x Fa)efopr ar”
So, f is one-one.
For onto For any y € R, we have
». f isonto
Stet
Ze
e
ononto
So, f is one-and
owt
me?
Hence(@,~Ro iA cosh
.
a‘,
4 oe
-
ea (qc atht. 9 = || 7
"
aan
+c
a+ned1)by
rthe map f:(0,1)*(adefi
apg
hes
ro
hi
i
a
Scanned by
Scanned by TapScanner
TapoScanner
:
POY : =
ng AB
| (iy Deine she mapi EAx OR ce e‘eea =
|
(0) V (a, 5)
h' (a, 6)= (7 (a), g | on
.
We show that i’ is one-one an d onto
su chthat
Let (a), b,), (4), b,) © AxBbeanyelement ==
For one-one i a*
oF
h! (a,,b,) = H (ays)
vis yg
* * wi
et
Where y,EPandy,€Q
As f:A>Pandg:B>Qonto | .¢
: = a
a
er areal K
Sey ee ee ee
ne x.) = (x), r(x.) = (yy, 75) F
— ah a See eee aa 4 ‘i
n F
=. ih - ee sd et: i iy L
t +
,
Scanned by
Scanned by TapScanner
TapoScanner
14
Conversel of Aen
y, elem
let every put in the forofm an in
can bets ud a, a But | ti :
where ay a
A= {a * Gass eed) da net
Let
te
- rid *
Scanned by
Scanned by TapScanner
TapoScanner
er the sequence
such that |
{= \o if f,(n) =!
. :
i t h e 0
r or 1, th er efore he re : |
sequence f are e ae :
Since all the elements of the
i E is é (m, ne
| % ' : ct 5 ( “ 1 » | : When b
But 7. = 7 n? Vv n Ee N
c
ae era
F | So, we arrive at a contradiction.
ble. | s
F Hence our supposition is wrong. Therefore A is uncounta
{x ER: 0 es l} is uncountable. S 2
Example 2. Prove that the set [0, \j=
:
Sol. Let A=[0, ]={xER:05x5 1}
can be a1 ‘anged in ¢
If possible, let A be denumerable, therefore its elements
} ; aa fy.
sequence with distinct elements. a leech ban
: z aa . fae A eee 5
SESMUORINCCC SESE
TA SMASRONAPOrroesNenaaeieeesReeeee tens:
Sl a EE ee eg Tat eve i Te ile
A
tren ies
4
-i
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE y 5
3 any Funes
iow
118 . : . ey = - —— ae ae J oe ae = <2
ie 2 pore: — |
> B be the map definited by f(m) =a, (Ymen
; E Z
ere ti
Se ty
sof is1—1
each y= 2" GA, 3 mez
To show f is onto For
such that f(m)= 2” =y
*. f is onto
Z~A
Also we know Z~N
So that A~N = A is countable.
is uncountable.
Cor. 1. The set [a, 6] = &« ER: a $x <b} deni
one i) ee 4 possible, let R, be
Proof: As {0,1} > (a, b] defined by f(x) = 4+ (6-a)x is one-anod n to.
, im
a », Therefore
0, 1} ~ [@, 8)
ble.
But the set[0, 1] is uncountable- *. [a, b] is uncounta
1.57. Prove that every subset of a denumerable set is countable.
nite sequence with dis
Proof: Let A be a denumerable set. Then A can be written as an infi
:
Let A= { cy, dy, Ghyy cssoenAgsy woree} «
Let B C A. If B = @, then B is finite set and hence countable.
And, if B # @, let A; be the least positive integer such that a, € B.
Mo ec
Consider, the set B, = B —{ ay, }.
9, th en B = {a y } is fi ni te an
IfB, =
Scanned by
Scanned by TapScanner
TapoScanner
SPECTR UM DISCRETE May, 4a E {AND FUNCTION
al
ear denumerable sets, then A x ia
Eg aeunnee
Now, we list the elements of ss E, as follo and B= {5,, 5, 5;,. } be
two d enumer; a
A= {ayy 29 939°" J
== ay ad gm) = by, vam
ey geno A ands: :N > B definedby f(n) =
eS
4
APF gad onto _ (ae
fon
in defined by Stade ‘ cece
Bbe amap
| a N xNAX
en 7 (mm
ite ath Ne
H((mmm)= (4 eh
e5
4 &23 °32 41
es &24 €33 ©42 ©51
rable.
1.59. Prove that the set N x N is denume a
Proof. Since N X N= {(a. b):a, bE N}
Let Ay = {(1. 1). (1, 2). (1, 3), (Us ADs oneeensd
A2= {2, 1), (2, 2), 2, 3), 2, A), veesveee }
As= 3. 19-G.26G, 348.4 weed
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE My 5d
< Mary 3 wt onan? FUNCTION
122 Pe, -
: dental Numbers we can define @ function f:.N ALUB by
Be a es re,
f a polynomial equation with integral Coefficients the
Aa
Gt. Alge h
braic Numbers : The roots of a po 4k if Isk<n Ee) ee ite pee
Re ey
algebraic numbers
2* nie FO x” =0
ie. if p(x)= dy + ax +4
on , wh er e ea ch a, € Z. Then the roots of p(x) are algebraic digs
be a polynomial equati er is called .
- A nu mb er which is not an algebraic numb
s : n
Transcendental Number po ly no mi al eq ua ti on wi th integral |
mber which is not a roo
t of a
number ie. a nu
transcendental number.
nsce ndental numbers.
For example: e, 7, log 2 etc. are tra
Pro ve that the set of alg ebr aic num bers is countable set.
1.61. \ een
P = {p (x): p (x) is pol yno mia l wit h integral coefficients}
Proof : Let
aex , where a; EZ
where p (x)= ag+ ayx + ax" tine
7
We first show that the set P is countable. _ Hey
n)
For each ordered pair of natural number (m, ja =a i
|+| ay | +] 2 [Foe +1 4y =I
Let P, = (Pp @): p(x) EP st. |g
finite number of terms is finite ; | aa -
since degree mo a polynomial is fixed and sum of La a me 3
sete bers awe eat;
-. P.,, is finite setand ~. P,,, iscountabl
P =U {Poe wie alee Si sg es A
Now
ee ee oe
ana ape ea
Scanned by
Scanned by TapScanner
TapoScanner
ax
SPECTRUM DISCRETE yy
TE May,
}
|
124
n, EN such that "> -1 ai 9 s Prvere ahatibe set of rational numbers is denumerbl, nswit
:
that the set of integers is Aaaibiting = das
such that > my E f(A). We get
’ cee }.
f(A)= tb, Pn o fa s equence
in th e f o r m
e e l e m e n t of f ( A ) can be arranged
In other word th
ai ‘y
= £(A)~Nalso A~ SA)
(> — israsteg 4
> A-~N
sete.
Ais countabl or a countable set “‘
ie
er A is a fi ni te set
ef or e co mb in di ng th e tw o cases, We find that eith
Ther i
Hence A is atmost countable .
set of itself. ? its
set is equ iva len t to a pro per sub
Example 2. Prove that every infinite chee |
Sol. Let A be infinite set Fs
ble set (say) B.
*. by previous theorem A has a counta
C=¢
Let C=A-B > A==BUC and BN
bie
Since B is countable set “is lemens can be ranged inthe form ofan init
ee at a > atl)tu
distinctelements. =
eS eee * oe A 14 oe oo
ae tel be cou tat eset. 7s is saree —
Let B= ) by,
{6), ,
Scanned by
Scanned by TapScanner
TapoScanner
126
that
,n
Thus 3 (mEN )h
x Nsuc
h(m,n) = Ff (m), g(n)) = (@®)
- his onto
ct io n be tw ee n N x Nto AXB
Hence h is a bi je
NXN~AXB
A x Bi s al so countable set. a
sete --
AsN X Nis countabl set.
the pr od uc t of tw o co un table sets is a countable =
Thus bl e sets is a countable set.
ite nu mb er of co un ta
ion of fin
Example 5. Prove that un
E= {E, , E>, E3 00 » E, } be a fin ite collection of countable sets
Sol. Let
b= fen,» en,’ ye
ey =O
% &>1 ct. +
Pai
a OS semen aie acai
a|
“14 3 a2. an) aS CN dary
oe oe + oon ag ;_
Scanned by
Scanned by TapScanner
TapoScanner
CRETE ! 4 ad
SPECTRUM DIS
ston ANP -
128
on ar gu me nt , di ag on al sl ag , writderiaes
to e' s di ng un sl A T E D R C R E (Diagonalisati va proveety car's S« diago
un
+60, ‘G od)
diagonal meth Ge or g Ca nt or as a mathematica
1891 by
en t was published ‘ne-to-one correspondence with the infinite
Cantor's diagonal argumcannot be put into on
ts which
there are infinite se w known uncounta
ble sets.
ts are no :x
numbers. Such se
C a n t o r ’ s d i a g o n a l argument
1.61. Working of na ry digits (i.e. each dip i Whee}
ni te se qu en ce s of bi
h e o r e m : Ca nt or co ns id ered the set T of all infi
T
\ ‘
s, —( Lilies eal)
+) |
§, =(1, 1,0, 1,0, 1, 1,
s_ = (0,0, 1, 1,0; 141, 3ena)
Scanned by
Scanned by TapScanner
TapoScanner
i oe ,
DISCRETE
SPECTRUM
Ma ‘h i ed AND FUNCTION
130 SW e335)
wer set theorem) 3 e the funct Ows ;
(PO t
Theorem : Cantor’s Power set theorem
en re but no bijection, So |S|<|p weee defin 1a) 7 Gi tee
an injection from S pOt0 P(S)(9 vues
edas | (S)|.
Statement: ISisay so BENE ETT h(a) = t (a) _ Seihervise
ool ot
S ‘ "¢> ee
Proof : For any set S, the map P :
Clearly this map is well defined and injection
from S to P (S) ot be lonel
y itself. If
f(a) is descendent ofa ey
se uae FO)
3 an injection from S to P (S)- 6 ; since g is injective, the clement g g(a) i soa
f(@*=fo8g (b) for some
to B. a
Now we shall prove that 3 any bijection from
S to P (S) sdefined, we claim that it is a bijection from A ae es
w de ed ifb € B is
a map / is su rj ec ti ve . In lor
Let qi > P(S) be We first prove that een
scendent of a lonely point, then 6 is not ee
de ch
S leads to a contradiction.
aor ro “L
Scanned by
Scanned by TapScanner
TapScanner
SPECTRUM DISCRETE yy
ae | ATH, |
132 cept
n=k+ |
a 1 7
OF M A T H E M A T I C S I N D U C T ,
PRINCIPLES
en t of Pr in ci pl e of Ma th ematical Induction
1.62, Statem
Let P (n) be a statement such that
(a) P(1)istrue re, :
re =r.
(6) P(r + 1) is true whenever P (r) is true whe ie
hate
s 77.
Then P (7) is true for all natural number t—*
The Well-Ordering Principle 3
a least element.
Every nonempty set of non-negative integers has r,
ive Def ini tio n: Som eti mes we fin d it dif ficult to define an object explicitly. Howeve :
Recurs oT May) g2k+2
ect in ter ms of its elf . Thi s pro ces s is cal led rec urs ion.
easy to define this obj ee Sie Sie ee
sets. In previous discussions, we “a
We can use recursion to define sequence, functions, and l Fe Se ae esa le ae
terms of a sequences using an explicit formula.
two steps to define a function
For example: We define recursively defined functions: We use
of nonnegative integers as its domain: ‘wie
Basic step : Specify the value of the function at zero.
a rule
Recursive step ; Give de ee ee at
ILLUST. ve *i
ee
=. rai
Tle. PY
oe
er: ee
Scanned by
Scanned by TapScanner
TapoScanner
TIN, AnD FUNCTION
SPECTRUM DISCRETE MA gant
‘ oaeal a Paa. keateg1- 2
Assume that result (1) is true for” ©nsr
; G5 iT is‘dag
: n=
Beware ult is true for n== k, then it is also true for
ke 4+4k+4
a for0 n= 1. mths
= (kD? [Esaue0}- K+)" nested yt the e result
But is tue
the res is
ulttrue for nl
al € N. |
by method of induc tion,
ch
is obtainbyed
5 (kt D74
|
2 nm We have added (k +1)" to both sides of (2). This
De BePein tht a= mere
(1)-
em of LH 's, of
al induction to prove that
result is true forn=4*! sampleje 5. Use the princ iple of mathe matic
it is also true for n= k+l. VnE N are ae
if the result is true for n= 4, then
i
+n(n+2) _ Mati) (2n+7) n 7
oe, ol Se
out)
» 6
n+))
(2a Sol. , 7
ae1)r
n(n+
ase Bg —Net N Vn&EN, 1-3+2°44+3-5+ series + n(n+ 2) » een)
6
ines
Sol. We are to prove that or n=!,
1:3 =3
her n+1)(2n+41 EN.
LHS. =
Van
:
Pe2ese nti = maser
= sEDG+6 ) - he 6
pa =3 | aoe
For+3a= 1, Tune 7 ' Leth
L.H.S., = R.H.S.
~ result (1) is true for m= I.
m
thatures
Ass ulte(1) is true forn=k.
Scanned by
Scanned by TapScanner
TapoScanner
= SPECTRUM DISCRETE MATHEY,
result is true form =k+ |
-. if the result is true for n = &, then it is also true for »=k+ I.
But the result is true for 7 = 1.
“. by method of induction, the result is true for all n © N.
Example 6. Use the principle of mathematical induction to prove that
l n
eel l 1
age ~ 2n4l
VnEN. | 1. yn _1 is divisible by 8V2 EN.
1-3 3-5 -5: 7" *@n-)Qn+) I
ha #4
4
e that
to prove
Sol. We hav 0 nv? em is divisible by 43 Vn EN. *
l feay it (iif) pe eo ee
] I i mane
: the principle to
of math ematical induction
OPE prove that —
— +—— + —67> +...» *Qn-)(2n+)) FT, 2n+1 “(Iee ; vse
ae os
For n=1
, 1 1 eee
lao 4
or
[42
- re
1
— —
prove by induction that
peta eS He AT +-— +
+ LHS.=RHES.
-. result (1) is true for n= 1.
Assume that result (1) is true for =k.
- , oa
fo Bisa
gs a6
<7 3,
6) OK=NCZE+TD 2K41
ed
to both sides of (2), e
l
VOENIEE
L Ading
as Barey-nEevea
Scanned by
Scanned by TapScanner
TapoScanner
hl
s -
138 |
en Qe}
From (1) and (2), we get pee 2 ie
aqt+r=aqth a ge
| — r-lal<lal-lal ‘pita (
Phe Fae
“. r-r, =a(q,-)
< r,-|a|<0 ies
=> adivides r-7
<r<0
Foie 0
,
ey oe =() as az0
b=aqtr,0sr<i|al. oe =
suchthat
andrrs __ a: 62 o> 0
: ith , a ¥ 0, then there exist unique integ ge that ig aor Ga, of oes ea
I. If a and bare any inte
Cor with a
gers
b=agtr0sr<|a|
ve
Proof. We have proved the result for a>0 combining (2) and (3), we ha
If a<0, then |a|>0
~. such that
r d
there exists unique integers g> an fy *tt}
oe
eh b on b= 4) lal+r, 0<r<|a\= q(-a) +r,
;
0 <r<|ja| i AS qs"
ere
are unique so q, rare also unique,
lca ai Oo Uae
Scanned by
Scanned by TapScanner
TapoScanner
aE ae
eee:
ad
em
1 el 7
1 a aml
AME fu
f= é
_ anh
40
4 Py _ _
a Ate a mek ’ ‘ A : :
» any integet
lf b= $.q+1 then 6° = ($q-l)"
3 G+ C, <
°C. (Sq)* + *c,(Sqy° + *c,(59) b=a
we|
a. .
Sgn d8
aaoe
; 23a 4°C.5 2,4¢ 3
q)+1 =
, 5 + ? ~
59 +
-s(*C
.
=$k+1 (say), FEZ
oa
lf b=5q+ =2 then 6° = ($q+2)" ee
1 , 6 4
2) + 6 9 ay ? +4 C5 64 )2 " + °C, 2
= 4c, (5q)*+
)+ 4¢,(20)q" + *C; 8g+3)+1 =Sk+1 (ayy 4.ke
= 5¢4C,5° ‘;* Cea
“Ske Lom, Aa
= 5(4C,5°q*+*C,57¢° G)+ #597 (9)+ *C3 9(27)+16)+1
=
if 6=5q~4 then b* = (Sq+4)"
ae
- 4c, (sat+ *C\Sah + *C205)?4?+ *C,604°+ *C, 44
°q
+ 40,5
= 5( 4C45 (4)+ tease,
74 * abs S0eh=84
Hence fourth power of any integer is either ¢
Example 2. Prove that if o and b arei eget ao:
satisfying a= bg+r.where26< ee
Sol. Given a and b are imtegers with b> |
By division algorithm, we have is bs
.?
a= bd +rw ere
a
and
3 onthe Ae:
Pu ry; 2 4 ; 4 , < Z ; ’
Scanned by
Scanned by TapScanner
TapoScanner
142
6 q+ 1, Then
When m= are
Whme q+ 5, Then
= 6n
m? +23 = (6q+5) +23
= 36.2 +60g+25+23 = 36g? +60q+48
+4q+4)
= 12(3qg2 +5q+4) =12 (g2 +q+29q7
= 12 (g (q+ 1) +29? +24+2))
ide - mi : in ¥ 2
e eas er or 3 N ee
B leavesthes oaths
c a
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE jy
\44
not
1.65. If @ and 4 are any two integers, both zero, 8. of aand b exists ana
that g.c.d
then prove that
we shall prove that g.c.d. (2, b) exists.
Proof: Firstly,
W 1Lo.g. assume that @ and b both are positive and b2a “a
ed by sion
[ g.c.d. (a, bis not affect
by division algorithm “a zz a
i eu
b= aq,t+h where 0S 7; <@
4
Hence g.c.d.
(a, 6) = | 1 aR ee
so that g.c.d. (a, 6) exists.
Scanned by
Scanned by TapScanner
TapoScanner
—
SPECTRUM DISCRETE yy
146 yb.
a e
Now we will prove th r h e f o r m xa +y .
member 0 t
Let mat nbbeany other
= Sire eee B a
ie FachelementofBisamulipleofd
A,
Scanned by
Scanned by TapScanner
TapoScanner
ae,
™ y — ‘ene
SPECTRUM DISCRETE Mar
‘ ee
i integers, not both
(a+ by, 6) = 4) thatt
prove tha
mur€r,6 oo — Sag
b = d,\atby and d, \by 10. F ae gna, mB m(a b)
nytt) and 4, = (a, m8)
> d,\a+by and d, |
Scanned by
Scanned by TapScanner
TapoScanner
ya Ti, a =e 1
150 SPECTRUM DISCRETE MA
a (6 60) = C45) 2) Suit
a b, ©) = (a, (6, = iene
Cor. 2. If d|a, d|b and d>0. Prove (¢-3) = = (a,b).
ke ae
(3}43)|-G-4)
N=2
d, /(a—bq) -—
worded
=
- 3 ala dib
a a! jpand 4 /r
r of 6 and r
a b 1 ,6 val) if
d, isacommon diviso
of b andr.
=> — | =
d, | 4, 4s dy is the g.c.d.
in (2.5) ae
thec
Hen ult.
rese
aoe Tay =1
(+.2| = Gonna d,
Scanned by
Scanned by TapScanner
TapoScanner
FUNCTION_ =i
2 we eo
Tad\(a,6) > dil > ene 2 See
(ii) mn) =1
that (a,me
Assu gottat sive so that d=1 » (ca)= 1. satege 2 e ;
|
-. there exist integers u and v such that
eat hs
(c, b) =¢ : ke Bie ise
ee
putas |
aut(mn)v =1
i
>
sea (a, m) =]
=
Give?
: \a+b
ee
.
0
Similarly (a, n) =} 4 c la+b-b ala i
Note. Let (a, m)=1 er ee
* Fan) ri
-. we have (m, a)= 1, (m, a)=1 “8 e
en
> (ma@)=1 > (@,m)=1
. os . » Gbyak ie
pres =] aE : (c, a) = (C,D)= ae , ei soon
=> (m, a) ni oy a8 x,
sence the result
and so On.
= 1, then prove that (a, bc) = a 4). | | oe #
example 5. If (c,
g way, we get
in this
Proceedin
ca Let (a, 6) ==d and (a,bc)=e aad Jal PONE 2am
(m,a’) =1 or (a’,m) =1
“sy d ja, d|b and ela,e|bc = visiaieae itn
- if(a, m)=1, then Wha de |
2 d |(a,bc)
m),= 1.
=1, (a, m) = 1, ----9 (a
(am)2,
i # d |e bi apts egg
Example 3.Ifa/b, c/d and (b, d)= 1, then prove that (a, c) = I. 8) 0S ee ae
+ ela and (c,a)=1
Sol. Since a/b, c/d.
“, there exist integers m, such that
b =am,d=cn
Scanned by
Scanned by TapScanner
TapoScanner
184 re —<—« ——————
_ SPECTRUM DISCRETE MATHEN,
Now (x,y) =d d|x, d\|y
eens
d|x+y
d| 100
d= 10, 20,25, 50, 100. 1,m+2are 5c
; mm
e
at
=
> 5\|p
as ( p, 5) = 1
which is impossible ;
. is wrong so that d=5 > (x,y)=5.
our supposition bee 5, | ee
are infinitely manyp such that (p, 5) = 1
As there from (1) and (3), we get pata
.. x and so infinitely many pairs x, y satisfying
there are infinitely many 6x5 | m-m as (6,5)=1_ ve
h & Ls
>.
i
Scanned by
Scanned by TapScanner
TapoScanner
156 SPECTRUM DISCRETE MATHpy
(ii) Let (S5p+2,7p+3)ed
fe d|Sp+2and d|7p+3 <tr
* d|5(7p+3)-7(5p+*2) b?)=10r2
> djl 2@ d=tl ] Ee _gb+b = l or3
But
d is positive
a d=1 @ (S$p+2,7p+3)=1,
(iil) Given p be odd so let p= 2k+1, KE]
2 3p -3Qk+I)+1=6k+4 | e,, (2,2}=1 then (a, 6)=c.
and 3p+2 =3(2k+1)+2=6k45 ig, Ie! ce Se
Let (p,3pt2) =d prove that every tWO a )
ie. (6k+4,6k+5)=d 4 prove tat one of any three conscoutive Hiiegeay asim by 3
° d|6k+4 and d|6k+5 a 42 be tinctions such a Cae -.o=1 ae
2 d|(6k+5)-(6k+4) a ad ae
° djl = d=+1 ap, If ayy @qo-9 In ei
d is positive,
But Js converse true ?
d=1 * Gp, 3pt2)=1. | 23, meee yer ee sate
1. If(a, b)=1 and c/a, then (c, b) = 1. (a, 6) = 1, then g.c.d. (ae,
iti) If g.c.d.
2. Ifaand b are relatively prime, then any Y common divisorvisor ofofaac¢ and b is is aa divi (iv) If g.c.d. (a, 6) =1, pliner 3
divisor of c. | “ Ha ad b are non zerooie
3. If(a, 6) =I, the(an¢, b) = (c, 6)
se f(a, c)=d, a/b and c/ b, then show that ac/b d.
Show that (a, 6) = (a+,b).
» EKG Bee eatin,
Scanned by
Scanned by TapScanner
TapoScanner
158
*
Continuing like this, we get ‘a
(a,b) = (4%) = Vy) = 15)
seseseecseeeeee
eeecebanneaeeee
= (rela)
= (7,0) =%
of a, b.
-. 7, the last non zero remainder is g.c.d.
combination of a and b.
Cor. 1. Express G.C.D. ofa and basa linear
Proof : From Euclidean Algorithm, we have
b= aq,t", 0< n <a
CL at lll a
: “
a
mi. alae ‘i 4
Ta n-3Tnd nd
typ 2 8ES ee
a ete
eo a
Scanned by
Scanned by TapScanner
TapoScanner
Peis
ae
Scanned by
Scanned by TapScanner
TapoScanner
; - ya é +3054 = 6 +7 ae
| Example 2 Find iegersxand) sta 12978 eo: hea :
Sol. Firstly show g.¢.d. (12378, 3054) © = ee a es : a
Here = 3054 (4) + 162
12378 Soha “a “an prea Su a
- =es162(18) + 138 12 162)3054(18 The 21 ee
baa:
sre
1 a he 162 | yea it 8 =5 ae i, I 7oi
x + 2378 y
g.c.d. (1769, 2378)= 1769
iti
ER apae ie
ae |
» Her ot
mt
(eal.
Ga ise Treat96
- Ea
i
‘,
a
Sie ri.ak
pets be e :
a
é
ne ‘ha
|
are
re
ae
athe Ff
i
io il te
Scanned by
Scanned by TapScanner
TapoScanner
ee
hos te
oad
=18x57- ~2 x 512
6. Find y Gateges) oe
@ 8 at NNN
w 68 +710 ye
Scanned by
Scanned by TapScanner
TapoScanner
ano NCS srsieninsina tn
SrocTRUM DISCRETE My f at
ene Ps a te Pe
;
age Capen eae Neh P ™. ae ast ple farsome 1 Sitser
UTR. Sper peeendaee
tf 2~o te G2?
? * Oe ee ao
mmc esd EP eon rem ; ae
LRA Pr seem © sh dapeede pis = 2 gp B® af primes is infinite = sab aa
| ae prumes a ee
Se ee
sr 42. >
elie FH TT
= gilt.
wee o- 42,4, > Pib ep ae JAI, €
Sprata=
: 4: +
ee 2 is i
Scanned by
Scanned by TapScanner
TapoScanner
168 SPECTRUM DISCRETE MATHEM,,, |
ou
uv se 3
- S
ms
Scanned by
Scanned by TapScanner
TapoScanner
170
If Nis prime, then clearly N> p and Nis foe 8 F*> 4k+1
If N is composite, then N has at least one prime factor TPS
Take a=3-5-7......p,6=2
“ (@5)=1
Also
N= a? +8?
=. Nhas atleast one prime factor of 4 &~ | type.
pete theorem is complete.
= N has at least prime factor of 8 k+ 1 or 8 &* 1 type.
If %
[- every number of ype 4k + 1 is of type 8 F~ I or 8k+5 a5 kis even,
fthe aT is composite, proceed as above. |
same type. ifm,
But the product of any number of primes of 8 k + | type is again 0 ad
er759
3
Since N is of 8 k+ 5 type. v4
none of primes 3/595 1, Ths Myre , M1 (say), all > 1
-. N has atleast one prime factor of 8 k+ 5 type and it is > p as ai tena“sp
-
divides N. that m,_, is prime
we shall have to accept '
op es | Py (say)
Gm both the cases, there is a prime of 8 k+ 5 type which is > p, which is impossible, Uikimately
~
> 8 « n= Pp Po P3
”. is wrong.
Our supposition
“number of primes of type 8 + 5 is infinite. Z i every positive integer ~ 1 is the presi eta.
rrwigge os the above primes in the in $2*. |
‘Cor. Prove that the number of primes of the form 8 k — 3 is infinite.
ail 4 1 sur, then we can represent n as pal Pa
ei Proof. The primes of the form 8 k—3 are primes of the form 8 k + 5.
ie , | ‘ne CP ie
eid
;
i Or Let n be any positive integer > 1. " 1 wag
Scanned by
Scanned by TapScanner
TapoScanner
=>
> = N- = I: a tee<tt + 2 =k . | a = ‘ H
% 1 ate ene of riesin ios wy. a
. Lp eaiecomte nib e
“every natural number > | is
242 = m+2 RH = -
a rs
ag
lase 43
in Sota 16 x 315 = 16 x9 x 35-21 *3 2947,
= 9m’ piles
x=3 x 38
9 5=
5x
) 9xRS
= 3 33 x 5x77=3=3 XT7x
X LI
:
(iit) 10 x
3 9
11 55 5
=9
= 3xS? xT? x1 is a composite number.
(iv) 40425 = 3 x 13475 $3 x25x 539=3 X25 X49K bie aa: 242
es p >
ea all
:Hence pt 21 isa ce number for
: Feat ee tata tehmtnticr bm+S: meZ. ie p? +q4 is a composite nul bee wil
ne = be put in the form 6 m, 6 m+ 1,6m+2,6m+ 3, 6 m+ 4,1.6 Sol. Given p,q are primes such that p— q 3 =
Hae
| Now pe +q7= (p? -1)
For oie td and 6 m+3=3. ‘pies gsi % a = ,
es ei Gm+1,6m+3=3Qm+1),6m+4= 2G m+2) ar
- plas Bs ae. eS
iw fy «fs7% i
pe P_\= ? PP =(p J
if,SOT on
ae agar ia
% as
Scanned by
Scanned by TapScanner
TapoScanner
NN
__SPECTRUM DISCRE
i74
7 a ta
prove p?-l is divisible by 24.
Example 5. For any prime p > 3,
61 G I 0 Or
L ? G 07P°0
4 7 NS ae
Sol. Any in te oft
ge he
rsfra
out of which 6/, 6/+2,6/+ com6/
+4 are3, posite
(2 6/6/, 2[6/+2, 3/6744
aA
“. i
any prp> is of
3m
q
If p=6/+l,then p2—1 = (6/41)? -1=360" +121
: nes oy =
=12/3/+))
pt=-1 =12@m)6m+D=24m6m+) ae
= | Luo to et ee
wad = 12(6m+2)(Qm+l)=24G m+) Ome) ise sie
xe eh jen SS + hae
= by 24.
p*—1 is divisible a
If / is odd, then /=2m+1 ae is a
is Pp -l =12 (2m+1) (3(2m+ I+)=12(2 m-
=24(2m+)Gm+2)
p?=1 = 12(6m+3+2)0
= 246m-
hi
Us a is
© P
Scanned by
Scanned by TapScanner
TapoScanner
eae q
FA |
E
‘
EXERCISE 1 - 1 4
b by 1 2 if p > 3 , o d d .
q .
's d idi
v vi
i si
s bl
i e b l e
i m e s , p r o v e t h a t p +
If p , q a r e t w i n p r
1.
c o m p o s ite.
g e r n > I, p r o v e n t + 4 " is
2. For any int e
i s a c o m p o s i te n u m b e r.
s h o w t h a t n’ 4 . 4 + 4 i s a c omp
3. For any integer n> 1,
number.
g e r n 2 1 , s h o w t h a t 8 P +] i‘< saaccoommpposite
4. For any int e
is @p e r f e c t s q u are.
a r e tw in pr im es , sh ow th at pq t+ 1
5. If pandq
+n 2 + 1
+1 is a c o m p o s i t e n u m be r.
y in te ge r n> |, sh ow th at nt
6. For an
3 :
e of th e fo rm n° —1 is 7.
7. (i) Show that only prim
; 2
Show that only prime of the form n* —4 Is).
(i?)
ve each inte ger n> 11 can be writ ten as a sum of two com pos ite num ber s.
9, Pro
oe
fia
Scanned by
Scanned by TapScanner
TapScanner
Ls
Ee r Py re F i 7 i - F
a . i
.- u
See ee = A 5 ee - oe i » 4 Ey ym
7 Lace ieee ee Se ee ee ee ee a) ee eee fe ee ee a ee
7
Scanned by
Scanned by TapScanner
TapScanner
[6=1.2.3.4.5.6
gina ia Sh aa Men ce
|20
An Important Sor
[n =n(n—1)(n—2)(n—3)...3.2.1=n[ (@-1) (2-2) (n-3) ste ean
Pee ee ee ee ee | itig@t
& # & & @ SES Ce RR ee oe 'tiheteiaasas
‘tei es @
similarly
(n + 2) (a+ In =| n+2
ote 1. Since| 7 =n|n-1
Put n=4
l1=1L0
1=(1)( 10). ma fOd
We will
also prove at a later stage that | 0 = 1
Note 2. Factorial of proper fraction and negative integer is not defined.
be a ee
Scanned by
Scanned by TapScanner
TaoScanner
SPECTRUM DIscre TE Ma
is Ty
Py lens 52 =a §
180 ions ANP ee
_ WwW shen
Example 2. Evaluate
Be
Pee
(iii) n= 15,7,=12
eee et i
: (ii) eho
(7) n=6
]
= r=2
. sot £32123. ee 6 I :
r=2 i
Sol. L. (i) .
1 =6
(7) When
,
» Teno De! (n-2)(n-3) J Me
—
(2x |4 (n—2) (n—3)=6 - (n ~2) (n—3) = (3) (2) j
| 2| 4
_
citi.
oe
=4 EXERCISE 1.1 i
‘ie
”
7,7
(ii) When n=
at 35 s ey cine
| 4x@Gx2x1)
n-r [4 5 7-4 | 4| 3 , Evaluate [8 [4 -|3. ae
[7
8 if
(iit) When n=
15,7 =|?12
n peace
5 15 15x14x13x] 1212
_15x14x13] _ 2 Comoe Ta a
[| 12] 3 | 12xGx2xI)
45S [a aes
ib
ee
ea oa
Se conpte [| 25s) 4 eee
th,
Rr
]
ae
Example 3. If [6 [7 [8 is
a iad ig
5, Evaluatefe. E L ay: hen
Wen Ss n=5, r r=2 t!
id
is
erie
a
it:
matey (te
ati
n ae
when (i) n= 6, r=? (ii) n=9, p=
6. Evaluate ieee
rt : [meen apg me 5 hae ae
| 6 7x| 6 8x7x| 6 7 56 7 56 ig
7 beech k d
S|? 35
oa
r= 3x56
7 =64 F
8 If —+—=—:: find ié
| ] xr
[9 10 [nee sae
H Example 4. If n+ 2 = 2550 |n, find x, :
=]
On
=
iI
el
o.
se
=
=
|
=
3 on ba
ES
+ x
ceed ”
ae , oe 12. Basic Counting Princi
ples
There are mainly two counting pr
inciples namely
Rejecting n=— 52 as n cannot be negative, we get n = 49. () Sum Rule (ii) Product Rule
iH These ae y
Example 5. If Ls an Ln are in the ratio 2 : 1, find the value of n. Counting SHR a form the basis of permutations and combinations and so are known as basic
2|n-2 n-4
[x
Sum Rule
AMS Aa aoe
Scanned by
Scanned by TapScanner
TapScanner
ee i
;Exetoducat ae 3 NF
vy that one of them can be performed in m ways and Whenwhe. ipo Ui P <agplt
op ion tthe
0 digits| is allowed?PW(in)
| ee Fr or of given digits = 5
ways. Fundamental Principle of Counting
Le. FPC (la ay ae of places to be filled =3 gre
in ‘m’ different ways and if corresponding to each of, % ; z here are 5 ways Of filling up the first place,
| . + Nelo
a
If one operation can be perforth are ‘n’ different ways of performing the second operatic. oe
"Va
Be ofca cette - othe two operations taken together is m X n. ; then : ir 00 by fundamental principle of counting, — 668 ak
ie there are ‘p’ different ways of performing the third operation then the number of differen wi here are 5 ways of filling upthe first plac
performing the three operat togethersism X1” X p andso on.
takenion (i
iid lace. % he
Note : Fundamental Principle of Counting is known as Fundamental Principle of S * a
by fundamental principle of counting, |
t
ital number of 3-digit numbers = 5 x 4 x 3 * 60 ease
We give some example to illustrate the above principle.
-
(ILLUSTRATIVE EXAMPLES) © ) : <a ‘i sample4. How many numbers can be formed from the digits “3
med from the digs
Example 1. Find the number of 4 letter words, with or without meaning, which can be formed ) : J vite help of these digits. | si , E
letters of the word ROSE, where the repetition of the letters is not allowed. e. Hence, number of one digitnumbers=4. = ae
Sol. ROSE (6) Numbers with two digits : First place of two ¢ or 3
Number of letters = 4 in 3 ways.
| pice can be filled oe i ebenia
Number of places tobe filled up = 4 | =4x
Hence, number of two digit numbers ee
‘e
| i.
re
ee
as a! a:
The first place can be filled up in 4 ways as any one of the 4 letters can be placed there. Af if ho
ae: 7 in ae nee of the 4 ways, there are 3 different ways of filling up the second Number of three digits number = 4 ;
5 one of the remaining 3 letters can be placed there. Therefore, by the principle of counting,the ty (@ Number with four disits - va:
Bs taken together can be filled up in 4 x3 ways. After filling
the two places in 4 x 3 ways,the third BP ie ope hate .
nee abe : eo as any ane of the remaining two letters can be placed there. So, the hr bY ee mt offour digits numbers = 4 Se
me rat aide icgeeenea x 3 x 2 ways. After filling the three places in 4 x 3 x ec, *, total number of digits formed with
—— euived up in | ways as the remaining|1=24letter can be placed there. a Fun §belowFind
"(oe the numberonaof
the aiken ee signals
different tha
na "+ Fequired number of words = 4 x 3 x2 x : ‘of flags = 5 | seal
ie: Example 2, In how many ways can 3 itd Sol)
. people be seated in a row containing 7 seats ? :
Sol. First person can be seat
ed in 7 ways
aa
Second person can be seated in
6 ways
and the third person can be
seated in 5 ways.
eee By the fundamental princ
iple of counting total number of ways
Seven seats in a row in which three p
=7x6x 5=210 ao | ait date Rg mit
a
Jit ale ake ae
hs os hae . ed -
ain
erg = eat. \
per rks
a es
es
ie
atie
e OU eeta. 4
‘ i
.
4
nat eS Se a
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRET, ue ’ OMBINATIONS
‘ A
. ie \
be made by arranging at least sts of 40 girls and : 60 boys. In how
184
' ber of sigterent signals
: that 628 three Ags
NI ;
Nea A C ass p
nsi
d secre tary be chosen if the tre asurer
many
must be
wa:
ves :
s
YS can a President, vice pre
Vice ros +
Example 6. we pope flags are available. in, -m 6 yess e not bol d more than one office 9 4 girl, the secretary n : bea boy and ¢ eee
required number of signals = 120 + 360 + 720 + 720 = 1920 ‘ci 4g Bia Combination e aie aos it s
ould
:-
2. If there are 20 steamers playing between places A and B, in how many ways c
from A be made if the return was made on tata
i 1.
= a
(i) thesame steamer, (ii) a different steamer ?
| 3. A coin is tossed 3 times and the outcomes are recorded. How many possible o " .
How many 4-letter codes can be formed using the first 10 letters of the Gnelich <
ah
letter can be repeated ?
5. How many 3-letter code words are possible using the first 10 letters of English a
() nolettercan be repeated? (ii) _ letters are repeated ? 5 ae
|
6. How many 5-digit telephone numbers can be constructed using the digits ( :
starts with 67 and no digit appears more than once 2 weve te
Scanned by
Scanned by TapScanner
TapScanner
are
xmite 2
as e i 2‘ isi | | ; ‘ rs
;
fi
| ii 5;
ILLUSTRATIVE EXAMPLES
a ys é
Example 1. Prove that
, RHS,
= 2+ "P,-9= sax
“ LHS.=RHS. is |
(ii) LHS.="P=10x9 x 8=720 nese
f | R.H.S.=?P3+3. °Pr=9X BX 743.0 x 8)= 504 +21
L.H.S, = R.H.S,
Scanned by
Scanned by TapScanner
TapoScanner
Find nif p(n, 4) = 20 P (en 2)- | i
Find nif PC n.3)= 100 P(
", 2): eee
:
Find nif 30P(n,6)=P"™+27) oo - tra a
that
Find the value of such es 1 ’
n>4
3"
ZS
(i) Gap,
"Py
(y "Ps = 42 "Ps 07
on
‘iL Ree
5. Findr if: : 6
() 5P=2°P,-4 25
Cited wit Phe + a Hage
ane
P r a g : P r=o30 s
80 0: | find r.
5, If ‘
3
—— )
n
ac ti ca l Pr ob le ms involving Perm utatio
1.6. Pr
Now we will apply the formula
to practical problems, 3
7) =n (n —- 1) ( n - 2 ) (n-r+1)= a n= .
P(n,
e 1. How man y 3 -lett er word s can be mad e using the letters of the words. 0) with Dowowel
Exampl n= 7
a4 , eC a
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE May oi AND COMBINATIONS’ ise
| th wow many numbers lying between 100
190 a sf ned from the letters of the word "pr a 1000 sat
:
| ind the number of different 8-lertet t Se ion?of the garantie = a iad
ea nae vowels occupyiné te | perween 100 and 1000 consist of'three digits, rplits Pe
Sol. T R I A N Baer ; iM nt 1, 2, 3, 4,5 ’ haus eee
| 2 3 pasta
.< x S given qumber of BV en digits= 6 NE fa eit. ete ae
A
i . ‘ cages a oe aa fie i
N bers formed of three digits = ° P; =6x5x4= = ieae
‘2 YO ee ranged in four x marked places in *P; ways.
-. the three vowe ed among themselves in | 5 ways. those numbers which have ‘0° on their.
bo ee os
Also the five consonants can be arrang
required number of words = "Ps x|5 a ot of three digits.
=(4x3x2)xO*X 4x 3X 2 X1)=24 X 120= 2880. ig we have to exclude these from the total.
s ba |
an in g, can be fo rmed using all the letter ‘ee
ore find numbers which have 0 on the extreme left position, weefi 0 a
out me
_ How many words, with or wl ith ?
Wor
together
soa ti me 4 tha t the vo wels and consonants occur
ure
Sol. EQUATION sips
| peremaininein two places out of five digits at our disposal which can be done in 5p
Consonants
are Q, T,N —E poways:
Vowels are E, U, A, 1,0
letter.
fa the
greater than 80000 can be formed using
one
5 voweasls
Consider 3 consonants as one letter and also
two letters can be arrangedin | 2 ways. ce
| wachampledigit is10.usedHow onlymanyonceoddin numbers
a number ? al
Also 3 consonants can be arranged among themselves in | 3 ways and 5 vowels in themselves in| Sol Given digits are 2, 3,4, 5, and 8.
fick. | number of given digits = 5 a
= | 2 X | 3 x [5
number of wordsd
require | ery a time = 5
of digits to be taken at
Number ideal
=(2K 1)XGX2*1I)XGX4X3X2X 1)=2 x 6 x 120-1440 Since number is to greater than 80000 2 inh: eae
Example 7. In how many ways can 5 girls and 3 boys be seated in a row so that no two boys are together, | first digit from left should be 8 od ea aa
Sol. Let 5 girls be G), Gy, Gy, Gy, Gs ‘. fix 8 in the beginning.
Gi Mia Gs MGe %, Ogi he Now 4 places
are to be filled with4 digits. eh ea
‘’ no two boys
are together aah ' Again numbers are odd z hee a Pee pase oo
3 boys can be arranged in 6 *X’ marked places in Sp, ways. ‘numbers should have either 3 or5 in teeta
Also5 girls can be arranged among themselves in |5 ways. * end’s place can be filled in 2 ways,
required number of ways= °P; x | 5
ee places with3 digits can besfilled in >3p
x3 x2x
4x3 l= 20 x 120.=O= 14400 mud numbers “ben
) x (5x
(6 x5x4)x
=(6 ( x2 x 1)=1
Example8. How many 4-digit numbers can be formed by using the digits 1 to 9 if repetition
not allowed ? ems le 11,1 Taniamany different pcan m
| "rik | signals can
Sol. Digits are 1, 2,3, 4: 5, 6, 7, 8,9
ae ih tof flags = 5
total number of digits=9 = yo a Tg
Number of digits to be taken = 4 Y aeniaaind
j dae e
“. numbers formed= °P, =9 x g
x. 1x6=3004 By
nts . oe Cus
Scanned by
Scanned by TapScanner
TapoScanner
a".
: 192
fagsatatime= Ps Pe anh diferent Sleter w
Number of signals by hoistne aime =P - a oe is tohave vawelsen ccupy
.* Me
:
*
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM DISCRETE y,
De aa ae |
as different. nk
| ‘
if = 4
of n;
® pine pe a
ade
# = tn Fee
umber of permutations :
ede and of et ing alike and denoted by *a’, 4 of th
er ‘Sm |
ened fo
Proof.f£. Let n things be denoted by Ee
and denoted by ‘6’ and the
e x X |P
Now, consider one of thes s. A:
emg tes
bi, th --- ce uca changes mag _
peut wi eve rise gpemmutaonandifs
; «sch
te to ta l nu mb er of pe rm ta ti ons will Pe * [P|
|p permutations then
een ings lena} 3 8NE BT
ou number of peut of
ber
of permutat
Example 1. Find the num ions of the letters of the word ALLAHABAD. —
ALLAHABAD oT a ge a 6
Sol.
ue oe gat ¢ va
aig
eaeof icy a / pi had F% Pie ia
A’s=4
|
=2
Number of L’s
Er ae
mindomioen=5
ud ©
Scanned by
Scanned by TapScanner
TapoScanner
{ul
Remainin11g letters can be arrangedin px[4x22
=
11x10X9x8x7XOX5*14
Gx
_ 138609
2x1)x[4x@xD
one letter.
(if) Consider five vowels as
wm a
* sens canbe arnglin =<
in + ways.
Also five vowels can be arranged in themselves
ah
of
*
number of arrangements in which vowels are always together
[8 : [5 _ 8xTX6x5%4%]3 X14 Same
10x9x8x7x6x5x|4 ‘sage a.
- —————— = 1960)“aed
(3x2x1)x| 4x (2x1) Se
Example 5. How many numbers greater than 1000000 can be formed by using hodient
Sol. Given digits are 1,2,0,2,4,2,4 ae
“. total number of digits = 7
Number of 2’s = 3
Number of 4’s =2
Number of digits to be taken at a time =7
Scanned by
Scanned by TapScanner
TapoScanner
6 be ad s of di ff er en t co lo ur s form a necklace ?
Example 1. In how many
ways can , i
—- = ie
ay
Sol. Number of beads = 6 "|
“5 =— x(5 xX 4x
* required number of necklaces Oe > D6 “|
ie
i Th
ways.
This can be donein [5-1 i.e., in| 4
[5 ways.
Now5 girls can’be arranged in5 vacant seat ‘Ps i.e,
iS; required number of ways = |4x|5
=(4x3xK2X1)X(5X4X3X2X 1)=24x 120
EXERCISE 1.6
a round tableprovided Parveen
In how many ways can8 girls be seaatted
together ? adit ia
In how many ways 4 boys and 4 girls be seated at a round table p Se:
betwee ns?"
two girl ets
The Principals of six colleges seat themselves round a table
‘problem. in hey eae Oe i ee e an
1.10. Combination
RS ory ee
’ SSeS
Scanned by
Scanned by TapScanner
TapoScanner
“ Ss ugh gee tol eae “A ate
: ons 2 ,
nies
saanlyest®combinationsowen thing.
“nthings taken (r— 1) ata time.
things taken rat a time.
+ number of com in | : L. verify that ad ata get orm a at
| “a pont sec 4)+C (8, 3)= apes oe os
ovG = ae se" C, | oy B | m oP gx 7x 6x5 | 8x 1x6,
Another method
[n+l Oy
RHS.="*'¢,=——
[r n-r+l
Nae
_—
—_—_—_—
LHS.="C,-1+ *
Ln Ln
erreite -r+l “Tr [nor - [r=1.@e Pri ee
< La , +t]. [n ti
[r-1|n-r[n-r+l or [z=-1 [n= 219 Th r+) ce
[n n+1 |- (n+ 1)|n_
‘fete [roar] CED Gar+ dpe
L.H.S. = R.H5, a=
OR “Aa
om
Tete pa
Scanned by
Scanned by TapScanner
TapoScanner
“te
i. of - ie
Pare eee *:
eae SEB ‘oom
at 3 ah ay? yz
re Py
+90)+ 9G+9Oy,
3 n- I3r+13= onto
4n-13r+4=0
“ais
Raligt 2 wir -
ee
hb pote Aangve
7 =6:9: 13, find ante
nWebe Sac
SPARES Fy oF
Scanned by
Scanned by TapScanner
TapoScanner
vena + ph 5: fr
|
Ss
:
ILLUSTRAILV
be selected fro
Example 1. In how many ways can a committee
(i) 3 members. i) 13members. wg
= ee ot ‘+ amk «
Sol. Total number of persons =15 ae, So 3
hry = Bile
() Number
of persons to be selected=3
Scanned by
Scanned by TapScanner
TapoScanner
206 SPECTRUM DISCRETE
‘ Le
. Example 6. What is the number of ways of choosing 4 cards from a pack of 52 Play
E many of these
| (i) four cards are of the same suit,
(i) four cards belongsto four different suits,
(tii) are face cards
(iv) _ two are red cards and two are black cards, Fs: .
(v) cards are of the same colour ? | pont nena al
Sol. Total number of given cards = 52 id ona a 9 3
Number of cards to be selected at atime=4 ag ag ciao
: 2c. =- - 52x51x50%49 _5 a
- in
rey
= Pat
“: required of ways = “C4
number “TxaK ax 4
biapedl ‘sndhhe Z my
(7) efou
Thare suits namely diam eH chu
rre
Scanned by
Scanned by TapScanner
TapoScanner
(6) lboy, 4 girls Pues ; Bik dost
4
es inchivea sider eGR 1G Ep Cass ae
1x6 AT <a |
= Cy
Tr. x. 4 °C)+ 7 Cc; x1; ee
PG.basta
=§4+7=91 — se
Example 8. From 5 consonants and 4 vowels, how many words can De ¢ nstructed
2 vowels ? me eg te “rte
Sol. 5 consonant ou canbe sels in", way and vowel ot of canbe
5x4x3 Ax 3
. total number of groups fixie, x ‘o= 1x2x3" ix =10 :
Now each group contains 5 letters, which can be at = ged amo!
required number of words formed = 60 x|5 = 60 )
Example 9. How many words, with or without meaning,¢
from the letters of the word DAUGHTER?
Sol. DAUGHTER cient
8
Pree
Scanned by
Scanned by TapScanner
TapoScanner
a Saar eaeaiael mea
SPECTRUM DISCREYR. 2
——=—_—_—
Scanned by
Scanned by TapScanner
TapoScanner
212
1.16. Introduction to Elementary Combinatorics
Discrete mathematics or combinatorics deals with existence, enumeration, Classifica,
"
©ptimisation of arrangements or selection of discrete structure. birdy Cviok FES ep aad mE
since; ig
Le hy isteD
e 4
Nitta al rales |
Scanned by
Scanned by TapScanner
TapoScanner
214 : SPECTRUM] )
uu ih SayA—ia
Sol. (a) Three english letters can be choosen in 26*26*26 ways.
Four digits can be filled in 1010x1010 way ai Ta
as
Lt
M
Scanned by
Scanned by TapScanner
TapoScanner
216
: = snletaersda table ti udents }
a P Rate | eed Q
= epudentsene
ier 32 SES
ee will have :
m5) 5 books each ad
ton of objects in whch objets rallied 10 erpete i clled amu
cllecs
grAee
= SS St Oma ae B
e.g. S={a,a,a,b,b,c}={3*% a,2%b,1*¢}
§ Wy) os rhe tc Yeh se ,
In general S = {ny Hy Pa yy ereesreny My MARS its,
isa multi set in which a, occur 7 times, 4) OCCUF 7p Het and anon
1.19. r-permutation ar ita: a
elements from J
By an r-permutations, we mean an ordered arrangement of
of nS is just called a permutati
n-permutatio on
ofS.
1.20. IfS is a multi. set with infinite repetitions then the number of
where k = number of distinct objects in S. uae el
Proof. Since each of the r-place in the arrangement can be filled in k ways. by
objects. | 7 ae
” By multiplication principle f i # a ; il ed da Diet ae has ae : Fe
Scanned by
Scanned by TapScanner
TapoScanner
218 —_— — =
SPECTRUM DiscrE
Proof. There is a one-one correspondence between the above solutions and the choice of
as follows
from {1, 2, ....... m—1} a
Let Hy + Xy Hone. +x, =m, x, 21.
Xe yey a aa Sg hay; a
This gives solutions ofae ae I; 21 ES Eo
Scanned by
Scanned by TapScanner
TapoScanner
(0) ” they are an or aitnacat Ravous cm
(7) they are not necessarily of different flavours ae
(tif) they contain only 3 different flavours Ob sat og:
(wv) they contain only 2 or 3 different flavours ?
urs
be denoted
Sol. Let the flavo by A, B,C, D,Eand F.
()Here we want the numberof ways of
of 6 different flavours.
Hence the
| Rencrniees aa 2 7 soot
pet a ; Aa au
requir: ed number of‘ofdidifferent ol flavours is C4 > oe actS e
(i) The number of 4-combinations of 6 Seen alloy
(7) The number of ways of choo: ing 4 cones of
F Mpaiegtame sts
eB f ' cS ys ‘-? ae dyed
_
Scanned by
Scanned by TapScanner
TapoScanner
222 SPECTRUM Discrey ss eet ee Sa i gen ee greta fh oe
es “ — ———S
14 p
of g
n
Example 2. Find the number of ways of choo12souti
ih
i)
et
Spy ts j Vie
Scanned by
Scanned by TapScanner
TapoScanner
224
Multiple of other
Sol. Each number can be represented
by (2") X n where 1s oc
So now as there are only 10 odd numbers between “4 hg “select
eee 11.
1, 2. 3. ccsouy 18, 19, 20 then by Pigeon Hole Principle wo
two of then
thom ae bound
Hence one of them can be divide by other. Hence proved.
Pumpe een yorar ns eprbnge obo ar
no farther apart than 1 unit. oc wsioglnosgig went Dg
Sol. We must find the pigeons and the pigeonholes.. ‘So divide the
Will be an equilateral triangle of length of each side as one 1unit, Now
po pve
points as our pigeons. So by Pigeon Hole Principle two
be at a distance less than one unit, Hence Prove.
coach rae
oes hee
(+2+3)= fesse aan
fro ofthe tl ia ae ae
Scanned by
Scanned by TapScanner
TapoScanner
226
oi SPECTRUM Discy
Hence at least one of the numbers Gy, F75+
09 Gy is greater than or equal to k,
nee carne:
ia ‘ha Ni 6 an, ‘EXERCISE
Similarly if each of the numbers a), 4,-.,4, iS greater than km, then the sum of | Zak
cs a rs) es 5 aia |
ace | ; ee An est a
Would be greater thank which again ona (1)
less than or equal to
thal ther is at easton ofthe
k
2.4. Pigeonhole Principle (Strong
Form) ‘
Let F1>92+--»4, be positive integers. Ifgq,
+ q2 + ...... Qun—nt1 etiam
objects are put into n boxes, then either the Ist box contains at least q,
objects, or ¢ .
least g, objects, ....., the mth box
contains at least g, objects.
Proof : Suppose it is not true, that is, the ith box contains Veepmies
at most gq, —“1 objects, i= |1
total number of objects contained in the n boxes can
be at most
(91 1) + (go -1) +... + (Qn—1) = 91 + Qa tn + n—1,
whic
is one
h less than the number of objects distri
This isbu
a contr
te adict
d. ion, —
Fre, Pie form of the pigeonhole principles obtained from the strong form by a
ng
Then N+ 92 +..+9,—n+1=2n—nt+l=n+l
aS ee
Cor: In elementary mathematics the strong
form « ) the pis onho
Special case when g, = gq, =. = qn =r. In this case the principle
b
° ifnzc¢-— 1) 1 objet repaint
boxes, :
objects.E
Scanned by
Scanned by TapScanner
TapoScanner
228 SPECTRUM DISCRETE y
~ es | x :
Example 2, If 11 integers are selected from {1, 2, 3, 100} then prove that there are at teas
Sol, Let x € $=
{1, 2,3,..., 100}. ef
Scanned by
Scanned by TapScanner
TapoScanner
230 SPECTRUM Disey
tn ae
Example 7, A storekeeper’s list consists of 115 items, each marked “available” or “unaya:
if there are 60 available items then there are at least 2 available items in the list exactly
4
Sol. Let the positions of available items be A] +29. GQ:
Since agq < 115, therefore, the 120 numbers
ay < a> < veg
Scanned by
Scanned by TapScanner
TapoScanner
oe
232
Scanned by
Scanned by TapScanner
TapoScanner
_ SPECTRUM DIscre
= . then 1 Ao. elie 3 Ladi vigeavce
Thus if p is| the smallest prime divisor of any _
= . 1 ivi -of My
7“ Me ss
| pins of BC and AC respectively. id ex
psn, <19.
17,
But there are only 7 primes namely 2, ae ste i, 13, 17 which are less than
eo
Hence by pigprinc therh
iple,n oatl
e are etwo 1;'s which havea common p
least
means there are at least two composite numbers which are not relatively prime. ee
one of two colours t
Example 16. If every point ona straight line is coloured with
| * aa z
segment whose ends and mid point have the same colour.
Sol. Let every pont ofthe straight ine be coloured with two colours re and black, 4
Then there exist2 points, say A and B , withthe same colour, say red.
os ete © ee aah
Let C be the mid-point of AB.
a Bs je
We have two cases
Case I: When C is red. nemo? aa ane to) a
is the r seg en ene tee ca vt radt ‘fuse ie aie
In this case ACB
aes ag ee pe patihets 9 e |
Case II. When C is black. Ca
, x— =
A’
Scanned by
Scanned by TapScanner
TapoScanner
236 ee =
example
Siet hg:a
O 6E in oma
umca ci ese
pore
Scanned by
Scanned by TapScanner
TapoScanner
5
Scanned by
Scanned by TapScanner
TapoScanner
3.2. General Principle of Inclusion— Exclusion |
Let A,,A.,,...A,, bez finite sets. Then
$ DAQAP SO Ag mt C O M AY
sels
<i<j<ksn Pee
Proof : We prove the result by induction on 7.
For m = 1, the result is obvioustrue.
ly
For n = 2, the result becomes
a
a
are tev.
sae
=
-
=—ee
a
oe
a
ee =
er
Scanned by
Scanned by TapScanner
TapoScanner
ane SPECTRUM D
Sol. Let M denot € the set of teachers who teach mathematics and
P denote th
teach physics.
nee
oie
Scanned by
Scanned by TapScanner
TapoScanner
244 SPECTRUM DISCRETE y a
: Now (TO C*)=n(T)-n(TAC)
l4= 30- n(T AC) = (TNC)=16
number of persons drinking both tea and coffee = 16
- Also n(TUC)=n(T)+n(C)-n(TNC) |
50= 30+n(C)-16 wo
n(C)=36 Ute is
number of persons drinking coffee but not tea ‘even a ad
=n(CN T)=n(C)-n(CNT)=nC)-n(TNC)=36-,,
Example 9. A town has a total population of 60000. Out of it 32000 read ‘T
Paper and 35000 read ‘Times of India’ paper, while 7500 read both the news
many read neither the Hindustan Times nor Times of Indian —
Sol. Let U denote the set of population of town, H denote the se e0ph
Times and T the set of people of reading Times of India.
tty naats
(=H )
32 00 0, n( T)= 35 000, MOT)=7500
n(U)= 60000, n
Number of people reading neither Hindustan Times nor imes of In Fp
U) - nH UT) Bi
=n(H' VT’)= n(H U T)' = n(
ae n(H TY] = 60
= aK)—UNE) t0=
= 60000-5950 500
Scanned by
Scanned by TapScanner
TapoScanner
246 ee a zs SPECTRUM Discrrpr:.
RETF <_
Also total number of viewers = 500
Now » (F UH UB)* =50
> 500—n(F UHUB)=50 > n(F UHUB)=450
= B)— si
(HM n
n(F) + n(H) + n(B) —n(F MN H)- E) den cri
> 285+ 195+ 115—70-50-—45 +n(F NHMB)= 1502 1H z
viewers watall
of er
-. numb chithe threegam
ng es=20. = | 1
Number of viewers watching football alone="(FAH®A B®)
=n ©)- —n(FN a —n(FNB)+n Oe HN ma eee ‘aps |
= 190
+ 95 + 40
= 325
Example 14. In a survey of 260 collene ents,
Scanned by
Scanned by TapScanner
TapoScanner
|
5
-ExcLUsION PE
(6) Number of students who study French and German but not Russian eel
=n(E UG) —n(F AG A R)=20-8=12 reas m2 3] = 10.
Number of students who study German and Russian but not French
=n(GAR)-nEAGAR)=15-8=7 |
Number of students who study French and Russian but not Geran
=F NR) -ME NG A
ARBBAT n c been we
ja
2 hoe aan
Number of students studying only French A i aa ay fa
9 G)- 7 Osea
= n(F)—n(F ee | ae "ve Beh
Number of students studying onlyGerman
=n(G)—n(G MN R)-n(FNG) +nNG
(F AR)=
Number of students studying only Russian Shae me
A R)-—m(G 1 R) + mF 1G A R)=4 A?
= n(R)—n(F
Number of students who do not study any of the lan; wages
= n(F AG AR)') =n(U)-n(F UGU
ees
Scanned by
Scanned by TapScanner
TapoScanner
y
Iscre: TE
hotieane SPECTRUM D
oe
-
A haa it shi
Also n(U) = 1000,
() n(A UBUC)=n(A) +n B)+2(C)—M ANB) ists
543
= 333 +200 + 142- 66-28-47 +9 =
= n (A S AB E nC ") =" (A UB UC )* )
Required numbers = 1000— 543 = ASI, 3 ;
=n
enthne Ben
229
=333 —66-47+om9=1 10 1000 w Pee
mb erof integers fr
Example 19. Find the nu
.
A; be th s integers from
e setof
, A > ,
Sol. Let A}
pay) = [32 =
Then 7
Scanned by
Scanned by TapScanner
TapoScanner
252 SPECTRUM DISCRETE yy.
= |Ay|—A, NAVA, NA;)| : ye
= |A,|-[|A,;OA2 | +14, MA;(A,
|—- NA2) N (A, OA3)] ™ ¥g
4. Let A and B be two finite disjoint sets such that (A U B)=400 and (A) =:
5. In a group of people, 50 speak both English and Hindi and 30peo
not Hindi. All the people speak at least one of the two A ,
speak English ?
6. Let A and B be two finite sets such that m (A— B) = 25, ms UB)
Find n (B).
in a class of 50 B.A. IBemein 12,students hav
Scanned by
Scanned by TapScanner
TapoScanner
In a town of 10,000 families, it was found that 40% families.
newspaper B and 10% buy newspaper C. 5 % families uy
4 % buy
A and C. If 2% families
buy all the newsp
which buy () A only (ii) Bonly (i) noofne
A, B,andC,
In a survey of 60 people, it was found that 25 people read N
Newspaper T, 26 xed Newspaper 1 2 soe vend ad te
both T and I, 3 read all three news papers. Find
(4) the number of people who read atleast one ofthe ne anedtt
(i) the number of people who read exactly one newsp:
In a survey of 100 persons, itwas found that 28 ead m né
Scanned by
Scanned by TapScanner
TapoScanner
256
A , | is eq ua l to th e n u er permutation
mbof
Again | A, O
MATH, IS, F,U,N; a ae
|A, NA, | cate umber ofprmton fis
MATH, I, S, FUN ; 7 | |
of permutation of six symb
|A> OA3 | is equal to the number
M, A, T, H, IS, FUN
and |A) NA, OA;| js equal tothe number of pen sinasiof aeyitihces
UL at lee Og
MATH, IS, FUN -
=
ee
bark |
EOIN See”
="
.
reat
oJ
F
A
|
a
Ce
rt
es
ad
et
5
ial
mi
Scanned by
Scanned by TapScanner
TapoScanner
258
Scanned by
Scanned by TapScanner
TapoScanner
ag"
=e
ve
i- a fee e re
- . es
is en
{1, 2, ...,2} of n elem ts
a permu tati ion ee
autht > Wee
NS hate ceacea ri
TRE fete 2, oy be aoe Thus a derangement of eer
Gy coh aang age eae nt osition coma
We denote the number of derangements
of {1, 2, ...,1} Dae
3.5. Forn
> | ee D mle Hepeiniyg jag
M a ear
f aes 3 5 Pw ee ie
PEs . 1A)|=0-01 Visisn i
ay | The set ierie Lat |
Scanned by
Scanned by TapScanner
TapoScanner
262
SPECTRUM Disc RET
e dium Dt i 5: i Futd aepe i = ei
a
i
ik
‘ “1
; (Ts a
cece ereeeeneeeen eens steesieenrestecnrsseees 3 Tre ro :
. > >
‘
i
SOSeRESEE
Ph cheee ee ene eee ceenes
Scanned by
Scanned by TapScanner
TapoScanner
ATE TN
264
di st in ct p r i m e di vi so rs o f n,
-s si sn }- Le t Pj » P22 p, be
Sol. Let S = {1 , 2, 3, «u
vi si bl e by Pj} i. Si k
Write A, = {x E S : x i s di
s A i , Ay es | e
hy a|
ar e th os e in no ne of th e su bs et
ti ve ly pr im e to n
The integers in S rela
e | f
A, UA, eesees
| = | S |—|
= | Ay nA, (O) sasens nA,
>. p(n)
e - mu lt ip le s of d in S
If d\n = then there ar
n
aw di y N A , | = o s | Ay OV Ag Deve
5 id A d te bewene
P,P;
Pj
pr in ci pl e of in cl us io n an d ex cl us io n
By the
n
p(n) =n- ee— + >. bee sseee
P\P2
l<ij<k PiP;
i=] Pj
= fy ei a
Py P2 Pr
Scanned by
Scanned by TapScanner
TapScanner
Scanned with CamScanner
SPECTRUM Discrey P
268 EM
. . AM
i statement Is any meaningful, unambiguo,s RY
Note 1. Some authors define statement as - A AMbiguoys d Clara , aio
but not both.
sentence which is either true or false "
Note 2. A statement cannot be true and false at the same time. This fact is known aS the J, Ww
excluded middle. yy
pound Statements
1.3. Logical Connectives and Com
Any statement whose truth or otherwise does not explicitly depend on another Statement jg
. : $a]
Vio,
simple. For instance,
8 is an even number.
ents.
The set of real numbers is infinite are simple statem
ents.
A compound statement is a combination of two or more simple statem
The pharases or words which connect two simple statements are called sentential connectives 1,
tives are “and”, “op te ae ,
connectives, logical operators or simply connectives. Some of the connec
‘it
then”, “if and only if”.
When simple statements are combined to make compound statements, then simple statements»
called components. Our problem is to determine the truth value of a compound statement from the ms
values of their components.
Note. Simple statements are generally denoted by small letters p, q, r, 5, f,...
~
1.4. Truth Tables
It is a table giving the truth values of a compound statement. It has a number of columns (venig
lines), and rows (horizontal lines). The number of columns depends upon the number of simple statemea
and how involved are their relationships. The number of rows in a truth table depends only upon
number of simple statements. /n case of n statements there are 2” rows. The truth tables are very helpfila
finding out the validity ofa report.
1.5. Basic Logical Operations
There are three basic logical operations :
1. Conjunction
2. Disjunction
3. Negation
which correspond respectively to “and”, “or” and “not”.
Conjunction i
Any two statements can be combined by the connective “and” to form compound statem
A ate ent called
269
oct AND PROPOSITIONAL CALCULUS
false even if one of the
The conjuction will be true when both the statements will be true and
wcponents iS false.
in symbols, two statements are denoted by p, q and their conjuction by p A q. This is read is “p and g™.
Rule. p A q is true when both p and q are true.
Truth Table
q P A q
7
T
F F
T F
F F
Examples
1 Let p:35+7=12
q:2 is a prime number.
pAq:5+7= 12 and 2 is prime number.
Now pis true and
gq is true
p A qis true.
Let p: Every even number is divisible by 2
~
q : 12 is an odd number.
p Aq: Every even number is divisible by 2 and 12 is an odd number.
Nowp is true and gq is false.
PA qis false.
Disjunction
Any two statements can be combined by the connective “or” to form a compound statement called the
“disjunction” of the original statements.
For example, consider the two statements :
p: There is something wrong with the teacher
q: There is something wrong with the student.
Then p V q: There is something wrong with the teacher or with the student.
This ‘or’ is inclusive or, that is, there may be something wrong with the teacher or with the student or
with both.
The disjunction will be false when both the components are false.
In symbols, the disjunction of two statements p and q is denoted by p V q. This is read as * p or q”.
Rule: p V q is false when both p and q are false.
Consider another two statements :
p: shall watch the game on television
q: 1 shall go to college
PY q:\shall watch the game on television or go to college.
This is exclusive ‘or’, both p and q cannot happen together,
Exclusive OR or X-OR has the symbol V .
T T T qT t F
F T qT F T
T
E T T F T T
F F F F F F
Examples _
p¥q:5<12 or §+3=12
Here p is tue and q is false.
pY qis te.
Let p: Every even inteisge re
prim
id
q:5<3
re or5 <3.
prim
pV q: Every even inteisge
Now p is false and q is also false.
p \ @is false.
3. Let p:3+5=8
gridtée=2
pv q=(3+5=8) Vv (1+6=9)
p isw
No true and q is false.
pY qistrue.
Negation or Denial *
Negation aree
fs
P ~p
T F
F T
P ~P pV~p P ~P pA~p
T F T T F F
F T T F F
Trample : Consider the proposition p V ~ p. Its truth table is (a).
wea
—
the proposition is always true whatever be the truth value of its components.
it is a tautology.
A contradiction (or fallacy) is proposition which is false for all truth values of its components.
Mh
p A ~ pis a contradiction.
Note : A compound proposition which can be either true or false depending on the truth values of its
‘onponent propositions is called a Contingency.
Logically Equivalent
Two different compound propositions (or statement forms) are said to be logically equivalent if they
have identical truth tables.
The symbol = is used for logical equivalence.
P p | p>q P q ~q | ~p|~q7~pP
T T T T T F F T
T F F T F z F F
F T T F T F | T T
F F i F F T | T T
p>q ~q>~p
p>q =~q>—p.
1.7. Prove that
(i) ~(~p)=p
a ...[De-Morgan’s Lav]
(iii) ~(pvq)
= ~pa~q
Proof.
(i) Truth Table
p ~p (=p)
T F T
F T F
A comparison of the first and third column shows that they are identical.
~(~p)=p.
(ii) Truth Table
Pp q ~P ~q P\q \~(pAq)|~PV~q
T T F _ FF T F F
T FO F |T F T 7
F T T F F T T
F F T T F T T
A comparison of the last two columns in the truth table shows that they are identical.
P q ~p ~q PVq |~(PV4)|~pA~q
T T F F T F F
T F F T T F Fr
F T T F T F F
he F F T T F T eo
Acomparison of the last two columns in the truth table shows that they are identical.
~(PV Q=~pA~q
j&Provethat (pA q)Ar=pA(qAr) -.. [Associative Law]
Proof.
Truth Table
The conditional p > q is also read as “ if p then q” p implies gq, p only if q, p is sufficient for g, q is
&cessary
for p, q if p.
Rule. p > q is true in all cases except when p is true and q is false.
P q p>q :
T T qT |
T F F |
F T T
F F T
Pp q ~p p>q (~p) Vq
T T F T T
T F Fo F F
F T a rr T
F E T T T
A comparison of the last two columns in the truth table shows that they are identical.
P>q=(-p)Vq
(ii) Truth Table
Pp q ~q p>q ~(p>q) pA~q
T T F T F F
T F T F T T
F T F T F F
F F T T F F
A comparison of the last two columns in the truth table shows that they are identical.
~(p>qg=pA~q.
1.11. Biconditional statement or equivalence
The statement “p if an only if q” is called a biconditional statement and is denoted by pq.
The biconditional is also read as
()) qifand only ifp (ii) pimplies q and q impliesp
(iii) _p is necessary and sufficient for q (iv) q is necessary and sufficient for p
(v) piffg (vi) qiffp
Rule. pg
(i) true if both p and q have the same truth value i.e., either both are true or both are false.
4
am} a);4
na/o4j4);3
nial
soln}
N)o,
12. Prove that (pq) r=p + (qr)
proof.
Truth Table
p q r pq qr (pq)r p(qer)
T T T T T T T
T F T F F F F
F T T F T F F
F F T T F T T
T T F T F F F
T F F F T T T
F T F F F ‘3 T
F F F T T F F
The comparison of the last two columns shows that they are identical.
(po q)er=p>(qer).
L13, Precedence to Logical Operators
We formed formulas are fully paranthesised, so there is no ambiguity in their interpretition. Often,
however, it is more convenient to omit some of the paranthesis for the sake of readability. e.g we would
Prefer
to write
P—+Q A R rather than
hw
’
operations comes first. !
PpVq?qVp PAq*qAp
Associative Laws
(PV QVrepV(qvr) (pPAQgArepA(gan
nt eee
A nD PROPOSITIONA 277
Distributive Laws
ead a
ph
PAA
Identity Laws
pvorP _ pdlep
Negation Laws
ph~p?O . PN “pei
Idempotent Laws
pYp?P _ DA pep
— Null Laws
prowl pVlel -
ne Absorbtion Laws
pAPVg?P ; PV (pA g)ep
DeMorgan’s Laws
~(pV a (~p) A (~q) rE ~(PAD*Cp)V &~@q)
Involution Laws -
_~CpP)ep
1.15. Converse, Inverse and Contrapositive
Ifp > q is a direct statement, then
(‘) q->pis called its converse (ii) ~ p > ~q is called its inverse
and (iii) ~ q > ~ pis called its contrapositive.
Note Since P?>q=~q>~p and gq>p=~p+~q
contrapositive = direct statement and converse = inverse.
Note. If the direct statement is true, then its converse
and inverse may or may not be true.
1,16, Duality
We know that dual relationship between ‘line’
and ‘point’ exists through the interchange of the
Meet’ and words
‘join’, For example ;
‘A line is the join of two points’
‘A point is the meet of two lines’
Similarly there exists dual relationship in logic. We first interc
hange A and V.
For example :
~(pA q)=~pV~q
~(pV g)=~pA~q
€ \2
j
p= “you can ride the roller coaster” |
/
(ji) ~(pN~q)=~pV~(~q)=~PVq
Nowp is true and q is false
~ pis false and
q is false.
~pV qis false.
Example 9, Determine which of the following statements are true or false :
: pagqis false
is false.
a ‘7 is false and r is false.
me ag)erris ave.
[(6< 8) A (8 <6)] + 6=8 is true.
[p>@vn]
Vv l[po~-)
SL
Truth Table
l
™
oo
F
ala[nj3a}/4/4)3lai<
nhalalalaojafala/s
alfalalalpajayayays3
F T
4/4]
anlafpa~aydal/a
F
albania) a,4), 4,7),
F
E
T
T
T
T
Sol.
Truth Table
A comparison of the last two columns in the truth table shows that they are identical.
pq=(pAq)V (~pA~q).
Example 12. Prove that (p > r) >(q>s)=(pAq)>(rV 5).
Sol.
Truth Table
T|T T | T T T
T F F T F T
F T T T T 7
F F T T F T
From the shove table, it is clear thar {[( p> >@) V p] Ag} >@q isa tautology.
Example 17. Prove that if pg and g>rthen pr.
SoL Here we are given that p > g. g > r and we have to prove that p > r. The result will be established 7
we show that
~p>-(~q)
—“~p-@q
(iti) Converse of p> qgis g>p
Inverse of g>pis-gr-p
EXERCISE 1.1
1. Which of the following is a statement (or proposition) ? Justify your answer :
@) — Listen ta me, Krishna ! (ii) 17 ts a prime number.
(iii) °+5x+6=0. (iv) 6 has three prime factors.
(v) Two non-empty sets have always a non-empty intersection.
(v) The real numberx is less than 1. (vil) Two individuals are always related.
State the truth values of the following :
2
PAAVD=AOVEDA
g,
ATP
ci (PVG AT=(DANVGAN (ii) PY Q@Ar=(pVgA(pvn)
. (iv) (PAQVr=(pvHNAQqVN
(i) Show that (~PA~q)>(ps
q) IS a tautology -
(i) Show that (PA Q)
>(pV a)isa tautology
(ii) Show that (p A q)
+(~py q) is a tautolog
y
(v) (PA 9) > (P © @) isa tautology,
() (pA 4) > Pp isa tautology,
(i) (PAG) A(~pV~a)isa
contradiction,
(ii) Show that (pV gq) Vrepy
(9 V ris a tautology.
(vii) Show that p> (pV g)isa
tautology,
(ix) Show that (p V q) A (~p a ~ q) is a contr
adiction.
0, Construct: truth table of ~( p A q) > ~?p V ~q. Is
it Contradiction or Tautology
.
Il. (i) Write down the truth table for
7A m where /=~q>~p man~po
n q.
(ii) Write down the truth table for J <>
yy where 1=~(p V gq), m=~ pA~q.
12. Construct the Truth table for the proposition
(p> 9) >(@>p)
13. Write down the truth table for the followin
g statement patterns :
() (p>q)(~q>~p) @) (p>9)>[G=n+(p=Q)]
14. Prove that:
P>(~qVr)=(parq>r.
I. Simplify
OF WG) FP Gi T
:
‘Eeprfelet
; F F Tr F
aF T
; T T F F F T
: F T T T iT T
ag; ‘lisnot perpendicular to m or A is not a point on nr
5 0 | like chocolates and ice-cream. (ii) Either 1 will go to school or I will watch a movie.
T F F T
F T F F
F F F Z
i) Truth Table
p q p>?q p>(p>4)
T T T T
T F F F
F T T T
F F T :
(i) Truth Tables
; i paq pVvq |(pAgrPva
T T T = ,
T | F F Ag T
F T F T
F F F E :
Ce
~pN~qlleom
Be : eetle
bw
>SY a,> ®
tleleie 7 >
hh t
< Q
- a, —
1
©
>
& E g,
[uy
l
> lade le tlebe &
~q
2
< ta TL fe fe Se
=
Q, 1! |
>
#|~
’
&
~P
Truth Table
IPVq|~@Vq)
v-.|
2]
.gy,
: 4
<li Pe Py G
=
be TR TR TR Je (4, &
>
4
“ ole oe
p PROPOSITIONAL CALCULUS
Pf tee | | be bi
es
> fee | ta PR fee PR Lo 3| «.
5
q
: :p pe pe Pe Fe‘“
P
<<
iy
'w
fame | be | fee pte] fete] fete
ole fair
2jae
fe t
fe fe fe |e |
|e e Rifbee be
a
(i)
—
TR oy a [|e |
Y fe fe Pe Pe
&
ee be
Wa, ens Veo, Vee
uw aN
292 SPECTRUM DISCRETE MATHEMATIcs
i, |
1.18. Arguments
Def. of argument : An argument is a statement which asserts that given set of propositions
P1; P2s P3s-+-s Pn taken together gives another proposition P.
These are expressed as pj, 2, P3y.+++- » Pn/— P. The sign “/-” is spoken at turnstile. The propositions
Pls Pas P3rreecereee , Pn are called “premises” or “assumptions” and P is called the “conclusion”.
Valid argument : An argument pj, P2, P3,....+ P,/-P is true if P is true whenever all the premises
P1s Pay P3y-s++++y Pn are true, otherwise the argument is false. A true argument is called valid argument, ands
false argument is called a fallacy.
Note. If is important to realise that the truth or the conclusion is irrelevant as far as the validity of argument
is concerned. A true conclusion is neither necessary nor sufficient for the validity of argument.
The validity can also be judged by the relationship Pi A pr A Py vee A pa > P provided it is a tautology.
\ILLUSTRATIVE EXAMPLES}
gsample 1. Test the validity of : If he works hard then he will be successful. If he is successful then he will
we happy: Therefore, hard work leads to happiness.
al. Let the symbols for the statements be :
phe works hard.
gq: he is successful
r: he is happy.
The argument is :
(p> D)A@>r")7>prr
Truth Table
Tp | a | r | pea | aor] (pega@en| por | (eed ACq> D> (p>
T|T|T T T T T T
T F T F T F T T
F T T T T T T T
Fr F T T T T T T
T T F T F F F T
T F F F T F F T
r | T | F T F F T T
F F F T 7 T T T
From the table, it is clear that [((p — q) A (q >r)] > (p > 7) is tautology.
given argument is valid.
Note. Another method for testing the validity of argument.
In the last three examples, there were only two or there statements and consequently 4 to 8 rows in the
mth table. But if there are four or more statements then the truth table will have 16 or more rows and the
ns chance of the making a mistake will be more. To over come this difficulty ie., to reduce the size of the
uble we have another method, infact above method stated in another way, which follows as :
“Assume that the conclusion is false. Now if p,; A pA ceeeee A pp is a fallacy, then the argument is
ns
valid, otherwise the argument is Invalid.
Example 2. Test the validity of :
“If my brother stands first in the class, I will give him a watch. Either he stood first or | was out of
sation. | did not give my brother a watch this time. Therefore I was out of station.”
Sol. Let the symbols for the statements be :
p: my brother stands first in the class.
q: 1 give him a watch.
r: Twas out of station.
St
Pp q r P>q|pVq| ~4 (p>q)A(pVrnA(~Qq)
T T F T T F F
T F F F T T F
F T F T T F F
F F F T F T F
| Since (pq) A(p Vr) A (~q) isa fallacy.
the argument is valid.
Example 3. Prove the validity of following arguments :
If man is a bachelor, he is unhappy.
If a man is unhappy, he dies young.
Therefore, bachelors die young.
Sol. Let p: man is a bachelor
g : man is unhappy
r:man dies young.
The given statementis [(p>q)A(q>n]>(p>r)
Truth Table
J II
thematics
y: pass m4 °
“
«ven ven statemen t is
EXERCISE 1.2
|. Test the validity of:
If it rains then crop will be good.
It did not rain, therefore the crop will not be good.
1. Test the validity of:
Unless we control population, all advances resulting from planning will be nullified. But this must
not be allowed to happen. Therefore we must somehow control population.
Are the following arguments valid ? If valid, construct a formal proof ; if not valid, explain why.
(a) If wages increase, then there will be inflation. The cost of living will not increase if there is
No inflation. Wages will increase. Therefore, the cost of living will increase.
| i) If the races are fixed or the casinos are crooked, then the tourist trade will decline. If the
: tourist trade decreases, then the police will be happy. The police force is never happy.
: Therefore, the races are not fixed.
ANSWEKS >
Not vatia 2. Valid 3. (a) Not valid (b) Valid
a
Scanned with CamScanner
296 SPECTRUM DISCRETE MATHEMATIC,
ee,
Commutative Laws
PVqeqVp PANq@*qAp
Associative Laws
(pVq)VrepVvi(qvr) (pAQgAr@pa(qarr)
Distributive Laws
Idempotent Laws
PV pop pA p*p
Null Laws
pA0s0 pvlel
Absorbtion Laws
PA(PVq)ep PV (PA Q)ep
DeMorgan’s Laws
~(~p)*p
(p>q)Np>q
———
————
Contrapositive
(p7>QA~q>~P
——_— Disjunctive Addition
p> (pV 4)
TO Conjunctive Simplification
(praqg>p and (PAD)4
—_— Disjunctive Simplification
aAialjoala)s
aja) m/ ole
T
sioaia/4
F
a] om] om
T
F
Since (p > q) A p> qisa tautology
All oo"
(p>qgAp>q —
1.24. Mathematical System
A mathematical system consists of
1. A set or universe, U.
2. Definitions: sentences that explain the meaning of concepts that relate to the universe. Any term
used in describing the universe itself is said to be undefined. All definitions are given in terms of these
undefined concepts of objects.
3. Axions: assertions about the properties of the universe and rules for creating and justifying more
assertions. These rules always include the system of logic that we have developed to this point.
4. Theorems — the additional assertions mentioned above.
Example 1. In Euclidean geometry the universe consists of points and lines (two undefined terms). Among
the definitions is a definition of parallel lines and among the axioms is the axiom that two distinct paralle
lines never meet.
Example 2. In Propositional calculus, the universe consists of propositions. The axioms are the truth tables
for the logical operators and the key definitions are those of implication and equivalence.
Theorem : A true proposition derived from axioms of mathematical system is called a theorem.
All theorems can be expressed in terms of a finite number of propositions Pi, Pr»
Proof : A proof of a theorem is a finite sequence of logically valid steps that demonstrate that the premises
ofa theorem imply the conclusion.
There are two important types of proofs namely direct and indirect.
Direct Proof: It is a proof in which the truth of the premises of a theorem are shown to directly imply the
truth of the theorem’s conclusion.
Rules for Direct Proof
Maen ft
te
irect Poof
299
Negate the conclusion of the theorem and add this negation to the premises. If this set of propositions
plies 8 contradiction, then the proof is complete.
gales for Indirect Proof
1. The first step is the negated conclusions.
1, The last step must be a contradiction
[ILLUSTRATIVE EXAMPLES]
sample 1. Prove that the following are equivalences :
(i) PVG *qVPp (ii) p>q *~q->p (ij) (pPAQVCPAQ)?q
ol. (i)
Truth Table
P (pV q)>(q Vp)
T T
T T
F T
F F T
Since (p V q) > (q V p) isa tautology
pV qand q V pare equivalent
(pV q)#(q V p).
(ii)
Truth Table
q ~P ~q (p > q) >(~q>-~p)
T F F T T T
5 F T F F T
T T F T T T
F F T T T T T
Since ( p > q) > (~ q > ~p) is a tautology
( p > q) and (~q > ~ p) are equivalent
(p> 9)? (~q>~p)
(iti)
Truth Table
P q qqAgVCPAQq) (pPAQV(~pAq>q
T
T
T
1
(pAQV(~PAQD?ed
Example 2. Give direct proof of
~pVqsVpP~-q> 5
Proposition Justification
Sol. Step
(1) ~pVq Premise
(2) ~q Premise
Sol.
Step Proposition Justification
qd) ~(s Vr) Negated conclusion
EXERCISE 1.3
1. Show that
(i) pA q logically implies p + q
(ii) p~q does not logically implies p > g
be > x =0,
7
6
—
On.
4 $ . 7
If we take Q as universe, then truth set (i.e., solution set) of 7 x7 —6 x =O is {02} .
Its power set is {@, {1}, {2}. {3}, {4}, (1, 2}, C133, (1, 4, {2, 3}, {2, 4}, (3, 43, {1, 2,3}, 1, 2, 4},
{13,4}, {2, 3.43, {1,2,3, 43}
Let proposition be {1,2} NA=%
truth set of proposition taken over the power se of {1, 2, 3, 4} is
es
Scanned with CamScanner
302 SPECTRUM DISCRETE MATHEMATi¢
—
Equivalence: Two propositions are equivalent if p q is a tautology. In other words p and q te
equivalent if T, = T,-
Example : x + 7 = 12 and x=5 are equivalent propositions over the integers.
Implication : Ifp and g are propositions over U, then p implies q if p > q is a tautology. In Othe
words p> gwhen T,C Tp
Example : Over the natural numbers,
n<=3 > n8as {0,1,2,3} € {0, 1, 2, 3,4,
5, 6, 7, 8}
Troth Set of compound Propositions
The truth sets of compound propositions can be expressed in terms of the truth sets of simple
propositions. The following list gives the connection between compound and simple truth sets :
1. Tpagm Ip NT, 2. Tpvqg=IpUTy, 3. T.p= Tp”
4. Tpeg=O,NTJUCSAT,) 5 Tp.g=T,fUTy.
[ILLUSTRATIVE EXAMPLES]
Example 1. IfU = P{1,2, 3, 4}, what are the truth sets of the following propositions 7
(if) AN {2,44=¢ (ii) 3E€Aand
| EA (ii) AULIJ=A
(fv) Aisa proper subset of {2, 3, 4} (v) #AS=#A
Sol. (i) Truth set is {9, {1},£3}, f1, a
(ii) Truth set is {{3), {3,2}, £3, 43, {2,3,4})
(iii) Truth seris {41}, f1, 2, {1, 3}, £1,4}, {1, 2, 3}, {1,2,4}, (1,3, 4}, (1,2, 3,43}
(iv) Truth set is {12}, {3}, £44, {2,3}, {2,4}, (3,4}}
(v) Truthsetis {A CU,#A=2;
Example 2. Given the propositions over the natural numbers
pin<4
g:2n>17
and r:nisa divisor of 18
What
are the truth sets of
(a) g (6) png (c) r (4) q>r
Sol. We have
Tp {1,2,3},
T, #0, 10, 1, 12, ...... }, T, = 1,2, 3, 6,9, 18}
(a) T,= 19,10, 1, 12,0...)
(by Typ g7 Ty fiT, = 11,2,34 9 19, 10, HH, 12, ...) =
(c) T,~11,2,3,6,9, 18)
(d) T,.,*To UT,= {1,2,3,4, 5,6, 7, 8) U {1, 2, 3, 6, 9, 18)= {1, 2, 3, 4, 5, 6, 7, 8, 9, 18}
aT
EXERCISE 1.4
1, Over the universe of positive integers
Ne p(n):
4° -3n=0
q(n): nisa perfect
square and n < 90
r(n): nisa divisor of 36
What are the truth sets of these propositions ?
Over the universe of positive integers :
y
ANSWERS
1. {1,4,9, 16, 25, 26, 49, 64, 81}, (1,2, 3, 4. 6,9, 12, 18, 36}
2 (a) Tp= {2,3, 5,7, 11, 13, 17, 19, 23, 29, 31}
T, = (1, 3, 6,9, 12, 15, 18, 21,......}
T,= {1, 3,9, 27} (6) r impliesq 3. 256
4, T= {1,4,9, 16, 25, 36, 49, 64,81}; T, = (1,2, 4,8, 16, 32,...), (1,4, 16, 64}
1.26. Predicates
The predicate is the part of a sentence that gives information about the subject. For example, in the
sentence “Ramesh is a resident of Amritsar”, the word Ramesh is the subject and the phrase “is a resident of
Amritsar” is the predicate. So, predicate is the part of the sentence from which the subject has been
Rmoved,
304
SPECTRUM DISCRETE
. Mar Hey
In logic, predicates can be obtained by removing any nouns from a statement. For example . ANicg
for “is a resident of Amritsar” and Q stands for “is a resident of”, then both P and Qar Ple, if p
The sentences “x is a resident of Amritsar” and “x is a resident of y” are denoted as © Predi cate ..8 and,
respectively, where x and y are predicate variables that take values in appropriate sets. P(x) ang Qnes
y),
The statement “x is greater than 5” has two parts. The first part, the variable
x, is the Sub;
Statement. The second part—the predicate, “is greater than 5”—refers to a Property
that the sie OF the
Statement can have. We can denote the statement “x is greater than 5” by P(x), wh Jeet of th
er ep den, e
predicate “‘is greater than 5” and x is the variable. The statement P(x) is also Said to
be
propositional function P at x. Once a value has been assigned to the ec of ‘
variable x, the Statement
Proposition and has a truth value.
P (x) become,
4
3,4, 5}, AY
.
0
Let P (x) and Q (x) be predicates with common domain D of x. The notation
P (x) =>
element in the truth set of P(x) is in the truth set of Q (x). Q (x) means that every
Also, P(x) <> Q(x) means that P (x) and Q (x) have Identical truth sets.
For example, let the domain ofx be the set of positive integers and let
P(x) : “x is an integer less than 6”,
Q (x) : “x is a factor of 4”.
Truth set ofP (x) is {1, 2,3, 4, 5, 6, 7}
and Truth set of Q (x) is {1, 2, 4}.
Now every element in the truth set of Q (x) is in the truth set of P(x), So Q (x) > P(x).
A statement involving the » variables X11 Xy, eX, can be denoted by P (x), x,,) A statementof
the form P (x,, Xy;.00%,,) is the value of the propositional function P at the n-tuple (x), Xyyou ty
and P is also called an —_n-place predicate ora n-ary predicate.
The symbolic analysis of predicates and quantified statements is called the predicate calculus
whereas the symbolic analysis of ordinary compound statements is called the statement calculus
propositional calculus.
Example. Let P (x) denote the statement “x > 3”, What are the truth values of P (4) and P (2)?
Sol. Here P (x) denotes the statement “x > 3”, wich is
For obtaining the statement P(4), we replace x by 4 in the statement “x > 3”. Therefore P (4), W
statement “4 > 3”, is true. Similarly P(2), which is the statement “2 > 3”, is false.
mp a
¢ yy
@ (1,2, 3)
wn)!
| lee R (x,y, 2) denotes the statement “4 y= 2"
ror obtaining, the statement R (1, 2,3), we replace x by ly by2 and z by 3 in the statement
yt R (1 2, 3), which is the statement “| 42 = 3”, 14 true, § “s 4-y = 2”,
imilarly (0, 0, | ), Which is the statement
+021", 1s false,
127, Quantifiers
If p(n) is a propositions over U with Ty) % a, then we way “Shere exists ann in U such that n(n) is
mt” We abbreviate this sentence as (An), (p(n), 3 is known ay exintential quantifier,
Itis clear that if p (n) is a propositions over a universe U, its truth set Tpiy)
19 a subset of U,
framples
(1) (A4);,(5 4 = 100) means that there is an integer
k such that 100 is a multiple of 5. This is true,
(2) (A x)p (x - 3 = 0) means that there is a rational numbe
r * such that x” = 3, This is fal we a3 the
glution set of the equation x? ~3 = 0 over () is empty, We write it as (Ax), (x? 3
x= ())
If p (n) is a propositions over U , with Tp on = UL Them
we say “for all in U, p (n) is true.” We
ibbreviate this as (Wn), , ( p (n)). V is known as universal quanti
fier,
Jk: P(x) means, “There exists an x such that P(x) holds.
”
| Ve: P(x) means, “For all x, it is the case that P(x) holds.
”
So for example, if x denotes a real number, then
te
Scanned with CamScanner
> 306 |
eee SEEcTRUM Discrer,
Wy,
he scope of the other. \
Nested Quantifiers in t
if one is with qumber larger than it.”
lel
ed
Twé ‘quantifiers are nest 1si 4 re al
ev er y re al number, there
e.g. “F or
5 Wx dy: y7 >
This can be written a
Example Vex Ay (x +y = 9) (x,y): x+y= 0.
Q(x ), whe re Q(x ) is ay P (x, y), where P
Example : vx ddition
ative law for a
Example : Wx Vy @ +y=yt x) Commut ty
proper
Additive inverse
Example : Wx dy(x+y=0 ) on
= @ +) 42) Associative law for additi
Example : Vx Wy Vz (x + (9 +2)
variables js real —
ry <0)) where the domain of both
>
Example : Vx Wy ((x > 0) A (y <0)
if x is positive and y js negatiy e, then
r eve ry real num ber x and every rea | number y,
“Fo Xp:
negative.”
num ber and a positive real e snumber
is always negative»
“The product of a negative real .
.
Example: “The sum of two positive
integers 1S always positive.
ve.”
are both pos itive then their sum is positi
“For every two integers, if they . re ”
y,x + is positive.
“For all positive integers x and
Wx Wy (x > 0) A (p> 0) > + y> 9), where domain is all integers.
positive integers.
Wx Vy (x + y> 0), where domain is all
Order of Quantifiers
tifiers are universal or all quantifiers»
The order of the quantifiers is important, unless all quan
existential.
Example : Vx Vy P(x, y) = Vy Vx PG, y)
Example : ax 3 y P(x, y) = Ay ax P@, y)
Example : Vx 5 y P(x, y) is NOT equivalent to A yVx Pi, y)
ists of all real numbers. Find thet So
Example : P(x, y) : x + y= 0, where the domain of both x and y cons
values of Wx dy P(x, y) and Jy Vx P(@, y).
Fy Vx P(x, y) denotes
“There is areal number y such that for every real number x, x + y = 0”
This statement is False.
Vx dy P(x, y) denotes
“For every real number x, there is a real number y such that x + y = 0.”
This statement is true. shy
Binding Variables : When a quantifier is used on the variable x, Then this oc currence of theral
is bound, An occurrence of a variable that is not bound by a quantifier or set equal toa particular
said to be free. All the variables that occur in a propositional function must be b ound or set e@
particular value to turn it into a proposition.
ILLUSTRATIVE EXAMPLES]
pxample 1. Translate into your own words and indicate whether it is true or false that (G w)z (4 uw—9= 0).
9 3 cs, . .
4W=9 > w= => u= + —, whichare not integers.
10
(6). Every mathematics book that is published in the United States has a blue cover.
M(x): xisamammal
EXERCISE 1.5
Translate in your own words and indicate whether it is true or false that :
(A x)g (3 x°-12 = 0)
Use quantifier to say that V5 isnot a rational number.
Use universal quantifiers to state that the sum of two rational numbers is rational
Use universal quantifiers to state that the sum of any two real numbers is real.
Over the universe of real numbers, use quantifiers to say that the equation a+2x=b,hasq
solution for all values of a and 8.
Let C (x) be “x is cold blooded.” Let F (x) be “‘x is a fish and let S (x) be “‘x lives in the sea.”
(a) Translate into a formula : Every fish is cold blooded.
(6) Translate into English: (4 x) (S (x) A ~ F (x)) and (V x) (F (x) > S (x)).
ANSWERS
1. False 2. ~ (Ax (x = 5) 3. (WV a)g (V })g (a+ bis a rational number)
4. (Va)yp (V d)p (a+ bis a real number) 5. (Wa)
(V b)p(Ax)p (€+2x=5)
6. (a) (Wx)(F (x)A C@))
(6) There exist animals that live in the sea that are not fish.
*
wens of the forms of the statements (premises and conclusions) involved rather than in terms of the
=
_-3| statements or their truth values. Therefore, the rules will be given in terms of statement formulas
sa than in terms of any specific statements.
— .
In any argument, a conclusion is admitted to be true provided that the premises i.e. assumptions,
som, hypotheses are accepted as true and the reasoning used in deriving the conclusion from the
semises follows certain accepted rules of logical inference. Such an argument is called sound. In any
cgoment, we are always concerned with its soundness. In logic, we concentrate our attention on the study
wf the rules of inference by which conclusions are derived from premises. Any conclusion which is arrived
gty following these rules is called a valid conclusion, and the argument is called a valid argument. The
qual truth values of the premises do not play any part in the determination of the validity of the argument.
jn short, in logic we are concerned with the validity but not necessarily with the soundness of the argument.
VALIDITY USING TRUTH TABLES
Let A and B be two statement formulas. We say that “B logically follows from A” or “B is a valid
zonclusion (consequence) of the premise A” iffA — B is a tautology, that is, A > B.
Similarly a set of premises {H,,H,,.......H,} a conclusion C follows logically iff
HAH, A... AH, >C.
RULES OF INFERENCE
84 Here are two rules of inference which are called rules P and T.
Rule P: A premise may be introduced at any point in the derivation.
Rule T: A formula S may be introduced in a derivation if S is tautologically implied by any one or
more of the preceding formulas in the derivation.
Example. Demonstrate that R is a valid inference from the premises P > Q, Q > Rand P.
Sol.
from premises in (1) and (2). The comment on the right says that the formula Q has been introduced usj
rule T and also indicates the details of the application of rule T.
Table of Implications
PAQ=P PAQ=Q
P>PVQ Q=PVvQ
]P=P+Q Q>P+Q
l, 1@+Q=P 1 P+ Q)=1Q
P,Q=PAQ 1P,PVQ=Q
P,P>Q2Q 1QP>Q=]P
P>+Q,Q>R>P>R PVQ,P>R,Q7?>R>R
Table of Equivalences
|] PoP E, PAQSQAP
PVQSQVP (PAQVARSPA(QAR)
PAPSP RV(PA|P)@R
](P+Q)ePA1Q P+Q<]Q~+]P
Rule US (Universal Specification) From (x) A (x) one can conclude A (¥).
Rule ES (Existential Specification) From (3 x) A (x) one can conclude A (¥) provided that vis not
fe in any given premise and also not free in any prior step of the derivation. These requirements can easily
temet by choosing a new variable each time ES is used.
Rule EG (Existential Generalization) From A (x) one can conclude (4 5) A (y).
Rule UG (Universal Generalization) From A (x) one can conclude (¥) A (y) provided that x is not free
|nany of the given premises and provided that if x is free in a prior step which resulted from use of ES.
fien no variables introduced by that use of ES appear free in A (x).
An invalid conclusion can be arrived at if the second restriction on rule UG was nat imposed. We
ilustrate this by as example.
Let D (u, v) : u is divisible by v. Assume that the universe of discourse is {$, 7, 10, 11}, so that the
satement (A u) D (u, 5) is true because both D (5, 5) and D (10, 5) are true. On the other hand, (») D (y. 5)
$false because D (7, 5) and D (11, 5) are false. Consider now the following derivation.
{1} (1) (A u)
D (uy, 5) P
{1} (2) D (x, 5) ES, (1)
{1} (3) (vy) D @. 5) UG, (2) (neglecting second restriction)
In step 3 we have obtained from D (x, 5) the conclusion (vy) D (v. 5). Obviously x is not free in the
Remise, and so the first restriction is satisfied. But x is free in step 2 which resulted by use of ES, and that x
‘ss been introduced by use of ES and appears free in D (x, 5); hence it cannot be generalized. This is the reason
“iy we obtained a false conclusion from a true premise.
[ILLUSTRATIVE EXAMPLES]
Example 1. Show that (x) (H (x) > M (x)) A H (s) > M (s).
Sol.
EXERCISE 1.6
1. Show that: (x) (P (x) > Q (x)) A (x) (Q(x) > R(x) > (P(*) > R ()).
2. Prove that : (3 x) (P(x) A Q(x)) = (Ax) P(x) A (A x) Q (a).
Now we introduce the notion ofa proof and describe methods for constructing proofs. A proof ®
valid argument that establishes the truth of a mathematical statement. A proof can use the hypotheses
the theorem, if any, axioms assumed to be true, and previously proven theorems. Using these points
tules of inference, the final step of the proof establishes the truth of the statement being proved.
3. Conjecture : A conjecture is a statement that is being proposed to be a true statement but that
ys not been proved. When a proof of a conjecture is found, the conjecture becomes a theorem. Many times
sonjectures are shown to be false, so they are not theorems.
4. Axiom (Postulate) : A statement that is assumed to be true and can be used as a basis for
goving theorems.
s, Lemma: A theorem used to prove other theorems.
6. Corollary : A corollary is a theorem that can be established directly from a theorem that has
heen proved.
steps for Proofs :
The first step of the proof usually involves selecting a general element of the domain. Subsequent
geps show that this element has the property in question. Finally, universal generalization implies that the
teorem holds for all members of the domain.
131. Methods of Proving Theorems
We will discuss the following methods of proofs.
Direct Proofs
A direct proof of a conditional statement p — q is constructed when the first step is the assumption
fut is p is true ; subsequent steps are constructed using rules of inference, with the final step showing that g
must also be true. A direct proof shows that a conditional statement p — q is true by showing that if p is
tue, then g must also be true and so that the combination p true and q false never occurs. In a direct proof,
we assume that p is true and use axioms, definitions, and previously proven theorems, together, with rules
ofinference, to show that q must also be true.
Example. Give a direct proof of the theorem “If 7 is an odd integer, then n? is odd”.
Sol. Note that this theorem state V 7 (P (71) > Q (n)), where P (n) is “n is an odd integer” and Q (n) is “nis
odd”. As we have said, we will follow the usual convention in mathematical proofs by showing that P (ni)
inplies Q (n), and not explicitly using universal instantiation. To begin a direct proof of Extra this theorem,
¥e assume that the hypothesis of this conditional statement is true, namely, we
Assume that n is odd. Son = 2 k + 1, where k is some integer.
ss
—— 8
An extremely useful type of indirect proof is known as proof by contraposition. Proof,
—_—
contraposition make use of the fact that the conditional statement p > q is equivalent to its contrapositj
~ q > ~ p. This means that the conditional statement p - q can be proved by showing that ity
contrapositive, ~ q > ~ p, is true. In a proof by contraposition of p > q, we take ~ qg as a hypothesis, and
using axioms, definition, and previously proven theorems, together with rules of inference, we show thay
~ p must follow,
Example. Prove that ifm is an integer and 3 n+ 2 is odd, then 7 is odd.
Sol. Assume that “If3 1+ 2 is odd, then 1 is odd” is false ; ie. nis even. Son =2 k for some integer k.
3n+2=3(2k4)+2=6k+2=2(34+1) ©3n+2
is eveni.c. not odd
This is the negation of the hypothesis of the theorem. Because the negation of the conclusion Of the
conditional statement implies that the hypothesis is false, the original conditional statement is true.
“. by contraposition, we have proved the result that “If3 7 + 2 is odd, then 7 is odd”.
Vacuous Proof: A proof that p q is true based on the fact that p is false.
Trivial proof: A proof that p - q is true based on the fact that q is false.
Proof by Contradiction
Suppose we want to prove that a statement p is truce. Also, suppose that we can find a contradiction g
such that ~ p + q is true, Because q is false, but ~ p > q is true, we can conclude that ~ p is false, whic
show that p is true. How can we find a contradiction q that might help us prove that p is true in this way?
Since the statement r A ~ ris a contradiction whenever r is a proposition, we can prove thatp is try
if we can show that ~ p > (r A ~r) is true for some proposition r. Proofs of this type are called proofsby
contradiction.
In simple words, a proof that p is true based on the truth on the conditional statement ~ p - g, whereq
is a contradiction.
Example. Prove that : 2 is irrational by giving a proof by contradiction.
2 divides a and 6, which contradicts the fact that a and 6 have no common factors
Hence the result.
We will introduce several other important proof methods, including proofs where we considé
Smee
different cases separately and proofs where we prove the existence of objects with desired properties.
Strategy behind constructing proofs. Includes selectinga proof method and then successfull
constructing an argument step by step, based on this method. '
gyample. Prove that (#7 + 1)? = 3” if nis a positive integer with n < 4.
A proof cases must cover all possible cases that arise in a theorem. We
illustrate Proof by ca Z
couple of examples. In each example, you should check that all possible cases are coy * eases with a
ered,
Sol. We can prove that n2 = n for every integer by considering three cases, when n = Q
whennp > l, and
when n S -1. We split the proof into three cases because it is straight
forward to pr Ove the
considering zero, positive integers, and negative integers separately ; result by
(ij) When» = 0, because 02 =0. It follows that n? = nis true in this case,
(i) When n & 1, when we multiply both sides of the inequality n = | by the positive integer n
, we
obtain 2-n 2 n+ 1. This implies that n© 2 =n forn = 1.
Because the inequality n? = holds in all three cases, we can conclude that iff
is an integer, then
NZ.
Forward Proof
We may choose any method, we need a starting point for our proof. To begin a direct proof of a
conditional statement, we start with the premises. Using these premises,
together with axioms and known
theorems, we can construct a proof using a sequence of steps that leads to the conclusion. This type of
Proof, called forward proof. Similarly, with indirect reasoning we can start with the negation of the
conclusion and using a sequence of steps, obtain the negation of the premises.
In logic and mathematics, necessity and sufficiency are terms used to describe a conditional or
‘ - 4 a.e oa 4
Implicational relationship between two statements. For example, in the conditional statement : “Ifp then q",
EXERCISE 1.7
‘ the two statements mt 1S
latter is true. That is,
gPete,
if 7 yan d 7 are bot h per fect squares, then # mm is also
1. Give a direct proof that
b, where a and b are posi
tive integers, then a s yn orbs eo
Prove that : If =a
ne
. | etd
Scanned with CamScanner
320 SPECTRUM DISCRETE MATHEMAy, 4
We shall now discuss some important types of binary compositions which will be Used j,
defining algebraic structures such as Group, Rings, Fields, Vector spaces.
(a) Commutative Composition. A binary composition * on a set A is called commutative composition,
iff x*y=y*x VxypEA.
Example. The addition composition in the set of real numbers is commutative ie, x+y=ytx, for al
x,y ER.
aT
by x *y=x+2y,x,y,
ER is not associative.
Since
(x *y)*z =(x+2y)*z =(e+2y)t+2z =x+2y+2z,
ate=aforallaEN. . o€N
(d) Invertible Elements. Let e be the identity element of set A under the composition ‘*’ on the#
A. Let a € A, then f € A is called an inverse element ofa iff a*Bp=e=B*a
Then the composition * is a composition with inverse element, which is always unique.
Example (i). In the set I of integers, 0 is the identity element under addition composition and each cle
a & [has its additive inverse (- a) EI, since a + (— a) = 0 = (— a) + a. Thus every element of integt”
invertible.
‘nl
(ii) In the set N of naturals, ‘1’ is the identity element under multiplication composition but there ish
element other than ‘1’ which is invertible.
(e) Distributive Operations. Let * and O be two binary operations on a set A, Then we say that
operation * is distributive with D0 if
x*(yO2=@*yO@*z) VxyzEA (Left distributive Law)
and (yOz)*x=(y*x)O(e*x) V x,y,zEA (Right distributive Law)
Note. If the composition * is commutative. Then
Left distributive law <> Right distributive law.
trample (f). In the set of naturals multiplication composition is distributive over addition composition
snce x. (ytzj)=x.yt+x.z Vxy,zENn.
a*bEG Va,beEG.
Monoid : A non empty set G together with a binary operation * defined on it is called a Monoid if
satisfies the following axioms
(i) atbEG VabeEG. (if) (ax b)*c=a*(b*c)V aybhc EG
(iii) A anelement e © Gsuchthat a *e=a=exa VaeG.
Here ¢ is called the identity element of G w.r.t. the binary operation *.
ILLUSTRATIVE EXAMPLES
Example 1. Show that the set of all natural numbers form a semi-group under the composition of addition.
Sol. Let N = {1, 2, 3, 4, ...... } be the set of natural numbers.
(i) Closure Property : Sincen+mEN, Vn,mEN
N is closed under addition.
(ii) Associative Property : Since
(n+ m)+p=n+(m+p), VnmpeENn.
Associative property hold in N under addition.
Hence N is a semi-group under addition.
Note : (N, +) is not a monoid, as (N, +) do not have identity (zero) element.
i.
Example 2. Show that the set G = ( i > x,y GR, st. x+y # 0} form a semi-group under the
x y
operation of matrix multiplication.
Sol. The G satisfies the following under multiplication of matrices.
AB=|"! x, +» I x2 2] Xj Xo+yV)X.
_}*1%2+ I X2 x X ¥2+ + YM 2 , EG
X, Vy} [2 2 XpX2+ Mp XQ AX Y2+ Yi V2
for x, x2 + yy x2 + Hy Yat ¥2 = 0.
G is closed under multiplication.
|
Scanned with CamScanner
e
sm CTURES AND MORPHISM
I zed
ie gh Ca Property :.oSince matrix: multiplica
wate tion
is associative.
(i) associate property hold in G also,
‘ ¥G form 2 semi-group under multiplicati
on,
ne
ye above set do not form a monoid under multiplication, Since it has no identity element.
a!
Ee a | be the element of G such that
ah a b
x y
AB=A=EA, va>| € G, where x+y ¥ 0,
xatya
Ieee
ea x yl _|ax+bx aytby
ie |ig+ya xbtyb x yp axtbx ay+by
(xty)
+y) b= b=y => b=__/y
t+y
» at+b=]
Thus, the element E in G is not unique.
Hence the identity element in G do not exist.
bample 3. Let M(X) be the set of all mapping of a non-empty set X into itself, then show that M(X) form
‘monoid under the composition of composite of mapping.
Re
Scanned with CamScanner
YS
324 SPECTRUM DISCRETE MATHEy,
m ATI
VK
(ii) Associative Property : Letx © X be arbitrary element and let f, g , h © M(X) be any el
Fusa
me
Then
Te
~»
(fo g) oh) (x) = (Fog) (h(x) = f(g (A@))) and
(fo (go h)) (x) =f(g oh) (&)) = f(g (A)
(fo
g) oh) (x) =(fo(goh))()VnEX i!
a+(-a)=0=(-a)+a
. b € Q so that a= ot and? 2
(i) Closure property. Let a, q 20,04
and ql
q2 * 0. closed ynder +
and a, # 0,
s
P, 9+ F241q EQ; since 2!
Then a+6=/1, 2 2-13 ——~~
No)” gh14 a,
= (p, fy + P, 4) I + p, 44,
( 119) q3 '
= 142 43+ py 43 + q, dy p
3
. . qy q> q3
§
ince commutativly and associativity holds in Z *
Py | P )
a + (b+c)
Mf tat +2)43) PL4, Pat 494try gy
u
- Py\9r
2, AG 93) : +(p, 95+ Ps 4 )4,
1 (4 4, )
_ P\ 4 Gy + Pp, 439, + P3 45 q)
49 43
Py I q4 + P qy q3 4: q5 qP3
4) 97 93
(atb)+c=at(bt+c)V a,b,cEQ,
So, the associative law holds.
(il) Existence of identity. The number 0 € Qand a+0=a=0+q VaEQ
0 is the identity element.
(iv) Existence of inverse. Let a € Q so that a= ; for some p,q € Z and q #0,
Thn b= —- & Q
4 10 Joa.
a+ b = p 42 _Pq-Pq_ 9 _,
q q Pq Pq
Similarly b+@=0
at+b=0=hbt+a
bis the inverse of a
(Q, +) is a group.
Moreover the addition of rationals is commutative.
N 4 M49, 9,99 47 4
And =“b+aVabEQ —
naQ Contains an infinite number of elements.
er
efore (Q, +) isBone an infin
topesite
abelian group.
be
m
=
NG
(b) Closure Property : We know that product of two reals is also a real number SS
ie, a.bER* ¥Y abER*
1. .
Thus, the element — is the inverse of the element a € R*.
a
Since all the axioms of a group are satisfied. Hence <R*, -> is a group. Moreover, the Multiplicar
of reals is commutative
sre!
ie. a-‘b=b-a,V¥
a bER*.
Ee
—
Scanned with CamScanner
| -
fad
he
— =[a(ce—df)-b(cf-~ de)]-ilbl(ce-df)- alef+ de}}
=[ace-adf-bcf-bdel-ilbce—-—bdf+acf-ade}
=[ace—-bde-adf—bcfj-ifacf-hdf-ade-bce]
=[(ac-bdje-(ad~+be)f]~if[l(ac-baj-(ad-beje]
(x) 22 )=3 = 21 E22; )-
Ttus multiplication in C; is associative 1 ~ 10 © C; such that
(ay (at ib)= (1+ 10)=a+ib=(a~ib)(1 = iO)
- 1+i0is the identity element.
(a) Let z= a+ ibe, => a, bare reals and are not both zero.
| — a-ib _ a-ib
Now TF G+ib (a+ib)(a—-ib)
32 +B-
_ a ( —6 )
Pap a? +b7/
=> a+b +0.
Since aand bare not both zero
Thus ec,
—b
* uu (25) +i (*,}> is multiplicative inverse of z&C,
z a +h~
Hence C, is a group under multiplication.
imple 7. Let Q* denote the set of all rational numbers except — 1. Show that Q* forms an infinite
telian group under the operation * defined by
a*b=a+b+ab,
fora, bE Q*.
SL Here Q* = The set of all rational numbers other than —1.
For a, b, c E Q*
> a,b, care rational numbers other than - 1.
(i) Closure property : Since a and / are rational numbers so a + 6 + a@ bis also a rational number
Ifa+b+ab=—I1
then a+b+ab+1=0
> atab+b+1=0
> a(l+6b)+(1+4)=0
= (a+1)(b+1)=0
> a=-1 or 6 =—1,
which is not true
at+tbt+abx#-1 = atbt+abE
Q*.
closure property holds in Q*.
=atbrabtcr(atbtabjc=atbt+ctabtacsy.. a b c
ae(b*c)=ax(bictbe)
=atb+ctbeta(btctbc)=atbt+ct+bhetabig., ;
[0¢
-: (a*b)*c =a*(b*C)
associative law holds in Q*.
> at+etae=a
> (i +a)e=0
sore
=> e=0
(~~ | > d+ "ase
a*b=0
> a+b+ab=0
> a+(l+a)b=0 |
> (l+a)b =-a
as b=- a #—]
l+a
j
1
E if — = =-1 > -a=-l-a => 0=-1 whichisnotrm
l+a J
is the inverse of a.
lea
a*b=a+b+ab
=bt+at+ha
=bea.
OE!)
| ee
left inverse of the element headed by that column, in which the identity element lies. Also then the
element headed by the column is the right inverse of the element headed by that row.
(iv) Ifall the entries in a row are different, then the left concellation law holds. Similarly if all the entries
ina column are different, then right cancellation law holds.
(v) If the entries in the composition table are symmetrical above the principal diagonal, then S is
commutative w.r.t. the operation *.
Example 8. Show that the set G = {1, @, a} of cube roots of unity forms a finite abelian group of order 3
der multiplication of complex numbers.
So. Here G = {1, , 0°}.
To prove that <G, -> is an abelian group. We form the composition table using = 1 as given
telow:
* ] @ o
1 | a ow
@ o 1
2 2
@ l w
(i) Closure Property : Since all the elements in composition table are elements of G, so G is closed
mder multiplication.
(i) Associalivity : Since the elements of G are complex numbers and multiplication of complex
tumbers is associative, so multiplication is associative in G also.
(iii) Existence of identity : Since 2™ row is same as the first row
“. Lis the left identity. Also 2™ column is same as the first column
| is the right identity. So 1 is the identity of G.
1 e
le, la=a=al WaeEG.
Zhe Die
Ve" ,e 7 €G6,05 k,k, <n
2thyx 2ikyx 21h) +hy)
lirgr
= 7 ‘
~(I)% 0 4 (But et!" =cos2a+isinda <1eided
"
fire
~“e¢ © EG ws OS r<n.
.
the closure property is satisfied
Associativity and Commatativity : Since the elements ofG are complex numbers and mulnp!<2*
of complex numbers is associative and commutative,
“multiplication is associative and commutative in G.
HIS M
CTURES AND MORP
.
prt
ics
oe AMopr
reser »
ce of identity :WhenkeO,thene 7% =e =).
jsten :
orks as the identity element in G
ere 1 a
, of inverse : The inverse of| is | itself.
ristene rence
: 2k 2i(a-hie
Y 7 eG, k=1,2,3,..a-l,thhen e« * EG
2k Zi{n-dj) et lta
n e n = ¢ % wget! wt
such tha! t ¢
Qik Zitm-a’)er
{ ! Oo} fe oO
> - ~
} fo af}
poaple 10. LetG~ ) = oy +
oll; of
cove thatG forms a finite non-abdelian growp of order 3 under the composition of matr
ree
ipehkho-jigk hy him
mre pe -tak
Clearly the system is closed under the given operations and associative law holds.
QUARTERNION GROUP
Lf we fet
Example 11, (2) Show that the set of all matrices of the form a |
[ sin . a} 7
here @ 5 a ny
.
number forms an abelizn group under the operation of matrix multiplication.
(4) Sthow that the act G of all m & m matrices over Z (or Q. R or C ) forms an infinite shetiag oy
water the operation of addition of matrices
I 7
we
= Ag -Ag. yAy)
™ Ag -(Ag-
“. Associative property holds in G.
(ii) Existence of identity : 3 an element
% _{eos0 -sind)
ft oO}, eli ti
. , sin 0 cos 0 lo i ue ‘
AgAg “ Aqso ™ Aq 7 Ap: Ag. ¥ Ag EG
Ag works for the identity element for G.
ee
ne
ai
epRUCTURES AND MORPHISM
4 > :
we G ~The set of all mr X nm matrices over integers Z.
ay Lett erty. Let A,B, EG
am
Closure prop
\
x
2.0,
BEG
E2 v¥ A.BEG.
ds in G.
clessure property hol
ajo
. , Associative property. Since the set of all matrices is associative under addition, so G is
ive under +.
|) Existence of identity. Take O = [0 Jn.» Where 0 is zero integer
es E Gso that a, , € Z.
tat OA (4,,) *d
pen O+ A =(0) wxA +(a,,) =(o+a,,)
O is identity of G.
(wv) Existence of inverse.
Let A™ Ca GG, sothata,, EZ
a+B=(a,) mar
+(-a,, man
ADDITION MODULO nu
Now we define another type of addition known as ‘Addition modulo 2° and written as ‘a +, b° where
aand } are any integers and nis a fixed positive integer,
We define a +, b= 7,0 Sr<n where r is least non-negative remainder when a + 6 (usual addition)
is divided by 7, Also itis writtenas a+b r(modn), eg,
(i) 18 +,9= 2 as 18 +9= 2755 (5) +2, ie, 2 is least non-negative remainder when 18 + 9 jg
divided by 5.
(ii) -37 +, 2=1as -37+2= —35 = —9(4) + |, ie, 1 is least non-negative remainder when —37
LS
+ 2 is divided by 4.
Note : When a and 6 are integers such that a — b is divisible by » (a fixed positive integer) then we write q
= 6 (mod ») and read it as a is congruent to 5 modulo 7.
e.g., 21 = 1 (mod 5), 33 = 1 (mod 4)
MULTIPLICATION MODULO n
Further we define another type of multiplication known as ‘Multiplication modulo nm’ and written as
a x, 6 where a and b are any integers and n is a fixed positive integer.
We define a x,0 =r, 0S r<n_ where r is least non-negative remainder when ab (usual
multiplication) is divided by n. Also it is written as ab = r (mod n), e.g.,
() 8 Xy 3=3as8 X 3 =24 = 3(7) +3, ie, 3 is least non-negative remainder when 8 X 3 = 24 is
divided by 7.
(ii) 3 X6 5=3as3 X 5=15=2(6)+3 as 6 divides3 X 5 —3, i.e., 3.5 = 3 (mod 6).
Note: J, under addition modulo n is called additive group of integers modulo rr.
ftample 13. Show that the set J, = {1, 2, 3, ..., 2 — 1}, where p is a prime number forms a finite abelian
foup of order p, under the composition of multiplication (congruence) modulo p.
Sol. Given J, = {1, 2, 3, ...., 9— 1}, pis a prime number, p> 1. The composition defined is multiplication
nodulo p.
Va,b&J,, a* bor a X, 6= least non negative remainder r when a b is divided by p.
ie a*xboraxX,b=r => ab-—ris divisible byp
ie. ab =r(modp). *
Closure property: V a,b€J,, 1 =a,b<p
ab=r(mod
p) where 0 Sr<p
If possible let r= 0, then a 5 = 0 (mod p)
> pflab-0O => p/ab
1 >
2 j2Bja(modp)
* plia-ja @ p is prime
piso, wher e
> either ? p/
= Wa -_ /a
4 Now 1 € J, ® 1ES
ue Re heguy
te kaw) (mod p) ;
cxists.
inverse of every element of J,
py Where k & J, is an inverse ofa Le.
Be. Hence x
ee “MCC < J, , «> ig an abelian group of order p - |.
wou ( ioren
where it+f Manger Le i*y B r{mod mn).
Existence of inverse : Here cach row (column) of the composition table contains identity element {0]
*s ant only once. So the element left of [0] is the left inverse of the element above [0]. Similarly, the
“ment above [0] is the right inverse of the element left to [0]. Thus we see that inverse of [/] is {» - 1.
“st isa sn 1 and inverse of [OJ is [C].
Commutativity : Since the entries in the composition table are symmetrical about the principa|
diagonal.
Commutative law hold in G.
Moreover, as the set G is finite set. Hence (G, +) form a finite abelian group.
Note : The above group is known as additive group of residue classes modulo m and is generally denoted
by I/< n>, the quotient group.
Remark : The set G = {[1], [2],........ [ p — 1]} of residue classes modulo p forms a finite abelian group
under the operation defined by
[‘] - '] = [i], where [i] denotes the residue class ofi modulo p and p is a prime number.
Here in fact the operation is
9558
ij) if ij<
IS
awe {i if op,
where ij=npt+r ie. if =r(modp) and lsr<p-1
CW) | 2) |B) | ceceecteceeessccssssseseeee | 2-1]
CDP CUD | 2D | DBD | cesesssssssssesesseescssesssssereesessseeeeeen [p-1]
Pe
Bl | B) | | 19) [p-3]
Commutativity : Since the entries in the composition table are symmetrical about the principal
agonal.
|A|"! _
l . n-2
|B| = ——|adj A|= |A\" #0,
|A| |A|
BEG.
A-]=A=I-A, VAEG
1 € G works for the identity element for G.
Existence of inverse : Let A & G be any element, then 3
B| = AL i aca] = |adj.(A)|
2S _= LAT
|A["”
|A{ 1
1 . A.adj(A) _ |A|I
=A- — adj (A) = ———— _ = ——= 1.
Also AB = Av 7 a0 [Al [Al
similarly, BA =I
AB =I=BA
B= A! is the inverse of the element A in G.
Let S be a non-empty set. A permutation on S is defined as a map from S to S which is both one-one
and onto.
Example 16. Let A(S) denotes the set of all permutations on a non-empty set S. Then A(S) forms a group
under the operation of composition of maps. Moreover if S contains » elements, then the group A(S)
contains | m elements. This group A(S) is called Permutation Group.
((fog)oh)(x)=(fog)(h(x))=f(g(h(sx)))
(fo(goh))(x)=f ((goh)@))=S(g(A(*))
((fog)oh)(x)=( fo(goh))(x ), VxES.
~ (fog)oh=fo(goh)
Thus associativity property holds in A(S).
Existence of identity: Defineamapi:S +S by
i(xy) =x, VxreEs
i is one-one.
If x€S, then (x) =x
iis onto
i is a one-one map of § onto itself.
iis a permutation on S.
So, i € A(S).
Also” ( for)(x)=f/(i(x))=f(x),
Vx ES.
Existence of inverse : For all f€ A(S ),f is one- one and onto map of S to S.
J is invertible map and f' is also one
- one and onto.
Pa f~' isaalso
a permutation on S.
f 'EAS)
Also f-':S—Sis definedbyf''( y)=x iff f(x)=y
Ee x5.
123 4
We write the above permutation in a better way as f£ -[ . Here in the first line write the
3 42 1
ements ofS and in the second line we write the images of the elements ofS such that the image of each
ement in first row occurs below it.
Multiplication of the two permutations.
tn ga(i 234 (1234
2341)’
* \3 214
Then f(1)=2,f(2)
=3,/(3 )=4,f(4)= 1.
g(1)=3,¢g(2)=2,¢(3)=1,g(4)=4.
Sincef takes 1 to 2 and g takes 2 to 2, so fg takes | to 2.
f takes 2 to 3 and g takes 3 to 1, so fg takes 2 to I.
f takes 3 to 4 and g takes 4 to 4, so fg takes
3 to 4.
Finally,f takes 4 to 1 and g takes | to 3, so fg takes 4 to 3.
Here, to find fg, we first applied fand then g.
1 2 3 4/1 2 3 4) (1 23 4
fe-|, 5 a4 als 2 1 a) le a 4
XX ey
= X35 ey LGD =xe, I= m and fR)=x V x E Sif x F
that f(t) =X2 SQ2)
We write it as (xX) X2...... X71).
Here the image of each element in the row is the next element and the image of the last elemen
is the first element.
123
4 5 6
For example, if f= be a permutation of degree 6.
r f (; 241 5 6
(CSC T GG SG GT
This can be written as
EXERCISE 1.1
1. Show that the set of natural numbers form a monoid under the composition of multiplication.
2. Let X be any non-empty set, let P(X) denote the power set of X. Then show that
(a) P(X) form a monoid under the operation NM, intersection of sets.
(b) P(X) form a monoid under the operation U, union of sets.
3. Let M2(I) be the set of all 2 x 2 matrices over the set of integers. Show that the set M,(I) form!
monoid under the composition of multiplication of matrices.
4. Show that the set S = {— 1, 1} under the operation of usual multiplication of integers, is an abeli*
group of order two.
5, Show that the set Z of integers does not form a group under multiplication.
E
Show that the set of rational numbers does not form a group under multiplication.
kN
. Show that the set of all non-zero rational numbers forms a group under multiplication.
. Show that the set R of reals form an infinite abelian group w.r.t. usual addition of reals.
so
. Show that the set of reals R does not form a group under multiplication.
we
. Show that the set C of all complex nu8mbers forms an infinite abelian group under the Operation of
addition of complex numbers.
IL. Check whether the set E of all even integers forms a group under the binary operation a * b=2g + 2
b
12. Does the set E of all even integers form a group under usual addition ?
13. Check whether the set O of all odd integers forms a group under addition.
14. Prove that the set of complex numbers z, such that | z | = 1 forms a group under multiplication of
complex numbers.
15. Show that the set of Q” of all positive rational numbers forms an abelian group under the operation
defined by
asb= 5° V abEQ’.
16. Show that the set of all positive rational numbers under the composition defined by a * 6 = ab
elalbic
elela|lble
aljale|lc{6b
b clela
elc|lbJlale
22, Let a be an arbitrary but a fixed non-zero integer. Show that the set G = { a” :ne€ Z} ofall integral
powers of a, form an infinite abelian group w.r.t. multiplication.
23. LetG= {a+b J2:4,b € Q}. Show that G is an infinite abelian group w.r.t. addition composition
defined by, for all a+b V2, c+d 42 E G,(a+b¥2)+(c+d V2) =(a+c)+ (b+ ad) V2,
where a, b,c,
d EQ.
24. Show that the set G = {x : x is a rational number, 0 <x < 1} does not form a group w.r.t. ordinary
multiplication of rational numbers.
25. Let X be any non-empty set, let P(X) denotes the power set of X. Show that
(i) P(X) does not form a group under the operation M, intersection of sets.
(ii) P(X) does not form a group under the operation U, union of sets.
26. Show that the set of all 2 x 2 non-singular matrices over the set of real numbers R, forms an infinite
non-abelian group under the composition of matrix multiplication.
x
27. Show that the set G = | ‘ »x,yeER,st.x+y#0} does not form a group under the operation
x y
of matrix multiplication.
b
28. Show that the set G = i( A where a, b,c,dERst. ad—bc= | forms a non-abelian group,
c
29. Show that the set of all 2 x 2 matrices of the form | a | where a, 6 are real numbers, not both
al a
ee
x . . ,
30. Prove that all matrices of the form 2 | where x is a non-zero real, is a group with respect to
x x
matrix multiplication.
31. Show that the following set with the given binary operation is a group. Find the identity element and
the inverse of each element and check whether it is abelian group or not.
(a) LetS = {(a, 6): a,b ER, s.t. a + O}, the binary operation « on S is defined as
(a, b) x (c, d)=(ae,be+ d).
(b) Let S = {(a, b): a, b EI st. either a # 0 or b # 0}, the binary operation ~ on S is defined as
(a, b)« (c, d)=(ac-bd,ad+bec)
0
(c) Let G = (6 | where a # 0, be a real number}, the binary operation defined as usual
multiplication of matrices.
1 ab
(d) LetG = {}0 1 c|, where a, 5, ¢ are real numbers}, the binary operation on G as the usual
aS
a
00 1
multiplication of matrices.
es
youssBRAIC STR
UCTUR ES AND M
orpiisy
349
3. Show that the set G = 60.1.9
=
ui. Show that the set £1 > 4,5} isa finite abelian group of order 6 under addition modulo 6.
G =
‘multiplication modulo 6". “> 9. 4, 5, 6} is a finite abelian group of order 6 under the composition
vy. Prove that the set of
:
of multiplica zSers which are less than 7: and¢
: co-prime
P
ime to 7 forms
fe aman 2dellan
abeli grou :
P
tion modulo n.
x. Let S be a non-empty set and nto maps from set A to A forms a group.
P(S) denote the power setofS. Then (P(X). A) is an abelion group under
the binary operation of symmet
ric difference A, given by AA B=(A\B)U(B* A) VA,BEP(S)
Show that the set of all rational
: numbers of the form —~ isa group under addition, where p and q
34 =
are .integers. ~
ANSWERS
ll. Not a group 12. Group 13. Nota group 19. (a) group (b) group (c) group
20. Abelian group
1 5
i. (a) (1, 0), [4.—2) not abetian group (4) (1,0). — 7 _ 8. . abelian group
a a 2 2 2 Z -
a~+h a~ +b
1 ol [1 o ‘1 0 0] fi -a@ acd]
(c) ie . abelian group (a4) 10 1 O},/0 l =e|. pot ubelion
0 O 0 Oo
10 O 1) jo oO 1}
12. Elementary Properties of a Group
Let< G, * > be a group under the operation *. Then G has the following elementary properties.
LUniqueness of identity element
The identity element of a group is unique.
Proof: if possible, suppose thate,. e: are two identity elements ofa group.
(Since e, is identity element) 1)
e,* &2 = ey
=H LY (Since e; is identity element) .-.(2)
also =e, FP
Thus ‘ =e , [From (1) and (2)]
"7 2
unique.
the identity element ofa group is
SPECTRUM DISCRETs
350
ATHEy Rg
G
II. Uniqueness of inverse element
The inverse of each element of a group is unique.
Proof. Let ¢ be the identity element of the group (G, *) and a € G be an arbitrary element.
If possible, let b,, b, € G, be two inverses of a
a*b,=e=b*a (-. 5, is inverse of a)
3
~(l
and a* b,=e=b,*a (-- bp is inverse of a) .
++6(2
(Since e js
Now b, =bh,*e identity wd
by =b;
Hence each element of a group has unique inverse.
III. Cancellation laws hold in a group
For a, b, c € G, we have
ax b=a*c => b=c (Left cancellation law)
=> b=c.
a*b=a*ec => b=c
rsince a6 EG “ a*Fee _)
» cEG where c=a*b
> b'*a'EG
Also b,aEG 2 b',a'EG 2)
» deEG_ where d=b'*a".
[ *-" of (1) ]
Consider c*#d=(axb)*d
(Associative law in G)
=a*(b*d)
!
~ ax (b+ (6a") [ -- of (2)]
(By associativity in G)
=q+*((b*b')*a"'),
=qe(e#a')=a*a'=e.
cxd=e.
[.- of (2)]
Now consider d* c=(b' * a')*c
(Associative law in G)
= p'«(a'*c)
[-- of (2)]
=b'*(a'*(a*b))
(Associative law in G)
=p'« ((a!*a)*b)
=b'«(e*b)=b'*b=e
d*c=e
c*xd=e=d*c
> cl=d
> (a* by! = be a.
que solution in G.
be any elements. Then the equat ions a* x= bandy * a= b have uni
VL Ifa, b E G
has a solution in G.
Proof. We first prove that the equation a * x = b
Since a EG G, so 9 a! & G such that (1)
ata'=e=aq'*a
Sine a’ bEG so a'*bEG.
Take xagiedb “ xEG
vote: If< G, * > be an algebraic system in which closure property, associative property holds. Then G
xed not be a group if left identity and right inverse exist in G (or right identity and left inverse exist in G).
12.4. Theorem. A semi-group in which both the equations a x = b andy a = b have a unique solution, is a
Zoup. Prove it.
(It is also called a definition of a group)
Or
LetG be a set with binary operation which is associative. Assume that for all elements a and 0 in G,
te equations a x = 6 and y a= b have unique solution in G, then prove that G is a group
Note : If in a semi-group G only one of the equation has a solution. Then G may not be a group.
For example. Consider the algebraic system <G, -> defined by a-b=6, V a,b EG.
i)
Here <G, -> is a semi-group in which only ax = b has a solution in G. But G is not a group.
(Already proved)
set conta ining at leas t two ele men ts. Define a binary operation y
For example : Let G be any oH
axb=b,V abeG.
Clearly closed property and associative law holds.
ie. Gis asemi group.
Here V a,b,c EG, a*b=b and axc=e.
axb=asc > bec ie. leftcancellation law holds.
But G is not a group under *.
Here right cancellation law does not hold.
hold.
Remark 1. Ina semi-group, the cancellation laws may not
integers.
For example : Let S = Set of 2 X 2 matrices over
Now S is a semi-group under multiplication.
1 0 0 0 0 0
Here A = B= and C= are (any) three elements of S,
0 O 1 0O 0
0
AB =AC each =
0 0
But B #C.
Left cancellation law does not hold.
Similarly we can check right cancellation law does not hold.
Remark 2. There are semi-groups which are not groups but they satisfy cancellation laws.
For example : Consider N = Set of all natural numbers.
= {1, 2,3, 4,5, ....}
Under the operation of ordinary multiplication, N is closed and associative law holds.
ie. Nis asemi-group.
Also both the cancellation laws hold
ie Wa,bcEN
ab=ac > b=ec
and ba=ca > b=c.
But this system is not a group. (Here inverse of its elements do not exist)
Note: <N, - >is an infinite semi-group with cancellation laws hold.
<N, ‘> is nota group. |
Thus the above theorem cannot be generalized to infinite semi-groups
elds
> ~
yee.
| say “too!
ce OB is denoted
enote as 2a ~ andand (a (a7! °-a™")-a7"
a74).27! bybya a3 and soon.
| See
g-a”! =e, therefore
we denote a =e.
sxe
a" =eae....... a
Thess
nm times
a” = (a!) = (ayaa) Wn EN
—_—vY
numes
tes a =(a')” V nEN.Here ao” E€G Wn El
W<G, +> is a group, then
a+a=2a ie. ais operated
two times.
n@=a+a+....+ a(ntimes)
0a=0
(On left side 0 is zero integer. On right side O is zero element of the group)
(-l)a =-a (additive inverse of a)
(-n)a =n(-—a) V n€l
Here na ©€GVneEl.
Remark: 1f<G, ->isa gro
up.
Y a€G, V m,n &l, we can prove by the method of mathematical induction
() a™ g™ = qgmtn
' Here (i) and (ii) are also called Laws of indices in a group.
3. Order of an Element
Definiti
Mtion :Let a be an element of a group G. If there exists a win integer m such
positive that a” = e, then a is
*dto have finite o
and the smallest such positive integer n with this property such that a” = e is called
© ord
*t of @ and isTder,
denoted by O(a).
wig does not exist a positive integer n such that a"
=e, then ais said to have infinite order or the
0€$ not exist or the order
is zero.
é: ‘ 1
\
~—
Note : (i) Ina group G, order of identity element is always 1.
ie. O(e)=1.
(ii) In case of additive notation the above terminology is stated as :
Let a be an element ofa group G. If there exists a positive integer n such that 7 a = 0, then a is saiq to
have finite order, and the smallest such positive integer n with this property such that na = 0 is called the
order of a, and is denoted by O(a). 1
If there does not exist a positive integer 1 such that n a= 0, then a is said to have infinite order. OF the
order does not exist or the order is zero.
Examples : 1. In a group <Q — {0}, ->, we have O(1) = 1 (as 1'= 1), and O(-1) = 2 (as (-1)° = 1), By
the order of any other element does not exist.
2. In the group ({0, 1, 2, 3, 4, 5}, +6) the order of every element exists.
e.g. O(0)= 1, O(1) = 6, O(2) = 3, O(3) = 2, O(4) = 3, O(5S) = 6.
Note : The order of an element in an infinite group may or may not exist. But there do exist infinite groups
in which order of every element exists.
Example : Give an example of an infinite group each element of which has a finite order. Co
Sol. Let G={z;z€Cand z” =1 for some positive integer 1}
G = Union of all n, nth roots of unity, where n EN.
Under the composition of multiplication of complex numbers, G is an infinite group with identity
element z= 1.
The order of each element is » which is finite, where n & N.
Then G is an infinite group in which order of every element exists.
1.3.1. Theorem (A) Ina finite group the order of every element exists.
Theorem (ii) If G is a finite group of order n then show that for any a © G, J some positive integer r,
1<rsn,suchthat a’ =e.
1.3.2. Theorem. Let G be a group and a € G be of order m. Prove that
1.3.3. Theorem. Let G be a finite group and let a € G be an element of order n. Then a” =e iff nisa
divisor of m.
Proof. Firstly, let n be a divisor of mie. n|m, where O(a) =n.
there exists a positive integer g such that
m=nq
* O(a) ="
Now a” = q"% = (a")4 = ef =e, (a) |
& -
357
c gTRUCTURES AND MORPHISM
a’ =e where OSr<an
2?
the least positive integer such that a” =e.
ih is not possible, because O(a) = n and nis
hic
if r=0
Above result holds only
je when m=nq+O0=nq
ie, when 7 is a divisor of m.
ky
=
O(a") Gb ’
_ mm
where KEN.
Let G be a group and leta EG be order m. Then
34. Theorem.
o@’) (mm, k)
Bite
mn
O{a') =OXa).
(ii) We shall prove by induction that
Now (x! axy™! = tax)" (7! ax) = (x a x(x ax) = a (xx )ax
=x) g™ eax =x at! x,
“. The result is true for k= m + | also.
Hence
the result is true for all positive integers.
Also when
& = 0, then
-. The result is true for zero and negative integers also. Hence the result is proved for all integers.
min Al)
Again -- O(x!ax)=m
nb
= (x ax)" =e
a op, oe oe ol
for
> rla™x =x ex
: a” =e [Using left and right cancellation laws]
aut Q{a) =n
aim (2)
From (1) and (2), we get
m=n.
te ens
——,
a
Ea AL) +
e ee
BAAR ae enema ee tenn ewes ee eseeeseeeseeeeeesanecaeanes
| ILLUSTRATIVE EXAMPLES]
Example 1. Show that if G is a group then a € G is an idempotent if and only if a = e, the identity ofG
SoL Given G is a group.
Let a & G is an idempotent element
a
2 =a
>
> aa=ae
a =é. . ;
=>
es [Using left cancellation law)
Conversely let a= e, the identity of G
aa=ae
= é e = ¢ = a
[v @= e]
2
> a” =a
G is abelian group.
a, b € G. Prove that if b # e, then O(b)=3)
Example 3. If in a group G, a> =e and a bay! = b? forall
b4 =(ab a7!)
= a(aba™!)a! [Using(1)
=a* ba”
b8 = (a* bay?
=? ba?
66 = (aba)? =a ba
(Using
a(ab aja?
=a'ba*
- Mid
qurcstRuCtuns. AND MORPHISM
iw p? =a ba
= ebe!=b {4 “cet
pt
le 4 IfG is an abel ian grou p, then (a b)" = a” hb”, holds forall a,b & Gand for all nf
gsamp
n group,
sal Given G is an abelia
(aby edb
Consider (ab) he =(ab)‘ (ab)=(a b) (a
b)
> = ( (ai bf ) a) b, by associativity in G
Then (ab)"=(ad)™
=((ab)")" . ; a
4 since misa positive integer
=(a7b") ,
= (6” a”™ y! , since G is abelian
=(a"
=q" Bb"
(om yt = am 8
Hence (ab) =a"b",V n€l.
Example 5. Show that the equation ya y=a"! is solvable for y in a group G if and only if g ig the cube
of some element in G.
Peaxyxy?ax~ysy ayryry? |
yay xyxy! fuse (Il
Now yx =x yp @ pxrexyxyry'!
=> veylry xyxy! a
> vryayplxyxype
By (1) and (2), we obtain,
veyxy lay lx xyr @ yryrexyyyry
> yrpxaxyyxyx=y xyxpry
= (yxy =(ry)
Interchanging x and y in (3), we get,
(x »? = (yx)
= (@!ab=(a'b)a = eb=(a'da
=> b=(a'bya = b(a'a)= (adda
2 (6a')a=(a' ba = ba'=a'b (by nght cancellation law)
= a! and dcommute
(ii) Here ab=ba = (ab)h@! =(ba)h"!
> a(bo"')
= b(ab"') = ae~ d(ab')
> a=b(ab"') = (66 ')a = 6(@h"') = &(67'
a) = (ab!)
> b!'a=aab"! (by teft cancellation law)
we
3 (4)=eand
m(4) #e form<3
=> O(4)=3
To find O(5)
1(5) = 5, 2(5) = 5 +65 = 4, 3 (5) =5 +6 2(5) =5+64=3
EXERCISE 1.2
1. Show that a group of even order has an element of order 2.
2. Show that in a group of even order the number of elements whose order is 2 are odd.
3. Give an example of a group G and elements a, b € G such that O(a) and O(b) are finite, but O(2 bs
not finite.
. 6.
4. Let G be a group such that (a 5)” = ab", for three consecutive integers n and for all 4, bE
Show that G is abelian.
. If (ab)* =a? b*,VabEG,a group. Then show that G must be an abelian group.
OW
. Find the order of each element of the group {(0, 1, 2, 3, 4), +s}.
onKN
. Find the order of each element of the group of four 4th roots of unity.
. Find the order of each element of the following group
off }b eL dE df
under matrix multiplication.
9, show th at in a group of non-zero rational numbers under multiplication, only 1 and —1 are elements of
gnite ord er and all other elements are of infinite order.
2, provethat ab=ba.
_ Ifthe elements a, 5 and a } of a group are each of order
6)? # a? b?.
in Ss give an example of two elements a, b such that (a
f+) is a group such that 2 a= 0 for all a & G, then show G is an abelian group.
prove that every group of order 4 and less is commutative.
1s, Show that if G is a group of even order then it has at least one element different from identity element
which is its own inverse.
Anon-empty set G with a binary composition denoted multiplicatively is a group if and only if
a
—
ANSWERS
6.1,5,5,5,5
7001) =| » 0-1)
= 2, 0()= 4, O(-D =4
8.
°D=1,D=2, O(+i)= 4, 9(+,)= 4 and OCGA) = 4
. OA) does not exist
WS {i.02), (13), (23), (123), (132)}
() (at +¢)
= (+d) (mod n) (ii) ac=bd(modn).
(i) Since a = 6(mod
poof. n)
n) and c = d(mod
> n|(a—b) and n|c—d
> n\(a—b)+(c-—d) > n\(at+c)-(6b+d) => +d)n).
(a+c)=(b(mod
(ii) Also a = b(mod n) > nia—-b
Remark. From above, we find that addition, subtraction or multiplication to both sides of a congruence by
ninteger does not change the congruence. But this may not be true if we divide both sides of a congruence
byan integer.
for example : Consider the congruencies
24 = 12 (mod 4) ie. 6.4 = 62 (mod 4)
If we divide both sides of this congruence by 6, then we obtain 4 = 2 (mod 4) which is not true as
$1(4-2).Hence 4 = 2 (mod 4).
The next theorem will throw some light in this regard.
Theorem : Let a, b, c be integers and n be a positive integer nm.
Le. = {mee =I
| ILLUSTRATIVE EXANp
Example 1. 26 = 2 (mod 12)
Sol. As = 12|26—2ie. 12/24
LES
26 = 2 (mod 12)
Example 2. Show that n is odd iff n = 1 (mod 2)
Sol. Firstly let 1 is odd
n=2k+1;kEZ > n—-1=2k
> 2|n-1
=> n= 1 (mod 2)
Conversely let 1 = 1 (mod 2)
2|m-—1 >= DkEZst.
n-1=2k
ie. n=2k+1 =~ nis odd.
p? + Lis divisible by 10
Sol. Since p> Sand p isaprime, so p is odd _(1)
le 7°
is composite
) a l<asb<n
ee ie 1=6 # 0(mod 4)
tet a= b #2
a
Then n=ab=a.a>2
2 (n-1) 22a
in(n—1)!
> both a and 2 a occurs
2 a.2a|(n-1)!
a” | (n-1)!
>
> n\(n-1)!
> (n—1)! =0(mod n).
Lastly let azb
: l<a<b sn-1
= bothaand boccur in(n—1)!
= ab\(n— 1)!
° (n—1)! = 0 (modn)
bample 5. Prove that an integer is divisible by 3 iff its num of digits is divisible by 3
SL Let N=@,10"+a,_, m-! 107! +....+107 ay +104, +a, be decimal expansion of an integer N
Consider integer polynomial
f(x) = > a, x!
k=0
Then
N =/(10)
Now 10 = 1 (mod 3)
. (10) = £(1) (mod 3)
° N= Sa, (mod3)
2) =O
Thus 3|N
ift 3| da, i
k=0
ye
67.36 +49" .7
Il
6” .43
= 0 (mod 43)
“ 43 | ott? 4 72nel
a3 =
ee AND MORPHISM
8 32 = — 2(mod 11)
> 34 = — 18 = 4(mo11)
d
> 11)
38 = 16 =5 (mod
2 11)
3!0 = 45 = 1 (mod
(4)
Thus 1440= 3° = 1 (mod 11)
Multiply (3) and (4)
315.1440 = — 1 (mod 11)
ie 25-1499 +1 = 0 (mod 11)
> 2!5.147° +1 is divisible by 11.
by 12.
frample 10. Find the remainder when 1! +2! +3 YF wxaaanenhe + 100 ! is divided
«dl. Form 2 4, we have
n! = 0 (mod 12)
W+2!4+31+
4 t. +100! = 1! +2! +3! (mod 12)
= 9 (mod 12)
The remainder = 9.
= 7 (mod 9)
= —2 (mod 9)
5
Sol. We have 2? 41 = 232 4)
Now 2!! = 2048= 125 (mod 641)
> 27 = (125)? = 241 (mod 641)
2'1 522 = 125 x 241 (mod 641)
=> —2 (mod5641)
233 = 30= 12
Since (2,641) =1
5
= 27 +1 = 0(mod 641)
ie. 641 | 2? 41
Example 13. Find the remainder when
(a) 2° is divided by 7 (b) 53'°3 + 103%? is divided by 39.
SoL We have
259 = 23642
= gié . 92
= g'6.4
Since 8 = 1 (mod 7)
= g'© = 1 (mod7)
Thus 259 =4 (mod 7)
= 4 isthe remainder when 2° is divided by 7.
(b) We have
53 = 14 (mod 39) and 103 = — 14 (mod 39)
EXEKCISE 1.3.
I. prove that if
c> 0 and a = b(mod m), then ac = be (mod mc)
m) and 6 # 0 (mod m)
(i) If ab = 0 (mod m), thena # 0 (mod
3. m) and
Ifx= a(mod n) then a = b (mod g)
x = 6 (mod
() 34° isdivided by23 (if) 4899 and 11173 +333!!! are divided by 7.
s, Showthat 277-1 is divisible by 233.
6. Using congruences, prove the following, form 2 1,
ANSWEKS
2 () a=2,b=3andm=6 (if) a=3,b=2and m=5
4. (7) 2 (i) 6,0
Let S be a structure, R, an equivalence relation. If the equivalence classes form a structure of the same
gecies as S under relations derived from passing to quotients, R is said to be compatible with the structure
2 §, and this structure on the equivalence classes of S is called the quotient structure, or the derived
Sucture, of S/R.
Definition : (Free Monoid)
In abstract algebra, the free monoid on a set is the monoid whose elements are all the finite sequence
“ stings) of zero or more elements from that set, with string concatenation as the monoid operation and
wh the unique sequence of zero elements, often called the empty string and denoted by ¢ or A, as the
‘tity element. The free monoid on a set A is usually denoted A*. The free semigroup on A is the
xdsemigroup of A* containing all elements except the empty string. It is usually denoted A’.
More generally, an abstract monoid (or semigroup) S is described as free if it is isomorphic to the free
Sonoid (or semigroup) on some set.
Lot Gye
‘
ye
4 1() eo?
SO Sr sdb
pe we : Xv
(heh eth glk ildy ) whore y= 22!
v wy ?
5
form an abelian group
Clearly Gy = < ¢'> ds a cyclic Group generated
by ¢'
As ? Ta (e')’, vo (e')’, el Vy (cy!
eg by
eee 2" COS Qe isin Qe Lok JQ) |
Theorem. Let G be a finite group of order 7, IfG contains
an element of order n, then G must be
cyclic,
Proof, Let a © G such that O (a) © n,
Let He {a's r ET} bea subgroup of G,
But O(a) =n > H™ {e, a, Grand Yusag>
ie, His a cyclic subgroup ofG generated by a.
Also. O (IH) =O (G)
» G=H=<q>,
he, G is acyelic group.
Note + In order to show that a finite group
is cyclic or not, Find the order of every
Contains an element Whose order is equa cleme nt of GWG
l to the order of the group, then the group
ment will be the generator of the cyclic group, must be cyclic and that
otherwise the group is not cyclic,
heorem 3 Every cyclic group is abelian,
“Of, Consider a cyclic group G generated by a. ie,
G™ <a>,
Let YEG be arbitrary elements.
ee
Scanned with CamScanner
374 SYECTRUM DISCHETE MATHEMATs
wy
1
[At on EQ he any element,
a)
J m . ‘
[At sh << for some inteyer k,
n n
sake,
3
I
which is not possible as k, m are integers, where ax = is not.
3
Hence no clement can act as generator of Q,
1 0 -—| 9 i OQ -|
(if now lin A th~ C=
. | I 1 \, I . |0 “lt
‘The composition defined on G is usual multiplication of matrices,
‘The composition table is given below :
‘id A |B YC
i {J A BIC
AJA JI [CB
Bim LTC yt A
C\C |B IA TI
Since all the elements in the composition table are the clements of G. Therefore G is closed unde
multiplication, Also the multiplication of2 % 2 rmatrices is associative,
Also 1 is the identity clement ofG and
ana
bY
Gisan abelian yroup of order 4,
pte pia (=f 4% OfAjy=O()=O(C)=2
Sights
pin OC" Le, 4.
G has po element whove order is equal to the order of G
sce Gis nota cyclic yroup.
. » prove that the order of a cyclic group is equal to order of its yenerator.
ey f tP °
LUSTRATIVE EXAMPLES
phe I Chow that the set of n-nth roots of unity forms a cyclic group under multiplication.
{ump Zara |
eG f n :04rsn~ | forms an abelian group
yh We knew that the set of n-nth roots of unity
zi mustiplication.
ial
lt «7e"”,
2a 3a Ae (n-Nja
4 Ge |e“. i pl geneous e
§ 43
G ;can be expressed as (3°, 37, 3',3°.3 3}
le, (3! 32, 33 a 35 3°)
G is cyclic.
EXERCISE 1.4
1. Show that G = {1, 2, 3, 4} forms a cyclic group under multiplication modulo 5.
2. If an abelian group of order 6 contains an element of order 3, then show that it must be cyclic group,
3. Let G be acyclic group of order 8. Find how many generators are there.
4. Define cyclic group. Determine which of the following are cyclic groups and find their generator,
() {1,-1,4-9 (iif) (Z,+) (iif) (R, +)
6. Show that group {1, 5, 7, 11} of intergers under multiplication moduls 12 is not a cyclic group.
ANSWEKS
3. 4 generators 4. (i) Cyclic (ii) Cyclic (iii) Not Cyclic 5. 1%=6, I>=-5
1.6. Substructures
Definition : In mathematical logic, an (induced) substructure or (induced) subalgebra is a structure whost
domain is a subset of that ofa bigger structure, and whose functions and relations are the traces of the
functions and relations of the bigger structure. Some examples of subalgebras are subgroups
submonoids, subrings, subfileds, subalgebras of algebras over a field, or induced subgraphs. Shifting
the point of view, the larger structure is called an extension or a superstructure of its substructure.
Definition : (Submonoids)
Let (G, *) be a monoid and H © G
Then (H, *) is called a submonoid of (G, *) Iff () H is closed under the operation *.
(ii) There exists an identity element e € H.
foition ¢ (Subgroups)
A non-empty subset H ofa group <G, *> is said to be a subgroup of G if <H, *> is itselfa group.
cob He SJ JL dh
ntrix multiplication.
Clearly H C G. Also H is a group in itself under the same operation of matrix multiplication.
Hence H is a subgroup of G.
Some Observations
|. If is a subgroup ofG and K is a subgroup of H, then K is a subgroup of G.
2. IfH and K are subgroups ofa group G and H C K, then H is a subgroup of K.
Notation: If H is a subgroup of G. Then we write itas H s G (or H <G).
Again H is a proper subgroup of G is denoted as
H<G(orH<G, H # G).
PROPERTIES OF SUBGROUPS
1. The identity element of a subgroup is same as the identity element of the group.
Proof. Let H be a subgroup ofa group G.
Let e and e’ be the identity elements of G and H respectively
Let a € H be any element
[~ e’ is the identity of H]
ae’ a
_
Scanned with CamScanner
= nS
a 7"
Il. The inverse of any element of a subgroup is the same as the inverse of the element regarded
as the element of the group.
Proof. Let e be the identity element of G and H.
Let a € H be any element.
Since HE G - a&G,
The above two conditions can be combined to a single condition a—~b GH, Va, b EH.
CRITERION FOR A FINITE SUBSET TO BE A SUBGROUP OF A GROUP
Lemma : A non-empty finite subset H ofa group is a subgroup of Giff abG@H,Va,b EH.
Proof : Necessary Part. Let a non-empty finite subset H of a group G be its subgroup.
H itself is a group
abEH, Va,bEH. (By closure property)
Sufficient Part. Suppose that H is a non-empty finite subset of a group G such that abG@H,Va,bEH.
The operation of multiplication is a binary operation on H.
Let a,bh,cEH > a,b,cEG, since HCG.
Since aE H, so aEG.
nwab “ae
)
*
al(ab)ea'(ac
similarly barca = b= ¢,
The cancellation laws hold in H.
H is a non-empty finite set with an associative binary operation in H and the cancellation laws
hold in H.
H itself is a group. (already proved)
Thus H is a subgroup of G.
Notice that the above theorem holds for only finite subsets ofa group.
gemark : In case of additive notation, the above lemma can be stated as
Anon-empty finite subset H ofa group G is a subgroup iff
a-bEH, Wa, bEH.
Theorem : (/) Prove that the intersection of two subgroups of a group is again a subgroup of the group.
proof. Let H and K be two sub groups of a group G.
H and K are subsets of G.
> HOOK GG.
Now letx,yEHONK
xyEH and xyEK
=> xy'GH and xy'E€K, sinceH, K are both subgroups of G.
> xy'EHNK
. xy'EHNK, V ~yEHNK
H MK is a subgroup of G.
) Theorem : (ii) The intersection of an arbitrary collection of subgroups of a group is again a subgroup of the
youp.
Sol Let
G be the group and {H, |4 © A} bea family of subgroups of G.
Take H = (7 H,
AEN
e€ H; VAEA
vw f)H, SG
Len
> HEG
Now let a. FEH
= abe ()h,
den
2 ab'e f)n,
AGA
-1
=> gh’ EH
> HH itselfis
a group and HCG
so. )60- His a subgroup of G.
Remark. The union of any two subgroups of a group is not necessarily a subgroup of the group.
For example : (/) The sets H = [0,3] and K = (0, 2,4} are subgroups of the group G = (0, 1, 2, 3,4,9
under the operation addinon modulo 6 But the union H U K = {0, 2, 3, 4} is not a subgroup of G, f&
2D3IEGHUK, but 2+3J"5E HUK.
(4) The sets H > {1,(12)} and K = (1, (13)) are subgroups of S,, the symmetric group ca &
numbers 12,3 But HU K = (4, 12), (14)) is not a subgroup of Sy for (12), (3) E HUK™
(12) (13) « (123) HU RK.
Theorem : The union of two subgroups of a group ts a subgroup iff one is contained in the other.
Proof. Necessary Part: Let HH, and H, be two subgroups of a group G such that H, UH; is age?!
subgroup of Gi.
We shall prove thateither H,O HU, of HyCH,.
* bEHUH,
2bEH,UH;
> ab 'EH, UH, since H, U Hy isa subgroup
> eb 'EH, or ch' er,
First cons
theid
caser
e when g'h
€ Hy,
sce @EH, andHyisasudgroup 2 pteyy,
a'(ab EH,
eo (@'a)b'EH,
2 ¢«b'EH,
2 B'EH,
2 (')y'EH,
ie, OEH,, whis
ic not h
truc.
This case is not possible.
Now consid
the er
case og A' EH,
Smee SEH, .
(e@b")SEH, » o(S' HER,
ie,g@eGH, = gE H,, which is again false.
This case is also not possible,
So both the cases are nut possibis. Therefore, our suppo
sition is wrong.
+ either Hi SH: oor HCH,
Safficient Part : Suppose that cither H, SH,
oor HCH,
* NUL=H. or H, UH. =H,
nes Ny UH: is a subgroup of G, since both H, and H, are subg
roups of G.
CTOF TWO SUBGROUPS
radgg LM be 0 subgroups ofa group G, them the st HK defined by HK ~{ha
: for allAEHLEK)
hes Product of the subgroups H and K.
th
A fOn-empty subset H ofa group G is a subgroup, then HH = H.
=A hom-ermpty subset H of a groupG is subgroup
uff HH! H.
a IH and K are two subgroups ofa group G, then HK is asubgroupof G iff HK = KH.
—
Scanned with CamScanner
388
SPECTRUM DISCRETE MATHEMATICg
—S
Definition. The Centre ofa group G is denoted by Z (G) or C (G) or Z and is defined as
Z=C(G)=Z(G)={gEG|gx=xg, VxrEG}.
Theorem. The centre Z (G) ofa group G is a subgroup of G.
Proof. Let Z(G) = {g € G: gx=x g, Vx € G} be the centre ofa group G.
Clearly Z(G) CG.
Since ex=xe, VWxEG e€ Z(G).
Therefore, Z (G) is a non-empty subset of G.
Let g), g2 © Z(G) be any two elements, then
ILLUSTRATIVE EXAMPLES
Example 1. Show that the set n Z= {...,—3n,-2n,-n,0,n,2n.3 i
of additi “ } ofof all
is a subgroup of the group Z of all integers under the operation all In
i tegral multipi le
s of n,
Sol. We know that Z, the set of integers forms a group under addition.
Now nZ={nm:mEZ}
Since n,mEZ > nmEZ
nZCZ.
> |ziiz'J=1=]z"[z|
>
hjz'|=1 = |2’|=1 =2z'ES
foreveryz €S,4z' ES s.t.
zz'=l=2'z
inverse of every elements of S exists in S
S is a group under multiplication.
Hence § is a subgroup of C*.
390
SPECTRUM DISCRETE MATHEMATI cg
— Ss
Example 3. Let G be group of 2 2 non singular matrices over R under multiplication. Show
b
W= ° | /saeo is a subgroup
of G.
a b ad+#0
Sol. . Clearly
Clearly W = ° | / abdeR isi non empty
a b a,b,c,deER 1 0
bset of group G=
Stinger OF FOUR ° | ci e «(| ew
: - J
Now AB"! = | 72 2 a p-! =! E ~,
L iyo a, d, 7
d,
a a5, eth
=| “22d, d.
2lew a,
yA da
14
d
4
0 1 a, d, ad,
al a,
sample 6. Let G be the group of all 2 x 2 non-singular matrices over the reals. Find the centre of G.
a b
ol Here G = |? ak a,b,c,d ER st. ed-beed|,
Let|: | € C(G) be any element. Then it should commutate with all elements of G.
c
. . ., }9 1} {| 1 0
In particular it commutes with tori EG.
a 0
texecca)= {[¢ | o#0 eR}.
a
EXERCISE 1.5
1, Show that the set Z of all integers is a subgroup of the set of rational numbers under the operation of
addition.
2. Verify the following statements for being true or false.
(2) The multiplication group {1,— 1} is a sub group of the multiplicative group {1,—1, ,- 4
(b) The additive group of even integers is a subgroup of the additive group of all integers.
(c) The set of odd integers in not a subgroup of < Z, + >
matrices.
7. Show that the set of cube roots of unity H = {1, w, #7} and the set of fourth roots of unity K = {1,~1, /,-4
2h :k =0,1, 2, 3,..., uh und
are subgroups of the group of twelfth roots of unity G = {cs
1.7, COSETS
Definitions : Let H be a subgroup ofa group G. Ifa € G, then the set Ha= {ha:h €H } is calleda
right coset of H in G determined by a and the set a H = { ah: h € H } is called the left coset of H inG
determined by a.
If the operation is addition, then the right coset becomes H+ a= {h+a:h € H} and the left coset
becomesa+H={ath:h€ H}.
Note
: Ife is the identity element of group G, then H e and e H are right and left cosets of H in G.
Also He={he:hE@H}={h:hEH}
=H.
eH={eh:hEH}={h:hEH}
=H.
If H is a subgroup of a group G, then H itself is a right coset as well as left coset of H inG
determined by e.
Remark : When G is an abelian group then there is no distinction between a left coset and a right coset. ie
left coset = right coset i.e. aH = H a.
Lagrange’s Theorem : The order of each subgroup of a finite group is a divisor of the order of the group.
Proof: Let G bea group of finite order 7.
Let H be a subgroup of G and let O (H) = m.
Any two distinct right cosets of H in G are disjoint Le., they have no element in common. Since G is a
_» soup, the number of distinct right cosets ofH in G will be finite, (say) equal to k.
The union of these & distinct right cosets of H in G is equal to G. Thus if
Ha), Haz,... H ag are the & distinct right cosets of HinG, then G= Ha, UHa, VU... UH ay.
» Number of elements in G = the number of elements in H a, + the number of elements in
of Ha;+...+ the number of elements inH a, = [*"_ two distinct right cosets are mutually disjoint]
>» O(G)=km > n=km
\ote. Here A is the index of H in G. We have mr = = Thus & a divisor of ». Therefore the index of every
seroup ofa finite group is a divisor of the order of the group andn=mk =» O(G)= O(H)(G: H]}
Another Method of Theorem.
[8 Normal Subgroups (or Invariant Subgroups or Self Conjugate subgroups)
In general, ifH is a subgroup of a group G, then the left coset a H of H in G may not be equal to the
utesponding right coset H a. In this section, our aim ts to study a particular class of subgroups H for
tich each left coset of H in G is equal to the corresponding right coset of H in G. We call such subgroups
Snormal subgroups.
kfnition : A subgroup H ofa group G is called a normal subgroup ofG if every left coset ofH in G is
Sul to the corresponding right coset ofH in G.
ie. aH=Ha, Va G&G.
Ifthe composition defined on G be addition, then H will be a normal subgroup of G iff.
at+H=H+a, WaeG.
kmark : (i) When G is an abelian group. Then every subgroup H of G is a normal subgroup, for aH = H a,
NEG.
_ (i) The subgroups {e} and G of any group G are always normal subgroups of G. These are called
“Mal normal subgroups.
(ti) If His anormal subgroup of G, then we write itas H AG.
Theorem ; A sebgroup
H of a group G is a normal eabgroup ofG iffghg ' EH foreveryhEH. g EG
Proof: Firstly. bt H be a normal subgroup of G.
ge He. VeeG
Let 4 E Hand ¢ € G be any clement. Then
gh€egli-He * phEHe
* gh~hy foesame h, EH
® ghy '=% CH
2 ghy ‘GH
Ceaverely. Lct H be a subgroup of G such that
ghe ECW. W AEN, SEG
We shaw that His anormal subgroupie aH Ha, VaEG.
Let a@ @G be any clement. Then by piven hypothesis
oha'GH. WhEN
Let ah Gull beanyelement
Then ahe(aha ')aG@ Ha
* vhkeGHa
a@Heoa AG
is 2 gH(se J=Heg
=> vHe=Hg £&
.
(oH es H)
~* gH=Hg,
ILLUSTRATIVE EXAMPLES}
t b the
pk I. Show that the set H = (° it a,b,c,deERs.t. sd-be=t} is a normal subgroup of
c
fr
ia b
Maen.
2G ile i a,b,c,déeR sad-bes0|,
SPECTRUM DISCREy
7
; )
E “ATE
H is a non-empty subset of G.
where ay, by, Cl, d, and ap, bp, C2, dy ERS. | A| =a, d\- b c\= | and | B | = a>
4: ~ ba oy =
Now| AB|=|A||BJ=1-l=1 = ABEH.
Atso 1att=| A agja|=lagAl IAL 11,
|A| IAP JAP FAL 1
[or AA'=1 > |AAT|=|1| = JAI[AT|=1
> IAT) =1 > {AT |=11.
> A'EH.
H is a subgroup
of G.
To show that H is a normal subgroup of G.
Let A € H and B € G be any elements, then| A |=1.
Also| B| + 0 > B' exists.
a“
397
Now, we show that Z (G) is a normal subgroup of G.
Let hEZ(G) and g &G, then
she’ =(gh) @'= (hg) g'=h(gg"')=he=hEZG)
she'EZ(G)WVeEG, hEZ(G)
Hence Z(G) is anormal subgroup of G.
fumple 3. IfH is a subgroup of G of index 2 in G. Then H
is normal subgroup fg
wt Let H be a subgroup ofG such that [G : H] =2.
|
The number of distinct left (or right) cosets ofH
in G is 2.
To show that H is a normal subgroup of
G.
Itis sufficient to prove thatx H=Hx, Wx EG.
Letx & G be arbitrary element of G.
(wel. When x EH,
Sine =x EH So, xH=H=Hx
Hence x H=H x,
Case Il. When x GH.
xH #H and Hx#H.
Also [G: H] =2.
" HUxH =G=HUHx
> xH =Hx.
Combining the two cases, we find that
xH=Hx VxEG.
H is a normal subgroup of G.
tumple 4. A subgroup H of a group G is a normal subgroup of G iff the product of two right cosets of H
2Gis again a right coset ofH in G.
Or
Prove that a subgroup H of a:group G is normal
iff HaHb=HabVa , 6 & G (the composition is denoted multiplicatively).
SL Let H be a normal subgroup of G and
let Ha,H 6 be two right cosets ofH in G. Then
(H a)(H 6) =H (a(H 8))
=H ((a H) 8)
=H (Ha) 4, since H is a normal subgroup of Gso aH=Ha
=H (H (a d))
=(HH)ab
=Hab, since H isa subgroup ofG so HH =H
=
(H a) (H 6) =Ha b.
a,bEG > abEG
Hab isaright coset ofH in G.
Thus the product of two right cosets of H in G is again a right coset of H in G.
Conversely, suppose H is a subgroup of a group G such that the product of two right cosets of H ing
is again a right coset of H in G.
To show that H is a normal subgroup of G.
Let g€G be any element.
g 'EG, since G isa group.
Hg, Hg"! be two right cosets ofH in G.
(H g) (H g’'') is again a right coset of H in G.
Since H is a subgroup of G, therefore e € H, where e is the identity element of G.
Since e EH.
(eg)(eg')E(Hg)(Hg"').
= gg'e€(Hs)(Heg"')
> e€(Hg)(Hg"').
Also H isarightcosetofHinG and e€H.
(H g) (Hg ')and H are two right cosets of H, each containing e.
(Hg)(Hg')NH#¢.
Since the two right cosets of H in G are either disjoint or identical.
> (Hg)(Hg')=H.
Let AEH beany element.
(hg) (hg ') € (Hg) (Hg"')
> (hg)(hg ')EH, since (Hg)(Hg ')=H.
h(ghg ')EH.
4
399
ofBRAIC STRUCTURES AND MORPHISM
ao
2 Hisasubgroup of G.
Further to show H is normal in G
ao
=H (- n € N)
H, is normal subgroup for each
ghg! € ‘a H_
u
n .
n=]
EXERCISE 1.6
1, Let G denotes the group of all non-singular upper triangular 2 x 2 matrices with real entries i.e., the
1 b
matrices of the form ; A a,b,d€@ Rand ac
# 0. Show that H = [3 | be R|
oO
isanormal subgroup of G.
2. Let H be a subgroup ofa group G. Let g & G be a fixed element of G. Then show that gH g7'= {gh
g’' : hE H} is asubgroup ofG and W = 0 gHg" is a normal subgroup of G.
gE
3, Let H be a subgroup of a group G. If x° € H, for all x & G, then prove that H is a normal subgroup
of G.
4. Prove that the intersection of two normal subgroups is a normal subgroup.
5. Let H and K be normal subgroups of a group G such that HM K = {e}. Prove thath k=kh, for all
hEH and KEK.
6. Give an example of a non-abelian group in which all the subgroups are normal.
9. Show that a non empty subset H of a group G is normal subgroup of G iff (g a) (g by! EHVa,
bEH,gEG.
10. Show that the set SL (n, R) of all » x » matrices of determinant 1 over real numbers is a normal
subgroup of GL (n, R), the group of 7 x n invertible matrices over real numbers.
11. A cyclic subgroup T of a group G is normal in G. Prove that every subgroup of T is also normal in G,
12. Prove that a normal subgroup of G. commutes with every complex of G.
IfH is anormal subgroup ofa group G, then the group G / H of all the right cosets of H in G under the
composition (H a)(H4)=Ha bis called a quotient group or a factor group.
Note. If the composition in G/H is addition, then the composition in G/H is defined by
(H+a)+(H+6)=H+(a +b).
Remark : IfH is anormal subgroup ofa finite group G, then G / H form a group of order OG)
O(H)-
Proof : By Theorem, G/H forms a group.
_= omar
OG)
Theorem : If H is a subgroup of an abelian group G, then the group G/H of all right cosets ofH in G forms
an abelian group under the composition defined by Ha. Hb=H ab.
Proof. IfH is a subgroup of an abelian group G, then H is a normal subgroup of G.
G/H forms a quotient group. (already done)
,
Cg
nr PP SP ee
gatke The convese of the above result is not true that is, the quotient group may be abelian even if G
7 got be abelian.
E ample. Give an example of a non-abelian group G and a normal subgroup H of G such that quotient
i G/H is abelian.
up
ol x. (i) Let G= {+1, + é, + j, + k} be the non-abelian group of unit Quaternion under multiplication
gfned by
papak=-l, ij=k=—ji, jk=i= ki, ki=j=—ik.
tet H={1, —-1,4, —i} be asubgroup of G.
O(G) 8
Then [ G:H] ] = —~=-=2
O(H) 4
H is anormal subgroup of G.
G/H is a group of all right (or left) cosets of H in G is of order 2, a prime. Hence G/H is an
pelian group, but G is non-abelian.
Ex. (i) Let Ss = {i, (12), (13), (23),(123), (132)} be the symmetric group on three numbers 1, 2 and 3
sanon-abelian group. Then
Ld
H= {i, (123), (132)} be a normal subgroup of S; such that the quotient group S;/ H = {H, (12) H} is
nabelian group. [-.. every group of order 2 is abelien]
Theorem : LetN be a normal subgroup ofa group G. Show that G / N is abelian iff for all x,y € G.xyx 'y'EN.
Proof. Firstly, let MN be anormal subgroup of G such that G/N is abelian.
Toshow thatxyx7'y"'EN, Vx,y EG.
Now, Nxyx7'yo! =NxNyNx Ny?! =NxNp(Nx)! (N y)7!
=Nx(Nx)' Nyy)! [Since G/N is abelian]
=NN
=N
Thus Nxyx7'p"'=N => xpx tpl EN, VxyEG.
Conversely. Let for all x, y € G, xyx7'y7' EN.
To show that G / N is abelian.
Since xyx7'y 'EN
Nxyx ty! =N > Nx Ny Nx! Ny-' =N
4
SPECTRUM DISCRETE N
Let H be any subgroup of G. LATHE,
Ry
His a normal subgroup of G. So G/H form a quotient group.
Hx=Ha" = Ha.a..a
—
na times
= Ha.Ha....Ha
—$$<_, —__
a times
=(Ha)".
Hx=(Ha), VW HxEG/H.
G/H is acyclic group generated by H a.
So, each quotient group of a cyclic group is cyclic.
Remark. The converse of above result may not be true i.e. quotient group may be cyclic even if the group
may not be cyclic.
Theorem : If G is a group such that G / Z(G) is cyclic, where Z(G) is the centre of G. Then G is abelian.
Proof.
Let N = Z(G) and letG/N=<gN> beacyclic group.
Leta. 6 EG be any two element.
=> aN, bNEGIN.
aN=(gN)” and 6N =(gN)" forsome m,n € 1
> aN=g"N and bN =g'N @ a'g™EN and b'g"EN
> g"aEN, g"bEN. 2 x'eEN
(se xEN
Let ge "a=n, go" b=, forsome m,n EN.
> a="n,, and b=g"n,
ab = ny ny" (mg) m= go (27m) my
= gf" 2" nym me worn my
Similarly, ba 8 (em) ma
("nr (e% m) = (mg) mm
om
ment
al
= gm 1). (cm, ENS Z(G)"
abba.
Hence G is abelian.
Ye
(ILLUSTRATIVE EXAMPLES,
~S
se 1. Let Z be the additive group of integers. Let H = 3 Z be the additive grou of ;
wr . = | ~~ of Rte,
=; prove that H is a normal subgroup of Z. Also find the elements of Z/H wee hehetips
H+a=H+(3¢+7r)=(H+3¢)er.
=H+vr, since 3q © Hand hence H+ 3 ¢=H.
H-e=H+r where OS-s 2.
H+ aisequaltooneof H+0, H+1, H+2.
. Z4H#*{H,H+1,H+2}.
‘ample 2. If H be a normal subgroup of a group G and (G : H] ~ -, then show that foramy EG, x"EH
wi Snece H ts a normal subgroup of group G such that (G : H] © ar.
O (GH) = m.
VY xHEG/H, where x GG, we have
=
=
Gs
WS
Definition. Let H be a non-empty subset of a group G. Then the set N(H) = {a © G: aH =H a}, is calleg
the normalizer of HinG.
Example 4. Let 1 be a positive integer and N = nZ be a subgroup of the additive group of integers Z, Show
that O(Z /N) =n.
Sol. Let Z={..... —3, —2, —1, 0, 1, 2,3, ......} and
Aa SE
Z/N = { N+ a:a € G} be the quotient group under the composition defined by
(N + a) +(N + 6)=N+(a+
8).
Example 6. Let (Z, + ) be the group of integers and H = {4 | € Z}. Then find the members of Z/H.
Sol. Let (Z,+)= {....—2,—1, 0, 1,2, ....} be group of integers under addition
and H= {4n|n€ Z} = {....-—8, —4, 0, 4, 8, ....}
For cosets
of H in Z
For 0€Z,0+H={....—8,—4,
0, 4, 8 ....}
For |1E€Z,1+H={....—7,—3,
1, 5,9, «...}
For -1 €Z,-1 +H={....-9,-5,—1,
3, 7, ....}
For 26€Z,2+H= {....—6,—2, 2, 6, 10, ....}
Show that if the quotient group G/H is abelian, then G may not be abelian.
(Jammu University 2013, 2014)
(i) Let G = {+1, + 1, + j, + k} be the set of unit quaternion under multiplication defined by
PapokR=-l, ij=k=-ji, fk=i=—ki, ki=j=—ik
form a non-abelian group. Then H = {1, —1, é, —/ is a subgroup of G.
[ ]
O(G) _ 8
O(H) = —4
Also G:H = =
H is a normal subgroup of G.
G/HH is a group of all right (or left) cosets of H in G is of order 2, a prime. Hence G/H is abelian
sup. But G is non-abelian.
(i) Let G = [8 2 |:4.8.6.¢ eR and ad +h. Then G forms a group under matrix
=o
a|=
E
[6
3
3 Jana E
1
3Jes
alle SFO al
o
| lle allo al
llc Slo Silo
oN
406 SPECTRUM
MATIC
DISCRETE MATHEMATi cg
“lo allo a} lo 1 |e
Go
- jl -b
A= ' eH WVAeH.
0
H is a subgroup of G. We now prove that H is normal subgroup of G.
Let X&GandA EH.
A= lo ‘| forsomee ER
H is normal subgroup of G.
G/H forms a quotient group.
Let Hx, Hy € G/H so thatx, yEG.
G/H will be abelian if (H x )( Hy) =(Hy) (Hx).
ie, if Hxy=H yx.
ie, if (xy)(yx)'
EH
ie,if (xy)(<'y')
EH
xyEG
_|a 6 -|c e
x E 4] forsome a6, dERst dw 0 and y=[¢ 1 forsomec, e, fERstcf #0
a ee
(xy)@'y') EH
.. G/H is abelian whereas G is non-abelian.
EXERCISE 1.7
1. Using Lagrange’s theorem prove that if G is a finite group and N a normal subgroup of G, them for
anyx & G, O (x) in G is divisible by O (x)in G/N where X¥=N x.
2. Give the example of a group G and a normal subgroup H such that G/H is cyclic but G may not be
cyclic.
3. If H is a subgroup of a group G, N(H) be the normalizer of H in G. then
(i) N (H) is a subgroup of G.
(if) His anormal subgroup of N(H).
(iit) IfH and K are subgroups of G and H is a normal subgroup of K, then K G N (H) ie., N (H) is
the largest subgroup of G in which H is normal.
(iv) His anormal subgroup of G iff N(H)=G.
4, If H, K are normal subgroups of a group G and H C K, then show that K / H is a normal subgroup of
| G/H.
5. Let N, and N; be two normal subgroups ofa group G. Prove that G/N, = G/N; ifand only ifN;=N2.
.
BINARY OPERATIONS, RINGS,
INTEGRAL DOMAIN AND FIELDS
!
3
’
oss
|e!
$
DHISTROPLOCT IOS i
4
JN seaw we trove sadiod sizetrais yaeros wrth ome by PTY MPT LT PRITHEIY, BF OUD, ETD BOND «ang
pees) Phot dheve¢ney yyy rt pets) wrt'y tucgre freer) ore burvary ppc a any, sd fe$9e oA tor) thetr) rlernely tre 4
'
/ :
of ins port, tne set A tates! purities ety with tee biraery operation whinion and multiplication. 17
i ‘ ‘ * -e=5
«
gl es tute Tageee) « . a, ‘ 3
Hest uty fut yoann wider ade gd ort ander outtiphine sum, yet they du have certam ope ?
'’
Maple wy well, Theve properties ead to the commept of 2 nny whath ee
Sofie oy hs,
es
24, HINA
- en
LAA. Defiettion. Pave:
A semen y vA 4 unter with two Uiaery operstiom, Geetied additively (~) and multiplicatively +.
ip called 2 sieg Nhe cla bh. cE, Ge follwing crices oe ettisfied
S
ee
[closed under multiplication)
et et
Oi 4b EX
—
boil) (a. bj. c= ab.) {multiplication is associative]
Gila b+ jr a.b+ale md (a4 bjy.e=a.e-boe [distributive laws boid,
A ting % weader
tee binary
ary Operations (+) ed (-)is dereted by the algebraic system <R, Ls-, ->
KMemark: The 2lgetraic hacer in +, > is called 2 ring if R formsan abelian group under addition ae
©
3
‘=>
4453
ILLUSTRATIVE EXAMPLES]
* *, 4 foie - o - a 4 eee die ot
sompte J. Prove that the 111 I of ali integers is 2 sing with respect to woe! acoticn anc mukipiication o
+ <1-,-7isarnge
Seee there exists an integer 1 € I such thar
—e—eEEeEeeEEeEeEEEEEEEeEeEeEeeee
a.}=1)-a=aV¥ aeél
ae
- Jisalso2 commutative ring.
<4,+.°> is a commutative ring with unity.
[(a+ib)+(c+id]+(e+if)
=[(a+c)+i(b+
AD] +(e+ify=[(at+o+e]+i[(b+a+f]
=[a+(c+e)]+i[b+(d+f)] [ ~ Associative Property for integers hold] |
=(a+ib)+[(c+ e)+i(d+ f)]=(at ib)+[(e+ id +(e+is)] i
. addition is associative in J [i]. \y
(iif) VW a+ib€SJ
[i), there exists 0+10€J [i] 5
such that (a+ ib)+(0+i0)=(a+0)+i(6+0)=a+ib
and (0+/0)+(a+ib) =(0+a)+i(0+5)
=at+ib
(a+ ib)+(0+i0) =a+ib=(0+10)+(a+i8)
Thus 0 + /0 is additive identity.
(iv) V a+ibEJ[i], there exists —a—-ib
EJ [i] ( abEl = —-a,-b,ED
such that (a+ib)+(—a—ib)=[a+(—a)]+[b+(-4)]
i =0+0i
and [-a+(-64) i] + [a+ ib]=[(Ca)+a]+i[(—b)+5] =0+/0
“(a+ ib) + [(—a) + (—5) i] =0+10=[C a) + (4) i] + [a+ 15]
Thus (— a) +(—
5) i is the additive inverse
of a + ib.
(B) Properties of Multiplication :
() Vatibct+idEJS
[i]
(a+ib)(c+id)=(actiPbd)+i(adt+bc) =(ac—bd)t+i(ad+bc)
EJ fi] [-- a,b,c,d€l= ac-bd,adt+bcéll
ee 5,7,
iV a-ibe+ide-ifes [iy
4 [ia-fb}(c+ id] (e+ ifp=(a-ib) [(e+id(e-if] [Verify i]
(© Dstributive Law.
mee
lat e-i6,c+ide+ifES
fi]
ee he
=[a.(c+e)-b(d+f)]+i[b(c+e)+ald+f)]
cee
=[ac+ae-bd-bf\+il[bc+be+ad-+af]
=[(ac—6 d)+(ae-bf)]~+i[(ad+bc)~(af~
be)]
eee
, And (a+ib).(c+id)+(a+ibj(e+if)
Hee
=[(ac—bd)+i(ad+ boc)]+[(ae-bfp-ilaf-be)]
She
=[(ac—bd)+(ae-bf))+i[(ad+ bc)+(af+be)]
-. Left Distributive Law holds
Similarly Right Distributive Law holds.
Hence J [i] is a ring.
RING OF MATRICES
frample 3. Prove that the set M of all m X n matrices over reals is a non-commutative ring with unity,
=-h zero divisors under addition and multiplication of matrices.
SL Let A, B, C be any members of M.
-. A,B, Care n X nm matrices over reals.
> A=[aij|nxn>B=[bijlaxn,C=[eij|axn
A+B=[aisInxnt [bijlnxn
=[aijt+ big Inxn [~- aij, bi; are reals > ait bry is also real]
EM
_ addition is closed.
(i) VW A,B,C EM we have
A+(B+C)= (aij) + (fbi) Leis) = lain nt (bit ciy|nen
=[aijt+(bizt+ ci Wnxn = [laiy+ bij) + (Cu) nxn
SPECTRUM
|}
412 DISCRETE M4 }
tg i+4 y
7
(ci) For A EM. there exists O= [0]...
2 © M such that
A-O ={a,,)- [9]
=[c;,-9]
=[e,j=A
Smmilriy O- A=A
=> A-~O=A=O0-A
. O fs the additive identity.
(fv) Sime A=[ai;Jaxn
= -A=[-ayJaun [- a4,ER =
~ 91, ER
“= A-~(A)=[a,,]-[-a,;] =[21; ~Ca1;))
=[Jnx2=O
and (-A)+A =[-4,,)~{[a,,) =[(-a.,)>+a,,]=[0]n,,=0
$0 that A+ (-A)=O=(-A)-
A.
-. the additive —A ofA © M exits.
(v) For ABEM,
A~B=[aiyjJnen+[bilnan
[- aiy*+ by,
=[41,)+[ai,) =B-A
“. commutative Law for addition holds.
(B) Properties of Multiplication
(i) Let A=[aijJnun and B=[bjtInyn EM
nw
Then AB=[cy¢]nyn where c,;4 = dia
=I
ABEM
‘- M is closed under multiplication.
(if) LetA=[aijJnyn; B=[hyi)n, and c= [ckp|n yn be three element of M.
“a
Let AB = [dit Jnyn where dj, = > 4, , bis
f=) hy
snd (i, p)th element of A (BC) = (ith row of A) (pth column of BC)
. n aT
. (i,k) element
of A (B+ C) = > a,, (bi, + Cy) i >, (a, , by +4; C iy)
k=1
n nm
- de ij Diy aT
For ex: , lo 0| 0. B F 3| C ro 0|
J le, 0 O , 0 3 lo 0 ,
on holds]
e
. . .
be
Scanned with CamScanner
416 SPECTRUM DISCRETE MATHEMATICS
ab=r(modn) whereOSr<n
If possible, let r = 0 then a b = 0 (mod n)
> njab-0 > nlab|
But
» is prime so either n|a or n|bwhere |S a,b<n
r#0ierée J, > J, 38 closed under
gTRUCTURES WITH TWO BINARY OPERATIONS, RINGS, INTEGRAL DOMAIN AND FIELDS 417 4
prt I
8 iy vty v abe J, , the least non-negative remainder remains the same if a b or b a is divided
tatl °
ner (mod n)andba =r (mod n)
ie 9
e gtb= b*a
: commutative property holds in J, or
Z,
ative # V bce I, |
" sre least non-negative remainder remains the same if (a 6) c or a (bc) is divided by n.
(atbytc=a*(b*e)
stusassociativity holds in J,
gristence ofidentity Vae J,
aributive: V a,b, cE J,
ax, (b+, c) = ax, (b+c) (+ btie = b+c(modn))
=ab+_ac
n
Example 7. Show that set of real numbers R is a ring under the composition ® and © defined as
a® b=a+b+landa@b=a+b+abWV abER.
Sol. (A) Properties of Addition
(i) Let a,b€R,thenat+tb+1ER>aGbER
=(atb+l)+ect+l=atbt+ct+2
and a ® (b@c)
=a @ (b+ c+ l)=at(btet+l)+l=at+bt+c+2
(a®b)@c
= a@(bGc) V abh,cER
ie at+et+tl=et+at+l=a>e=-l1lER
V aER, there is an identitye=-1ER
(A)
such thata ® e=~e ® a=a
(iv) For each a € R, we want to show there is an element
b € R such that
a® b=e=b@a
=> at+b+1=-l=bt+atl
> =-2-aER (a ER)
VaéER, there is an inverse elementb=—2-—a@Rsuchthat a@® b=—1=5@a
ic STRUCTURES WITH TWO BINARY OPERATIONS, RINGS, INTEGRAL DOMAIN AND FIELDS = 419
ss 4 ,
a® b=b@aVabER
| ° R satisfies commutativity.
ertie of multiplicati
oes '
on
pry abER * a+b+abER
>» a®bER (- a,b
E R(reals) > a+b, abER)
Ris closed under multiplication.
|g (@® b)Oc =(atb+ab)Oc
=atbtabt+ct+(atbt+ab)c=at+bt+abtctactbctabc
| =atbt+ctabtactbct+abe
aO(bOc)=aO(b+c+bc)
: =a+(b+c+be)+a(b+ct+bcj=at+b+ct+bcet+abtactabec
=atb+ct+abtact+bet+abe
(a@b)Oc=aO(bOc) V a,b,cER.
»Rsatisfies associativity under multiplication
0 Distributive Laws : For each a, b,c ER
aO(b@ec)=aO(b+cr
1)
=atbt+ct+lt+a(bt+ct+lh=2at+b+ct+abtactrl
(@@ b)@(a@c)=(atb+ab)S(at+ct+ac)=(atbt+ab)+(at+ct+ac)+1
=2at+bt+ct+abt+act+l
aQ(b@c)=(aOb) S(aOc) V abhcER
. 0 x
fumple 8. Prove that set of all matrices of form \ | (x, y © reals) with matrix addition and matrix
y
zltplication is a ring. Is it a commutative ring ?
0 x
wl LetR= fps rereat
0»
\\) Properties of Addition
0
() Let A= . “L| and B= 0%
yy 0 y,
AEE «i 0 x, 1° x5) _ 0 x, +x, ek
O yw} 19 » 0 Wty,
> Ris closed under addition Ce x, +x, reals and y,+y, € reals)
(ii) LetA
i) Let A=] 0 x] B-
B= *2
, c./°
id x, |
+ where x), x
PhD
Xysd pe a0¥, are (
VU HQ Hy ae reals
ened Lo 32] " %]
fo ex: | fo x 0 (x,+x,)+x |
(A+B)+C=j)
: jo
F Flaj |
y+F2|
Fi = bia ean
¥3| 0 (+ ¥))+9;
7 fo x, ~Y2°°S
+(x, +17.)
0 ¥ +0, +95)] (" Associative pro
P PEMY Holds for eas
=
[9 x, +
fo ed
-
lo Yh , 0 ¥ 7);
=A+(B+C)
=> Associative property holds in R under addition.
0 x . fo 0
(it) For each A = € R, there is
O= ER '
Oy [0 0 |
such thatA+O=|
fo x+0] fo 0 0+
“ -| “laa and O+A= *).|0 * =A
{0 ¥+0 |0 y 0 O+y» 0 y»
A+O=A=O+A
(mm) Foreach
0 0 -
A= * ER, there is B = * ER
0 y 0 -y
such that A+ B= . = _- =O
0 y+(-y)} [0 0 9
ond B+ A= QO -x+4+x . 0 0 <0
O -y+y 0 0
=
Le A+B=B+rA=0
=> H=— Ais inverse element of R
fo x QO x,
(vy) Foreach A= jo and B= .
4 OY)
fo x, +3 . 0 t,x,
ArB= = i reals
(«" commutativity holds in re
Lo + ¥2] [0 yy +>,
0 x, O x
a 0 y {tle Mle B+ A
yy [ “
+1,
irene es
As FIELD 421
INTEGR UL Doster
ps with TWO BINARY OPERATIONS,
Riss,
lication
R is closed under multip!t |
x,
J, ER
‘O
"2 | and C= {5
7 f }
| [0 *]
yyy
p-!° }9 ¥2} { ¥3 |
2 Let A= 0
= 7
> r
VT
- -\r 7 r
xy} 1° (x, a
x. ip x; | \° ¥,¥2|)°
0 x, ||0 : } : ya t
*- 11] =
¥ }i° yz; 4° ¥, ¥z os| ¥s | ” O% ¥2) 3}
sow (ABC = 11g , |\0 - -
“FOL “Jyh
1 Of VW 1) [0 x, Ory % »
r WE 1
~ A(BC)=(AB)C
> matrix multiplication is associative.
© Distributive Laws
0 x f Oo x, fo ry ]
let A= I ” 2| ¢- ER
F oc ft y, | e Lo ¥
< L
7 0 x) fo xy , 0 x, 0 *y
0 Y |o v5 0 yy 0 ¥y
iL 7
=-ABe AC
: Oxy 0 x,y
AB= 172 and BA= a
0 yy, 0 ys;
Clearly AB = BA
so R is a non-commutative ring.
EXERCISE 2.1
(a) Prove that <Q, +,-> where Q is the set of all rationals, is a commutative ring with unity.
(b) Prove that <R, +, > where R is the set of all reals, is a commutative ring with unity.
Prove that the set of matrices of order2 forms a ring under addition and multiplication of matrices.
Prove that the set G= {a+J2 b|a, b€Q} where Q is the set of rationals, is a ring.
Prove that the set R = {(a, b) | a, b © Reals} is a ring under the addition and multiplication of
ordered pairs defined as
(a, b) + (c,d) =(a+c,b +d)
(a, b) (c, d)=(ac-—bd,bc+ad) VW (a,b), (c,d) ER.
. Show that the set of rational numbers Q is a ring under the compositions ® and © defined as
a@b=a+b-1 and a@b=at+b-ab. VabEQ
Let G= {0, I, 2, 3, 4, 5}. Define the compositions @ and © on G as p @ q = The least nom
negative remainder on dividing p + q by 6 for all p,q €G and p © q = The least nom
negative remainder on dividing pq by 6 forall p,g € G.
Show that G is a commutative ring with unity under @ and ©.
7. Show that the set G of all real valued functions of x, defined on [0, 1] is a ring, under the additioa
and multiplication defined as below :
f
_ |
Give an example of the following :
i
it @ A commutative ring without unity. (6) Anon-commutative
resring with unity.
a
(d) A non-commutative ring
() A ring with zero divisors
if Risa system satisfying all the conditions for a ring with unit element with the possible
; exception x +y=ytx VxyvyeER.
prove that this axiom, that x + y= y + x also hold in R and thus R is a ring.
real continuous functions.
R > R: fis a continuous function} ie. F is the set of all
ThenF={f:
[2 ut F forms an infinite commutative ring with unity under the operations of addition and
multiplication defined by (f+ g) (x) =f(x)+e(x) . forall fg & F andx © R( fg) (x) = fix) g(x),
forallfig © FandxER.
Let X be a non-empty set. Let P(X) denotes the power set of X (ie., set of all subsets of X). Then
p(X) forms a commutative ring with unity X, under the operation + and .defined by
A+B=AAB=(AUB)-(ANB)AB=ANB.
Note : If the set X is a finite set, then <P(X),+, -> forms a finite commutative ring with unity
4, Let Ry and Rz be two rings. Define R= R, x R: ie R=R, X R;= {(a,6):a@E Ry ands E Rp}.
Then R forms a ring under the operations + and - defined by (a, 6) + (c, d)= (are, + a) and
(a,b). (c,d) = (ac, 6 d) forall (a, 5), (c,d) € R.
The ring R is called the direct product of rings R, and R2.
Note : (4) Ris commutative ring iff both R, and R; are commutative rings.
(ii) R is with unity iff both R, and R; have unity.
1 1
1 Prove that the set R= (x+y-3° +2-93 5x, 9,26 Q)}is a ring w.r.t. addition and multiplication.
ANSWERS
8 Nota ring
10. (a) Ring of even integers (6) Ring of * m matrices over reals
(c) Ring of 2 x 2 matrices (d) Ring of2 + 2 matrices over reals
12. Properties of Rings
We now prove some basic properties of rings. Before that we point out following conventions which
¥ shall follow henceforth :
Let<R, +, > > be aring and a, 6, c,d€ R.
\. We often drop the symbol for multiplication and write a-b simply as a 6.
2. Multiplication is assumed to be performed before addition [accordingly, a b + ¢ d stands for
(ah) + (cd).
4. We refer <R, +, - > as a ring R under the operations + and - or as a ring R together with the
operations + and - or simply as a ring R.
Theorem : Let R be aring and a, 6, cE R. Then
Then from the first equation, replacing x by e, we get e,; e2 = e, and from the second equatics
replacing x by e,, we get e; 2 =e). Thus e; = é7. Hence identity of a ring is unique.
0
q
ipeTakal
1GEBRAIC STRUCTURES WITH TWO BINARY OPERATIONS, RINGS, INTEGRAL DOMAIN AND FIELDS 425
4
sae
qreorem ? Let R be a ring having a unique left identity e; . Then e, is also the right identity.
te | proof: Let R be a ring with a unique left identity e, ie, e.x=x,Vx ER.
We show that e, is also the right identity of R ie, xe,=x,VxER.
Letx© Rand Vy ER, we have (x e,;-—x+e))y=xe,y—xyteyrxy—xyt+yp=y
> xe,-xte,_ is alsoa left identity of R.
But left identity e, is unique.
xey-xte,=e, > xe,=xVxER
ie, e, is also the right identity of R.
pefinition. An element x in a ring R is called idempotent if x* = x.
forexample : In M; (R), the ring of real square matrices of order 3, the following matrices are idempotents.
100 2-2 -4
| A=|0 1 0|],B=|-1 3 4] forA?=A,B?=B.
000 1-2 -3
There are rings in which every element is idempotent.
Definition. A ring R is called a Boolean ring if every
element of R is idempotent, i.e., ~=x for allx ER.
We prove the following interesting properties of a Boolean ring :
Theorem. Let R be a Boolean ring. Then
() 2x=0 forall xER: (ii) xy=yx forall x yER.
Proof.
(i) Let x ER > —x ER.
Now x=x?=(_xy=_x [' Ris Boolean Ring]
x=—-x => 2x=0 forallx ER.
(i) Let x,y ER. Then
X+yHatyPaPtxyptyxtyYaoxtxytypxty
> O=xyt+ypx
. -(1)
(using cancellation under addition)
SOxyEeER xs 2xy=0
fist of (/)]
> xytrxy=O-xytyx
= eye. (using
[By left cancellation (1))
law]
-true* From the abo ve theorem we see that a Boolean ring is a commutative ring but the converse need not
rexample - .
ple : The ring Z is a commutative ring which is not a Boolean ring.
W © Now define the invertible elements of a ring under multiplication.
finit;
: on. Let R be a ring with identity 1 #0. Then an element u ©R is called a unit (or invertible) if
| Reng xiim
© R such that wv =v u= 1. Then v is called the inverse ofu and is. denoted by w7!,
iy TK: Uni ty must be a unit but every unit is not unity.
*Xample : In Z, the ring of integers, the unity is 1. where as units are 1 and — 1.
Theorem. Let R be a ring with unity 1 (= 0). Then the set of units of R forms a group unde
multiplication in R.
Proof. Let U= {u © R:wv=1=vuforsomev GR} ie. U be the set of units of R.
We will show that <U, - > is a subgroup of semigroup <R, - >.
Cleariv U =¢, for 1 © U.
Letusy GU, then dw wo! Rsuchthat ww =l=w'!wanduel=l=v'v.
Consideruv (vbw =u Wwe wl=ulwlt=uw!=1.
Similarly (a ')(uvy=v"! @@wverlv=ul v=.
we(e a )=b=( lw ')uv = uvisaunitand(uvy'=v'w!and souv EU.
Alsol Eu
”. Foreachu @UL3 Ww! GUsuchtha uw!=1l=u'u = uw! EvuU,VuEv.
Hence U forms a subgroup of Semi group <R. - > and so U forms a group under multiplication.
Definition. An element x in a ring R is called nilpotent if x"= 0 for some positive integer m. The smalles
positive integer (forx) with this property is called the degree of nilpotency of the element x.
Remark : The zero element in every ring satisfy the relation 0' = 0.
But there are non-zero elements x in a ring also.
For example:
00 1 ] l 3
In the ring M; (R). if we consider the matrices A=|0 0 0 and B=| 5S 2. 6 |, tha
001 -2 -1.-3
we can easily verify that A* = O and B* = O, though neither A nor B is the zero (null) matrix. Thus ina ring
there may be some non zero elements whose integral power is zero for some positive integer greater than |.
Theorem : The sum of two nilpotent elements of a commutative ring is also nilpotent.
Proof. Let R be a commutative ring and a, b € R be nilpotent elements such that a™ = 0 and 5" = 0 for
soMe positive integers mand n. Now
(a+6)""* = gern. mh a" nip + + mane arts! br +. .+ pute
ILLUSTRATIVE EXAMPLES)
Example 1. Ifa ring R has no non-zero nilpotent elements then prove that for any idempotent e of R
ex=xeVxrER.
Solution : V x € R,
> Risaring.
Iumple 3. If R is a ring with identity such that (x yf = 2x’y for all x, y © R, then show that R is
xmmutative, Give an example to show that the above result may be false if R does not have an identity.
ol LetR be a ring with identity such that (x y)* =x" )* for all x,» © R.
Letx,yG@ Rbe any elements -. p+1ER.
[k@+ DP =x (yt IY
(xytxy Hx (7 +2y+1)
(yf +txyxret
ry ary t2xry tx
YY +Ptxpxrivry =e ypt2rytr
xyx =x'y. ---()
Replacing x by x +1 in(1), we get
(+I y@+l =@F)y
(xy+y)(x+ 1) =(°4+142x)¥
Xyxtxytyxt+y =x yptyt2xry
¢)
ytxptpxtyaxrytpt2xy {using (1)]
yx =xy.
R is commutative.
—
428
example :
ed
Now for the requir
(KC)
c
ef cle [se
Let A.B ER. Then,
d
A= a 8 ,B= : for some a,b, c,d ER.
0 0 0 0
(vy-Pyryeryry-ry ry re yx
ryr-PyPPryt
(
ry rye
wPyry-ryryr-ryrye
=0 [v ste]
e rry- ? yr #0)
> r y ~ xy ¥ x’.
A
Similarly, (yx? =r yx Po y vr yx - yx Cyr ox y v y Vo tx yr’ yx
wy? prey ry Par ye pete ye yee |
=O
7
® yr-ryr=0
- year yr, ee
From (1) and (2), we get
* yeye, moe
Further, (x? - x)= 7 ~ x yur Vr |
= 4-drePey
~* 3x30
aiecxt
2 ---(4)
ges) 7
Th us from (3); we get
yr.yx
tyr -yx
°2 xy x
2 [using (3))
pry aye ye
xyp=yx.
2
utative.
Hence, R is comm
Sh ow th at a cobmmutative iff
riangtbR +is2a
mp le 5. (a+b y a
[u for all a,€bR.
mmutative ring
gl Firstly, let R be co
>» agb=ba,foralla,bER.
a io oy!7} ie fr 17
(6) Let R™ sig oflo afjo 0| \ ||
iL dt \
0 0}
9 0} jo o| 0 0} |0 0} jo 0
ie Ris not commutative
and it is rmg
of order 4 =2? where
2 is prime
EXERCISE 2.2
1. Prove that a mag K has no non zero nilpotent elements if and only if 0 is the only solution of the
equation x = OinR.
Show that in a ring R. a pon zero idempotent cannot be nilpotent.
sd
(ii) Let BR be the set of all real —valued continuous functions defined on R. Define
(f* wbx) < fl) > gtr) and( fog) (x) = f(y (x)) forall fy © R and for all x © R.
4. Let Robe the set of all real numbers and F be the sect of all real-valued continuous functions defined
on R Define (f+ op) Ory = fx) * ¢ dy) and Cf ¢) Or) = f(r) ¢ Ox) for allf, gy © F and for all x € RK
Show that <F, + ,- > i anng under the binary operations defined above.
5. Let Q be the set of all symbols a * a, 1* a;) * a) &, where a, G R,r = O, 1, 2, 3,. Two symbols
Gxt aytta;y tay kand hy + bith, j + bk are considered to be equal if and only if a, @ &, re &
1, 2, 3. Define addition and multiplication as a formal sum and product using the following
relations; P=fek=-lije-slohjhn
hpi kin -ik~j.
Prove that Q is non-commutative ring with identity (this ring, is called the ring of real
quaternions)
6. Give an example ofa ring which contains clements a, 4 such that
() (atby ear 2abeb (i) (ar byla-byaa’. BF
7. Show that if1 — ais invertible in aring Ro with | then so is 1 - 2 a and that
(t-bay'<1+db(l-ab) ‘a.
&. Show that [rx] € Z, is a unit if and only if ped (4, my 1,
+ -
. an RES WITH Two Brvagy Oren rom, Bows. INTECeaAL Doster aNp Piet os ax}
(f+ g(r) fr) + ptr) and (fog) (2) > f(g (xy for all fg & & und for six © G Ther
“R. +, > is a ring (which is called the ring of endemorphinm of ©}
eee
ANSWERS
ee
bee
j
haat agile
se reg Z,. the ring of imegers modulo 6 In thes rimg. if we take the product of to mom sere clement,
tae oe os
= Bd [3] (modulo 6),then we have [2}{3] - [6] © [0] Thus thes mng hus ome pom mero gate whose
midact18 zero (additive identity) of the mng. Also im M,(R), the nag of2 * 2 matrices over the set of real
: f Tf 1 To o
uters, we have { 7112 3 lel i |, but nome of the elements on the feft hued sade & aero inafl
Lo oj}(o t) Lo 0}
."Ta)
of the ring. In general, we define the following
hiaitions -
Left zero divisor : Let < R. +. - > ts arom An clement oc © R is called 4 Weft pero diteor if
P20ERst who
\ Right rero divisor : An clement a & & is called a right zero divisor if FA OE Ret band
Zern divisor : An clement a € R is called 2 2erv divisor if be 0 ER
2 ab =O = by.
Nate 22 € R is a zero divisor.
oper rero divisor
, Azclement a # 0 € R is called a proper rere divisor ifdA er OER st ew 0 - de
“te ffuisa Proper ero divisor of RL then 4s alse a proper cero divisor of R.
” : Moths >A rng R ts sant to satisfy left [ght] cancellation property if for all a. Ale €& RL ow # 0 amd
i, PS aefresp Ag = ¢ a) mmphes that 4 = «.
4 The following theorem establishes a relation between cancellation property for sveltaplcation and
4 Qvpors in a ting R
if ; Reorem : 1 et Rbea ring Then the followtg coadinons are equivalent >
| 1) Rha no sero diviswes | (4 R satisties lef cancellation property ;
4 ‘OR satisfies mght cancellation property,
7 rset. (1) * (1) Suppose the ring KR has no sero divinors.
lease
ce Ria #0 antab<ae. Then
{ 4 c-0
j * b-c-0
a5 « # Oand R has no rere divisors.
= bee.
ll
For example : (i) The ring of integers Z, ring of rational numbers Q, ring or real numbers R and the ring
of complex number C are integral domains.
(ii) The ring Z, of integers modulo 6 is not an integral domain.
gate +STRUC TURES WITH TWO BINARY OPERATIONS, RINGS, INTEGRAL DOMALN AND FIELDS 433
—
yo
. poth the cases are not possible as [a], [b) # [0] de. a & O (mod n), b #0 (mod n) Le. mn does not
gd and 6b.
is an integral domain,
. therefore Ln
an independent |
rough the next theorem follows immediately from Theorem 5.2.3, we provide
fol it. ' 7 . : to os
mA commutative ring R with identity | # 0 is an integral domain if and only if the cancellation
vs id for multiplication.
at LetR be an integral domain. Let a,b,c ER, a # Oandab@ac.
2 ° -c)=90
» b-c=0, as R is an integral domain and a # 0. So we have b = ¢.
law holds. Let
seas let R be a commutative ring with identity, in which the cancellation
ye Rbe such that a Oandadb=0. Then ab=0=a0
t > b=0 (by left cancellation law).
. Thus R has no zero divisors, hence R is an integral domain.
In view of the above theorem, we note that if every non zero element of a commutative ring R with
> J city is a unit, then R satisfies the cancellation law and hence R is an integral domain.
a .
xfinition. A ring R with identity | # 0 is called a division ring or a skew field if every non zero element
éRisaunit (ie. ifforany aE R, a # 0, there exists an element 6 € R such thata b=ba=l),
Note that if R is a division ring, the set of all non zero elements of R forms a group under
rztiplication.
fheorem. Ina ring R with unity 1, units form a subgroup of the semigroup <R,- >
Or The set of all units of'a ring R with unity is a group under the multiplicative operation of R.
tof: Given <R, +, - > is a ring with unity 1.
Let U be the set of all units of R.
Since LS
1 =1 > 1 EU.
U is anon empty sub-set of R.
’ Va,bGU +a, bare units of R
> JAagdeRst.
ac= | = caand bd= 1 = db.
Consider (ab) (dc) = a (bd) c= a (I) c= ac= 1.
Also (de) (ab) = d(ca) b = d(1) b= db=1
(ab) (dc) = 1 = (de) (ab)
> abisaunitie. ab GU.
Also ge= 1 = ca > c=a7'isaunit
= a@' Eu.
Hence U is a subgroup of <R, - >
Le. U itself is a group under the multiplicative operation of R.
a il
[ILLUSTRATIVE EXAMPLES]
Example 1. Give an example ofa division ring which is not a field.
a _
Sol. Let R = | 7 M,(C) | @, Bdenote the conjugate of a, 4 .
Define addition (+) and multiplication (-) in R by usual matrix addition and matrix multiplication,
We now show that R is a division ring but not a field.
Let a=| avid c+id Be r+it ut+iv =e
-(c-id) a-ib -—(u-iv) r-it
Then,
(atr)+i(b+0) (ctu)t+i(d+v)
A+tB=
—((ctu)-i(d+v)) (atr)-i(b+0
5 ; ; : 0 0 :
Also it is a routine calculation to check that AB & R (verify !). Observe that O = ke | E Ris
the zero element and for any A & R, we have — A € R such that A + (— A) = O. Further, the distributive
1 0
properties hold. Hence R is a ring with identity IJ = E | ER.
. i 1 i i l l i 2i
ER
0
Now, and , ~
a on || hl [ “i
Pioa|f i fifo 2
PE Vpel wt] [-2 of
This clearly shows that R is a non commutative ring with I # O.
ret [ atib ct+id
. | -(c-id) a-ib
be anon zero clement of R. Then cither a+ ib # 0ore+id #0
ie, citherra +b? #00r +d #0.Hencea +h +e +a #0.
|
=
ucTURES WITT! — BINARY OPERATIONS, RINGS, INTEGRAL DOMAIN AND FIELDS «435
EE pte + d # 0. Observe that i a-ib c-id
is the inverse of
pet k= a" k —(c+id) a+ib Jer
|
ib aA ER
Ae
ence each non zero element of R has an inverse in R, whence R is a division ring.
en
as Ris non commutative, clearly R is not a field.
put
a b
Take F = {| b | ja,be R|
Je 2. ‘ Let R be set of all reals. ~
gop’
s.
ye F is a field under usual addition and multiplication of matrice
Pro’
5
Ee Fie. A= ab ,B= a 8
a
where a, b,a,BER
:
—_ a -B
a( Let As B
e F = Addition is closed.
is associative
(i) We know matrix addition
(A +B)+C=A+(B+C).
For A, B, C & F, we have
a b . 0 0
| e& F, there is O= Ee sl EF
wrora=| 5
O a b 0 0 a b =A
h 0 = ab @ >
such thatA + = —' a + _0o
b =A
0 + a b = a
andO+A= 0
-0 O —-b a —b a
ie AtO=O+A=A
suchthtA+B=O=BtA
B is additive inverse of A
(v) We know matrix addition is commutative
le for A, B, © F, we have
A+B=BH+A.
P
SPECTRUM
5
DiscrE Tr MATE :
\tic '
& Fand B=
& A -fi . a
er
cS
ey
we have
fees 1 0
it) For A= | ; J eremeite|, | EF santaratats=a
Lt @
ere! «to
r —b
oiled ° JEP. thereisB- = ik | © Fsuch a
-b a} a-+b-{b a
St>
A+O
AB=BA=I => a#0,orb=0
> a +b? 20
B is inverse
of A.
aa-6bB aB+ba
(x) Here AB = |
-(aB+b5a) aa-bB
core hD > if :
x+y<5
ee Le
Define
roOoif x+y25
x+,y EG
AdBRAC STRUCTURES WITH TWO BINARY OPERATIONS, RINGS, INTEGRAL DOStarn AND Fie L Ds 437
—
The composition table for addition modulo § is
+. |OP LP 23 ]4
mo Toltiatata
l 112/13 ])4 1/0
2>1/2/3laloly
3 1/3 }/4)0]1 42
$74 /0) 1/243
mperties of addition
(i) Clearly all the entries (in each column) belong to G and so G is closed under addition modulo §
closure property holds in G.
(i) VxsyrEG
The least non-negative remainder remains the same if (t+y) += or x + (y+ =) are divided by 5
(x+ 5 y)+5 2 = x+,(v+, 2)
2
fod}
4
1
3
(1) Clearty all entries (in each column) belong to G, and so G, is closed under multiplication modulo 5
The least positive remainder remains the same if (x y)z or x (yz) are divided by 5
(xX, y)X, z= xX .(yX,:
xXoy=yXox=l
EXERCISE 2.3
1. Prove that the set Q [/2] = {a+ J2 b| a,b e€ Q} where Q is set of rationals, is a field under usual
addition and multiplication of reals.
2. Prove that i
(O(N, +, -)isnotafield (if (Z, +, -) is aring but nota field
(iif) (Q, +, ), (R, +, +) and (C, +, -) are fields. i
3. Show that the set of rationals Q is a field under the compositions @ and © defined as
a@b=at+b-1 and a@b=at+b-ab VabEQ.
te set R=as {(a, by a, b & Reals} is a field under the addition and multiplication of
er. Thee
Fe
‘ ordered pairs defined
(a6) * (= +c,b +d)
¥ (a,b), (c,d) ER.
(a,b) (d= (ae~P a, bct+ad)
as
chow that the set F = (0, 1, 2, ....6} forms a field w.rt. addition and multiplication modulo 7.
ee a
re
in .
Every field is an integral domain.
Fe 8
> (a a)b=0
ee
=> 1-b=0
CNet
> 6=0.
ae
SS
| ILLUSTRATI VEEXAMPLES} :
Example 1. Find the elements in Z,2 which are zero divisors and elements which are not zero divisors, | i
Sol. Since Z12 = {[0], [1], [2],......, [1 1]}, we see that ‘
(0) = (2) [6] = [3] [4] = (8) [3] = [9] [4] = [10] [6] : Hl
Thus, [0], [2], [3], [4], [6], [8], [9] and [10] are zero divisor of Zy2. ipl
Also ged(k,12)=1 > k=1,5,7, 11. («. We know that [x] © Z, is a unit iff ged (x, n)=}) f
2 x=1,-4inZ. i
(6b) Now Ze, = {0, 1, 2, 3, 4, 5} under addition modulo 6 and multiplication modulo 6
(2—1)(2+4)= 6 =0(mod6)
(4-1) (4+
4) =24 = 0 (mod 6)
(5— 1) (5 + 4)
= 36 = 0 (mod6
Example 3. Prove or disprove that there is an integral domain which has six elements. i
Or
Show that an integral domain consisting of six elements does not exists.
Sol. Let R be integral domain of six elements then (R, +) is an abelian group of order 6.
Since
2 | 6 and 3 |6
By Cauchy’s Theorem in group theory
xista unique 6 in R
Provethat bab=b6b ()) (ii) R is a division ring.
Mpiob a=
then <0.
whenever ax=0O
fisst of all we show that
é
consider 2 #0 CER. Then
=(ab+ax)a =aba+axa
| a(b+x)a
.
=
a +0
a [se ax=Oandaba=a]
| >» a(b+x)a=a.
> baba— ba =0
3 (bab—b)a=0
|= bab-—b=0 [- wheneverxa=0 > x=0]
° bab=b.
Thus ab=l=6@
ts a division ring.
« 86 .
let 2Q FER
_ | 4,4, -26,
5, | 5 ( a,b, —a, 5, )|
~ [ a, 2 —26,; x |tv2)/ { a,3 —26; j|
=x (2 » where x.y €Q
F={x+J2y:x,y€Q}=Q[,2 |.
Webaveto show Z/pZ = {0, 1,2, .... >—1} isa field for prime p
We know Z/pZ is a finite ring. so to show it is a field it is sufficient to show ft is an integral domain
{ .
each finite integral domain is a field)
EXERCISE 2.4
(Kapalansky) Prove that if an element of a ring with unity has more than one right inverses, then
the set of its right inverses is infinite.
Let R be a ring with identity. Then show that R is of characteristic n if and only if m is the least
}~
6 Let R bea finite ting without cero divisors and o (R)> 1, Then show that R is 4 division ring,
Let sG,+ > be a simple abelian group, Prove that the ring of endomorphisms of G is a divis
THA.
Q Let Ry and R; be two rings, Show that Ry X R, is an integral domain if and only if any one of th
is an integral domain and the other contains only a zero clement.
10, Suppose R is a ring with unity t such that R has no proper zero divisors. Prove that 0 and | are)
only idempotents in R.
Tt. Show that in an integral domains R (with unity) the only idempotents are zero and unity,
12 Which of the following sets form an integral domain with respect to ordinary addition ¢
multiplication, Ifso state which are fields ?
(a) The set of naturals (6) The set of even integers
ee
ANSWERS
8. No
12. (a) Neither 1D. nora field (6) L.D. but not a field (c) Neither I.D. nora field
gark: For convenience, we generally use the symbol < in place of R. Thus whenever we say that P is a
_« it would be understood that < is the relation defined on P, unless another symbol is mentioned. We
fas less than or equal to (although it may have nothing to do with usual less than or equal to that we
{ . .
sfyniliar with). Thus (P, S) is a poset.
cumple. The set N of natural numbers form a poset under the usual s
| Similarly, the set of integers, rational numbers also form poset under usual S
‘mark, (i) Greatest and least element belong to the set whereas / u b and g / b may or may not belong to
Ret.
Definition : (LATTICE)
A poset (P, S) is said to be a lattice if every pair of elements have greatest lower bound and lez,
upper bound belongs to P.
Le. VabeP
aVbepP
aANbeSeP
Note : To prove P to be a Jattice we check with the help of operation tables. One for join and other for mee
P is not lattice if at least one a V bora A 6} does not belong to P where a, b € P-
ILLUSTRATIVE EXAMPLES
Example 1. Write down the operation table for V and A for
L= {1, 2,3, 5, 30} under divisibility relation.
Sol. The operation table for VY and A for the lattice L is given below =
where a V b=lub{a,b}=l.c. m {a,b} and aA b=g/1b {a,b} =g.c.d {a, b}
viol 2 3 5S 30
aA|{1l 2 3. 5 30
1 1 2 3 5 30 if}io oa 4 1 4
2 2 2 6 10 30 2/1 2 1 1 2
3 3 6 3 15
=
30
and
3}/1 13 1 3
5 5 10 15 5 30 5/1 1 1 5 5
30 | 30 30 30 30 30 30/1 2 3 5 30
Example 2. The set A= {1, 2, 3, 4, 6, 12} of factors 12 under divisibility form a lattice.
Sol. In divisibility,
a V b=Sup {a, b} = Icm {a, b}
a A b= Inf {a, b} = gcd {a, b}
Operation tables are :
v |} 2 3 4 6 12 a |[1 2 3 4 6 #12
] 1 2 3 4 6 12 l 1 1 1 1 1 1
2 2 2 6 4 6 12 2 1 2 1 2 2 2
3 3 6 3 12 6 12 3 1 1 3 1 3 3
4 4 4 12 4 #12 «12 4 1 2 1 4 2 4
6 6 6 6 12 6 12 6 12 3 2 6 6
12}12 12 12 12 12 «12 I2;1 2 3 4 6 12
From tables
VabEA
aVbEaA
and aAbEA
So set A under divisibility is a lattice.
Now 3,4 © P
Since the complement of each element in a Boolean algebra is unique. Thus a complementation is a
yalid unary operation over the set under discussion. Therefore we list it together with other two operations
Goin V and meet A). This will make a distinction between lattices and lattices which are Boolean algebra.
4 Boolean algebra is generally devoted by (B, V, ', 0, 1), where B is a non-empty set having atleast two
sements with three operations (join (V ), meet (A) and complementation ('),
Definition. A Boolean algebra B consists of a set B together with two binary operations A and V on B,a
ciiary operation ' on B and two specific elements 0 and 1 of B such that the following laws hold. We write
tis B = (B, V,A, "3 0, 1).
where U, M and X — A denote the union, intersection and complementation in a set theory, Then
(P(X), U, . . @, X) form a Boolean algebra.
Note, If X has m clements, then P(X) has 2” elements and the diagram of the Boolean algebra is an n-cube
The Partial order relation on P(X) corresponding to the operation U, M is the inclusion C.
The following are the diagram of the Boolean algebra P(X) when X has one element, two elements ang
three elements respectively.
e
Example 3. Let 1 be a positive integer and D,, denote the set of all positive divisiors of m then (D,, lcm, god,
‘. 1, 2) form a Boolean algebra if and only if7 is square free, in the sense that it has no factor of the form
7.
p~ , where p is a prime.
Sol. We know that D, is a bounded distributive lattice. Therefore, we need to show that it is complemented
lattice.
Let =p; p>...... p. be the product of distinct primes
Let d be any divisor of n.
Take Fp. Pi aneee P, be the product of all the prime divisors of m not dividing d, then
1 “2 4
d. {d,d"}=1
c.a. & =
and Lem
i od
{d,d}
. SS
cal =
n
a ged{d,d}
d isthe complement of d
Hence D, is a complemented lattice and so it is a Boolean Algebra.
Conversely. Let D, be 2 Boolean Algebra. 4
To show that » is square free.
>
7 fs
ys Ped PA = [p". d| . l
a) [+ ab= (4,6) (a, 6)
<n
, sence P d<pidsn_ i. p.d<n
4 pd _ de
oun UP. dj = ——=
(pd) pa<n and d sod sod cannot be a complement of p .
go p does not have a complement in D,, and so D,, is not a Boolean algebra, a contradiction,
Hence 7 is a square free i.e., nis a product of distinct primes.
“genarke In view of above example, we can easily checked that D3, Deg, Dao, Dex, are Boolean algebra,
"ure a8 Ds, Da, D2, Das, are not Boolean algebra.
jrample 4. Let S denote the set of all statements formula involving a single variable. The algebraic system
+s, v, A, ~ F, T) is a Boolean algebra. Here the binary operation V and A denote the disjunction and
"sajunction respectively and the unary operation ~ denote by negation. The element F and T denote the
smula which are contradiction and tautologies respectively.
+ fxample 5. Let X be any topological space and Let CO(X) be the family of sets that are simultaneously
mm sosed and open (i.e. clopen sets). The family CO(X) is a Boolean algebra w.r.t. the operation intersection
8 meet, union as join, a’ = X'‘\a,0 =m and 1 =X.
4 | Theorem. In a Boolean algebra (B, V, A, ', 0, 1);
if a@Vb=1 and aA b=0, thenb=a’
‘2. the complement of an element in a Boolean algebr
a is unique.
reef. Suppose that aV b=landah
b=0
Now b=h5vQ [Identity law]
=bV(ana’') {Complement law]
| =(bV a) A(bV a’) [Distributive law]
Ts =py a’ )
Setin a! =a yg [Identity law]
3 =a'V (a b) [Given]
~~
Scanned with CamScanner
Pe Se 7H
y
y e oolean
m. Ina B algebra (B, V, A, ’, 0, 1), the followi
n g properties hold
alla © B
(b) pound Laws. For
aVl=l and aAN0=0
For all a, 6, EB
(c) Absorption Laws.
aV (aA 6)=a_ and aN(av bj=a
Thus aVa=a
a=aVvVl [Identity Law]
Again
=an(aVa') [Complement Law]
aNta=a
=1
Thus aVi=l
Again a@A0=(aA0)V0 [Identity Law]
[Complement Law]
=(aA0)V (aAa’)
[Distributive Law]
=[(a A 0) Val A [aA 9) V a]
Thus ahQ=G
(c) Now avian by) (an IV (an by
~
“a hl) (lv Vb)
[Distri
ibutiy J|
~ah(bVly !;
[Commutative
= a A J
.
= d
[Boundeg | au}
Thas aVlanbj=a
Again aN(aV by =(avOjyA
lay by
ae
[Distributive L,.,
"av (b AO)
[Commulatiye 7
La
“avo
[Bounded | au
=@
Thus ahlaVvhbyora
’
(dj Since eV xexVx'= |] and x Ax=x Ax =0 |
Thus EVx~"l and xAx=]
Therefore by Complement law, we have
‘
(x')' =x
3,4, Principle of Duality for Boolean Algebra
Let (ts, ¥, A,‘,0, 1) be a Boolean algebra (under <) and $ be a true
statement for B.If S* is obtained
from S by replacing < by z, ¥ by A, A by V, 0 by I and J by 0, then S*
js also a true statement. We 33)
that the statement S* ts dual of the statement § and
Vice Versa.
For example : If (8, ¥, A, ', 9, 1) be a Boolean algebra, then following
, .
.
statement I‘ ’ to 10’ ’ are * dual ¢
; af
yeark (1) The above statement I to 10 and (1) to (19)' are known az Boolean Identities (or Basic
zokan algebra laws).
paark. (2) The notation for operations in Boolean algebra is derived from the algebra of logic. However,
i gor notations are used. These are summarized in the following
le chart
week -
_
Scanned with CamScanner
454 SPECTRUM Discp
ATi,
Ney
Sol (a) atta’b) 7fara’)-(a*)
=}-{a->
6)
ag-
=a-é
Example 2. In any Boolean algebra, show that
fr) @=5 @ gh’ +n’ =0 (ii) a@=0 @ ah’+a'b=b
Sel. (7) Now at’
+ ah &@ G
@ af’ + bb’ +o'a+ab=G [- a'a=0= 834
(a> bp b'* a'fa~hy=0
o Oo
fa~byb +la+bjya' =o
’ee
fa+ bla
+h y=0
{a + 53 {ahj’
= 9
a+ h= a
{ >" xx’ = 0 always}
a=
fii)
[- a+arazed
Now ab" + obo &
= ab’ + bb’ + ca+'b=ab
~e fa+ bb + alae
by~h
eo {a+ bh’ *(a+bya'=b
~~ (a+ bjla' +b y= h-4
e s+tbh~b and [ b-1-8
ai +h}
. _ and gin
[0+ illst
j21+8* :
> @G
,
3 simplifyelon
the following Boolean ex
=
“en
pressj
earctete=acte=(at]).exf.gn,
i (1d) + Ora’) =a4a'
=|
sample 4, Prove by using Boolean algebra that
SPECTRUM DI
SCRETE
AB+ABC = AB+AC
= AB .AC
= (K+(B)). (A
= (A+B)(A+C)
=A+BC
Thus AB+ABC+A(B+AB) =A+A+BC =1+BC
=B+B+BC=B+B(1+C)=B+B.
Hence A.B+ABC+A(B+AB) = 1=0.
(ii) AB+AC +A BC(AB+C)=AB+AC+A
BCAB+A BCC
=AB+AC+AABBC+A BC
aks
=AB+AC+0.0.C+ABC
[x x’ = 0)
=AB+AC+0+ABC=AB+AC+A
BC.
Example 6. Using Boolean algebra, show that
abctabc'+ab'cta bc=abt+berea.,
Sol. LH.S.=abct+abe'+ab'ct+a bc=ab(ctec')t+ab'ct+a' be
=ab.lt+ab'ct+a' bc=abtab'ct+a bc=al(b+b'c)t+a' be
=a(b+b')(b+c)+a' bc=a.1.(b+e)+a'
be
=abtacta bc=abt+(ata' b)c=abt(ata')(at+
bc
=ab+1.(at+b)c=abtactbe=RHs.
Remark: We represent a@®b=ab'+a' bin XOR-gate
Example 7. Using Boolean algebra, show that
() xytxztyz=xy+@y)z (iit) x' py’ zt+x'
yz’ +xy' z'+xyz=x@By
Bz.
Sol. (() RHS.=xy+(e@y)z=xyt(x'
ptxy')z
=xyptx' yztxy'z =xp(lt2+x'prtxy'z
=xytxyztx’pztxyz=xytx' yztxz(yty’')
HSxyptx'yztxz
=y(xetx'z)t+xz=yetx)(x+z2+xz=y(xt+z2)t+xz
=xytyzt+xz=L.Hs.
(i) RHS.=x
Oy Oz
=(xp'+x'y)@z=(xy'+x'y)z't+(xy'
+x' yz
=xylizitx'yz'+(@y)'.@'y)')z
EXERCISE 3.1
1, IfD, denotes the set of all positive divisions ofn (n & N). Show that Dg, Dio, Djs, Do are Boolean
algebra where as Dy, Dj2, Dig, are not Boolean algebra.
1. Let (X, J) be a topological space such that A, Ae J for every A © Z Show that (9,1, U, ‘, , X) is
Boolean algebra.
3, Prove that in a Boolean algebra B, the following conditions are equivalent
(jx Sy (ix Ay’ =O (ii)x' V y=1 (iv)x A y=xand(y)x V y=y forallx,y € B.
4, Show that a V (a' A b)=aV banda A (a’ V b)=a A b ina boolean algebra.
§, Reduce the following in boolean algebra.
(Px AQ’ Vy) (DX Ay AZ)VG' AY AZVOAY’')
(iii) Ay) V &' Az) VW Az)
6. Prove by using Boolean algebra
() xtx'z=xt2 (ii) xptxy'=x (iii) @+y)- ty) =x
(iv) xyz t+ x'y + xyz’ =y (vy) xztay=2(xt+y) (vi) @+y)' + @' +p) =0
7, Using Boolean identities, show that
(a) [a(6' + c)]' [b+ (ac')'}’ = abc’ = (b)_ a’ [(b' + c)' + (bc)] + [(a + B’)' c] = a'b
8. In any Boolean algebra, show that
(i) (a+ b') (b+ c') (c+ a')=(a' +b) (b' +c) (c’ + a)
(ii) (a+b) (a'+c)=acta'b =acta'b+be
(iii) as bat be=batc)
ANSWERS
}_5 (i) xay (ii) (AZ V (Ay) (iid) (Ay)V A 2)
155. Boolean Expressions or Boolean forms
Definition. Boolean Polynomial (Boolean expression, Boolean form or Boolean formula)
Let My Xa5 ssseee x, be a set of n variables (or symbols). A Boolean polynomial (Boolean expression,
Boolean form or Boolean formula) F(X, ,%9, deere ; x,,) in the variables x,, X,,......,%,, is defined
"cursively as follows :
(1) The symbols 0 and 1 are Boolean polynomials.
(3) If F(x, Xing covers ;x,) and 8 (x5, sani ; x.) are two Boolean polynomials, then so are
Cf (+ Xa seecenes x)
(5) There are no Boolean polynomial in the variable x,, x,, ...... , x, other than those obtained in
accordance with rule | through 4.
Thus Boolean expression is an expression formed from the given variables using Boolean expressi
' long
V,Aand’.
For example : For the variable x, y, z the expressions
fy, 2z) =@Vyp Az
fy. 2) =@VP)V OAL
f3(%¥,2) = RV OAD VEAGA I)
Fy (xyz) = QV yA AY)
are Boolean expressions.
Note that a Boolean expression in variables may or may not contain all the n variables.
Definition (Equivalent Boolean Expressions)
Two Boolean expression Sf, (44X55 cee »x,) and Sa (x, eo ; x, )are said to be equivalent if they
assume the same value for every assignment of values to the n variables.
For example. The expression fj (x;,%2,x3) = (4) 4 x3) v G “4 x4)
0 0 0 ] 0 0 1 0 0
0 0 ] 0 0 0 0 0 0
0 l 0 ] 0 0 1 0 0
0 ] 1 0 0 0 1 0 0
1 0 0 I 0 ] 1 1 ]
] 0 ] 0 0 0 0 0 0
l ] 0 ] ] ] ] ] 1]
! | I 0 | 0 ] 1 1
Since f, (x,,X2,x3) and f3 (x,,x»,x3) assume the same value for every assignment of the values of
the variables x,, x, and x;. So fi = fo.
Let (B, V, A, ', 0, 1) be a boolean algebra. A function from B” to B called boolean function it can be
init
+ A Boolean expression ofn variables Xy2 Xqy vv X, 1S Said to be minterm or complete product or a
‘ ugdamental product of » variables if it is of the forms Xp AX Neve AX ys where x; denotes either
i « * * . ~ ~ ~— ~~ .
oy
is ort).
}
' Observe that each minterm is completely determined by a sequence of 0’s and 1’s of length n, and any
, = 5
! sch sequence determines a number between 0 and 2” — 1 in binary representation.
A particular minterm will be denoted by min , or m, if the associated sequence of its exponent gives
J
\4¢ number j in binary representation (Here 0 < j <= 2” -1). Thus, we have 2” minterms in n variables
. For example, in three variables ms, =X, A x5 A Xs, become 5 in the
2” -1
jszary representation | 0 1.
Also, these minterms satisfy the following fundamental properties
2” -1
(i) mam, =Oifi #j (ii) 4 = My VM V ones vm, _ =)
i Definition (Maxterm)
2
2" -1
(ii) rey M; = M,~M, 4 saute AM, _,=9:
s of Xf XQ x3 + x] x x4 +x] x2 x3 = LZ m(1,0, 7)
5a boolean expression in disjunctive normal form of three minterms.
(x, +X, +x) (x, + X4 +35) (x, +X, + x3) = TIM (4, 6,0)
0 0 ] I ] l m
0) J 0 | 0 l m,
0 l l ] | | m,
1 0) 0 0 0 0 my
| 0 l 0 0 0 Mt.
| 1 0 0 0) l m,
I l | () 0 | me
Since minterms corresponds to each ordered triple of 0 and | for which the value of the functios v |
fo
46
§ arTiCS
oo
minterm are m= xX Ay Azmi =x AyAd,-—s mer A PAS
tae
wer hyA zm," xrNyaArz
0 0 0 6 M
0 0 I o M,
' t
0 1 | Q 0 } 0M,
0 1 | 1 0 | Mf.
:
| y
\ 0 0 0 | M,
0 | { 1 | Mf
i 0 0 | My
i a Se
| |
Since Maxterm corresponds to each ordered triple of 0 and | for which the value of the fanction is 0.
Maxterm are My= xo Vw Wr. M = rv vs Mie x Ver, Mier vrve
MpaxVy
.
V2, M,oexV pve
Hence disjunctive normal fonn
Mi A MA M.A M.A M.A My
WV PV SDA VY VDA VE V TDA VE VDA VY VDA GV V2)
Algorithm for obtaining complete Sum-of- Product Expression
Let the given boolean expression be f(y)...
-
0)rt
Step 1. Find a product Pin (Xp ye ces x, which does not contain the variable x, and then multiply P
Step 2, Repeat Step ft until every product inf (4,04), .....4),)i8 a minterm ie. every product P contains
ul the m-variables.
Step 1. Find a sum S in f (x,,%5, eeaeee ; x) which does not contains the variable x; and then add S by
Step 2. Repeat Step | till every sum in f (x) X4 4 dais ; x,,)is a maxterm i.e. every sum S contains all the |
n-variables.
Example 3. Using Boolean algebra, construct the DNF of the boolean function
f@,y¥, 2) =x +z)
Sol. Here Sy, Zz) =x(ytz) =xyt+xz=xy-14+xz°1
= xyz + 2") + xz(y + y') = aye + xy2't xyz + xy'z
= (xyz + xyz) + xp'z + xyz’ = xyz + xy'z + xyz’
which is in the DNF of the boolean function f(x, », z).
Example 4. Express x, , ++ x ¥, and x,x, in its complete Sum-of-Product term in three variables x,, x, x,
— ’ i
i X,X5°1 + XX5 +1 + X}X, -1
' ' ’ r r r f
*1*9%3 + X)%9%3 + %4%X5%3 + XyX4X + Xy%Xo%3 + Xy%o%X4
—_
XXqXq. + XyXqXZ , + XXX
'
+ XY ’ AQXz + AjXQXz
’ '
+ XyXZ’ x.
’
7 ‘
JATTICES
a
gsample 6. Show that (x; X% x3 xi) EG (x xi xy x4) ie (x! x, x, x,) a (x! x, x, x4) _ x eS
=R.H.S.
Example 7. Show that the following Boolean expressions are equivalent to one another. Obtain their g
ofProduct Canonical form um.
0 0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 ] ] 0 0 0 0 0 0
0 1 0 1 1 l ] 1 0 ] 0 I 1
0 1 1 1 1 1 l I 0 1 1 1 1
] 0 0 1 0 0 0 0 0 0 0 0 |0
] 0 1 1 1 1 l ] ] 0 0 1 ]
1 1 0 1 0 1 0 0 0 0 0 0 0
1 1 1 l l 1 ] ] 0 l ] 1
Since the values of the boolean expressions for /,. f,, J; and f, are equal over every triple of the two-
value element Boolean algebra. So these are equivalent.
To write them in Sum-of-Product cannonical form.
We have SQ. y, 2) Sxztx'yqxz-l + x'yrl=xz(yt+yp')+x'p(zt+2’)
f0,0,) =1 f0,1,1) =1
-_
_
464 SPECTRUM DISCRETE Matnp
Sol. The minterms are f(0,1,0), (10,0), f(1,0,1), f(,1,) tty
Le. (Ay Az), (CAV Az), @AY A2D,AAYA2Z)
D.NFis f(x,y,2) =O AYAZ)VOVY VZ)V RAY ADVEAyA 2
can be simplified as
=(xX’ Ay Az’) VxA[(y Az) V(y' Az) V(yAz2)] (Distrib j
—_
—
CN form is
<XV¥YVZ)ACXVPAZ)ACR’ VyVZARVypVZ)ACG' Vy’ Vz)
Example 10. Using Boolean laws show
(XAPVV(XAPAZ)VXACYV
(AY) andx Ay
are equivalent. |
(XAVYV(iXAPAZVXAWV(XAY))]
HK AY) V@AVAZV[GAYVEAY)]
=H(XAVY)V(XAPAZ)V(XAY)
=((KAY)V(XAP)VKAYAZD=AKAPWVKAVAZ)
=(xAy)V(1 Az)
=(xAy)VI=xAy
ee
ATTICES 465
—
gsample 11. Simplify the Boolean expression f(x, y,z) = (x Az) V Qy Az) V (vy A Z) and write in min.
ym normal form.
st f =(EAZDVOYADV(YA Z)=H(EADVIVACGY Z)] [Distributive law]
=(XAZ)V(VAI) [-e zV Z2=)]
=(xAz)Vy
x y Zz x x AZ
| 0 0 0 l 0 0 my
| 0 0 1 1 i l m
0 1 0 I 0 m,
| 0 1 1 1 \ 1 m4
1 0 0 0 0 0 m.
1 0 1 0 0 0 m6
1 1 0 0 0 1 m4
1 1 I 0 0 | mg
Min. termare my =x Ay AZ =
Mg =x AVAZ
Max. term is
0 0 1 0 0 0 6
| 0 | 0 0 |
0
; 9 «OO 1 0 0
9 | 2? 0 0
re ee
| J
1 0 1 0
. method for representing Boolean function js circuit diagra
m.
0
The seg of AND. OR, NOT GATES.
compe AND A
OR NOT
B
()
B
®) Oy
sord Gates are NAND, NOR, XOR, XNOR GATE
tan
-
*
AY
te w
D NOT
7 NAND
OS
AB+AB’ A
- .) me AB’
XNOR =AQ@B
(©)
This represe
ntation does seem appropriate since Boolean functions can express the functioning of
to be connected to which other circuits, It
circuit. Beca circuit diagram actually shows which circuit are s and thus
asi ona lly possib le to make use of a circuit diagram to eliminate unnecessary connective
is occ
rcuit.
yield a simpler ci
ram of the following Boolean functions
for exampl e: The circuit diag
Git) Ap y,z)=xtyz
() fi Ys 2) =XVZ
(iv) fa(x.y,z)=xyp't+x'z are
(iii) AW Yl ztx' yz +xy!
aX A
() fi.» z=xyz
fi
(i) A@yz)axt+y'z
yz
A
ts
(iv) AQ y ax sexy" SY
ysl
i!
f
xy gl!
yoo fh
Also A (x, y, z) =’ y' rt yet xy" =y'z (y’ +y) + x}"
(it) fa Or X25)
= (x2 +3). HHS) HH5.
Sol. (i) The circuit diagram of the function Si (1. X25%3,X4) =X. (x, (X3 Xy ))
is as shown below
Ro _ X,.X> .X.
>o- | ene edie:
Sf;
or
30S] ye b=
%4o——WWwWwWw"_ id
1, -——————
_-«;,
ol
al
wl
>|
bal
oO
a
—
+
+
V
oI
al
ol
wl
>|
QO
oy
+
>
wo
ll
>
+ABC+AC(B+B) = ABD+ABC+AC
wl
ol
>|
ll
ABD+A(BC+C)= BD+A(C+B)(C+C)
=ABD+A(C+B).1=ABD+AC+AB
= AC+B(AD+A)=AC+B(A+A)(A+D)
| =AC+B.1(A+D)=AC+BA+BD.
| F with the help of NAND GATE
c
o|
B
D
F with the help of NAND GATE
AB + ABD + AB
+ AD + CB+ BCD + ABC + ADC
AB+AD(1+C)+BC(1+A)+ABD+BCD [- a+a=al
it
De
Scanned with CamScanner
~ —
SPECTRUM DISCRET
470
—
= AB+AD+BC + ABD + CBD Ltons
a=] Vqj
- AB (1+ D)+BC(1+D)+AD
= AB+BC+AD
>|
oO
ol
>|
BOOLEAN RING
Theorem : Prove that a Boolean algebra forms a ring under the binary operations + and - defined as above,
Proof: Let B be a Boolean algebra.
ahbh=anb
i
(/) Addition is closed
Similarly
Thus
(a+ b)t+c=(b+0)+a=a+(b+o0
=a
=Ov 0
=Q
Thus a itself is additive inverse of a in B.
ab=aAbeEeB
=(a-b)-c
For a, b, c € B, we have
=((a@Aa)AbBV(ANbAc)VOAcCV(b'
Aadc)
=OV(aNbAc’)VOV(aAB
Ac)
=(aNbaAc')V(aAb'
Ac)
(a+b)c =act+be
Corollary 1. If B is a Boolean algebra, then the ring <B, +, -> is commutative ring with unit element.
ab =aNb=bNa=ba
Therefore B is commutative
a-l=aAl=a
and l-a=lAa=a
B,
pot: FOr any a €
2a=ata
=0
x =—a-a
=aNa
=a
Note : From above definition and result, it is clear that “Every Boolean algebra is a Boolean ring with
nity”,
(xtxyP =x+x
> (x+x)(x+x) =xtx
> x+x =0
” id Using(i)
° yrx
(x+y) =xty
< (x+y)(@@+y) =xty
> (xt y)xttyy =xty
> xtyxtayty=xty
aNb=arb
aVb=a+b+ab foralla,bEB
aNa=a‘a=a=a
aVa=atataa=0+a@=a
+
ee
TICES
Comutative laws : For a, b © B
us
“qj
aNhb=a-b=b-a=bnara
aVb=a+b+ab=b+at+ba=bVa
aN(bAc) =a (bc)=a(be)=(ab)c=(aN by Ac
=at+b+c+bet+ab+ac+abc=(a+bt+ab)+ce+(a+bt+abje
=at+ab+(aa)b=a+ab+ab=a+t(ab+
ab)
=at+0
=a
av (a A b) =a
V (ab)
=a+ab+a(ahb) =a+ab+(aa)b=at+ab+ad¢b=a+(ab+
ab)
=a+0
=a
Thus
< B, +, -> forms
a lattice.
aAN(6Vc)=a(bVc)
=ab+ac+a(ab)c=ab+act+a(ba)c
=(aANb)V (aAc)
and aV (a+1) I)
=at+(atl)t+a(at
=(at+a)+1 +a +a
=04+1+(a+a)
=1+0
=]
EXERCISE 3.2
1. Show that the Boolean functions /) (x,y. 2) = (4) ¥ X4) VX; and f(x,y, 2) = x, v (x) Vv x,) are
equivalent.
4. Write the following Boolean expressions in an equivalent sum of Product cannonical form in thre:
variables Xys%qXy
(ay %2 v3 a9
|
below
| ad te yalue of the Boolean expression given
1 po ree OP LEH
dye
ms
wi the value of the Boolean for
; on ACK vx5) (b) x, AN, (c) x V4 049)
\ \ | | 0
EE
CPV TN ay AN IYO
ae
AyOa DC
:
ty OIG
. f
4g OAT
'
oT A /‘
4 on
: an ial) oe . _ , . + ty al . qh,
(v) (4 AN ANGI OK) AND A vivian / ry A4y) HW fkg 4,)
(t) (Np Vy VAC Vay YG) AUN Vy Vea) (x, Vy 4 hy )1 (Z, thy thy) (x iif
- "4 2/ES
“ “ay
O(a) | (b) 0)
‘ Ny NAN, x XV iy Ay fs (x4 Vegh hy Vhs 4)
0 | 9 0 | 4 | 0 Q
() | () | | ()
Y aeky
ate teeny ff eon ssc oe
(j
“ ia
| kiting
|.
le d the initial vertex and b is called the terminal
Peis a
~ Scanned
Scanned by
by TapScanner
TapScanner
482
ee es oe *
al
REMARK :
&
tt it the v
and edges are represented by line segments joining its end vertices.
. (ii) It does not matter whether the joining of the two
Be. bs longer or shorter.
aie
<7 adel
Paar
2
Scanned by
Scanned by TapScanner
TapoScanner
=
SPECTRUM Discpg-
(iv) Weighted graph : Let
G = (V, E) be any graph andw:E>R beg
of the edge, is known as weighted graph. ri i: c
i d “i
Scanned by
Scanned by TapScanner
TapoScanner
486 es ea SPECTRUM DISCRETE - _ , the pe of vertices of odd eee iseven,
In directed graph pee
In undirected graph 7 ~ivy . oe be n-vertices and 1, é2, ......, & be e-edges. in the graph G. Then
deg G(x) = deg G’(x) + deg G(x) Thad wn
by ;
“. deg G (a)=2+2=4 so tae i
deg G(a) = 4 a eas? pots Ste i . a al phe e's ig aires ra
degG(c) =2+3=5 deg G(e)= 5 | me" i
deg G(d) =3+1=4 deg G(d) = 4
Pendent vertex (End vertex)
ee
A vertex whose degree in a graph is one is called pendent vertex.
fs | ome
For example :- In the following graph
. | | ei
:
'b c
Sao,
k-Regular graph.
For example:
Scanned by
Scanned by TapScanner
TapoScanner
s Chey
Theorem 5. Prove that the number of edges in a complete graph with» Vertices ig (n
other vetten a 4 a .
Proof. Since every vertex in a complete graph is joined with every
. The degree of every vertex ina complete graph of 7 vertices is »)_ ‘Bh one
ae
“. If e be the total number of edges in G. Then by first theorem on graph
n ' a
> d (v) =2e tie og ea
err 2Sfo
i=l
n(n-l) =2e
n(n-1) te
ss ‘a= = oe 7 aed
: ; 4 pe ith y A, x ol Padme: mi .
nab) ae Tl ee 7k
-. Total number of edges in G = om ace 1.
Scanned by
Scanned by TapScanner
TapoScanner
SPECTRUM px 2
Pr:
But G has a vertices of degree 7, which is not possible ina simple graph,
Hence there = ipeiepinard Set inverters as fr ena
edges.
has 12 es
Example 6. (a) Find k, if a k-regular graph with 8 vertic
there be a graph with 8 vertics and 29 edges ? Justify.
Sas
ee
eS SS
»
en oe
iiea ce
ote
aes
Scanned by
Scanned by TapScanner
TapoScanner
asinine ECTRUM I
Ee Asse = Ps
Scanned by
Scanned by TapScanner
TapoScanner
494
7 SPECTRUM Disc: ATS I inte chine tice eae
Example 7. Which of the following pair of graphs are isomorphic? z gy OOOares eae aaa?
i,
c
a 8
Scanned by
Scanned by TapScanner
TapoScanner
ae His) ee LOW et a
. Us gmax. number ofedge =
vertices
7 in 2 4. Dr
eds 7
A
etsy fs rae
he a :
“ ee te El nia Hy a ‘ So ae coum .
as cieepen ier =21. ‘ore wt ay ws Ug es y-
f ans So sam
So G andG cannot
be isomorphic. Pe}.
| Example 10. Is there a graph with 8 vertices of degree 2, 2,3,6,5,’
Babine Sol. Total degree of all the vertices=2+2+3+6+5+7+8+4
ry aa We know total degree = 2 | E ine | = number ee
Se } i JF aie 2 eG a7 } gece 3 oe
A { Aur 37 =2 |E| sl ah aes a3 oF yer dk ae
Scanned by
Scanned by TapScanner
TapoScanner
498 SPECTRUM DISCRETE
M,
(ii) |
Vi V2
(G)
Vy Vs
ANSWERS
vi Vi Ve JX . Sa?
One Vertix Two Vertices Three Vertices
Scanned by
Scanned by TapScanner
TapoScanner
500
Scanned by
Scanned by TapScanner
TapoScanner
502 — ~—
sia SMO
(a) This path is a cycle since it is closed and has distinct vertices Cs = eifloop is also a circuit, but converse isnot true
(6) This path is simple since it vertices are distinct. It 1S not cycle since it is nop a: ee A Be ea ne nae
(c) This not even a path since {X, Y} is not an edge. 4 slop, 2 le 2 pir of parle edgs, 3. ces wig. te isa
Length of path Tee
: EY tt oo rege
For example. Consider the following graph
Fig. (i)
v= Vi, el, V2, ©, V3, €3, V3, ay V4, €5,Vs, C6, V2.
Then W is a walk of length 6 as shown by the bold line in fig. (j). The above a
vertices V; and V; appear twice in the walk W. However
the walk fe
W'=Vi, e1, V2, €2, V3, 4, Va, 5 Vs
is a path of length 4 as shown by the bold line in fig (i). Moreover, the a
open walk as their terminus vertices are different. . he
+ But the walk
| W'’= Vi, e1, V2, €3, Vs, 3, V3, €4, Was @5, Vs» 6. V25 €1 Vi
is a closed walk as the terminus vertices are same. — ae ae
Remark. (i) An edge which is not a self loop is a path of length1.
(ii) A self loop can be included in a walk but not ina path.
as (iii) The terminus vertices of a path are of degree | and the i lernal alk areof
ae | CIRCUIT : A circuit is a closed walk in which no vertex(except the d terminal ye
Hao
Scanned by
Scanned by TapScanner
TapoScanner
SPEC
= ==
| eas he )
(a) Only II1 is connected.
Sia of
(6) All are graphs.
the fol low ing gra phs as : Str ongly connected §
Exa mpl e 2. Cla ssi fy
weakly connected graph and disconnected graph. ee ae
)
Sol. ;
Py 3c
ad (a) The graph (i) is weakly connected
Scanned by
Scanned by TapScanner
TapoScanner
oo —
—-oso
Lyte So M=
Adjacency mat of r
muli
ti-x
graph (undirected)
Let G be undirected graph of m vertices that may contain parallel edges
n X n matrix defined by M = [4y; ]nxn
|
Scanned by
Scanned by TapScanner
TapoScanner
ILLUSTRATIVE EXAMPT we,
Example 1. Find the adjacency matrix A of the multigraph, a
€, ) 1
—-) STy
rary ‘
19
was a
ASIA ates :
Set a,, =n, where n is the no. of edges between
V; and V , and
ee ee
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
$12
Example 7, Consider the graph G. Find
I. All simple paths fromA to F r
I. d(A, F) ,
HII. diam(G)
TV. All cycles which include vertex A. |[
V. All cycles in G. D
Sol. (1) A-—B-C-F,A-B-E-F, ADEF, A~B-EF etc. a ;
(2) d(A, F) =3 (no. of edges) RO One :
(3) diam(G) = size ofG = no. of edges = 8 ay BY:
| (4) A-~B-E-D-A,A-B-C-E-D-Aetc.
sj Example 8. Show that the graphs G, G' are isomorphic. =
Scanned by
Scanned by TapScanner
TapoScanner
Oe AE ee ge we bie A
6. A graph has adjacency matrix
0
&
&&
0
=
aete
M= < e wf , are oe e- - f . ee “— 4 nib Atres eee 7
0
oo
-
0
=-
o
Scanned by
Scanned by TapScanner
TapoScanner
516
‘ SPECTRUM Digg.
a (i) A complete graph of five vertices is non-planar i.e., Ks is non-planar,
¥ SeeVietugaley
Scanned by
Scanned by TapScanner
TapoScanner
Sol. (i) In fig. () |V| =6, |E| = 10, R=6
“By Euler’s formula, R=|E|—|V|*? ‘a
ie, 6 = 10-6 +2, which is true a
(iIni)fig. (if) [V|=6, |E|=8, R= 4 a iver ood ay ae fe ‘ae Sie: os tie 5a
“. Ee] Fare
ie, 5=+29 which6
, - is true
Example 2. Determine the number of regions defined bya con
Bae a
“
Sol. Here {V| =4, JE|=8
a -
fs By Euler’s formula.
Scanned by
Scanned by TapScanner
TapoScanner
= a
520 et fs
SPEC SUM Disc ‘ f - for the graph (c)
1.10. Coloring leas 4 Cp rupaehth ve ee
Suppose G be a simple graph with 7 ver
tic es,
toe a
ymber
‘= Vértices have the same colour. we are to pai nt all its Wertices such that ng,
- Chromatic Number : co
The minimum number of colours needed to paint all the vertices of
adjacent vertices have the same colour is called chromatic number the “ee
of G and denoteg setGta
For example.
Na
Blue Red
Scanned by
Scanned by TapScanner
TapoScanner
in | 3 sneral_
Theorem : Fiye Colour Theorem : If G is planar graph then ne chromatic number of the complete graphs kes kyo and
C(G) <5. to colour a ke graph since every vertex is adjacent to every sii ain a
z _ ola the graph Ay
=e
and n
Nie
Simila rly it takes ten colou r to colou r
Proof : Basis: A graph with one vertex has chromatic number of one. aSoe every one.
Induction: Let us assume that all planar graphs with n ~ | vertices have a chromatic
less. Let G bea planar graph with 7 vertices.
Blue
tn
a
“. Ha vertex V with degree (V) < 5.
Let G-V be the planar obtained by deleting V and all edges that co
Now by the Induction Hypothesis G-V has a 5-coole g. Let us
white, blue, green and yellow. SNEbend i ae
Scanned by
Scanned by TapScanner
TapoScanner
ike Ee _ SPEC)
Example 1. Find the shortest path between a and z. iiyas seh Tugel Sein
wz ; ; -
a a b e
0 2) 1a) 4
Step II: Include vertex in S, neatorer
a and di
vertex. The nearest vertex is c.
a,c, >
:
0. 24a) Lhe ag
ets
tee
a
7
my
Mi
ee
dala
a
etn
4
Bee ol
an...
i
“ami,
‘i 7
Scanned by
Scanned by TapScanner
TapoScanner
is
Scanned by
Scanned by TapScanner
TapoScanner
328 —_—<——
A graph which contain either Euler Path or Euler Circuit is called Bul eria
Example : ek
A
Fig. I Fig. I ae
| “ae 6 a =a
Scanned by
Scanned by TapScanner
TapoScanner
530 | SPECTRUM Discreyy, 4 w
€ventually comes to an end, we must have reached the other vertex of odd degree. al _
raph were traced, we would get an Euler Path other wise remove those edges that
hac.
obtain a Subgraph formed by the remaining edges.
The degree of
Again by theorem 2, this subgraph has an Euler Circuit. Since the vertic es of this sub sa
original graph ig raph
‘must a path between the two subgraph and thus we obtain a path that contain
once. Hence, we get an Euler Path.
all the eg 5
hig
Remarks : From above theorems, we can
check wheater a given graph contains Euler
hone. Summary is given below: Circuit, rat k
ES
(2) If all the vertices are of even degree then graph has Euler Circuit.
(6) If two vertices are of odd degree, the graph has Euler path
but no circuit,
(c) If more than two vertices are of odd degree then graph has neither
Euler Path nor
Definition
Bridge : Let G be a connected graph. Then an edge e is called bridge if by de! ctin 3
disconnected or we can say G—e is disconnected. Bridge isalso called cut edge. eog
Example : = Tees va
: a ‘
Vis ai
i ly
ite poet A, cca
*
Scanned by
Scanned by TapScanner
TapoScanner
532
liao a SPECTRU\ Petey 2 )
Example 2, Apply Fleury’s algorithm
to construct an Euler circuit for following
graph,
Scanned by
Scanned by TapScanner
TapoScanner
SPECTR *
Example 5. Which of the following graphs are traversable ;
f ; een
ee 'h
;
Sol. Graph I is traversable as it contain | circuit is shown below
Euler circuit. Euler aed»
a+f>ecrdrerfrebreszc>b>a
Graph II is not traversable because it is not connected. It contain two cor cen
EXERCISE 1.4
In Questions from I to 5, tell wheter graph has Euler Circuit, Eule
Also find path or circuit (if exists) by showing all steps.
a3
Scanned by
Scanned by TapScanner
TapoScanner
also deg(a)= 2, dea(b) ~3, deg(c) = 2, desta)= 3 at
So all vertices have degrees = 2
which is 2
2
“+ theorem II also true.
Similarly for theorem III we have m= 5 andn=4
I
18) 5" 2 -3n+2) = =t 1é-— 12+2)=3 ee atUi sffee
me(at Sa
“+ graph is Hamiltonian
and Hamiltonian circuit is
Note : The converse a,b,c, da
of these ore ms is ne - ea
but still they are Hamil wi Is not true. We have some graphs
For example in graph
=
wl
ek ts
a
PS
nets
eg
=)
er ee
cet
ret
o
ee
es
hrs
Pome
a eS
bp
ae
eae
c
eet)
Meg)
+ deg(Cy= 2424)» pect se
ed
ee
pe
ot
eS
>
a
=
2
ee
at
ee
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
es |
i2 d
? ‘
= 10g
wei +t
+ 10h 8 + 12
1 iltoniar c ‘ a |
“ana J (GA .
: as
«a
"
me tS
Scanned by
Scanned by TapScanner
TapoScanner
cy tyes tring souancme bck wis acy
Scanned by
Scanned by TapScanner
TapoScanner
344
SPECTRUM Dy sere
Step 5 To mark minimum straight lines to coall
ve zeros
rin order to find req
If vase
bai a matrix obtained in step 3 by using following procedure. h
(‘) Mark (Vv) all rows that do nothave assignments, = ai
(i?) Mark (V ) all columns that have zeros in marked row taine from ste
(iii) Mark (Vv ) all rows (not already marked) she have assignment in rmatked rae
step 5 (ii),
ee ae
ae | (iv) eon
0) Rt (v) Draw straight lines through all unmarked rows and marked limp. ne
Uae If the number of lines drawn (m) is equal to number
be optimal otherwise go to step 6.
of rows
(or column), the ¢
aaa ,
Se iad) ere i
ss nee ays=
Scanned by
Scanned by TapScanner
TapoScanner
‘5 a< TF a ee
i. he
=eees —
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
ane bis TIO) 98 SHOWN:
a=
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
(5) Since graph co
(Cc) Number of vertices = 6
ESE ak PeaiPats tae
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
Bedtenpedsh tc) sods crit}
ca Ure)
- , : Coal
RES =
- ogee
7 =z i tah
POP as ygnte eae
Sol. The step ete KO er ao
Eames
Rin
"be 1S: In theira binaryeee
tren cae
tree with height
eee
6 and c<1... 1TTTh ay
RE
lon
mite
ie
tay ae
|
Sn al
*
Scanned by
Scanned by TapScanner
TapoScanner
as: eet!
ze containsh all eS ae qe
: . whic means we have to remove 2 edges.
G is connected.
Remark. (Cayley's Th
eorem) The
For example : There ar
e 16 spannii
Scanned by
Scanned by TapScanner
TapoScanner
ies 2
ct pier
<i.
fe ic +
- es ms sie a
; eet aa
ae Pa Me ;
F “ree +2, Ae
se se | ae
(i) . = co 7
od
(iii)
A a a
:
Select next edge AB
; ‘ _ ’ rh es
ee
ee
Scanned by
Scanned by TapScanner
TapoScanner
i
!
t
ee
Scanned by
Scanned by TapScanner
TapoScanner
a
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
Scanned by
Scanned by TapScanner
TapoScanner
=e
a
SPECTRUM DISCRETE MATHEMA Ty, .
eq
ie
Scanned by
Scanned by TapScanner
TapScanner