6.1
Set Theory: Definitions and the Element Method of Proof
341
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. In such a situation,
the set of real numbers would be called a universal set or a universe of discourse for the
discussion.
• Definition
Let A and B be subsets of a universal set U .
1. The union of A and B, denoted A ∪ B, is the set of all elements that are in at least
one of A or B.
2. The intersection of A and B, denoted A ∩ B, is the set of all elements that are
common to both A and B.
3. The difference of B minus A (or relative complement of A in B), denoted
B − A, is the set of all elements that are in B and not A.
4. The complement of A, denoted Ac , is the set of all elements in U that are
not in A.
Stock Montage
Symbolically:
Giuseppe Peano
(1858–1932)
A ∪ B = {x ∈ U | x ∈ A or x ∈ B},
A ∩ B = {x ∈ U | x ∈ A and x ∈ B},
B − A = {x ∈ U | x ∈ B and x ∈
/ A},
/ A}.
Ac = {x ∈ U | x ∈
The symbols ∈, ∪, and ∩ were introduced in 1889 by the Italian mathematician
Giuseppe Peano.
Venn diagram representations for union, intersection, difference, and complement are
shown in Figure 6.1.4.
U
A
B
Shaded region
represents A B.
U
A
U
B
Shaded region
represents A B.
A
B
Shaded region
represents B – A.
U
A
B
Shaded region
represents Ac.
Figure 6.1.4
Example 6.1.5 Unions, Intersections, Differences, and Complements
Let the universal set be the set U = {a, b, c, d, e, f, g} and let A = {a, c, e, g} and
B = {d, e, f, g}. Find A ∪ B, A ∩ B, B − A, and Ac .
Solution
A ∪ B = {a, c, d, e, f, g}
A ∩ B = {e, g}
B − A = {d, f }
Ac = {b, d, f }
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
■
342 Chapter 6 Set Theory
There is a convenient notation for subsets of real numbers that are intervals.
• Notation
Given real numbers a and b with a ≤ b:
Note The symbol ∞
does not represent a
number. It just indicates
the unboundedness of the
interval.
(a, b) = {x ∈ R | a < x < b}
[a, b] = {x ∈ R | a ≤ x ≤ b}
(a, b] = {x ∈ R | a < x ≤ b}
[a, b) = {x ∈ R | a ≤ x < b}.
The symbols ∞ and −∞ are used to indicate intervals that are unbounded either on
the right or on the left:
[a, ∞) = {x ∈ R | x ≥ a}
[−∞, b) = {x ∈ R | x ≤ b}.
(a, ∞) = {x ∈ R | x > a}
(−∞, b) = {x ∈ R | x < b}
Observe that the notation for the interval (a, b) is identical to the notation for the ordered
pair (a, b). However, context makes it unlikely that the two will be confused.
Example 6.1.6 An Example with Intervals
Let the universal set be the set R of all real numbers and let
A = (−1, 0] = {x ∈ R | −1 < x ≤ 0} and B = [0, 1) = {x ∈ R | 0 ≤ x < 1}.
These sets are shown on the number lines below.
–2
–1
0
1
2
1
2
A
–2
–1
0
B
Find A ∪ B, A ∩ B, B − A, and A .
c
Solution
–2
–1
0
1
2
A ∪ B = {x ∈ R | x ∈ (−1, 0] or x ∈ [0, 1)} = {x ∈ R | x ∈ (−1, 1)} = (−1, 1).
1
2
A ∩ B = {x ∈ R | x ∈ (−1, 0] and x ∈ [0, 1)} = {0}.
1
2
AB
–2
–1
0
AB
–2
–1
0
BA
–2
–1
0
Ac
1
2
B − A = {x ∈ R | x ∈ [0, 1) and x ∈ (−1, 0]} = {x ∈ R | 0 < x < 1} = (0, 1)
Ac = {x ∈ R | it is not the case that x ∈ (−1, 0]}
= {x ∈ R | it is not the case that (−1 < x and x ≤ 0)}
= {x ∈ R | x ≤ −1 or x > 0} = (−∞, −1] ∪ (0, ∞)
by definition of the
double inequality
by De Morgan’s
law
■
The definitions of unions and intersections for more than two sets are very similar to
the definitions for two sets.
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
6.1
Set Theory: Definitions and the Element Method of Proof
343
• Definition
Note
n
Unions and Intersections of an Indexed Collection of Sets
Given sets A0 , A1 , A2 , . . . that are subsets of a universal set U and given a nonnegative integer n,
n
Ai = {x ∈ U | x ∈ Ai for at least one i = 0, 1, 2, . . . , n}
Ai is read “the
i=0
i=0
union of the A-sub-i from
i equals zero to n.”
∞
Ai = {x ∈ U | x ∈ Ai for at least one nonnegative integer i}
i=0
n
Ai = {x ∈ U | x ∈ Ai for all i = 0, 1, 2, . . . , n}
i=0
∞
Ai = {x ∈ U | x ∈ Ai for all nonnegative integers i}.
i=0
An alternative notation for
n
n
Ai is A0 ∪ A1 ∪ . . . ∪ An , and an alternative notation for
i=0
Ai is A0 ∩ A1 ∩ . . . ∩ An .
i=0
Example 6.1.7 Finding Unions and Intersections of More than Two Sets
For each positive integer i, let Ai = x ∈ R | − 1i < x < 1i = Ai = − 1i , 1i .
a. Find A1 ∪ A2 ∪ A3 and A1 ∩ A2 ∩ A3 .
b. Find
∞
Ai and
i=1
∞
Ai .
i=1
Solution
a.
A1 ∪ A2 ∪ A3 = {x ∈ R | x is in at least one of the intervals (−1, 1),
or − 12 , 12 , or − 13 , 13
= {x ∈ R | − 1 < x < 1}
= (−1, 1)
1 1
because all the elements in − ,
2 2
1 1
and − ,
are in (−1, 1)
3 3
A1 ∩ A2 ∩ A3 = {x ∈ R | x is in all of the intervals (−1, 1),
b.
∞
i=1
= x ∈ R | − 13 < x < 13
= − 13 , 13
and − 12 , 12 , and − 13 , 13
1 1
because − ,
3 3
1 1
⊆ − ,
2 2
⊆ (−1, 1)
Ai = {x ∈ R | x is in at least one of the intervals − 1i , 1i ,
where i is a positive integer}
= {x ∈ R | − 1 < x < 1}
= (−1, 1)
∞
i=1
because all the elements in every interval
1 1
are in (−1, 1)
− ,
i i
Ai = {x ∈ R | x is in all of the intervals − 1i , 1i , where i is a positive integer}
= {0}
because the only element in every interval is 0
■
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
344 Chapter 6 Set Theory
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. Otherwise, every time we wanted to take the intersection of two sets or to define a
set by specifying a property, we would have to check that the result had elements and
hence qualified for “sethood.” For example, if A = {1, 3} and B = {2, 4}, then A ∩ B
has no elements. Neither does {x ∈ R | x 2 = −1} because no real numbers have negative
squares.
It is somewhat unsettling to talk about a set with no elements, but it often happens in
mathematics that the definitions formulated to fit one set of circumstances are satisfied
by some extreme cases not originally anticipated. Yet changing the definitions to exclude
those cases would seriously undermine the simplicity and elegance of the theory taken as
a whole.
In Section 6.2 we will show that there is only one set with no elements. Because it is
unique, we can give it a special name. We call it the empty set (or null set) and denote it
by the symbol ∅. Thus {1, 3} ∩ {2, 4} = ∅ and {x ∈ R | x 2 = −1} = ∅.
Example 6.1.8 A Set with No Elements
Describe the set D = {x ∈ R | 3 < x < 2}.
Recall that a < x < b means that a < x and x < b. So D consists of all real
numbers that are both greater than 3 and less than 2. Since there are no such numbers,
D has no elements and so D = ∅.
■
Solution
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.
• Definition
Two sets are called disjoint if, and only if, they have no elements in common.
Symbolically:
A and B are disjoint ⇔
A ∩ B = ∅.
Example 6.1.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} = ∅.
■
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
6.1
Set Theory: Definitions and the Element Method of Proof
345
• Definition
Sets A1 , A2 , A3 . . . are mutually disjoint (or pairwise disjoint or nonoverlapping)
if, and only if, no two sets Ai and A j with distinct subscripts have any elements in
common. More precisely, for all i, j = 1, 2, 3, . . .
Ai ∩ A j = ∅
whenever i = j.
Example 6.1.10 Mutually Disjoint Sets
a. Let A1 = {3, 5}, A2 = {1, 4, 6}, and A3 = {2}. Are A1 , A2 , and A3 mutually disjoint?
b. Let B1 = {2, 4, 6}, B2 = {3, 7}, and B3 = {4, 5}. Are B1 , B2 , and B3 mutually
disjoint?
Solution
a. Yes. A1 and A2 have no elements in common, A1 and A3 have no elements in common,
and A2 and A3 have no elements in common.
b. No. B1 and B3 both contain 4.
A
A2
A1
A3
A4
Figure 6.1.5 A Partition
of a Set
■
Suppose A, A1 , A2 , A3 , and A4 are the sets of points represented by the regions shown
in Figure 6.1.5. Then A1 , A2 , A3 , and A4 are subsets of A, and A = A1 ∪ A2 ∪ A3 ∪ A4 .
Suppose further that boundaries are assigned to the regions representing A2 , A3 , and
A4 in such a way that these sets are mutually disjoint. Then A is called a union of
mutually disjoint subsets, and the collection of sets {A1 , A2 , A3 , A4 } is said to be a
partition of A.
• Definition
A finite or infinite collection of nonempty sets { A1 , A2 , A3 . . .} is a partition of a
set A if, and only if,
1. A is the union of all the Ai
2. The sets A1 , A2 , A3 , . . . are mutually disjoint.
Example 6.1.11 Partitions of Sets
a. 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?
b. Let Z be the set of all integers and let
T0 = {n ∈ Z | n = 3k, for some integer k},
T1 = {n ∈ Z | n = 3k + 1, for some integer k}, and
T2 = {n ∈ Z | n = 3k + 2, for some integer k}.
Is {T0 , T1 , T2 } a partition of Z?
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
346 Chapter 6 Set Theory
Solution
a. Yes. By inspection, A = A1 ∪ A2 ∪ A3 and the sets A1 , A2 , and A3 are mutually
disjoint.
b. Yes. By the quotient-remainder theorem, every integer n can be represented in exactly
one of the three forms
n = 3k
or
n = 3k + 1 or
n = 3k + 2,
for some integer k. This implies that no integer can be in any two of the sets T0 , T1 , or
T2 . So T0 , T1 , and T2 are mutually disjoint. It also implies that every integer is in one
■
of the sets T0 , T1 , or T2 . So Z = T0 ∪ T1 ∪ T2 .
Power Sets
There are various situations in which it is useful to consider the set of all subsets of a
particular set. The power set axiom guarantees that this is a set.
• Definition
Given a set A, the power set of A, denoted P ( A), is the set of all subsets of A.
Example 6.1.12 Power Set of a Set
Find the power set of the set {x, y}. That is, find P({x, y}).
P({x, y}) is the set of all subsets of {x, y}. In Section 6.2 we will show that
∅ is a subset of every set, and so ∅ ∈ P({x, y}). Also any set is a subset of itself, so
{x, y} ∈ P({x, y}). The only other subsets of {x, y} are {x} and {y}, so
Solution
P({x, y}) = {∅, {x}, {y}, {x, y}}.
■
Cartesian Products
Recall that the definition of a set is unaffected by the order in which its elements are listed
or the fact that some elements may be listed more than once. Thus {a, b}, {b, a}, and
{a, a, b} all represent the same set. The notation for an ordered n-tuple is a generalization
of the notation for an ordered pair. (See Section 1.2.) It takes both order and multiplicity
into account.
• Definition
Let n be a positive integer and let x1 , x2 , . . . , xn be (not necessarily distinct)
elements. The ordered n-tuple, (x1 , x2 , . . . , xn ), consists of x1 , x2 , . . . , xn together
with the ordering: first x1 , then x2 , and so forth up to xn . An ordered 2-tuple is called
an ordered pair, and an ordered 3-tuple is called an ordered triple.
Two ordered n-tuples (x1 , x2 , . . . , xn ) and (y1 , y2 , . . . , yn ) are equal if, and only
if, x1 = y1 , x2 = y2 , . . . , xn = yn .
Symbolically:
(x1 , x2 , . . . , xn ) = (y1 , y2 , . . . , yn ) ⇔
x1 = y1 , x2 = y2 , . . . , xn = yn .
In particular,
(a, b) = (c, d) ⇔ a = c and b = d.
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
6.1
Set Theory: Definitions and the Element Method of Proof
347
Example 6.1.13 Ordered n-tuples
a. Is (1, 2, 3, 4) = (1, 2, 4, 3)?
√
9, 4, 36 ?
b. Is 3, (−2)2 , 12 =
Solution
a. No. By definition of equality of ordered 4-tuples,
(1, 2, 3, 4) = (1, 2, 4, 3) ⇔ 1 = 1, 2 = 2, 3 = 4, and 4 = 3
But 3 = 4, and so the ordered 4-tuples are not equal.
b. Yes. By definition of equality of ordered triples,
√
√
9, 4, 36
⇔ 3 = 9 and (−2)2 = 4 and 12 = 36 .
3, (−2)2 , 12 =
Because these equations are all true, the two ordered triples are equal.
■
• Definition
Given sets A1 , A2 , . . . , An , the Cartesian product of A1 , A2 , . . . , An denoted
A1 × A2 × . . . × An , is the set of all ordered n-tuples (a1 , a2 , . . . , an ) where
a1 ∈ A 1 , a2 ∈ A 2 , . . . , an ∈ A n .
Symbolically:
A1 × A2 × · · · × An = {(a1 , a2 , . . . , an ) | a1 ∈ A1 , a2 ∈ A2 , . . . , an ∈ An }.
In particular,
A1 × A2 = {(a1 , a2 ) | a1 ∈ A1 and a2 ∈ A2 }
is the Cartesian product of A1 and A2 .
Example 6.1.14 Cartesian Products
Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}.
a. Find A1 × A2 .
b. Find ( A1 × A2 ) × A3 .
c. Find A1 × A2 × A3 .
Solution
a. A1 × A2 = {(x, 1), (x, 2), (x, 3), (y, 1), (y, 2), (y, 3)}
b. The Cartesian product of A1 and A2 is a set, so it may be used as one of the sets
making up another Cartesian product. This is the case for (A1 × A2 ) × A3 .
(A1 × A2 ) × A3 = {(u, v) | u ∈ A1 × A2 and v ∈ A3 }
by definition of Cartesian product
= {((x, 1), a), ((x, 2), a), ((x, 3), a), ((y, 1), a),
((y, 2), a), ((y, 3), a), ((x, 1), b), ((x, 2), b), ((x, 3), b),
((y, 1), b), ((y, 2), b), ((y, 3), b)}
c. The Cartesian product A1 × A2 × A3 is superficially similar to, but is not quite the
same mathematical object as, (A1 × A2 ) × A3 . (A1 × A2 ) × A3 is a set of ordered
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
348 Chapter 6 Set Theory
pairs of which one element is itself an ordered pair, whereas A1 × A2 × A3 is a set of
ordered triples. By definition of Cartesian product,
A1 × A2 × A3 = {(u, v, w) | u ∈ A1 , v ∈ A2 , and w ∈ A3 }
= {(x, 1, a), (x, 2, a), (x, 3, a), (y, 1, a), (y, 2, a),
(y, 3, a), (x, 1, b), (x, 2, b), (x, 3, b), (y, 1, b),
(y, 2, b), (y, 3, b)}.
■
An Algorithm to Check Whether One Set Is a Subset
of Another (Optional)
You may get some additional insight into the concept of subset by considering an algorithm for checking whether one finite set is a subset of another. Order the elements of
both sets and successively compare each element of the first set with each element of
the second set. If some element of the first set is not found to equal any element of the
second, then the first set is not a subset of the second. But if each element of the first set
is found to equal an element of the second set, then the first set is a subset of the second.
The following algorithm formalizes this reasoning.
Algorithm 6.1.1 Testing Whether A ⊆ B
[Input sets A and B are represented as one-dimensional arrays a[1], a[2], . . . , a[m] and
b[1], b[2], . . . , b[n], respectively. Starting with a[1] and for each successive a[i] in A,
a check is made to see whether a[i] is in B. To do this, a[i] is compared to successive
elements of B. If a[i] is not equal to any element of B, then answer is given the value
“A B.” If a[i] equals some element of B, the next successive element in A is checked
to see whether it is in B. If every successive element of A is found to be in B, then answer
never changes from its initial value “A ⊆ B.”]
Input: m [a positive integer], a[1], a[2], . . . , a[m] [a one-dimensional array
representing the set A], n [a positive integer], b[1], b[2], . . . , b[n] [a one-dimensional
array representing the set B]
Algorithm Body:
i := 1, answer := “A ⊆ B”
while (i ≤ m and answer = “A ⊆ B”)
j := 1, found := “no”
while ( j ≤ n and found = “no”)
if a[i] = b[ j] then found := “yes”
j := j + 1
end while
[If found has not been given the value “yes” when execution reaches this
point, then a[i] ∈
/ B.]
if found = “no” then answer := “A B”
i := i + 1
end while
Output: answer [a string]
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
6.1
Set Theory: Definitions and the Element Method of Proof
349
Example 6.1.15 Tracing Algorithm 6.1.1
Trace the action of Algorithm 6.1.1 on the variables i, j, found, and answer for
m = 3, n = 4, and sets A and B represented as the arrays a[1] = u, a[2] = v, a[3] = w,
b[1] = w, b[2] = x, b[3] = y, and b[4] = u.
Solution
i
1
j
1
found
no
answer
A⊆B
2
2
3
4
yes
5
1
3
2
3
4
5
no
AB
■
In the exercises at the end of this section, you are asked to write an algorithm to check
whether a given element is in a given set. To do this, you can represent the set as a onedimensional array and compare the given element with successive elements of the array
to determine whether the two elements are equal. If they are, then the element is in the
set; if the given element does not equal any element of the array, then the element is not
in the set.
Test Yourself
Answers to Test Yourself questions are located at the end of each section.
1. The notation A ⊆ B is read “_____” and means that _____.
7. An element x is in Ac if, and only if, _____.
2. To use an element argument for proving that a set X is a
subset of a set Y , you suppose that _____ and show that
_____.
8. The empty set is a set with _____.
3. To disprove that a set X is a subset of a set Y , you show that
there is _____.
10. Sets A and B are disjoint if, and only if, _____.
4. An element x is in A ∪ B if, and only if, _____.
11. A collection of nonempty sets A1 , A2 , A3 , . . . is a partition
of a set A if, and only if, _____.
5. An element x is in A ∩ B if, and only if, _____.
6. An element x is in B − A if, and only if, _____.
9. The power set of a set A is _____.
12. Given sets A1 , A2 , . . . , An , the Cartesian product
A1 × A2 × . . . × An is _____.
Exercise Set 6.1*
1. In each of (a)–(f), answer the following questions: Is
A ⊆ B? Is B ⊆ A? Is either A or B a proper subset of the
other?
√
a. A = {2, {2}, ( 2)2 }, B = {2, {2}, {{2}}}
√
b. A = {3, 52 − 42 , 24 mod 7}, B = {8 mod 5}
2. Complete the proof from Example 6.1.3: Prove that B ⊆ A
where
A = {m ∈ Z | m = 2a for some integer a}
and
B = {n ∈ Z | n = 2b − 2 for some integer b}
c. A = {{1, 2}, {2, 3}}, B = {1, 2, 3}
d. A = {a,
√ b, c}, B = {{a}, {b}, {c}}
e. A = { 16, {4}}, B = {4}
f. A = {x ∈ R | cos x ∈ Z}, B = {x ∈ R | sin x ∈ Z}
∗
For exercises with blue numbers or letters, solutions are given in Appendix B. The symbol H indicates that only a hint or a partial
solution is given. The symbol ✶ signals that an exercise is more challenging than usual.
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
350 Chapter 6 Set Theory
3. Let sets R, S, and T be defined as follows:
R = {x ∈ Z | x is divisible by 2}
S = {y ∈ Z | y is divisible by 3}
T = {z ∈ Z | z is divisible by 6}
a. Is R ⊆ T ? Explain.
b. Is T ⊆ R? Explain.
c. Is T ⊆ S? Explain.
4. Let A = {n ∈ Z | n = 5r for some integer r } and
B = {m ∈ Z | m = 20s for some integer s}.
a. Is A ⊆ B? Explain.
b. Is B ⊆ A? Explain.
5. Let C = {n ∈ Z | n = 6r − 5 for some integer r } and
D = {m ∈ Z | m = 3s + 1 for some integer s}.
Prove or disprove each of the following statements.
a. C ⊆ D
b. D ⊆ C
6. Let A = {x ∈ Z | x = 5a + 2 for some integer a},
B = {y ∈ Z | y = 10b − 3 for some integer b}, and
C = {z ∈ Z | z = 10c + 7 for some integer c}.
Prove or disprove each of the following statements.
a. A ⊆ B
b. B ⊆ A
H c. B = C
7. Let A = {x ∈ Z | x = 6a + 4 for some integer a},
B = {y ∈ Z | y = 18b − 2 for some integer b}, and
C = {z ∈ Z | z = 18c + 16 for some integer c}.
Prove or disprove each of the following statements.
a. A ⊆ B
b. B ⊆ A
c. B = C
8. Write in words how to read each of the following out loud.
Then write the shorthand notation for each set.
a. {x ∈ U | x ∈ A and x ∈ B}
b. {x ∈ U | x ∈ A or x ∈ B}
c. {x ∈ U | x ∈ A and x ∈
/ B}
d. {x ∈ U | x ∈
/ A}
13. Indicate which of the following relationships are true and
which are false:
b. R− ⊆ Q
a. Z+ ⊆ Q
c. Q ⊆ Z
d. Z− ∪ Z+ = Z
e. Z− ∩ Z+ = ∅
f. Q ∩ R = Q
g. Q ∪ Z = Q
h. Z+ ∩ R = Z+
i. Z ∪ Q = Z
14. In each of the following, draw a Venn diagram for sets A,
B, and C that satisfy the given conditions:
a. A ⊆ B; C ⊆ B; A ∩ C = ∅
b. C ⊆ A; B ∩ C = ∅
15. Draw Venn diagrams to describe sets A, B, and C that
satisfy the given conditions.
a. A ∩ B = ∅, A ⊆ C, C ∩ B = ∅
b. A ⊆ B, C ⊆ B, A ∩ C = ∅
c. A ∩ B = ∅, B ∩ C = ∅, A ∩ C = ∅, A B, C B
16. Let A = {a, b, c}, B = {b, c, d}, and C = {b, c, e}.
a. Find A ∪ (B ∩ C), (A ∪ B) ∩ C, and
( A ∪ B) ∩ ( A ∪ C). Which of these sets are equal?
b. Find A ∩ (B ∪ C), ( A ∩ B) ∪ C, and
(A ∩ B) ∪ ( A ∩ C). Which of these sets are equal?
c. Find ( A − B) − C and A − (B − C). Are these sets
equal?
17. Consider the Venn diagram shown below. For each of (a)–(f),
copy the diagram and shade the region corresponding to the
indicated set.
a. A ∩ B
b. B ∪ C
c. Ac
c
d. A − (B ∪ C)
e. ( A ∪ B)
f. Ac ∩ B c
U
9. Complete the following sentences without using the
symbols ∪, ∩, or −.
a. x ∈
/ A ∪ B if, and only if, _____.
b. x ∈
/ A ∩ B if, and only if, _____.
c. x ∈
/ A − B if, and only if, _____.
10. Let A = {1, 3, 5, 7, 9}, B = {3, 6, 9}, and C = {2, 4, 6, 8}.
Find each of the following:
a. A ∪ B
b. A ∩ B
c. A ∪ C
d. A ∩ C
e. A − B
f. B − A
g. B ∪ C
h. B ∩ C
11. Let the universal set be the set R of all real numbers and let
A = {x ∈ R | 0 < x ≤ 2}, B = {x ∈ R | 1 ≤ x < 4}, and
C = {x ∈ R | 3 ≤ x < 9}. Find each of the following:
d. A ∪ C
a. A ∪ B
b. A ∩ B
c. Ac
g. Ac ∩ B c
e. A ∩ C
f. B c
h. Ac ∪ B c
i. (A ∩ B)c
j. ( A ∪ B)c
12. Let the universal set be the set R of all real numbers and
let A = {x ∈ R | −3 ≤ x ≤ 0}, B = {x ∈ R | −1 < x < 2},
and C = {x ∈ R | 6 < x ≤ 8}. Find each of the following:
d. A ∪ C
a. A ∪ B
b. A ∩ B
c. Ac
c
g. Ac ∩ B c
e. A ∩ C
f. B
h. Ac ∪ B c
i. (A ∩ B)c
j. (A ∪ B)c
A
B
C
18. a. Is the number 0 in ∅? Why?
c. Is ∅ ∈ {∅}? Why?
b. Is ∅ = {∅}? Why?
d. Is ∅ ∈ ∅? Why?
19. Let Ai = {i, i 2 } for all integers i = 1, 2, 3, 4.
a. A1 ∪ A2 ∪ A3 ∪ A4 =?
b. A1 ∩ A2 ∩ A3 ∩ A4 =?
c. Are A1 , A2 , A3 , and A4 mutually disjoint? Explain.
20. Let Bi = {x ∈ R | 0 ≤ x ≤ i} for all integers i = 1, 2, 3, 4.
a. B1 ∪ B2 ∪ B3 ∪ B4 =?
b. B1 ∩ B2 ∩ B3 ∩ B4 =?
c. Are B1 , B2 , B3 , and B4 mutually disjoint? Explain.
21. Let Ci = {i, −i} for all nonnegative integers i.
4
4
a.
Ci =?
b.
Ci =?
i=0
i=0
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
6.1
c. Are C0 , C1 , C2 , . . . mutually disjoint? Explain.
n
n
d.
Ci =?
e.
Ci =?
f.
i=0
∞
Ci =?
g.
i=0
i=0
∞
Ci =?
i=0
22. Let Di = {x ∈ R | − i ≤ x ≤ i} = [−i, i] for all nonnegative integers i.
4
4
Di =?
b.
Di =?
a.
i=0
i=0
c. Are D0 , D1 , D2 , . . . mutually disjoint? Explain.
n
n
d.
Di =?
e.
Di =?
f.
i=0
∞
i=0
Di =?
g.
i=0
∞
1
1
1 1
23. Let Vi = x ∈ R | − i ≤ x ≤ i = − i , i
itive integers i.
4
4
a.
Vi =?
b.
Vi =?
i=1
for all pos-
f.
Vi =?
g.
i=1
A0 = {n ∈ Z | n = 4k, for some integer k},
A2 = {n ∈ Z | n = 4k + 2, for some integer k}, and
A3 = {n ∈ Z | n = 4k + 3, for some integer k}.
Is { A0 , A1 , A2 , A3 } a partition of Z? Explain your answer.
Vi =?
i=1
24. Let Wi = {x ∈ R | x > i} = (i, ∞) for all nonnegative
integers i.
4
4
Wi =?
b.
Wi =?
a.
i=0
f.
i=0
Wi =?
g.
i=0
∞
i=0
1
25. Let Ri = x ∈ R | 1 ≤ x ≤ 1 + i
positive integers i.
4
a.
Ri =?
b.
i=1
4
33. a. Find P(∅).
b. Find P(P(∅)).
c. Find P(P(P(∅))).
Wi =?
1
= 1, 1 + i
for all
Ri =?
f.
Ri =?
g.
i=1
i=1
∞
Ri =?
i=1
1
1
26. Let Si = x ∈ R | 1 < x < 1 + i = 1, 1 + i
positive integers i.
4
4
a.
Si =?
b.
Si =?
i=1
i=1
c. Are S1 , S2 , S3 , . . . mutually disjoint? Explain.
n
n
d.
Si =?
e.
Si =?
f.
i=1
∞
i=1
Si =?
g.
i=1
∞
i=1
Si =?
34. Let A1 = {1, 2, 3}, A2 = {u, v}, and A3 = {m, n}. Find
each of the following sets:
a. A1 × (A2 × A3 )
b. ( A1 × A2 ) × A3
c. A1 × A2 × A3
35. Let A = {a, b}, B = {1, 2}, and C = {2, 3}. Find each of
the following sets.
a. A × (B ∪ C)
b. ( A × B) ∪ ( A × C)
c. A × (B ∩ C)
d. (A × B) ∩ ( A × C)
i=1
c. Are R1 , R2 , R3 , . . . mutually disjoint? Explain.
n
n
d.
Ri =?
e.
Ri =?
i=1
∞
31. Suppose A = {1, 2} and B = {2, 3}. Find each of the
following:
a. P(A ∩ B)
b.P( A)
c. P( A ∪ B)
d.P( A × B)
32. a. Suppose A = {1} and B = {u, v}. Find P( A × B).
b. Suppose X = {a, b} and Y = {x, y}. Find P(X × Y ).
i=0
c. Are W0 , W1 , W2 , . . . mutually disjoint? Explain.
n
n
d.
Wi =?
e.
Wi =?
i=0
∞
29. Let R be the set of all real numbers. Is {R+ , R− , {0}} a partition of R? Explain your answer.
A1 = {n ∈ Z | n = 4k + 1, for some integer k},
i=1
i=1
∞
27. a. Is {{a, d, e}, {b, c}, {d, f }} a partition of
{a, b, c, d, e, f }?
b. Is {{w, x, v}, {u, y, q}, { p, z}} a partition of
{ p, q, u, v, w, x, y, z}?
c. Is {{5, 4}, {7, 2}, {1, 3, 4}, {6, 8}} a partition of
{1, 2, 3, 4, 5, 6, 7, 8}?
d. Is {{3, 7, 8}, {2, 9}, {1, 4, 5}} a partition of
{1, 2, 3, 4, 5, 6, 7, 8, 9}?
e. Is {{1, 5}, {4, 7}, {2, 8, 6, 3}} a partition of
{1, 2, 3, 4, 5, 6, 7, 8}?
30. Let Z be the set of all integers and let
c. Are V1 , V2 , V3 , . . . mutually disjoint? Explain.
n
n
d.
Vi =?
e.
Vi =?
i=1
∞
351
28. Let E be the set of all even integers and O the set of all odd
integers. Is {E, O} a partition of Z, the set of all integers?
Explain your answer.
Di =?
i=0
Set Theory: Definitions and the Element Method of Proof
for all
36. Trace the action of Algorithm 6.1.1 on the variables i, j,
found, and answer for m = 3, n = 3, and sets A and B
represented as the arrays a[1] = u, a[2] = v, a[3] = w,
b[1] = w, b[2] = u, and b[3] = v.
37. Trace the action of Algorithm 6.1.1 on the variables i, j,
found, and answer for m = 4, n = 4, and sets A and B
represented as the arrays a[1] = u, a[2] = v, a[3] = w,
a[4] = x, b[1] = r , b[2] = u, b[3] = y, b[4] = z.
38. Write an algorithm to determine whether a given element
x belongs to a given set, which is represented as an array
a[1], a[2], . . . , a[n].
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
352 Chapter 6 Set Theory
Answers for Test Yourself
1. the set A is a subset of the set B; for all x, if x ∈ A then x ∈ B (Or : every element of A is also an element of B) 2. x is any
[particular but arbitrarily chosen] element of X ; x is an element of Y 3. an element in X that is not in Y 4. x is in A or x is in B
(Or : x is in at least one of the sets A and B) 5. x is in A and x is in B (Or : x is in both A and B) 6. x is in B and x is not in
A 7. x is in the universal set and is not in A 8. no elements 9. the set of all subsets of A 10. A ∩ B = ∅ (Or : A and B have no
elements in common) 11. A is the union of all the sets A1 , A2 , A3 , . . . and Ai ∩ A j = ∅ whenever i = j. 12. the set of all ordered
n-tuples (a1 , a2 , . . . , an ), where ai is in Ai for all i = 1, 2, . . . , n
6.2 Properties of Sets
. . . only the last line is a genuine theorem here—everything else is in the fantasy.
—Douglas Hofstadter, Gödel, Escher, Bach, 1979
It is possible to list many relations involving unions, intersections, complements, and
differences of sets. Some of these are true for all sets, whereas others fail to hold in
some cases. In this section we show how to establish basic set properties using element
arguments, and we discuss a variation used to prove that a set is empty. In the next section
we will show how to disprove a proposed set property by constructing a counterexample
and how to use an algebraic technique to derive new set properties from set properties
already known to be true.
We begin by listing some set properties that involve subset relations. As you read
them, keep in mind that the operations of union, intersection, and difference take precedence over set inclusion. Thus, for example, A ∩ B ⊆ C means (A ∩ B) ⊆ C.
Theorem 6.2.1 Some Subset Relations
1. Inclusion of Intersection: For all sets A and B,
(a) A ∩ B ⊆ A
and
(b) A ∩ B ⊆ B.
2. Inclusion in Union: For all sets A and B,
(a) A ⊆ A ∪ B
and
(b) B ⊆ A ∪ B.
3. Transitive Property of Subsets: For all sets A, B, and C,
if A ⊆ B and B ⊆ C, then A ⊆ C.
The conclusion of each part of Theorem 6.2.1 states that one set x is a subset of
another set Y and so to prove them, you suppose that x is any [particular but arbitrarily
chosen] element of X and you show that x is an element of Y .
In most proofs of set properties, the secret of getting from the assumption that x is in
X to the conclusion that x is in Y is to think of the definitions of basic set operations in
procedural terms. For example, the union of sets X and Y , X ∪ Y , is defined as
X ∪ Y = {x | x ∈ X or x ∈ Y }.
This means that any time you know an element x is in X ∪ Y , you can conclude that x
must be in X or x must be in Y . Conversely, any time you know that a particular x is in
some set X or is in some set Y , you can conclude that x is in X ∪ Y . Thus, for any sets X
and Y and any element x,
x ∈ X ∪Y
if, and only if,
x ∈ X or x ∈ Y.
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )