Deck 9: Relations

ملء الشاشة (f)
exit full mode
سؤال
Show that the inclusion relation, Show that the inclusion relation,   , is a partial ordering on the set of all subsets of <div style=padding-top: 35px> , is a partial ordering on the set of all subsets ofShow that the inclusion relation,   , is a partial ordering on the set of all subsets of <div style=padding-top: 35px>
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Show that the relation Show that the relation   is an equivalence relation on the set of rational numbers. What are the equivalence classes of 0 and 12 ?<div style=padding-top: 35px> is an equivalence relation on the set of rational numbers. What are the equivalence classes of 0 and 12 ?
سؤال
Consider the poset with the following Hasse diagram. Consider the poset with the following Hasse diagram.   (a) Find all maximal elements of the poset. (b) Find all minimal elements of the poset. (c) Find the least element of the poset if it exists, or show that it does not exist. (d) Find the greatest element of the poset if it exists, or show that it does not exist. (e) What is the greatest lower bound of the set {a, b, c}? (f) What is the least upper bound of the set {a, b, c}?<div style=padding-top: 35px> (a) Find all maximal elements of the poset. (b) Find all minimal elements of the poset. (c) Find the least element of the poset if it exists, or show that it does not exist. (d) Find the greatest element of the poset if it exists, or show that it does not exist. (e) What is the greatest lower bound of the set {a, b, c}? (f) What is the least upper bound of the set {a, b, c}?
سؤال
What is the transitive closure of the relation in problem 3?
سؤال
Which ordered pairs are in the relation { (x, y) | x > y + 1 } on the set {1, 2, 3, 4}?
سؤال
Suppose that R1 and R2 are symmetric relations on a set A. Prove or disprove that R1 − R2 is also symmetric.
سؤال
Find the reflexive closure and the symmetric closure of the relation {(1,2),(1,4),(2,3),(3,1),(4,2)} on the set {1,2,3,4} .
سؤال
(a) Show that the relation (a) Show that the relation   and    are bit strings containing the same number of 0s }  is an equivalence relation. (b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation  ?<div style=padding-top: 35px> and (a) Show that the relation   and    are bit strings containing the same number of 0s }  is an equivalence relation. (b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation  ?<div style=padding-top: 35px> are bit strings containing the same number of 0s } is an equivalence relation.
(b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation (a) Show that the relation   and    are bit strings containing the same number of 0s }  is an equivalence relation. (b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation  ?<div style=padding-top: 35px> ?
سؤال
What is the join of the 3-ary relation {(Lewis, MS410, N507), (Rosen, CS540, N525), (Smith, CS518, N504), (Smith, MS410, N510)} and the 4-ary {(MS410, N507,Monday, 6: 00), (MS410, N507, Wednesday, 6: 00), (CS540, N525, Monday, 7: 30), (CS518, N504, Tuesday, 6: 00), (CS518, N504, Thursday, 6: 00)} with respect to the last two fields of the first relation and the first two fields of the second relation?
سؤال
(a) Are the sets {1,3,6},{2,4,7} , and {5} a partition of {1,2,3,4,5,6,7} ?
(b) Are the sets {1,2,4,5},{3,6,7} , and {2,3} a partition of {1,2,3,4,5,6,7} ?
سؤال
What are the minimal and maximal elements in the poset with the following Hasse diagram? Are there least
سؤال
Consider the following relations on the set of positive integers. Consider the following relations on the set of positive integers.   (a) Which of these relations are reflexive? Justify your answers. (b) Which of these relations are symmetric? Justify your answers. (c) Which of these relations are antisymmetric? Justify your answers. (d) Which of these relations are transitive? Justify your answers.<div style=padding-top: 35px> (a) Which of these relations are reflexive? Justify your answers. (b) Which of these relations are symmetric? Justify your answers. (c) Which of these relations are antisymmetric? Justify your answers. (d) Which of these relations are transitive? Justify your answers.
سؤال
  b) and (b, c) with a = b and b = c. R1 is not transitive since (3, 1) and (1, 3) belong to R1 but (3, 3) is not in R1. R3 is not transitive since (1, 2) and (2, 1) belong to R3 but (1, 1) does not belong to R3.<div style=padding-top: 35px>
