B tech. Discrete mathematics (I. T & Comp. Science Engg.) Syllabus



Download 472,94 Kb.
bet35/50
Sana11.01.2022
Hajmi472,94 Kb.
#343705
1   ...   31   32   33   34   35   36   37   38   ...   50
Bog'liq
Independent.deskret

REPRESENTATION OF RELATIONS:




Matrices and graphs are two very good tools to represent various algebraic structures. Matrices can be easily used to represent relation in any programming language in computer. Here we discuss the representation of relation on finite sets using these tools.

Consider the relation in Example1.

x y z

1 1 0 0


2 1 0 0

3 0 1 1


4 0 0 0

Fig. 1

Thus, if a R b, then we enter 1 in the cell (a, b) and 0 otherwise. Same relation can be represented pictorially as well, as follows:







Fig 2
Thus, two ovals represent sets A and B respectively and we draw an arrow from

a A to b B, if a R b.

If the relation is from a finite set to itself, there is another way of pictorial representation, known as diagraph.
For example, let A = {1, 2, 3, 4} and R be a relation from A to itself, defined as follows:

R = {(1, 2), (2, 2), (2, 4), (3, 2), (3, 4), (4, 1), (4, 3)} Then, the diagraph of R is

drawn as follows:




Download 472,94 Kb.

Do'stlaringiz bilan baham:
1   ...   31   32   33   34   35   36   37   38   ...   50




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish