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


How many members of {1, 2, 3, ………….., 105} have nontrivial factors in common with 105?



Download 472,94 Kb.
bet27/50
Sana11.01.2022
Hajmi472,94 Kb.
#343705
1   ...   23   24   25   26   27   28   29   30   ...   50
Bog'liq
Independent.deskret

Example :
How many members of {1, 2, 3, ………….., 105} have nontrivial factors in common with 105?

Solution
105 = 3 . 5. 7, so a number shares factors with 105 if and only if it is divisible by 3, 5,

or 7.
Let A, B, and C be the members of {1, 2, 3, , 105} divisible by 3, 5, and 7

respectively.
Clearly |A| = 35, |B| = 21, and |C| = 15. Furthermore, A ∩B consists of those numbers divisible by both and 5, i.e., divisible by 15. Likewise, A ∩ C and B ∩ C contain multiples of 21 and 35

respectively, so |A ∩ B| = 7, |A ∩C| = 5, and |B ∩ C|= 3. Finally, A ∩ B∩ C consists only of the number 105, so it has 1 member total. Thus,

|A U B U C| = 35 + 21 + 15 - 7 5 - 3 + 1 = 57

Example:

At Sunnydale High School there are 28 students in algebra class,30 students in biology class, and 8 students in both classes. How many students are in either algebra or biology class?

Solution:
Let A denote the set of students in algebra class and B denote the set of students in biology class. To find the number of students in either class, we first add up the students in each class:

|A| + |B|
However, this counts the students in both classes twice. Thus we have to subtract them once:|A ∩ B|

This shows


|AUB|=|A| + |B|-|A ∩ B|
|AUB|=28 + 30 - 8 = 50
so there are 50 students in at least one of the two classes.
Example:

At Sunnydale High School there are 55 students in either algebra, biology, or chemistry class 28 students in algebra class, 30 students in biology class, 24 students in chemistry class, 8 students in both algebra and biology, 16 students in both biology and chemistry, 5 students in both algebra and chemistry. How many students are in all three classes?

Solution:

Let A, B, C denote the set of students in algebra, biology, and chemistry class, Respectively. Then A U BU C is the set of students in one of the three classes, A∩B is

the set of students in both algebra and biology, and so forth. To count the number of Students in all three classes, i.e. count | A U BU C |, we can first add all the number of students in all three classes:

|A| + |B|+|C|


However, now we've counted the students in two classes too many times. So we subtract out the students who are in each pair of classes:

-|A ∩ B|-|A ∩ C|-|B ∩ C|


For students who are in two classes, we've counted them twice, then subtracted them once, so they're counted once. But for students in all three classes, we counted them 3 times, then subtracted them 3 times. Thus we need to add them again:|A∩B∩C|

Thus
| A U BU C |=|A| + |B|+|C| -|A ∩ B|-|A ∩ C|-|B ∩ C|+|A∩B∩C| 55 = 28 + 30 + 24 - 8 - 16 - 5 + |A∩B∩C|

Thus |A∩B∩C| = 2, i.e. there are 2 students in all three classes.


Download 472,94 Kb.

Do'stlaringiz bilan baham:
1   ...   23   24   25   26   27   28   29   30   ...   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