b) and (b,
c) with
a = b and b = c. R1 is not transitive since (3, 1) and (1, 3) belong to R1 but (3, 3) is not in R1. R3
is not transitive since (1, 2) and (2, 1) belong to R3 but (1, 1) does not belong to R3.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/13
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 9: Relations
1
Show that the inclusion relation, Show that the inclusion relation,   , is a partial ordering on the set of all subsets of , is a partial ordering on the set of all subsets ofShow that the inclusion relation,   , is a partial ordering on the set of all subsets of
We see that set inclusion is reflexive since A We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. A whenever A is a subset of We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. . Since A We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. B and B We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. A imply that A=B whenever A and B are subsets of We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. , we see that set inclusion is antisymmetric. Now suppose that A We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. B and B We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. C where A, B , and C are subsets of We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. Then A We see that set inclusion is reflexive since  A   A  whenever  A  is a subset of    .  Since  A   B  and  B   A  imply that  A=B  whenever  A  and  B  are subsets of    , we see that set inclusion is antisymmetric. Now suppose that  A   B  and  B   C  where  A, B , and  C  are subsets of   Then  A    C , so set inclusion is transitive. C , so set inclusion is transitive.
2
Show that the relation Show that the relation   is an equivalence relation on the set of rational numbers. What are the equivalence classes of 0 and 12 ? is an equivalence relation on the set of rational numbers. What are the equivalence classes of 0 and 12 ?
3
Consider the poset with the following Hasse diagram. Consider the poset with the following Hasse diagram.   (a) Find all maximal elements of the poset. (b) Find all minimal elements of the poset. (c) Find the least element of the poset if it exists, or show that it does not exist. (d) Find the greatest element of the poset if it exists, or show that it does not exist. (e) What is the greatest lower bound of the set {a, b, c}? (f) What is the least upper bound of the set {a, b, c}? (a) Find all maximal elements of the poset. (b) Find all minimal elements of the poset. (c) Find the least element of the poset if it exists, or show that it does not exist. (d) Find the greatest element of the poset if it exists, or show that it does not exist. (e) What is the greatest lower bound of the set {a, b, c}? (f) What is the least upper bound of the set {a, b, c}?
4
What is the transitive closure of the relation in problem 3?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which ordered pairs are in the relation { (x, y) | x > y + 1 } on the set {1, 2, 3, 4}?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
6
Suppose that R1 and R2 are symmetric relations on a set A. Prove or disprove that R1 − R2 is also symmetric.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
7
Find the reflexive closure and the symmetric closure of the relation {(1,2),(1,4),(2,3),(3,1),(4,2)} on the set {1,2,3,4} .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
8
(a) Show that the relation (a) Show that the relation   and    are bit strings containing the same number of 0s }  is an equivalence relation. (b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation  ? and (a) Show that the relation   and    are bit strings containing the same number of 0s }  is an equivalence relation. (b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation  ? are bit strings containing the same number of 0s } is an equivalence relation.
(b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation (a) Show that the relation   and    are bit strings containing the same number of 0s }  is an equivalence relation. (b) What are the equivalence classes of the bit strings 1, 00, and 101 under the relation  ??
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
9
What is the join of the 3-ary relation {(Lewis, MS410, N507), (Rosen, CS540, N525), (Smith, CS518, N504), (Smith, MS410, N510)} and the 4-ary {(MS410, N507,Monday, 6: 00), (MS410, N507, Wednesday, 6: 00), (CS540, N525, Monday, 7: 30), (CS518, N504, Tuesday, 6: 00), (CS518, N504, Thursday, 6: 00)} with respect to the last two fields of the first relation and the first two fields of the second relation?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
10
(a) Are the sets {1,3,6},{2,4,7} , and {5} a partition of {1,2,3,4,5,6,7} ?
(b) Are the sets {1,2,4,5},{3,6,7} , and {2,3} a partition of {1,2,3,4,5,6,7} ?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
11
What are the minimal and maximal elements in the poset with the following Hasse diagram? Are there least
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
12
Consider the following relations on the set of positive integers. Consider the following relations on the set of positive integers.   (a) Which of these relations are reflexive? Justify your answers. (b) Which of these relations are symmetric? Justify your answers. (c) Which of these relations are antisymmetric? Justify your answers. (d) Which of these relations are transitive? Justify your answers. (a) Which of these relations are reflexive? Justify your answers. (b) Which of these relations are symmetric? Justify your answers. (c) Which of these relations are antisymmetric? Justify your answers. (d) Which of these relations are transitive? Justify your answers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
13
  b) and (b, c) with a = b and b = c. R1 is not transitive since (3, 1) and (1, 3) belong to R1 but (3, 3) is not in R1. R3 is not transitive since (1, 2) and (2, 1) belong to R3 but (1, 1) does not belong to R3.
b) and (b,
c) with
a = b and b = c. R1 is not transitive since (3, 1) and (1, 3) belong to R1 but (3, 3) is not in R1. R3
is not transitive since (1, 2) and (2, 1) belong to R3 but (1, 1) does not belong to R3.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.