7 CH 5 Set Theory
7 CH 5 Set Theory
7 CH 5 Set Theory
Set Theory
5.1
and
B D f1; 3; 5; 7; 9g;
The set consisting of all natural numbers that are in A and are in B is the set
f1; 3; 5g;
The set consisting of all natural numbers that are in A or are in B is the set
f1; 2; 3; 4; 5; 6; 7; 9g; and
The set consisting of all natural numbers that are in A and are not in B is the
set f2; 4; 6g.
These sets are examples of some of the most common set operations, which are
given in the following definitions.
215
216
Definition. Let A and B be subsets of some universal set U. The set difference of A and B, or relative complement of B with respect to A, written
A B and read A minus B or the complement of B with respect to A, is
the set of all elements in A that are not in B. That is,
A
B D fx 2 U j x 2 A and x Bg:
and
B D f2; 3; 4; 5; 6g.
2. Ac
3. B c
We can now use these sets to form even more sets. For example,
A \ B c D f0; 1; 2; 3; 9g \ f0; 1; 7; 8; 9; 10g D f0; 1; 9g:
Use the roster method to specify each of the following subsets of U .
217
5. Ac \ B c
6. Ac [ B c
7. .A \ B/c
U
B
A
1
4
Figure 5.1: Venn Diagram for Two Sets
In Figure 5.1, the elements of A are represented by the points inside the left circle,
and the elements of B are represented by the points inside the right circle. The four
distinct regions in the diagram are numbered for reference purposes only. (The
numbers do not represent elements in a set.) The following table describes the four
regions in the diagram.
Region
1
2
3
4
Elements of U
In A and not in B
In A and in B
In B and not in A
Not in A and not in B
Set
A B
A\B
B A
Ac \ B c
We can use these regions to represent other sets. For example, the set A [ B is
represented by regions 1, 2, and 3 or the shaded region in Figure 5.2.
218
3. Ac [ B
5. .A \ B/c
2. B c
4. Ac [ B c
6. .A [ B/ .A \ B/
219
means
.8x 2 U / .x 2 A/ ! .x 2 B/.
A 6 B
means
: .8x 2 U / .x 2 A/ ! .x 2 B/
.9x 2 U / : .x 2 A/ ! .x 2 B/
.9x 2 U / .x 2 A/ ^ .x B/.
x 2 R j x 2 D 4 D f 2; 2g:
If the two sets A and B are equal, then it must be true that every element of A is
an element of B, that is, A B, and it must be true that every element of B is
220
B D f1; 2; 3; 5g;
C D x 2 U j x2 2 :
In each of the following, fill in the blank with one or more of the symbols ;
; D; ; 2; or so that the resulting statement is true. For each blank, include all
symbols that result in a true statement. If none of these symbols makes a true
statement, write nothing in the blank.
A
5
A
f1; 2g
6
B
B
C
A
A
;
f5g
f1; 2g
f4; 2; 1g
B
A
B
C
A
;
221
A
2
1
5
4
6
C
7
(b) .A \ B/ [ C
(c) .Ac [ B/
(d) Ac \ .B [ C /
222
(1)
(3)
223
224
The integers consist of the natural numbers, the negatives of the natural numbers,
and zero. If we let N D f: : : ; 4; 3; 2; 1g, then we can use set union and
write
Z D N [ f0g [ N:
We need to use set builder notation for the set Q of all rational numbers,
which consists of quotients of integers.
n m
o
QD
m; n 2 Z and n 0
n
n
Since any integer n can be written as n D , we see that Z Q.
1
We do not yet have the tools to give a complete description of the real numbers.
We will simply say that the real numbers consist of the rational numbers and the
irrational numbers. In effect, the irrational numbers are the complement of the
set of rational numbers Q in R. So we can use the notation Qc D fx 2 R j x Qg
and write
R D Q [ Qc
and
Q \ Qc D ;:
A number system that we have not yet discussed is the set of complex numbers.
The complex
C, consist of all numbers of the form aCbi , where a; b 2 R
p numbers,
2
and i D
1 (or i D 1). That is,
n
p o
C D a C bi a; b 2 R and i D
1 :
We can add and multiply complex numbers as follows: If a; b; c; d 2 R, then
.a C bi / C .c C d i / D .a C c/ C .b C d / i; and
.a C bi / .c C d i / D ac C ad i C bci C bd i 2
D .ac
bd / C .ad C bc/ i:
A D f 3; 2; 2; 3g;
B D x 2 Rj x 2 D 4 or x 2 D 9 ;
C D x 2 R j x2 C 2 D 0 ;
D D fx 2 R j x > 0g:
Respond to each of the following questions. In each case, explain your answer.
225
(a) Explain why the set fa; bg is equal to the set fb; ag.
2.
(b) Explain why the set fa; b; b; a; cg is equal to the set fb; c; ag.
?
C D f x 2 Zj x
3g;
B D x 2 Z j x2 9 ;
D D f1; 2; 3; 4g:
In each of the following, fill in the blank with one or more of the symbols ,
, 6, D , , 2, or so that the resulting statement is true. For each blank,
include all symbols that result in a true statement. If none of these symbols
makes a true statement, write nothing in the blank.
A
5
A
f1; 2g
4
card .A/
A
B
C
C
A
B
card .D/
P.A/
;
f5g
f1; 2g
f3; 2; 1g
D
card .A/
A
A
C
B
D
;
card .B/
P.B/
4. Write all of the proper subset relations that are possible using the sets of
numbers N, Z, Q, and R.
5. For each statement, write a brief, clear explanation of why the statement is
true or why it is false.
?
(b) The set f 2; 0; 2g is equal to x 2 Z j x is even and x 2 < 5 .
(c) The empty set ; is a subset of f1g.
226
6. Use the definitions of set intersection, set union, and set difference to write
useful negations of these definitions. That is, complete each of the following
sentences
(a) x A \ B if and only if : : : :
B if and only if : : : :
B D f1; 5; 7; 9g;
C D f3; 6; 9g;
D D f2; 4; 6; 8g:
Use the roster method to list all of the elements of each of the following sets.
(a) A \ B
?
?
?
(b) A [ B
(i) B \ D
(c) .A [ B/c
(j) .B \ D/c
(d) Ac \ B c
(e) .A [ B/ \ C
(f) A \ C
(g) B \ C
(h) .A \ C / [ .B \ C /
(k) A
(l) B
(m) .A
?
D/ [ .B
(n) .A [ B/
D/
C D fx 2 N j x is a multiple of 3g;
B D fx 2 N j x is oddg;
D D fx 2 N j x is eveng:
Use the roster method to list all of the elements of each of the following sets.
(a) A \ B
(g) B \ D
(b) A [ B
(h) .B \ D/c
(i) A
(d) Ac \ B c
(j) B
(c) .A [ B/c
(e) .A [ B/ \ C
(f) .A \ C / [ .B \ C /
(k) .A
D/ [ .B
(l) .A [ B/
D/
227
11. Let A, B, and C be subsets of some universal set U . Draw a Venn diagram
for each of the following situations.
(a) A C
(b) A \ B D ;
(c) A 6 B; B 6 A; C A; and C 6 B
(d) A B; C B; and A \ C D ;
12. Let A, B, and C be subsets of some universal set U . For each of the following, draw a general Venn diagram for the three sets and then shade the
indicated region.
(a) A \ B
(d) B [ C
(c) .A \ B/ [ .A \ C /
(f) .A \ B/
(b) A \ C
(e) A \ .B [ C /
C
13. We can extend the idea of consecutive integers (See Exercise (2) in Section 3.5) to represent four consecutive integers as m, m C 1, m C 2, and
m C 3, where m is an integer. There are other ways to represent four consecutive integers. For example, if k 2 Z, then k 1, k, k C 1, and k C 2 are
four consecutive integers.
(a) Prove that for each n 2 Z, n is the sum of four consecutive integers if
and only if n 2 .mod 4/.
228
14. One of the properties of real numbers is the so-called Law of Trichotomy,
which states that if a; b 2 R, then exactly one of the following is true:
a < b;
a D b;
a > b.
A D B;
B A.
Set Notation
fx 2 R j a < x < bg
fx 2 R j a x bg
fx 2 R j a x < bg
fx 2 R j a < x bg
f x 2 Rj x > ag
f x 2 Rj x < bg
f x 2 Rj x ag
f x 2 Rj x bg
Name
Open interval from a to b
Closed interval from a to b
Half-open interval
Half-open interval
Open ray
Open ray
Closed ray
Closed ray
229
(e) Write the set fx 2 R j jxj > 2g as the union of two intervals.
16. More Work with Intervals. For this exercise, use the interval notation described in Exercise 15.
(a) Determine the intersection and union of 2; 5 and 1; C1/.
230
5.2
231
3. Use set builder notation to specify the sets S and T . (See Section 2.3 for a
review of the set builder notation.)
4. Using appropriate definitions, describe what it means to say that an integer
x is a multiple of 6 and what it means to say that an integer y is even.
5. In order to prove that S is a subset of T , we need to prove that for each
integer x, if x 2 S , then x 2 T .
Complete the know-show table in Table 5.1 for the proposition that S is a
subset of T .
This table is in the form of a proof method called the choose-an-element
method. This method is frequently used when we encounter a universal
quantifier in a statement in the backward process. (In this case, this is Step
Q1.) The key is that we have to prove something about all elements in Z.
We can then add something to the forward process by choosing an arbitrary
element from the set S . (This is done in Step P1.) This does not mean that
we can choose a specific element of S . Rather, we must give the arbitrary
element a name and use only the properties it has by being a member of the
set S . In this case, the element is a multiple of 6.
Step
P
P1
Know
S is the set of all integers that
are multiples of 6. T is the set of
all even integers.
Let x 2 S .
P2
::
:
.9m 2 Z/ .x D 6m/
::
:
Q2
Q1
Q
x is an element of T .
.8x 2 Z/ .x 2 S / ! .x 2 T /
S T.
Step
Show
Reason
Hypothesis
232
233
Let S be the set of all integers that are multiples of 6, and let T be the set of
all even integers. Then S is a subset of T.
In Preview Activity 1, we worked on a know-show table for this proposition. The
key was that in the backward process, we encountered the following statement:
Each element of S is an element of T or, more precisely, if x 2 S, then
x 2 T.
In this case, the element is an integer, the given property is that it is an element of S , and the something that happens is that the element is also an element
of T . One way to approach this is to create a list of all elements with the given
property and verify that for each one, the something happens. When the list is
short, this may be a reasonable approach. However, as in this case, when the list is
infinite (or even just plain long), this approach is not practical.
We overcome this difficulty by using the choose-an-element method, where
we choose an arbitrary element with the given property. So in this case, we choose
an integer x that is a multiple of 6. We cannot use a specific multiple of 6 (such as
12 or 24), but rather the only thing we can assume is that the integer satisfies the
property that it is a multiple of 6. This is the key part of this method.
Whenever we choose an arbitrary element with a given property,
we are not selecting a specific element. Rather, the only thing we
can assume about the element is the given property.
It is important to realize that once we have chosen the arbitrary element, we have
added information to the forward process. So in the know-show table for this
proposition, we added the statement, Let x 2 S to the forward process. Following is a completed proof of this proposition following the outline of the know-show
table from Preview Activity 1.
Proposition 5.7. Let S be the set of all integers that are multiples of 6, and let T be
the set of all even integers. Then S is a subset of T.
Proof. Let S be the set of all integers that are multiples of 6, and let T be the set
of all even integers. We will show that S is a subset of T by showing that if an
integer x is an element of S , then it is also an element of T .
Let x 2 S . (Note: The use of the word let is often an indication that the we
are choosing an arbitrary element.) This means that x is a multiple of 6. Therefore,
234
235
2. Complete the following know-show table for this proposition and explain
exactly where the choose-an-element method is used.
Step
Know
Reason
P
P1
AB
Let x 2 B c .
P2
::
:
If x 2 A, then x 2 B.
::
:
Hypothesis
Choose an arbitrary element
of B c .
Definition of subset
::
:
Q1
Q
Step
If x 2 B c , then x 2 Ac .
B c Ac
Show
Definition of subset
Reason
Then
Proof. Let A and B be subsets of some universal set. We will prove that
A .A B/ D A \ B by proving that A .A B/ A \ B and that
A \ B A .A B/.
First, let x 2 A
.A
B/:
.A
B/ A \ B.
236
.A
B/,
B D
Disjoint Sets
Earlier in this section, we discussed the concept of set equality and the relation
of one set being a subset of another set. There are other possible relationships
between two sets; one is that the sets are disjoint. Basically, two sets are disjoint if
and only if they have nothing in common. We express this formally in the following
definition.
Definition. Let A and B be subsets of the universal set U . The sets A and B
are said to be disjoint provided that A \ B D ;.
For example, the Venn diagram in Figure 5.5 shows two sets A and B with
A B. The shaded region is the region that represents B c . From the Venn
diagram, it appears that A \ B c D ;. This means that A and B c are disjoint. The
preceding example suggests that the following proposition is true:
If A B, then A \ B c D ;.
If we would like to prove this proposition, a reasonable backward question is,
How do we prove that a set .namely A \ B c / is equal to the empty set?
237
B
A
238
Now, the fact that x 2 B c means that x B. Hence, we can conclude that
x 2 A and x B:
This means that A 6 B, and hence, we have proved that if A \ B c ;, then
A 6 B, and therefore, we have proved that if A B, then A \ B c D ;.
The proof that if A \ B c D ;, then A B is Exercise (10).
A Final Comment
We have used the choose-an-element method to prove Propositions 5.7, 5.11,
and 5.14. Proofs involving sets that use this method are sometimes referred to as
element-chasing proofs. This name is used since the basic method is to choose an
arbitrary element from one set and chase it until you prove it must be in another
set.
1. Let A D x 2 Rj x 2 < 4 and let B D fx 2 R j x < 2g.
239
If A B and B C , then A C .
Note: This may seem like an obvious result. However, one of the
reasons for this exercise is to provide practice at properly writing a
proof that one set is a subset of another set. So we should start the
proof by assuming that A B and B C . Then we should choose an
arbitrary element of A.
3. Let A D fx 2 Z j x 7 .mod 8/g and B D fx 2 Z j x 3 .mod 4/g.
(a) List at least five different elements of the set A and at least five elements
of the set B.
?
?
4/g.
2/g.
240
(a) x 2 R j x 2 3x 10 < 0 D fx 2 R j 2 < x < 5g
(b) x 2 R j x 2 5x C 6 < 0 D fx 2 R j 2 < x < 3g
(c) x 2 R j x 2 4 D fx 2 R j x 2g [ fx 2 R j x 2g
7. Let A and B be subsets of some universal set U . Prove each of the following:
?
?
(a) A \ B A
(b) A A [ B
(c) A \ A D A
(d) A [ A D A
(e) A \ ; D ;
(f) A [ ; D A
241
(a) If A B, then A \ C B \ C .
(b) If A B, then A [ C B [ C .
13. Let A, B, and C be subsets of a universal set U . Are the following propositions true or false? Justify your conclusions.
(a) If A \ C B \ C , then A B.
(b) If A [ C B [ C , then A B.
(c) If A [ C D B [ C , then A D B.
(d) If A \ C D B [ C , then A D B.
(a) For all subsets A and B of some universal set U, A B if and only if
A \ B c D ;.
(b) For all subsets A and B of some universal set U, A B if and only if
A [ B D B.
(c) For all subsets A and B of some universal set U, A B if and only if
A \ B D A.
242
(ii) S \ T D ;; and
(iii) X S.
243
iv. x D 2; y D 3
v. x D 2; y D 3
vi. x D 2; y D 5
6, and t D 3.
244
5.3
245
If R then P .R ! P /.
246
A\;D;
A[;DA
A\U DA
A[U DU
Idempotent Laws
A\A DA
A[ADA
Commutative Laws
A\B DB \A
A[B DB [A
Associative Laws
.A \ B/ \ C D A \ .B \ C /
.A [ B/ [ C D A [ .B [ C /
Distributive Laws
A \ .B [ C / D .A \ B/ [ .A \ C /
A [ .B \ C / D .A [ B/ \ .A [ C /
Before proving some of these properties, we note that in Section 5.2, we learned
that we can prove that two sets are equal by proving that each one is a subset of the
other one. However, we also know that if S and T are both subsets of a universal
set U , then
S D T if and only if for each x 2 U , x 2 S if and only if x 2 T .
We can use this to prove that two sets are equal by choosing an element from
one set and chasing the element to the other set through a sequence of if and only
if statements. We now use this idea to prove one of the commutative laws.
(1)
However, we know that if P and Q are statements, then P ^ Q is logically equivalent to Q ^ P . Consequently, we can conclude that
x 2 A and x 2 B if and only if x 2 B and x 2 A:
(2)
(3)
This means that we can use (1), (2), and (3) to conclude that
x 2 A \ B if and only if x 2 B \ A;
and, hence, we have proved that A \ B D B \ A.
247
We let
248
A ; D A and A U D ;
;c D U and U c D ;
.A \ B/c D Ac [ B c
.A [ B/c D Ac \ B c
A B if and only if B c Ac
Proof. We will only prove one of De Morgans Laws, namely, the one that was
explored in Preview Activity 1. The proofs of the other parts are left as exercises.
Let A and B be subsets of some universal set U . We will prove that .A [ B/c D
Ac \ B c by proving that an element is in .A [ B/c if and only if it is in Ac \ B c .
So let x be in the universal set U . Then
x 2 .A [ B/c if and only if x A [ B;
(1)
(2)
and
Combining (1) and (2), we see that
x 2 .A [ B/c if and only if x A and x B:
(3)
249
(4)
and this is true if and only if x 2 Ac \ B c . So we can use (3) and (4) to conclude
that
x 2 .A [ B/c if and only if x 2 Ac \ B c ;
and, hence, that .A [ B/c D Ac \ B c .
C D .A [ B/ \ C c :
C D .A [ B/ \ C c
D C c \ .A [ B/ :
2. Determine which properties from Theorems 5.18 and 5.20 justify each of
the last three steps in the following outline of the proof that .A [ B/ C D
.A C / [ .B C /.
.A [ B/
C D .A [ B/ \ C c
(Theorem 5.20)
D C \ .A [ B/
D Cc \ A [ Cc \ B
D A \ Cc [ B \ Cc
D .A
C / [ .B
C/
(Commutative Property)
250
2. A \ B c D ;
3. Ac [ B D U
Proof. To prove that these are equivalent conditions, we will prove that (1) implies
(2), that (2) implies (3), and that (3) implies (1).
Let A and B be subsets of some universal set U . We have proved that (1)
implies (2) in Proposition 5.14.
To prove that (2) implies (3), we will assume that A \ B c D ; and use the fact
that ;c D U . We then see that
c
A \ B c D ;c :
Ac [ B D U:
251
Since we have now proved that (1) implies (2), that (2) implies (3), and that (3)
implies (1), we have proved that the three conditions are equivalent.
(a) .Ac /c D A
(b) A
?
;DA
(c) ;c D U
(d) U c D ;
(a) Draw two general Venn diagrams for the sets A, B, and C . On one,
shade the region that represents A .B [ C /, and on the other, shade
the region that represents .A B/ \ .A C /. Based on the Venn
diagrams, make a conjecture about the relationship between the sets
A .B [ C / and .A B/ \ .A C /.
(b) Use the choose-an-element method to prove the conjecture from Exercise (4a).
252
(c) Use the algebra of sets to prove the conjecture from Exercise (4a).
(b) Use the choose-an-element method to prove the conjecture from Exercise (5a).
(c) Use the algebra of sets to prove the conjecture from Exercise (5a).
6. Let A, B, and C be subsets of some universal set U. Prove or disprove each
of the following:
(a) .A \ B/
(b) .A [ B/
C D .A
C / \ .B
.A \ B/ D .A
C/
B/ [ .B
A/
253
A/.
B/ [ .A \ B/.
11. Let A and B be subsets of some universal set U. Prove or disprove each of
the following:
(a) A
.A \ B c / D A \ B
(c) .A [ B/
ADB
(e) .A [ B/
.A \ B/ D .A
(d) .A [ B/
B DA
A
.A \ B/
B/ [ .B
A/
C/ D
Proof.
A
.B
C / D .A
B/
.A
C/
\ A \ Cc
D A \ Bc \ C c
D A\B
D A \ .B [ C /c
DA
.B [ C /
254
a C b D b C a, for all a; b 2 R.
a b D b a, for all a; b 2 R.
Associative Laws:
Distributive Law:
a .b C c/ D a b C a c, for all a; b; c 2 R.
Additive Identity:
For all a 2 R, a C 0 D a D 0 C a.
Multiplicative Identity:
For all a 2 R, a 1 D a D 1 a.
Additive Inverses:
For all a 2 R, a C . a/ D 0 D . a/ C a.
Multiplicative Inverses:
D1D
Discuss the similarities and differences among the properties of addition and
multiplication of real numbers and the properties of union and intersection
of sets.
5.4
Cartesian Products
255
is an open sentence with two variables. An element of the truth set of this open
sentence (also called a solution of the equation) is an ordered pair .a; b/ of real
numbers so that when a is substituted for x and b is substituted for y, the open
sentence becomes a true statement (a true equation in this case). For example, we
see that the ordered pair .6; 0/ is in the truth set for this open sentence since
2 6 C 3 D 12
is a true statement. On the other hand, the ordered pair .4; 1/ is not in the truth set
for this open sentence since
2 4 C 3 1 D 12
is a false statement.
Important Note: The order of the of the two numbers in the ordered pair is very
important. We are using the convention that the first number is to be substituted for
x and the second number is to be substituted for y. With this convention, .3; 2/ is a
solution of the equation 2x C 3y D 12, but .2; 3/ is not a solution of this equation.
1. List six different elements of the truth set (often called the solution set) of
the open sentence with two variables 2x C 3y D 12.
2. From previous mathematics courses, we know that the graph of the equation
2x C 3y D 12 is a straight line. Sketch the graph of the equation 2x C
3y D 12 in the xy-coordinate plane. What does the graph of the equation
2x C 3y D 12 show?
3. Write a description of the solution set S of the equation 2x C 3y D 12 using
set builder notation.
256
Definition. Let A and B be sets. An ordered pair (with first element from
A and second element from B) is a single pair of objects, denoted by .a; b/,
with a 2 A and b 2 B and an implied order. This means that for two ordered
pairs to be equal, they must contain exactly the same objects in the same order.
That is, if a; c 2 A and b; d 2 B, then
.a; b/ D .c; d / if and only if a D c and b D d:
The objects in the ordered pair are called the coordinates of the ordered pair.
In the ordered pair .a; b/, a is the first coordinate and b is the second coordinate.
We will now introduce a new set operation that gives a way of combining elements from two given sets to form ordered pairs. The basic idea is that we will
create a set of ordered pairs.
Definition. If A and B are sets, then the Cartesian product, A B, of A and
B is the set of all ordered pairs .x; y/ where x 2 A and y 2 B. We use the
notation A B for the Cartesian product of A and B, and using set builder
notation, we can write
A B D f.x; y/ j x 2 A and y 2 Bg :
We frequently read A B as A cross B. In the case where the two sets are
the same, we will write A2 for A A. That is,
A2 D A A D f.a; b/ j a 2 A and b 2 Ag :
Let A D f1; 2; 3g and B D fa; bg.
1. Is the ordered pair .3; a/ in the Cartesian product A B? Explain.
2. Is the ordered pair .3; a/ in the Cartesian product A A? Explain.
3. Is the ordered pair .3; 1/ in the Cartesian product A A? Explain.
4. Use the roster method to specify all the elements of A B. (Remember that
the elements of A B will be ordered pairs.
5. Use the roster method to specify all of the elements of the set A A D A2 .
257
6. For any sets C and D, explain carefully what it means to say that the ordered
pair .x; y/ is not in the Cartesian product C D.
Cartesian Products
When working with Cartesian products, it is important to remember that the Cartesian product of two sets is itself a set. As a set, it consists of a collection of elements. In this case, the elements of a Cartesian product are ordered pairs. We
should think of an ordered pair as a single object that consists of two other objects
in a specified order. For example,
If a 1, then the ordered pair .1; a/ is not equal to the ordered pair .a; 1/.
That is, .1; a/ .a; 1/.
If A D f1; 2; 3g and B D fa; bg, then the ordered pair .3; a/ is an element
of the set A B. That is, .3; a/ 2 A B.
If A D f1; 2; 3g and B D fa; bg, then the ordered pair .5; a/ is not an
element of the set A B since 5 A. That is, .5; a/ A B.
In Section 5.3, we studied certain properties of set union, set intersection, and
set complements, which we called the algebra of sets. We will now begin something similar for Cartesian products. We begin by examining some specific examples in Progress Check 5.23 and a little later in Progress Check 5.24.
Progress Check 5.23 (Relationships between Cartesian Products)
Let A D f1; 2; 3g, T D f1; 2g, B D fa; bg , and C D fa; cg. We can then form
new sets from all of the set operations we have studied. For example, B \C D fag,
and so
A .B \ C / D f.1; a/ ; .2; a/ ; .3; a/g :
1. Use the roster method to list all of the elements (ordered pairs) in each of the
following sets:
(a)
(b)
(c)
(d)
(e)
AB
T B
AC
A .B \ C /
.A B/ \ .A C /
(f)
(g)
(h)
(i)
(j)
A .B [ C /
.A B/ [ .A C /
A .B C /
.A B/ .A C /
BA
258
2. List all the relationships between the sets in Part (1) that you observe.
A B D .x; y/ 2 R2 j 1 x 3 and 2 y 5 :
A graph of the set A B can then be drawn in the Cartesian plane as shown in
Figure 5.6.
y
6
5
4
3
2
1
1
259
boundary. The solid line for the boundary in Figure 5.6 indicates that the boundary
is included. In this case, the Cartesian product contained all of the boundary of the
rectangle. When the graph does not contain a portion of the boundary, we usually
draw that portion of the boundary with a dotted line.
Note: A Caution about Notation. The standard notation for an open interval in R
is the same as the notation for an ordered pair, which is an element of R R. We
need to use the context in which the notation is used to determine which interpretation is intended. For example,
p
p
2; 7 2 R R, then we are using
2; 7 to represent an
If we write
ordered pair of real numbers.
If we write .1; 2/ f4g, then we are interpreting .1; 2/ as an open interval.
We could write
.1; 2/ f4g D f .x; 4/ j 1 < x < 2g:
The following progress check explores some of the same ideas explored in Progress
Check 5.23 except that intervals of real numbers are used for the sets.
Progress Check 5.24 (Cartesian Products of Intervals)
We will use the following intervals that are subsets of R.
A D 0; 2
T D .1; 2/
B D 2; 4/
C D .3; 5
1. Draw a graph of each of the following subsets of the Cartesian plane and
write each subset using set builder notation.
(a) A B
(b) T B
(f) A .B [ C /
(g) .A B/ [ .A C /
(c) A C
(h) A .B
(e) .A B/ \ .A C /
(j) B A
(d) A .B \ C /
(i) .A B/
C/
.A C /
2. List all the relationships between the sets in Part (1) that you observe.
One purpose of the work in Progress Checks 5.23 and 5.24 was to indicate the
plausibility of many of the results contained in the next theorem.
260
C / D .A B/
.A C /
B/ C D .A C /
.B C /
7. If T A, then T B A B.
8. If Y B, then A Y A B.
We will not prove all these results; rather, we will prove Part (2) of Theorem 5.25 and leave some of the rest to the exercises. In constructing these proofs,
we need to keep in mind that Cartesian products are sets, and so we follow many of
the same principles to prove set relationships that were introduced in Sections 5.2
and 5.3.
The other thing to remember is that the elements of a Cartesian product are
ordered pairs. So when we start a proof of a result such as Part (2) of Theorem 5.25,
the primary goal is to prove that the two sets are equal. We will do this by proving
that each one is a subset of the other one. So if we want to prove that A.B [ C /
.A B/[ .A C /, we can start by choosing an arbitrary element of A .B [ C /.
The goal is then to show that this element must be in .A B/[.A C /. When we
start by choosing an arbitrary element of A .B [ C /, we could give that element
a name. For example, we could start by letting
u be an element of A .B [ C /:
(1)
(2)
(3)
261
(4)
If we look at the sentences in (2) and (4), it would seem that we are very close to
proving that A .B [ C / .A B/ [ .A C /. Following is a proof of Part (2)
of Theorem 5.25.
Theorem 5.25 (Part (2)). Let A, B, and C be sets. Then
A .B [ C / D .A B/ [ .A C / :
Proof. Let A, B, and C be sets. We will prove that A .B [ C / is equal to
.A B/ [ .A C / by proving that each set is a subset of the other set.
To prove that A .B [ C / .A B/ [ .A C /, we let u 2 A .B [ C /.
Then there exists x 2 A and there exists y 2 B [ C such that u D .x; y/. Since
y 2 B [ C , we know that y 2 B or y 2 C .
In the case where y 2 B, we have u D .x; y/, where x 2 A and y 2 B. So
in this case, u 2 A B, and hence u 2 .A B/ [ .A C /. Similarly, in the case
where y 2 C , we have u D .x; y/, where x 2 A and y 2 C . So in this case,
u 2 A C and, hence, u 2 .A B/ [ .A C /.
In both cases, u 2 .A B/ [ .A C /. Hence, we may conclude that if u is an
element of A .B [ C /, then u 2 .A B/ [ .A C /, and this proves that
A .B [ C / .A B/ [ .A C /:
(1)
(2)
262
Final Note. The definition of an ordered pair in Preview Activity 2 may have
seemed like a lengthy definition, but in some areas of mathematics, an even more
formal and precise definition of ordered pair is needed. This definition is explored in Exercise (10).
(a) A B
(b) B A
(c) A C
(d) A
(e) A .B \ C /
(f) .A B/ \ .A C /
(g) A ;
(h) B f2g
(e) R .2; 4/
(c) 2; 3 f1g
(g) R f 1g
(f) .2; 4/ R
(h) f 1g 1; C1/
C / D .A B/
.A C /.
263
264
5.5
C D f3; 4; 5; 6; 7g
B D f2; 3; 4; 5; 6g
D D f4; 5; 6; 7; 8g.
(e) .A \ B \ C / \ D
(c) A [ .B [ C / [ D
(g) A \ .B \ C / \ D
(b) A [ .B [ C [ D/
(d) .A [ B/ [ .C [ D/
(f) A \ .B \ C \ D/
(h) .A \ B/ \ .C \ D/
3. Based on the work in Part (2), does the placement of the parentheses matter
when determining the union (or intersection) of these four sets? Does this
make it possible to define A [ B [ C [ D and A \ B \ C \ D?
We have already seen that the elements of a set may themselves be sets. For
example, the power set of a set T , P.T /, is the set of all subsets of T . The phrase,
a set of sets sounds confusing, and so we often use the terms collection and
family when we wish to emphasize that the elements of a given set are themselves
sets. We would then say that the power set of T is the family (or collection) of sets
that are subsets of T .
265
One of the purposes of the work we have done so far in this preview activity
was to show that it is possible to define the union and intersection of a family of
sets.
Definition. Let C be a family of sets. The union over C is defined as the set
of all elements that are in at least one of the sets in C. We write
[
X2C
X D fx 2 U j x 2 X for some X 2 Cg
The intersection over C is defined as the set of all elements that are in all of
the sets in C. That is,
\
X2C
X D fx 2 U j x 2 X for all X 2 Cg
For example, consider the four sets A, B, C , and D used earlier in this preview
activity and the sets
S D f5; 6; 7; 8; 9g
X2A
X DA[B [C [D
and
X2A
X D A \ B \ C \ D;
X and
X2A
X and
X2B
X.
X2A
X.
X2B
X2A
c
and
X2A
X c. Remember
266
X.
4
S
Cj to
j D1
X2C
1. Determine
4
S
Cj and
j D1
4
T
Cj.
j D1
We can see that with the use of subscripts, we do not even have to define the family
of sets A. We can work with the infinite family of sets
C D fAn j n 2 Ng
and use the subscripts to indicate which sets to use in a union or an intersection.
2. Use the roster method to specify each of the following pairs of sets. The
universal set is N.
(a)
(b)
6
S
Cj and
6
T
j D1
j D1
8
S
8
T
j D1
Cj and
j D1
Cj
(c)
8
S
Cj and
j D4
Cj
(d)
4
T
j D1
Cj
!c
8
T
Cj
j D4
and
4
S
j D1
Cjc
267
is a natural number and A D fA1 ; A2 ; : : : ; Ang is a family of n sets, then the union
n
S
of these n sets, denoted by A1 [ A2 [ [ An or
Aj , is defined as
j D1
n
[
j D1
Aj D x 2 U j x 2 Aj ; for some j with 1 j n :
n
\
j D1
Aj D x 2 U j x 2 Aj ; for all j with 1 j n :
We can also extend this idea to define the union and intersection of a family that
consists of infinitely many sets. So if B D fB1 ; B2 ; : : : ; Bn ; : : : g, then
1
[
j D1
1
\
j D1
Bj D x 2 U j x 2 Bj ; for some j with j 1 ; and
Bj D x 2 U j x 2 Bj ; for all j with j 1 :
For each natural number n, let An D 1; n; n2 . For example,
A1 D f1g
A2 D f1; 2; 4g,
A3 D f1; 3; 9g,
and
3
S
j D1
3
T
Aj D f1; 2; 3; 4; 9g,
j D1
Aj D f1g.
6
S
j D1
Aj
2.
6
T
j D1
Aj
3.
6
S
j D3
Aj
268
4.
j D3
Aj
5.
1
S
Aj
j D1
6.
1
T
Aj
j D1
2ng, and
2. Is the following statement true or false for the indexed family A in (1)?
For all m; n 2 , if m n, then Am An .
3. Now let D R. For each x 2 R, define Bx D 0; x 2; x 4 . Is the following
statement true for the indexed family of sets B D fBx j x 2 Rg?
For all x; y 2 R, if x y, then Bx By .
We now restate the definitions of the union and intersection of a family of sets
for an indexed family of sets.
269
The intersection over A is the set of all elements that are in all of the sets A
for each 2 . That is,
\
A D fx 2 U j for all 2 ; x 2 A g:
1 < x g:
If we let RC be the set of positive real numbers, then we have a family of sets
indexed by RC . We will first determine the union of this family of sets. Notice
that for each 2 RC , 2 A , and if y is a real number with 1 < y 0, then
y 2 A . Also notice that if y 2 R and y < 1, then for each 2 RC , y A .
With these observations, we conclude that
[
2RC
A D . 1; 1/ D fx 2 R j 1 < xg:
y
, y > and y A .
2
2RC
A D . 1; 0 D fx 2 R j 1 < x 0g:
270
2.
2RC
Ac
4.
2RC
Ac
2RC
j D1
A A .
2. For each 2 , A
3.
4.
c
c
D
D
Ac
Ac
A .
271
!c
Ac :
(1)
!c
Ac
(2)
T
c
Ac .
Many of the other properties of set operations are also true for indexed families
of sets. Theorem 5.31 states the distributive laws for set operations.
Theorem 5.31. Let be a nonempty indexing set, let A D fA j 2 g be an
indexed family of sets, and let B be a set. Then
272
1. B \
2. B [
D
D
.B \ A /, and
.B [ A /.
B4
B1
A
1
A2
A4
B2
A3
B3
273
(a)
3
T
Aj
(d)
j D1
(b)
3
S
7
T
Aj
j D3
Aj
7
S
(e) A9 \
j D1
(c)
7
S
Aj
(f)
j D3
7
S
j D3
Aj
j D3
A9 \ Aj
(a)
5
T
Aj
j D1
(b)
5
T
Aj
j D1
(c)
5
T
j D1
?
(d)
5
S
j D1
Ajc
(e)
!c
5
S
Aj
j D1
?
(f)
5
S
Aj
j D1
(g)
Aj
j 2N
Ajc
(h)
j 2N
Aj
!c
274
Tr D x 2 R r 2 x r 2 :
r 2; r 2 .
(a)
Tk
k2
?
(b)
(c)
Tr
(e)
(d)
Tr
(f)
r 2RC
k2
Tk
k2N
r 2RC
Tk
S
T
Tk
k2N
4. Prove Parts (2) and (4) of Theorem 5.30. Let be a nonempty indexing set
and let A D fA j 2 g be an indexed family of sets.
S
?
(a) For each 2 , A
A .
(b)
c
Ac
.B [ A /.
(b) Write
sets.
A
275
(b)
A
9. For each natural number n, let An D fx 2 R j n 1 < x < ng. Prove that
fAn jn 2 N g is a pairwise disjoint family of sets and that
S
An D R C N .
n2N
11. Give an example of an indexed family of sets fAn jn 2 N g such all three of
the following conditions are true:
(i) For each m 2 N, Am .0; 1/;
(ii) For each j; k 2 N, if j k, then Aj \ Ak ;; and
T
Ak D ;.
(iii)
k2N
(c) B
BD
A
.A
B/
.B
A /
276
(d) B
.B
A /
Cr D .x; y/ 2 R R j x 2 C y 2 D r 2
Dr D .x; y/ 2 R R j x 2 C y 2 r 2
Tr D .x; y/ 2 R R j x 2 C y 2 > r 2 D Drc :
If r > 0, then the set Cr is the circle of radius r with center at the origin
as shown in Figure 5.8, and the set Dr is the shaded disk (including the
boundary) shown in Figure 5.8.
r
r
Cr
Dr
Cr and
r 2R
(b) Determine
r 2R
Cr .
r 2R
Dr and
r 2R
(c) Determine
Dr .
r 2R
Tr and
Tr .
r 2R
277
Cr ,
r 2I
(f) Determine
(g) Determine
Dr ,
(h) Determine
Cr , and
r 2J
Dr ,
r 2I
Cr .
r 2J
Dr , and
r 2J
Dr .
r 2J
c
c
c
c
T
S
T
Dr ,
Dr ,
Dr , and
Dr .
r 2I
Cr ,
r 2I
r 2I
Tr ,
r 2I
r 2I
Tr ,
r 2I
r 2J
r 2J
Tr , and
r 2J
Tr .
r 2J
(i) Use De Morgans Laws to explain the relationship between your answers in Parts (13g) and (13h).
5.6
Chapter 5 Summary
Important Definitions
Equal sets, page 55
Subset, page 55
of
finite
set,
278
A\;D;
A[;DA
A\U DA
A[U DU
Idempotent Laws
A\ADA
A[A DA
Commutative Laws
A\B DB \A
A[B DB [A
Associative Laws
.A \ B/ \ C D A \ .B \ C /
.A [ B/ [ C D A [ .B [ C /
Distributive Laws
A \ .B [ C / D .A \ B/ [ .A \ C /
A [ .B \ C / D .A [ B/ \ .A [ C /
Theorem 5.20. Let A and B be subsets of some universal set U . Then the
following are true:
Basic Properties
.Ac /c D A
A B D A \ Bc
A ; D A and A U D ;
;c D U and U c D ;
De Morgans Laws
.A \ B/c D Ac [ B c
.A [ B/c D Ac \ B c
A B if and only if B c Ac .
279
2. A .B [ C / D .A B/ [ .A C /
3. .A \ B/ C D .A C / \ .B C /
4. .A [ B/ C D .A C / [ .B C /
5. A .B C / D .A B/ .A C /
6. .A B/ C D .A C / .B C /
7. If T A, then T B A B.
8. If Y B, then A Y A B.
2. For each 2 , A
3.
4.
c
c
D
D
A .
Ac
Ac
280
In the forward process of the proof, we then we choose an arbitrary element with
the given property.
Whenever we choose an arbitrary element with a given property,
we are not selecting a specific element. Rather, the only thing we
can assume about the element is the given property.
For more information, see page 232.