Docsity

Assignment 5 Answers - Discrete Mathematical Structures | MATH 2513, Assignments of Mathematics

Toggle sidebar
bg1
Math 2513
Homework Assignment #5 – ANSWERS
due on Monday, September 11
Problem 1.Let Aand Bbe sets. Prove that if Ais a subset of Bthen A−B=∅.
Proof. Let Aand Bbe sets. Assume that Ais a subset of B. Suppose that xis an element of
A−B. Then x∈Aand x /∈Bby the definition of set difference. Since x∈Aand Ais a subset
of Bit follows from the definition of subset that x∈B. Therefore x∈Band x /∈B, but clearly
this statement is false. We conclude that our supposition that xwas an element of A−Bmust
be false. Thus A−Bcontains no elements, and so A−B=∅by the definition of the empty
set.
Problem 2.Show that A−(B∪C) = (A−B)∩(A−C) for all sets A,Band C. Do this by
showing that each set is a subset of the other. (This is a version of one of DeMorgan’s Laws.)
Proof. Let A,Band Cbe sets. We will show that A−(B∪C) equals (A−B)∩(A−C) by
showing that each of these sets is a subset of the other.
Let xbe an element of A−(B∪C). This means that x∈Aand x /∈B∪C. Since x /∈B∪C
it follows that x /∈Band x /∈C. (Because if x∈Bthen x∈B∪C, which is false. Similarly, if
x∈Cthen x∈B∪C, which is false.) Therefore x∈Aand x /∈Bwhich means that x∈A−B
by the definition of set difference. Likewise, x∈A−Csince x∈Aand x /∈C. Thus xis
an element of both A−Band A−C, and it follows that x∈(A−B)∩(A−C). Since an
arbitrary element xin A−(B∪C) is also an element of (A−B)∩(A−C), we have shown that
A−(B∪C)⊆(A−B)∩(A−C).
Let ybe an element of (A−B)∩(A−C). Then (1) y∈A−Band (2) y∈A−Cby the
definition of intersection. From (1) we know that y∈Aand y /∈B. From (2) we know that
y∈Aand y /∈C. Combining these statments we see that y /∈Band y /∈C, which means that
y /∈B∪C(because if ywere an element of B∪Cthen it would also be an element of at least
one of Bor C). Therefore, y∈Aand y /∈B∪C, and it follows that y∈A−(B∪C). Since an
arbitrary element yin (A−B)∩(A−C) is also an element of A−(B∪C), we have shown that
(A−B)∩(A−C)⊆A−(B∪C).
Now we have verified that A−(B∪C)⊆(A−B)∩(A−C) and that (A−B)∩(A−C)⊆A−(B∪C).
Thus the two sets are equal by the definition of set equality.

Partial preview of the text

Download Assignment 5 Answers - Discrete Mathematical Structures | MATH 2513 and more Assignments Mathematics in PDF only on Docsity!

Math 2513

Homework Assignment #5 – ANSWERS

due on Monday, September 11

Problem 1. Let A and B be sets. Prove that if A is a subset of B then A − B = ∅.

Proof. Let A and B be sets. Assume that A is a subset of B. Suppose that x is an element of A − B. Then x ∈ A and x /∈ B by the definition of set difference. Since x ∈ A and A is a subset of B it follows from the definition of subset that x ∈ B. Therefore x ∈ B and x /∈ B, but clearly this statement is false. We conclude that our supposition that x was an element of A − B must be false. Thus A − B contains no elements, and so A − B = ∅ by the definition of the empty set.

Problem 2. Show that A − (B ∪ C) = (A − B) ∩ (A − C) for all sets A, B and C. Do this by showing that each set is a subset of the other. (This is a version of one of DeMorgan’s Laws.)

Proof. Let A, B and C be sets. We will show that A − (B ∪ C) equals (A − B) ∩ (A − C) by showing that each of these sets is a subset of the other. Let x be an element of A − (B ∪ C). This means that x ∈ A and x /∈ B ∪ C. Since x /∈ B ∪ C it follows that x /∈ B and x /∈ C. (Because if x ∈ B then x ∈ B ∪ C, which is false. Similarly, if x ∈ C then x ∈ B ∪ C, which is false.) Therefore x ∈ A and x /∈ B which means that x ∈ A − B by the definition of set difference. Likewise, x ∈ A − C since x ∈ A and x /∈ C. Thus x is an element of both A − B and A − C, and it follows that x ∈ (A − B) ∩ (A − C). Since an arbitrary element x in A − (B ∪ C) is also an element of (A − B) ∩ (A − C), we have shown that A − (B ∪ C) ⊆ (A − B) ∩ (A − C). Let y be an element of (A − B) ∩ (A − C). Then (1) y ∈ A − B and (2) y ∈ A − C by the definition of intersection. From (1) we know that y ∈ A and y /∈ B. From (2) we know that y ∈ A and y /∈ C. Combining these statments we see that y /∈ B and y /∈ C, which means that y /∈ B ∪ C (because if y were an element of B ∪ C then it would also be an element of at least one of B or C). Therefore, y ∈ A and y /∈ B ∪ C, and it follows that y ∈ A − (B ∪ C). Since an arbitrary element y in (A − B) ∩ (A − C) is also an element of A − (B ∪ C), we have shown that (A − B) ∩ (A − C) ⊆ A − (B ∪ C). Now we have verified that A−(B∪C) ⊆ (A−B)∩(A−C) and that (A−B)∩(A−C) ⊆ A−(B∪C). Thus the two sets are equal by the definition of set equality.