Docsity

Solutions to Homework Problems in Set Theory and Relations, Assignments of Mathematics

Toggle sidebar
bg1
Homework 1 solutions
1. Let A={x∈N|xis an odd number less than 8}={1,3,5,7},B={3,4,5,6,7},C={x2|x=
0,1,2}={0,1,4}
(a) A∪B={1,3,4,5,6,7}
(b) B\(A∪C) = {3,4,5,6,7}\{1,3,4,5,7}={6}
(c) C⊕B= (C∪B)\(C∩B) = {0,1,3,4,5,6,7}\{4}={0,1,3,5,6,7}
(d) A×C={(1,0),(1,1),(1,4),(3,0),(3,1),(3,4),(5,0),(5,1),(5,4),(7,0),(7,1),(7,4)}
2. Using the properties of unions, intersections and complements, simplify the following:
(a) ((A∪B)c∪Ac)c
= (A∪B)∩Ausing Demorgan’s law on the outer complement
=ALogically, the intersection of A∪Bwith Ais A.
(b) ((Ac∩(Ac∪C)c)c∩Dc)c
= (Ac∩(Ac∪C)c)∪Dusing Demorgan’s Law
= (Ac∩(A∩Cc)) ∪Dusing Demorgan’s Law
= (∅ ∩ Cc)∪Dusing complement property
=∅ ∪ D
=D
3. Let Abe the set of all integers Zand let Rbe the relation “greater than or equal to”. Determine
whether Ris reflexive, symmetric, antisymmetric or transitive
•Reflexive: a≥aTrue
•Symmetric: If a≥bthen b≥aFalse
•Antisymmetric: If a≥bAND b≥athen a=bTrue
•Transitive: If a≥band b≥cthen a≥cTrue
4. A={−1,0,1,2}and Ris the relation on A where (a, b)∈Rif and only if a2=b2. This is an
equivalence relation. What are the elements of R? What are the equivalence classes?
R={(−1,−1),(0,0),(1,1),(2,2),(1,−1),(−1,1)}
The equivalence classes are 0 = {0},2 = {2},1 = −1 = {−1,1}
5. True or False
(a) {3, a} ∈ {1,3, a, b}False. {3,a}is a subset, not an element.
(b) {3, a} ∈ {1,{3, a},7}True.
(c) ∅ 6⊂ {1}False. The empty set is a subset of every set.
(d) |P({5,8,0,4,3,6})|= 32 False. The set contains 6 elements. So the power set contains 26= 64
elements.
(e) 18 ≡3 mod 4 False. 18 −3 = 15 but 15 does not divide 4.
(f) −30 ≡6 mod 9 True. −30 −6 = −36 and -36 is divisible 9.
6. What are the equivalence classes of the relation “congruence mod 8?”
8Z,8Z+ 1,8Z+ 2,8Z+ 3,8Z+ 4,8Z+ 5,8Z+ 6,8Z+ 7
1
pf2

Partial preview of the text

Download Solutions to Homework Problems in Set Theory and Relations and more Assignments Mathematics in PDF only on Docsity!

Homework 1 solutions

  1. Let A = {x ∈ N | x is an odd number less than 8} = { 1 , 3 , 5 , 7 }, B = { 3 , 4 , 5 , 6 , 7 }, C = {x^2 |x = 0 , 1 , 2 } = { 0 , 1 , 4 } (a) A ∪ B = { 1 , 3 , 4 , 5 , 6 , 7 } (b) B \ (A ∪ C) = { 3 , 4 , 5 , 6 , 7 } \ { 1 , 3 , 4 , 5 , 7 } = { 6 } (c) C ⊕ B = (C ∪ B) \ (C ∩ B) = { 0 , 1 , 3 , 4 , 5 , 6 , 7 } \ { 4 } = { 0 , 1 , 3 , 5 , 6 , 7 } (d) A × C = {(1, 0), (1, 1), (1, 4), (3, 0), (3, 1), (3, 4), (5, 0), (5, 1), (5, 4), (7, 0), (7, 1), (7, 4)}
  2. Using the properties of unions, intersections and complements, simplify the following:

(a) ((A ∪ B)c^ ∪ Ac)c = (A ∪ B) ∩ A using Demorgan’s law on the outer complement = A Logically, the intersection of A ∪ B with A is A. (b) ((Ac^ ∩ (Ac^ ∪ C)c)c^ ∩ Dc)c = (Ac^ ∩ (Ac^ ∪ C)c) ∪ D using Demorgan’s Law = (Ac^ ∩ (A ∩ Cc)) ∪ D using Demorgan’s Law = (∅ ∩ Cc) ∪ D using complement property = ∅ ∪ D = D

  1. Let A be the set of all integers Z and let R be the relation “greater than or equal to”. Determine whether R is reflexive, symmetric, antisymmetric or transitive - Reflexive: a ≥ a True - Symmetric: If a ≥ b then b ≥ a False - Antisymmetric: If a ≥ b AND b ≥ a then a = b True - Transitive: If a ≥ b and b ≥ c then a ≥ c True
  2. A = {− 1 , 0 , 1 , 2 } and R is the relation on A where (a, b) ∈ R if and only if a^2 = b^2. This is an equivalence relation. What are the elements of R? What are the equivalence classes?

R = {(− 1 , −1), (0, 0), (1, 1), (2, 2), (1, −1), (− 1 , 1)} The equivalence classes are 0 = { 0 }, 2 = { 2 }, 1 = −1 = {− 1 , 1 }

  1. True or False

(a) { 3 , a} ∈ { 1 , 3 , a, b} False. { 3 , a} is a subset, not an element. (b) { 3 , a} ∈ { 1 , { 3 , a}, 7 } True. (c) ∅ 6 ⊂ { 1 } False. The empty set is a subset of every set. (d) |P({ 5 , 8 , 0 , 4 , 3 , 6 })| = 32 False. The set contains 6 elements. So the power set contains 2^6 = 64 elements. (e) 18 ≡ 3 mod 4 False. 18 − 3 = 15 but 15 does not divide 4. (f) − 30 ≡ 6 mod 9 True. − 30 − 6 = −36 and -36 is divisible 9.

  1. What are the equivalence classes of the relation “congruence mod 8?”

8 Z, 8 Z + 1, 8 Z + 2, 8 Z + 3, 8 Z + 4, 8 Z + 5, 8 Z + 6, 8 Z + 7

1

  1. Draw the Hasse diagram for the partial order ({ 2 , 3 , 5 , 15 , 18 , 90 },′^ |′). What are the maximal, minimal, maximum and minimum elements? 2 divides 2,18, 3 divides 3,15,18, 5 divides 5,15, 15 divides 15, 18 divides 18, 90 divides 90 maximum: 90 minimum: none maximal: 90 minimal: 2,3,
  2. Draw the Hasse diagram for the partial order ({ 1 , 2 , 3 , 5 , 7 , 10 , 21 , 30 , 35 , 216 },′^ |′). What are the maxi- mal, minimal, maximum and minimum elements? 1 divides all 2 divides 2,10,30, 3 divides 3,21,30, 5 divides 5,10,30, 7 divides 7,21, 10 divides 10, 21 divides 21 30 divides 30 35 divides 35 216 divides 216 maximum: none minimum: 1 maximal: 21,30,35, minimal: 1