Lecture1 Sets
Lecture1 Sets
2
3
4
1.6 SET OPERATIONS
5
6
Fig 1.3
7
ALGEBRA OF SETS, DUALITY
8
Example
9
FINITE SETS, COUNTING PRINCIPLES
A set is said to be finite if it contains exactly m distinct elements where m denotes some nonnegative
integer. Otherwise a set is said to be infinite.
For example, the empty set ∅ and the set of letters of the English alphabet are finite sets, whereas the
set of even positive integers {2, 4, 6 . . .} is infinite.
The notation n(A) or IAI will denote the number of elements in a finite set A.
Inclusion-Exclusion Principle
Suppose A and B are finite sets. Then A n B and A U B are finite, and n (A U B) = n (A) + n (B) - n (A n B)
Similarly
EXAMPLE Consider the following data among 110 students in a college dormitory:
30 students are on a list A (taking Computer science), 35 students are on a list B (taking Business), 20
students are on both lists.
Find the number of students: (a) on list A or B, (b) on exactly one of the two lists, (c) on neither list.
In other words, we combine the two lists and then cross out the 20 student names which appear twice.
(b) List A contains 30 names and 20 of them are on list B; hence 30 - 20 = 10 names are only on list A.
That is,
Similarly, list B contains 35 names and 20 of them are on list A; hence 35 - 20 = 15 names are only on list
B.
That is,
(c) The students on neither the A list nor the B list form the set A Cn Bc . If By DeMorgan's law, Ac n Bc= (A
U B)c.
Hence
10
EXAMPLE 1.7 Consider the following data for 120 mathematics students:
65 study French, 20 study French and German, 45 study German, 25 study French and Russian, 42 study
Russian, 15 study German and Russian, 8 study all three languages
Let F, G, and R denote the sets of students studying French, German, and Russian, respectively.
(a) Find the number of students studying at least one of the three languages, i.e. find n (F U G U R).
(b) Fill in the correct number of students in each of the eight regions of the Venn diagram of Fig. 1-5(a).
(c) Find the number k of students studying: (1) exactly one language, (2) exactly two languages.
11
1.10 ARGUMENTS AND VENN DIAGRAMS
12
Try
13