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


Fig 3 The directed graphs are very important data structures that have applications in Computer Science (in the area of networking). Definition



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

Fig 3
The directed graphs are very important data structures that have applications in Computer Science (in the area of networking).
Definition : Let A, B and C be three sets. Let R be a relation from A to B and S be a relation from B to C. Then, composite relation RS, is a relation from A to C, defined by, a(RS)c, if there is some b  B, such that a R b and b S c.

Example 6: Let A = {1, 2, 3, 4}, B = {a, b, c, d},C = {x, y, z } and let R = {(1, a), (2, d),

(3, a), (3, b), (3, d)} and S = {(b, x), (b, z), (c, y), (d, z)}.

Pictorial representation of the relation in Example 6 can be shown as below (Fig 4).




Fig.4
Thus, from the definition of composite relation and also from Fig 4, RS

will be given as below.


RS = {(2, z), (3, x), (3, z)}.
There is another way of finding composite relation, which is using matrices.
Example7: Consider relations R and S in Example 6. Their matrix representations are as follows.

1



M 0



R 1

0

0 0 0

0 0 1



1 0 1

0 0 0



0 0 0

 


M 1 0 1

S 0 1 0

0 0 1


Consider the product of matrices MR and MS as follows: Observe that the non-zero entries in the product tell us which elements are related in RS. Hence, MRMS and MRS have same non-zero entries.

TYPES OF RELATIONS:

In this section, we discuss a number of important types of relations defined from a set



A to itself.


Download 472,94 Kb.

Do'stlaringiz bilan baham:
1   ...   32   33   34   35   36   37   38   39   ...   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