6.1 Set
6.1 Set
1
Subsets: Proof and Disproof
We begin by rewriting what it means for a set A to be a
subset of a set B as a formal universal conditional
statement:
2
Subsets: Proof and Disproof
A proper subset of a set is a subset that is not equal to its
containing set. Thus
3
Example
Is A B?
Is A C?
Is B C?
Is 1 C?
Is A C?
Is B C?
4
Subsets: Proof and Disproof
5
Example 2 – Proving and Disproving Subset Relations
Prove that A B.
Proof:
Suppose x is a particular but arbitrarily chosen element of
A. [We must show that xB, i.e., that x = 3s for some
integer s.]
6
Example 2 – Solution cont’d
and so x B.
7
Example 2 – Solution cont’d
Disprove that B A.
8
Example 2 – Solution
For instance, consider x = 3.
10
Example 3 – Set Equality
Define sets A and B as follows:
Is A = B?
Solution:
Yes. To prove this, both subset relations A B and B A
must be proved.
11
Example 3 – Solution cont’d
A⊆B
13
Venn Diagrams
The relationship A B can be represented in three different
ways with Venn diagrams, as shown below.
A B
14
Example 4 – Relations among Sets of Numbers
15
Example 4 – Relations among Sets of Numbers
cont’d
16
Operations on Sets
Most mathematical discussions are carried on within some
context. For example, in a certain situation all sets being
considered might be sets of real numbers.
17
Operations on Sets
18
Operations on Sets
Venn diagram representations for union, intersection,
difference, and complement are shown below.
19
Example 5 – Unions, Intersections, Differences, and Complements
Solution:
20
Operations on Sets
There is a convenient notation for subsets of real numbers
that are intervals.
22
Example 6 – Solution
23
Example 6 – Solution cont’d
24
Operations on Sets
The definitions of unions and intersections for more than
two sets are very similar to the definitions for two sets.
25
Operations on Sets
An alternative notation for and an
26
Example 7 – Finding Unions and Intersections of More than Two Sets
Find A1 A2 A3.
27
Example 7 – Finding Unions and Intersections of More than Two Sets
Find A1 A2 A3.
28
Example 7 – Finding Unions and Intersections of More than Two Sets
Find .
29
Example 7 – Finding Unions and Intersections of More than Two Sets
Find .
30
The Empty Set
We have stated that a set is defined by the elements that
compose it. This being so, can there be a set that has no
elements? It turns out that it is convenient to allow such a
set.
31
Partitions of Sets
In many applications of set theory, sets are divided up into
nonoverlapping (or disjoint) pieces. Such a division is called
a partition.
32
Example 9 – Disjoint Sets
Let A = {1, 3, 5} and B = {2, 4, 6}. Are A and B disjoint?
Solution:
Yes. By inspection A and B have no elements in common,
or, in other words, {1, 3, 5} {2, 4, 6} = Ø.
33
Partitions of Sets
34
Example 10 – Mutually Disjoint Sets
Let A1 = {3, 5}, A2 = {1, 4, 6}, and A3 = {2}. Are A1, A2, and
A3 mutually disjoint?
Let B1 = {2, 4, 6}, B2 = {3, 7}, and B3 = {4, 5}. Are B1, B2, and
B3 mutually disjoint?
A Partition of a Set
37
Example 11 – Partitions of Sets
Let A = {1, 2, 3, 4, 5, 6}, A1 = {1, 2}, A2 = {3, 4}, and
A3 = {5, 6}. Is {A1, A2, A3} a partition of A?
38
Example 11 – Solution
Let Z be the set of all integers and let
39
Power Sets
There are various situations in which it is useful to consider
the set of all subsets of a particular set.
40
Example 12 – Power Set of a Set
Find the power set of the set {x, y}. That is, find ({x, y}).
Solution:
({x, y}) is the set of all subsets of {x, y}. We know that Ø
is a subset of every set, and so Ø ({x, y}).
41
Tuples
42
Example 13 – Ordered n-tuples
43
Cartesian Products
44
Example 14 – Cartesian Products
Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}.
Find A1 × A2.
A1 A2 = {(x, 1), (x, 2), (x, 3), (y, 1), (y, 2), (y, 3)}
45
Example 14 – Cartesian Products
Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}.
46
Example 14 – Cartesian Products
Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}.
Find A1 × A2 × A3.
47