Professional Documents
Culture Documents
Maths Chapter 1
Maths Chapter 1
Set Theory
Unit I
Syllabus
)We The
write between the braces
variable x stands for each element of the
0a variable X. cannot be counted.
A = (xxis anatural numberj
infinite
) set.
|
x. property
origin)
can be denoted by px).
i)x and px) are separated or (read as 'such 5. Subset
by
that) Set A is said to be a subset of a set B i
e.g. A = {xp(x)} element of setA is also an elementofset R
A = {x |xis capital of states) Set A is a subset B is represented
of set as Ac
A = {x |xis an even number and x 2 2) IfACBthen ifx e A=xe B
Example
1.2.3 Types of Sets
Let A = 2,3,4
Define following with proper set notations and and B (2,3,4, 51
examples
) () A B
) Proper subset
Emptysets
(v) Equality between sets
(v)
Power sets
Subset
then write
5. Proper
Set A
subset
SPPU Dec. 17, May18, 5 Marks (a) Every elementof set A is an element of set B.
1. Null set (or empty set or void (b) Set B has at least one
set) elementwhich is
nota
element of set A.
A set having no element an empty set.
is denoted by ¢ or ( }.
is called
It
A is a proper subset of B is represented as Ac
S
BA
e.g
A = {x |x is an even number not divisible
by2
e.g.
B =x|x is animmortalman}
Let A = {1,2,3) and B {1,2)
2. Singleton set
then BcA
A 7.
set having a single element is called a singleton Comparablesets
set.
Two sets A and B are said !
rable
to be compara
e.g either of these
happens.
A = {x|x is
present president of India}
(a) AcB
B 5) (b) BcA
(c) A B
TechKnewled
Publitatio
Discrete Mathematics (SPPU-Comp.) 1-3 Set Theory
Any set which is super set of all the sets under Let a set S e P(A), Now we can say that S cAA.
consideration is known
denoted by S or U.
as the universal set. It is
Since,A B
9 Power sets
SEA SEB.
The set of all the subsets of a given set A is said Thus, any element of P(A) is also in P(B) and hence
be the power set
of A
and is expressed as P(A). PA) C PB)
So, if a set B e P(A) then B cA 1.2.4 Some SpecialSets for Numbers
E PA) N The set of all natural
numbers (1, 2,
3,..
A e PA The set of all integers
e.g 3,-2,-1, 0, 1, 2, 3,..
1.If A =12 Z The set of all 2,..
positive integers {0, 1,
then PA) = o, {2}}
Q The set ofrational numbers
2. If A {1,2
The set of non-negative rational numbers
then P(A) Io, {1), 12),
(1,2}}
3. If A R The set of real numbers
(1,2,3
then R The set of positive real numbers.
PA) = lo, {1), {21, (31, (1, 2), 11, 3), {2, 3), {1, 2, 3)} 1.3 Naive SetTheory
If A has n elements then P(A) has 2"elements.
(CantorianSet Theory)
Ex. 1.2.1 : Find the power set of A ={(a, b), c}
Naive set theory is defined informally in natural
aspects of sets.
Ex.1.2.2: Identify whether each of the following set is
) passing through
Finite
3x =y.
: There is
origin.
ii)Finite:Numbers can be ordered in 1000 ways, A set is called bounded, if it is of finite size.
which is value.
finite a set which is not bounded is called
Conversely,
unbounded. A set can be bounded above and bounded
Ex.1.2.3 B
Let A and aretwosets. If Ac
B.thenprove below. For example, a set of integers is bounded above
thatP(A) PB,where P(A)and P(B)are if every element is smaller than a value M and
e
powersets of A and sets B bounded below if every element is larger than a value
Techknowledge
Publtcations
D Discrete Mathematics (SPPU -Comp.)
1+
1-4
IfA is uncountable
also uncountable.
and B is y set,
any set,then
Set
A xB
Theon
set.
an example bounded
2on where n2 1 is of
the set of
Q Prove that rational numbers is countal
infinite
1.5.2 Finite and Infinite Sets
Number of elements in a set is also known as its SPPU May 18,4Marks;May 19, Dec. 19, 3Marks
Let us first try to understand the
principle of
cardinality
than or equal to
IfAcB, then the size of A is less diagonalization.
,, ,
A set is infinite if it is not finite.
and R (a,b), (a, d), (b, b), (b, c) (c, c),
The set N of natural number is infinite.
1.5.3 Countable and Uncountable Sets (e, a), (,c), (4, d), e))
the set
Q. Explain concept of countably infinite with
f: NS is abijection
The natural numbers, integers and rational
TechKnowledge
PubiltationS
Discrete Mathematics (SPPU - Comp.) 1-5 SetTheory
1.5.5 Examples
Formal Proof: Let us define a set S.
S = {x| (xe R) and (0 <x< 1)} Ex. 1.5.1: Show that the set of numbers of the form
)
cardinality.
Soln.
2. The set S is not countable.
These two steps R is not countable.
Let, n =2
will imply that
Step 1:Proof that S and R have the same cardinality Now, 1++3
RS
Let R be the setof all positive
be defined
by
real
--( (G43)-
the range of fis in S.
k112k-12 2k-1+3 2
for any yeS, we have x = .Thus fis
Further,
Ex.1.5.2
1
Mathematics
Show theat
(SPPU-Comp)
the set
sel of number of the form
hwhere n2 1 is an
1-6
Ex.1.5.4
Soln.
: Show that
1
integer, form abounded set.
We can prove this by
Soln. contradictio on.
Suppose S.T is countable set
Let
S-T
o1,02,n
then where, O1 a11 a12
9n+ 02 a21, a22
Now
0 an1: n2
S--1i It is given that the
T x1,X2..Xm
set T is
countable
Therefore,
set. Since,
M
all the
2 an upper bound on the
is
Soln. We
Show thatthe set Zis
countable
bound. lower "count" the elements
of as follows Z
N =1,2,3,4,..
Ex. 1.5.3: Show that any subset
of a countable set S Z <..
cOuntable 3,-2,-1,0,1,2,3,...
This to the
Soin.: Let corresponds
A bea given countably following bijection
Let S be an infinite
infinite set. f N Z
Obviously, there exists
subset of the set A.
fn) = n n even
/2, is and
a bijection
N of natural
numbers and the set A.
between the set
fn) = (n -
1)/2, n is odd
f:N =
A, fn) x for xeA is a
Ex. 1.5.6:
bijective relation. Show that N x N
Elements of theset A can be is
countable.
arranged as Soln. This can be
f1),f2),f3)... proven through
count. cantor's diagonal
Now,we can delete from the
set A, those
which are not
present in S.The
elements NxN {(1,1),
remaining (1,2), (2, 1), (1,
A must infinite. Let us
be elements in
(1,4),2,3),
3),(2, 2,(3,1,
denote these
elements by: (3,2),(4,1),..
fi),fig). Elements are
paired according to the sun
two
Now, we can define a function coordinates.
Elements
ot
listed in the
g:NS such thatgln) fi,) =
sums and
coordinate.
for the
same sum in the order of
order of
the
thei
givenby
fG,
k) G+k-1) G +k-2)
+j
E TechKnowled
Publict
Discrete Mathematics (SPPU- Comp.) 1-7 Set Theory
1
Complementof a set by AnB.
2. Union of sets AnB xxe A and xe B}
3. Intersection of sets For example
4 Difference ofsets If A (1, 2, 3, 5)and
5. Symmetricdifference of sets.
B 12, 3, 4,6,71
1.6.1 Complement of a Set then A nB {2, 3
The complement of a set A is the set of all those If may be noted that
elements of the universal set U, which are not in A. It AnA =A An
is denoted as A or A'
AnB B if BA
For example AnB =A if AcB
Let U = {1, 2, 3, 4, 5,6, 7, 8, 9} and
A AnU =A AnA =
1,2,7,9
1.6.4 Difference of Sets
then A = (3,4, 5, 6, 8) The difference of two sets A and B is the set of all
Thus, A can be written as those elements of A which are not in B. This is denoted
byA-B.
A = {x|x e U and xeA) A- B = x |x e A and
U
x# B}
It may be noted that
and U = Similarly,
B-A = {x |x e B andxg A}
1.6.2 Union of Sets For example
If A 4, 5, 6, 7, 8, 91 and
2. Define Union of sets with proper set notations and
B 12,3,5,7
examples SPPU-May 18, 1Mark
The union of two sets A and B is the set of all those
then A-B 4, 6, 8,9
elements which are either in A or in B or in both. This Similarly,
AUA =A
be noted that
Auo = A
A-B A if AnB =
AuB =A if A B A-B if AcB
B
AUB B if
AB A-B B-A if A
AuU= U AUA U A-A =A
TechKnowedge
Pubtitations
1-8
as ehen
denoted by A ® B and it is
defined
U
A ®B = x/x e A -Borxe B-A)
as (A -B)u (B-A).
®B can also
A
For example
be written
AUBwhenA
Fig.1.7.2
B
A 9) and
If 14, 5, 6, 7, 8,
Case II: AUBwhen neither
her
B 12, 3, 5, 71
ACB
then A eB =(A-B)u(B- A) nor B
9)
14,6, 8, 9) U12, 3) = (2, 3, 4, 6, 8,
It may be noted that
AeA = A A AUBwhenneither
B
AcB
AeU A ADA U norBcA
Fig. 1.7.3
AeB (AUB)-(AnB)
Case IIl: AUB when A andB are
EX. 1.6.1: Let A, B, C be sets. Under what condtions the
disioints
)
(A-B)
SPPU-Dec. 15,2Marks
AUB when A and B
Soln.: B and C are NULL sets are disjoint sets
Fig. 1.7.6
Discrete Mathematics (SPPU- Comp.) 1-9 Set Theory
AnB
Fig. 1.7.7
A
A- B=
AOB when neither AcB nor BsA
Fig. 1.7.8 and A and B are not disjoint
Case III: A-B when neither AcB nor BcA Fig. 1.7.14
0A-
) A
A-B when neither ACB (i) AuPA)
forBcA
v AnP(Awhere P(A) is a power set
(1) A- A =(0,b}
(ii) o-A =
(ii) AUPA) = f0, b} u l¢, (o}, {b}, (o, b}}
A-B when A and Bare
disjoint sets = 1,b, {o}, {b), lo, b}}
= lo}
Fig. 1.7.11 iv) AoP (A) = (,b} n lo, (ol, {bl, {o, b}}
TechKnowledge
Pulications
1-10
Comp
Mathematics (SPPU 2 Associativity
Au(BuC)=(AUB)
Discrete
(a)
false
=
An(BnC) (AnB)o
true or
Ex 1.7.2 Sttewhether
b)
())iel)
(b) Distributivity
3.
=
(a) Au(BnC) (AUB)t UC)
Soln
(b) An
BUC) =(A (AnC)
(aTrue Tell contains the eletment (0 set
laws
b) True : Empty set is a subset of
every
4. Idempotent
is 16) and
e) False: The nly ement of the set
llol)
(a)
AUA =A
not e.
(b) AnA =A
or False
2, 3. True
Ex. 1.7.3: Let A denote the set fK), laws
5 Absorption
(a)1eA (a) Au(A nB) = A
(b)11) e A
(b) An (A UB) = A
Soln.
to A. law
a) True :(1) belongs A and 1 does not belong 6. De Morgan's
b)True:(1) belongs to A.
(a) AUB = AnB
Ex. : State true or false =o
1.7.4 {0)
(b) AnB =A UB
Soln.
is not an Prove the De Morgan's law
False stands for an emptyset. ol Ex. 1.8.1 for
any two se
one element, namely, the set o. and B.
emptyset as itcontains
tmay be noted that the following statements
1. (AUB) =AnB
aretrue
la) e b, c, lall als(a, b, c)
2 (AnB)=A UB
ta) b, c, lall fa, bl s la,b Soln.: Proof
operations
distributivity
to sets.
x eA and xe B
The
set operations satisfy the
'Ifx e (AUB)x eAnB
following rules for
any given sets A, and C. B So, (AUB) =AnB
1. Commutativity
AuB = BUA
2. Ifx E AB
(a)
x£ AnB
(b) AnB BnA
x A or x e BB
Techlaal
Discrete Mathematics (SPPU- Comp.) 1-11 Set Theory
B)nAuC)
by using
Soln.
L.H.S. = Au(B oC
1. BnC 2. Au (Bn C)
R.H.S. = (AUB)n (AUC
1. Sets A, B and C 2. Set B
3. AuB 4. AuO
3. Set B C 4.
Set AuU (Bn C) B
R.H.S = (AUB)n(AUC)
5. (Au B)n(A u C)
AuBn=(A UB)n(A
C) UC)
AUB AUC
An BuC) = (AnB)u(AoC)
5. Set 6. Set
(i)
L.H.S. = AnBuC)
R.H.S. = (AnB)u(AnC)
Thus, Au (B nC) =(AUB)n(AUC)
TechPutticattons
Knowledge
1-12
Mathematics (SPPU - Com
Discrete
Soln. = d
(SPPU- Comp A)
Discrete
Mathematics
i) An(B-
1.BC
3. AnB
1. B-A
2.
An(B-A) R.H.S. =(A 9B) C
Fig.
Ex. 1.8.4
An B-A) = ¢
= A'UB
C)
(AnB
4. AnC
5. (An B) u{An
ii)
L.H.S.
= (AnBy 3. A B
Fig. Ex. 1.8.3(a)
Fig. Ex. 1.8.
A BOC) =(A
nC)
AnBUC) =(AnB)U(A G
R.H.S.= A'UB'
1.BeC 1. AnB
Symmetric differenoe 2. An (B C)
3. A 4. B
3. A-B
3. AnB 4. AnC
5.
A'U B
Fig. Ex. 1.8.4(b)
B) u (A-C)
AnB =A'UB'
5.
(A
AnBeC) =
5. (An B) e(AnC)
Fig. Ex. 1.8.3(b)
(A nB) e(AnC
EX.1.8.5
)
Using Venndiagram,
U AnBn C A-(A
AeB C)
prove or
(Ae B)eC
disprove
B)uA-C)) X. 1.8.6:
AnBoC
Prove the
Fig. Ex
follo-
)
Ex. 1.8.4: Provethe
following
An (B-A)=¢
statements :
Soln. SPPU May 13,4Mat A-(A-E
()
B) C
L.H.S.
=A B C)
TechKnowle
Publlcati
Discrete
lathematics (SPPUComp 1-13 Set Theory
)
Soln.
A-A -B)
1. B C 2.
A(Bec)
R.H.S. = (A B) C
1.(A-B) 2.A-(A-B)
Fig. Ex. 1.8.6
A-(A-B) = AnB
3. A B
3.(A-B) 4.B
1. AnB 2. AnB nC
5.AnB
Fig. Ex. 1.8.6(a)
3. A-B 4. A-C
A B=AnB -
()(AUBuc)°=(AuC)°nAuB
i) (UA)u (BnA) =A
Soln.
TechKnowledge
Publitatians
SeT
1-14
AnB =BnA Co
xE AB
that Mathematics (SPPU
Proof Discrete
(SPPU-Comp.
xE B
Discrete
RHS=(AUCnA
BMathematics If
xeAand
xeB and
x eA From (a) and (b),
A-B
we can
A
write
and examples
notat
SPPU-Dec.17, AUB A-AnB4
The number
of elements knowna
in a A+B- 1A.
mber of elemen
The number of elements in a set Principleof inclusion-exclus
AuB
6. (A B) cardinality.
byA|.
A three sets A, B andC.
5. denoted
=0 AUBUC = A+B+ C
.IfA =o then |A|
IfAS Btwo
then A| sB A and B
-IBoC+
Principle of inclusion-exclu
sets
disjoint
For any a finite collection of sets.
then 1si<j<k
+-1)n
1. UnA 2. BnA A UB A|+ B-ABI
.1.9.1 It was found tha
Proof: Let us consider the Venn-diagram as given science of 80 stu
Fig. 1.9.1. 55 know 'Basic a
not know any lang
Find
3. (UnA)u(BoA)
() How many k
Fig. Ex. 1.8.7(b)
(i) How many k
(UnA)uBnA)=A B
oln.: Let us draw the V
Ex. 1.8.8: Prove commutative laws of rious regions.
sets.
Fig. 1.9.1
Soln.:
Commutativelaws
From the
G)AuB BUA be
Venn-diagram, it is clear that AU
i) AnB BnA dividedinto three
parts:
(a)
Proof that AuB= BUA 1A-B(bB-A (c) AnB
We can
If x EAUB draw
following onclusions from the Ve
xeA or x E B
diagram Basio
A+1Agl+1Agl
A-BI+A B|+B-A
TechKnowls
Publicat
Discrete Mathematics (SPPUComp.) 1-15 Set Theory
A-B =A-AnB A A2
and B-A =B-AnB C++
The result u =JA A B + B A n B can be
oined by substituting for A B and B Ajin
IAUB=A-B|+ AnB+B-A Aa Basic
Principle of inclusion-exclusion
can be extended to
three sets A, B and C. Fig. Ex. 1.9.1
Principle
a finite
Let A,A
2 Al
AUAU...A,=i=1
,
of inclusion-exclusion can
collection of sets.
A be
n
a
be extended to
finite collection
2 AA
of sets then
Al++Agl+ Bl+Bl+Bgl +C=80-8 72and
A+B+B+C= 50
A2l+Bl+Cl+ B3l=25
Agl+Bal+ C1+Bg =55
[C-languagel
[C++1
[Basic]
1si<j<ksn
An AnAxl
Note The data
+-1)- AnAgn...Al Ex. 1.9.2 : Among 200 students in a class, 104 students
got 'A' in first examination and 84 students got
Ex.1.9.1: It was found that in
year of computer
first
)
not know any language. i) How many students got 'A' in both the
)
Find
(i)
How many know
How many know
all
exactly
the three
two
languages.
languages
(i)
examination
If
first
number
examination
?
of students
is equal
who got 'A
to that
in
who got
the
an 'A' in second
us draw
Soln.: the Venn-diagram and mark examination. If the total
Let the
various regions. students who got 'A' in exactly one
examination is 160 and if 16 students did
TechKnowledge
Pubtit ations
1-16
Discrete Mathematics (SPPU-Comp)
Let us mark various regions of the Venn-diagra
We also know,
1.
Students not getting an
A'In elther of the 2. Students getting'A'
F+S=160
inEquatn
eNamination 200 68 132
F 1S
180+224
Result 104
)
104
inint
Number of
studentswho dot
examination = 104 Ain
got'A.
3. Students seema
getting A both in Number of students
who got'A.
theexamination = |Fo S|| examinations 24 = both
Fig. Ex. 1.9.2
Weknow,
F == 104, IS| = 84
FuS F+S-F nS
or, 132 104 +84-FoS
OT, FoS = 188 132 56 6. Various
regions
11) Let us mark various
regions of the Venn diagram Fig. Ex.
from the given details. 1.9.2(c)
by5 SPPU-Dec.
14.2
4. Total number of students
Soln.: Let,
geting 'A' in exacty 5. Students not
getting
one examination 160 = an
'A' 16 A: Set of integers from 1 to 500, divisihey
IAnC 311
15
83
26 read
Newsweek magazine, 26 read Time
Fortune. Also 9 read bothNewsweek
Divisible by 3, 5 and 11) and 11 read both Newsweek and
Fortune
Let us mark the various regions of the Venn- Time, 8 read both Time and Fortune and 8 read
no magazine at all.
dingram,
() Find out the number of people who read
IAnB-AnBnC all
45 12-3-6 24
SPPU Dec.19, 3Marks
(Dlvisible by only 11) Soin.
N =25, T 26,
F = 26 NnF= 9,
NoT = 11,
IToF 8
No. elements divisible
1. of
by 3 or by 5 or by 11
= 121 +61 +24 +30+8+12 +3
NuTUF |=8,
257 U= 60
From the principle of inclusion-exclusion
INUTUF| =N +T +F NnTI-N n F
Eoo 61B +-1T Fl INnToF
OT 25+26+26-11-8-9
60-8
+IN nToF
or,
=
NnTnF| 52 49=3
2. Divisible by 3 orby 11 but not by Let us mark the various regions of the Venn
all 3,5 and 11
=121 +30+12+6+24 193 Diagram.
TechKnouwledgë
Publlcations
1-18
Fig. Ex.
1.9.4
three
+FoGn R
Fn GoR = 100 +60
the
Number of people who read all
=
152. 8
magazines = NoFn T = 3 or,
12 a 18
45-12-8-1
No. of people who read 65 12-8-17 28 -IFn@oR
exactly one magazine 10
8+10+12 30 @nRI-
IFn@nR
15-
Fig. Ex. 1.9.4(a)
0 Find
Russian.
F= 65, G=45,
R= 42 FoG| = 20, Tudents reading two
=12 + 17+7 36 exactly subjecis
Techla
PuDlleat
hathematics (SPPU
Discrete -Comp.) 1-19
Set Theory
Out of 1 to 1000
Ex. 1.9.6 integers
Hence, 229 integers from 1 to 1000 are
() How many are not divisible by
divisible by 3, nor by 5 3 but not by 5 and 7.
nor by 7 ?
A= 1000
3 =333
(i)
(ii)
PS and PW
AC and PS but
but not
not
AC
PW
B O00
5 200
Soln. Let us fill up the various regions of the venn-
diagram.
7
C 000 142 Step 1:
1000
AnB 15 66 Divisible by 3 and 5
AC PS
1000
AnCl= 21 47 Divisible by 3 and7
BnCI= 1000
35 28 Divisible by 5 and 7 PW
Step 2:
Numbers not divisible by 3, nor by 5, nor by 7
= 1AUBUC AC PS
1000 |AUBUC
-
1000 (1A|+|B|+|C
1AnB|-JAnCI-|BnC
+1AnBnC)
= 1000-(333+200 + 142 66 28-47 +9)
= 1000-543 457
|
Step 3:
AC n PS|-|AC
PW
nPWoPS |= 20- 12 =8
AC
57 12
B
333-(57+9+38)
229
PW
C AC n PWI-| AC nPW nPS
Not divisible
but
by
divisible
5 and 7
by 3
36-12 24
TechKnowledge
Pulit 3ti0n
1-20
10,
PSPW1-PS PW nAC MUPUB| = 30,
=16-12 4 U =100
Step 5:Similarly, flling other egions we ge MUPUB| = |U-MUD
80-24-12-8
58 100-30 70
B
We knowW,
PS
MUPUB| = |M| +|P|+|B
48-8 12-4 -|MoPI-|MoB
24
-|PnB +|MoPohB
PW
44-24-12-4=4 OT,
70 32+20+ 4515-7-10
AC 56
56 24
PS
or, |MnPoB|
Let us fill up
+|MoPnB
= 70-97
the various
+32 5
regions of
theVe
diagram.
30
PW PW
2. Cars having PS and PW 15
1. Cars having only PW= 4 but not AC=4 M
56 25
AC 2 PS
100
having
but not
W
students,
physics,
AC and PS
PW =8
32
45 study
study
mathematics
biology, 15 study
subject =
Number
three subjects
15
|
Number
+8+25 = 48.
MoPoB
of students
is
Fig.
of students
Ex.
5
1.9.8
studying
of
whieh
t
Ci)Find the
number of students studying
exactly one of the three
subjects.
Techlnouley
Publicatis
Discrete Mathematics -
(SPPU Comp.) 1-21 SetTheory
In the class of 55
Ex. 1.9.9: students the number of Ex. 1.9.10: 100 were asked whether they play
sportsmen
students studying different
subjects are as
givenbelow which game: Cricket, Hockey, Football. The
resultsare 45 play Cricket, 38 play Hockey
Maths 23,Physics
24,Chemistry 19, Maths 21 play Football, 18 play Cricket and Hockey, 9
Physics 12, Maths+ Chemistry 9,Physics
Chemistry 7, all the three play Cricket and Football, 4 play Footbail
and
subjects 4. Find the
number of students who have taken: Hockey and 23 play none of these.
0 at least one
subject
Draw a Venn diagram that will show the results
CUHUF| 23
1CUHUF|= Ul- 1CUHUF
M =100 23 77
We know,
CuHUF| =|C]+|H|+|FI-1CnH
-|CnFI-|HoF|
1. Various regions 2. At least one subject
77 45 +38+21 18-9-4
+1CnHoFI
M 4
(
or 1CnHoFI = 77 104 +31
Let us fill up the various regions of the Venn
diagramn.
10
18 12
12
19
19
30
Fig. Ex. 1.9.10 M 16 18 12
1.9.11(a)
How many are studying biology ? Number of students
(i) How many are studying chemistry and studying neither
nor physics nor chemistry =30.
mathematics but notphysics ?
(ii) How many students arestudying neither Ex. 1.9.12: A survey has been
taken
mathematics nor physics nor chemistry ? Each respondent
ken on
onMot
was asked tomodes
Marks chesi
Discrete Mathematics (SPPU-Comp) 1-23 Set Theory
Also, 5 cars had faulty tyres and brakes, 6 (A). Radio (R), Power Windows (w) were
failed on tyres and The 15 had
emission, 10 failed on already installed. survey found air
brakes and emission, and 4 cars conditloners, 12 had radios, and 11 had power
were
unsatisfactory in all three aspects. How many windows, 5 had air conditioner and power
|
Let, tyres
(i) At least one of the options
BSetof cars with faulty brakes None of the
(il) options.
with regions
|AURUW| = 23
Venn diagram all
FB 2 ketball
FoB = 45, 18
B
mathematics
FAH 10
Setof
students who had taken
HnBI= 50,
business course 1.
People watching all
FuHUB=50
the three games
C Setof students who had taken
computer science = FuHUB| = |
MI
CI =
64,
94,
B U
= 58,
260,
U-IFUHUB
500 50
FUHUB
450
MoBI=28, MnCl= 26,
2. Let us draw
Venn
CnBI = 22, 1MnBoC = 14
diagramwith all
region marte
581414-8
22
People watching
94
(12+14+8)= exactly one game
60 190+95+40
Fig. Ex.
325
1.9.15
+IFnBnHI
Techln
Publieatn
Discrete Mathematics (SPPU- Comp.) 1-25 Set Theory
Ex. 60%
450+165-595 =615-595 20
1.9.18: It is known that in university of professors
newspaper B and 20% someone claimed that 20% professors jog and
How many individuals
read neither A nor B play tennis and bridge, would you believe his
read
0 Both the A and B ?
claim? Why ? SPPU Dec.13,4Marks
newspaper
Soln.
() Only one
newspaper ?
Let,T set of professorsplaying tennis
SPPU May 13, 6Marks
Soln.
Bsetof professorsplaying bridge
Let NA Set of
persons reading newspaper A.
Jset of professors who jog.
NB Setof persons reading newspaper B.
Let us assume that the number of professors =100
60
= 2000 x 100
INA 1200 IT|=60, B| = 50,
55 1J| 70, ToBI = 20,
and
2000x100 100 1100
JoBI = 40, 1ToJ= 30
= 20
NA U NB 2000xT00 400 Now,
NA| = 1200
NB|=
reading both
1100
A and B
|
Or,
|
1JuTuB| = 60 + 50 + 70 20 40 30 +
JnToB
= 90 +
|
JnToBI
NA n NB INA| +|NB -|NA UNB Conclusion
l
1200 +1100 1600 =700
1. |J UTUB 100 as some professors may not
Required answer =700
belong to any ofthe given sets.
Fig. Ex. 1.9.17 to eio Ex 1.9.19 During asurvey of the ice cream preferencesof
(i) reading only one newspaper students,it was found that 22 like mango,25
Individuals
TechKnowledge
uication s
1-26
A Studentsknowine
Mathematics
(SPPU-Comp) Soln.
B Student knowingCOBOL
'C
Discrete
CStuden nowing Dis
Soln.
who like mango
|UI = 80, PASCAT
Let, M Set of people
wholike
custard
apple
= 55, A The
|B|
ASetof people wholikegrape
GSet of people = 25, AnB== 25
37,
Ba
1A BnC
| M| = 22,
AnM
=9, AnCI 1.1
G = 39,
= 17, AnG = 20, We know
A +|B|+|CCI-AnB
MoG AUBUC|=
-|BnC]+|AnBnc 4
|
= 4
|AUMUG|
MoAnG| 6,
80 50+55 +46-27-28 25 TE
Now,
+AnBnC
= TE
/MoG/-1AnG|+ +6
|AnMnG ABoC| 80-151+90
25+22+39-9-17-20 70-15 |=
19
= 92-46 46
= 46
Number ofstudents surveyed answers
to get the
Let us make the Venn diagram
of remaining questions.
46
M
3
Fig. Ex. 1.9.20: Venn diagram will all
regions 1ti
= 7+9+ 12 28
= 14 +3 +11 = 28
Ex. 1.9.20: In the first
year computer science class of 80 1.10 Principle of Dualityy
students, 50 COBOL 55 C and
knew The principle of duality state that any esau
stablist
of unions and
sets and complemen
intersections gives
ents and operaua
a corresp
nt
7
)
result by replacing:
students however knew none of the
language
How many knew all the u by n lunion by intersection]
three languages 7
(i) How many knew exactly two languages ? by intersection by union
Ci) How many knew exactily one
language ? U (universal set)
by
SPPU May 15,4Marks,Dec.15,Dec. 16, 6 Marks
by U (universal set)
Techln
Pubiat
Set Theory
setThe
- 1-27
Mathematics (SPPU Comp.)
Dsc and n are also called duals of each Multisubset
of B, if
rtae Operators A said to be a multisubset
A multiset is
to its
A
other
46 xample
: Dual of (A
Write dual
u B)n C
of the following
is (AnB)UC
expressions
multiplicity
multiplicity
For example
of
in
each element
B.
in is less or equal
28Ex. a01:
.1.10.
(AUBuC) (A UCn(AU B) 1,2, 2, 3)c (1, 1, 2, 2,2,3)
(i) (Un A) u (BnA)= A Union of multiset
then AUB is the
For example
(ii) The required
dual is,
A = (a,b,b, c), B= (b, c, c,d}
If
.
1.11 Multiset
What is multiset
SPPU-May 13,2Marks, Dec.
?
13, May 19, 1 Mark
Intersection
If A and
of multisets
B are multisets,
the multiset such that for
x)
then A n B is
each element x e
),HB ())
defined as
An B,
.
min (PA
with at least two
examples
Explain its significance
SPPU Dec.13, 1.Mark For example
2, 3), B= {1, 2, 2, 2, 3,3)
proper set notations and
If A = 1, 1, 1, 2,
{
with
Define Multisets
SPPU Dec. 17,1 Mark nB = 2, 3)
then, A
{ 1, 2,
exampleS
of a set. In a
is a of multisets
A multiset generalization Difference
-B
)
once. A is defined as
an object can occur more than If A and B are multisets, then
x e A- B,
that for each element
IS multiset,
the multiset such
of Multiset with Example
19 1.11.1 Significance a of books in library,
H(x) HA ()-HB
the collection
For example,
of the same book. u(a) gives For example
can contain multiple copies d} and B = {b, c, d, d}
of an element
a'in a set.
If A = la, b, c, c, c,
the multiplicity
then, A-B la,c, c
For example:
Sum of nmultisets
amultiset A and B, A + B is defined as
(a, b, c, c, a} is
For any two multisets
(v) B+C
Ex. 1.11.2: SPPU May 13,4Ma
Let P and Q be 2 multisets.
Soln.
P{a a, a, c, d,
d) and Q (a., a, b, c. c AUB la, a, b, c, d, d, d, e, f, g}
A
Find: Pua 0 PoQ sen
Gi) P-Q (iv) P+Q
SPPU -May 19,2 Marks
(i)
(ii)
(iv)
A CoB
B+C
D =
(b,g)
la, b, c,
(a,
d]
b,b, c, d, e, e, f, g,g,h, h}
The
tru
Th
Th
camp
Ine
on C
i) Th
2 T
etr
Kam
F
no
i)V
ii)V