




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Syllabus^ Sets: subsets, unions, intersections
68 3.2 Naming sets To describe a small set,we list its members between curly brackets
{^2 ,^4 ,^6 ,^8 } {^ England, France, Iran, Singapore, New Zealand
{^ David Beckham
{}^ (the empty set, also written
We write^ a^ ∈^ X^ to express that
a^ is a member of the set
For example^4 ∈ {
a /∈^ X^ means^ a^ is not a member of
3.3 Two sets are equal if they have the same members. The order and the number of times the members are mentionedare irrelevant. For example
{England, France, France
}^ =^ {France, England
3.4 There is another way of naming sets,that we can use when the sets are too large to list.^ {x^ :
x^ is an integer divisible by
means the set of all integers that are divisible by 3.The^ x^ can be replaced all through by another letter. So^ {n^ :
n^ is an integer divisible by
is the same set as above.
71
3.5 The following question in the 2004 Exam confused somepeople:Let^ A^ be the set
{^2 ,^3 ,^4 }^ and let^ C
be the set of all numbers that are twice some number in
Write out the set^
Answer this question.
72 3.6 Combining sets Suppose^ A^ and^ B
are sets. We write
A^ ∪^ B^ for the set {x : x ∈ A or x ∈^ B}. This set is called the
union^ of^ A^ and^ B
3.7 We write^ A^ ∩^ B^ for the set
{x^ :^ x^ ∈^ A^ and^ x^ ∈
This set is called the
intersection^ of^ A^ and
Mnemonic:^ ∪^ goes with
∨^ (‘or’) and^ ∩^ goes with
∧^ (‘and’). 74 3.8 We write^ A^ ^ B^ for the set
{x^ :^ x^ ∈^ A^ and^ x /∈
This set is called the
complement^ of^ B^
in^ A. When^ A^ is^ fixed, we write just
75
3.13 Three sets together
A^
B a^ C
bab abcac bc c 80 3.14Distributive law:^ A^ ∩
We check this from the diagram in 3.13: B^ ∪^ C^ consists of
b, c, ab, ac, bc, abc. So^ A^ ∩^ (B^ ∪^ C)^ consists of
ab, ac, abc. A^ ∩^ B^ consists of^
ab, abc, and^ A^ ∩^ C
consists of^ ac, abc
So^ (A^ ∩^ B)^ ∪^ (A^ ∩
C)^ consists of^ ab, ac, abc
the same as^ A^ ∩^ (
3.15We also have the distributive law^ A^ ∪
This is the same as the other distributive law,but with^ ∪^ and^ ∩
reversed.^82 3.16 Cardinality We write^ |A|^ for the number of members of the set
|A|^ is called the^ cardinality
of^ A. Examples:
3.17We say that two sets
A^ and^ B^ are^ disjoint
if^ A^ ∩^ B^ =^ ∅. If^ A^ and^ B^ are disjoint then
For example in the diagram 3.13,^ |A
|^ =^ |a|^ +^ |ab|^ +^ |ac
|^ +^ |abc|. 84 3.18The^ principle of inclusion-exclusion
says: |A^ ∪^ B^ ∪^ C|^ =^ |A|^ +
|B|^ +^ |C| − |A^ ∩^ B
| − |B^ ∩^ C| − |A^ ∩^ C
|^ +^ |A^ ∩^ B^ ∩^ C|.
To check this:^ |A|^ +^ |B|^ +^ |C
| − |A^ ∩^ B| − |B^ ∩^ C
| − |A^ ∩^ C|^ +^ |A^ ∩^ B
∩^ C|
=^ (|a|^ +^ |ab|^ +^ |ac
|^ +^ |abc|) + (|b|^ +^ |ab
|^ +^ |bc|^ +^ |abc|) +(|c|^ +^ |ac|^ +^ |bc|^ +
|abc|)^ −^ (|ab|^ +^ |abc
|) −(|bc|^ +^ |abc|)^ −^ (|ac
|^ +^ |abc|) +^ |abc| =^ |a|^ +^ |b|^ +^ |c|^ + (
−^ 1)|ab|^ + (2^ −^ 1)|bc
| +(2^ −^ 1)|ac|^ + (3^ −
3 + 1)|abc| =^ |A^ ∪^ B^ ∪^ C|.
85
3.19 Example (based on Exam 2003)
In a survey of 140 people it was found that 115 people regularly use a telephone;39 people regularly write letters; 64 people regularly usee-mail; 28 people regularly use a telephone and write letters;53 people regularly use a telephone and e-mail; 10 peopleregularly use e-mail and regularly write letters; and3 people regularly write letters and use a telephone ande-mail. How many people in the survey do not regularly usetelephone or letters or e-mail? How many people do notregularly use either telephone or e-mail?
86 3.20 Solution Put^ T^ =^ people who regularly use telephone^ L^ =^ people who regularly write letters
E^ =^ people who regularly use e-mail
Then^ |T^ |^ = 115,^ |L
3.25 Products An^ ordered pair^ is a list of length 2.We write^ (x, y)^ for the ordered pair which lists
x^ first and^ y second.We can have^ (a, a
)^ (the same element listed twice). We have^ (a, b) = (
c, d)^ if and only if
a^ =^ c^ and^ b^ =^ d. We write^ A^ ×^ B^ for the set of all ordered pairs
(a, b)^ with a^ ∈^ A^ and^ b^ ∈^ B.
92 3.26 Example Suppose^ A^ is^ {^1 ,^2
,^3 }^ and^ B^ is^ {^4 ,^5
Then^ A^ ×^ B^ is^ {(1,^ 4)
In this example^ |A
|^ = 3^ and^ |B|^ = 2, while
This suggests the law
The law is true and we prove it as follows(for^ finite sets^ A^ and
3.27Suppose^ A^ has^ m
members,^ a,... , a^1
,m and^ B^ has^ n^ members,
b,... , b.^1 n We can arrange the members of
A^ ×^ B^ in a rectangle: (a, b) (a, b)...^ (a, b) 11121 n (a, b) (a, b)...^ (a, b) 21222 n ......... (a, b) (a, b)...^ (a, b)m 1 m 2 mn m^ rows and^ n^ columns gives
mn^ elements.^94 3.28The law
is very useful when we have to listall the members of
It gives us a check on whether we have includedall the members.In computer programs it gives a bound onhow many members we need to list.
95
3.29We write
for the product set
A^ ×^ A. If^ |A|^ =^ m
then (^2) |A|^ =^ |A^ ×^ A|^ =^
(^2) |A| × |A| = m. Example: We write
R^ for the set of real numbers. (^2) Then Ris the^ xy^ plane. Each point^ (a, b)^ has
x-coordinate^ a^ and
y-coordinate^ b. 96 3.30 Higher-dimensional products An^ ordered triple^ is written
(a, b, c). If^ A,^ B^ and^ C^ are sets, then we write
for the set of ordered triples
(a, b, c)^ such that a^ ∈^ A,^ b^ ∈^ B^ and^
c^ ∈^ C. (^3) We write Afor^ A
(^3) For example Ris 3-dimensional space.Similarly with higher dimensions. 97