Chapter 2a
Chapter 2a
2. Sets
A set is just a collection of objects, called the elements, or members, of the set. A
set is described either by a rule or by a list, e.g. the set A is the set of integers
between 1 and 5 inclusive, so A = {1, 2, 3, 4, 5} or D = {north, south, east, west}.
Two sets are equal if they have exactly the same elements. Since the order of the
elements in a set is unimportant, if C = {x, y, z} and D = {y, x, z}, then C = D.
n(A) is the number of elements in set A. So, in the above n(A) = 5 and n(D) = 4.
The empty set (or null set) is the set with no elements and is written Ø, so Ø = { }.
The complement, A′, of a set A, is the set of all the elements that are in the
universal set but not in A.
For example, if U ={0, 1, 2, 3, 4, 5, 6, 7, 8, 9} and B ={2, 3, 5, 7},
then B′ = {0, 1, 4, 6, 8, 9}.
Venn diagrams
Venn diagrams can be used to give a visual representation of sets and their
elements. For example, if U = {u, v, w, x, y, z} and A = {v, x} then this could be
represented in the following Venn diagram:
A
x y
u v
U w z
Venn diagrams that represent the intersection and union of sets A and B and
disjoint sets A and B are shown below:
To obtain A B, say, first diagonally shade in A, then shade B in the other
direction. A B is the region where there are both types of shading:
A B
Alternatively, A B means outside A and inside B:
A B
Page 3
Numbers in regions
Example 1 The numbers in brackets in the following
Venn diagram represent the number of elements in A B
each part (subset) of the universal set U. Find: (9) (5) (12)
(b) n(U) =
(c) n(A B) =
(d) n(A B) =
PC Mac