DMS Boolean Algebra Tutorial
DMS Boolean Algebra Tutorial
d) x (x + y + z)
Q17 Show that
a) x = x | x .
b) x y = (x | y) | (x | y).
c) x + y = (x | x) | (y | y).
Q18 Find the K-maps for (a) xy + x y , (b) x y + x y , and (c) x y + x y
+ x y .
Q19 Use K-maps to minimize these sum-of-products expansions.
(a) x y z+x y z+ x y z+ x y z
(b) x y z + x y z + x y z + x y z + x y z
Q20 Use K-maps to simplify these sum-of-products expansions.
(a) w x y z + w x y z + w x y z + w x y z + w x y z + w x y z +
w x y z + w x y z + w x y z
(b) w x y z + w x y z + w x y z + w x y z + w x y z + w x y z +
w x y z
Q 21
Q22
Q23
c)
d)
Q24
Q25
Q26
Q27
Q28
Q29
Q30
Partial Orderings
Q32 Show that the "greater than or equal" relation ( ) is a partial
ordering on the set of integers.
Q33 Show that the inclusion relation is a partial ordering on the
power set of a set S.
Q34 Let R be the relation on the set of people such that x R y if x and
yare people and x is older than y. Show that R is not a partial ordering.
NOTE : The poset (Z, < ) is totally ordered, because a < b or b < a
whenever a and b are integers.
NOTE : The set of ordered pairs of positive integers, Z+ X Z+, with
(a1, a2) (b1 , b2 ) if al < b1 , or if a1 = b1 and a2 < b2 (the lexicographic
ordering), is a well-ordered set.
NOTE: The set Z, with the usual < ordering, is not well-ordered because
the set of negative integers, which is a subset of Z, has no least
element.
Q 38
Which of these relations on to {0, 1, 2, 3} are partial orderings? Determine the properties of a partial ordering that
the others lack.
a) {(0, 0), (1,1), (2, 2), (3, 3)}
b) {(0, 0), (1, 1), (2, 0), (2, 2), (2, 3), (3, 2), (3, 3)}
c) {(0, 0), (1,1), (1, 2), (2, 2), (3, 3)}
d) {(0, 0), (1, 1), (1, 2), (1, 3), (2, 2), (2, 3), (3, 3)}
e) {(0, 0), (0,1), (0, 2), (1, 0), (1,1), (1, 2), (2, 0),
(2,2), (3, 3)}
Q 39
Which of these relations on {0,1, 2, 3} are partial orderings? Determine the properties of a partial ordering that
the others lack.
a) {(0, 0), (2, 2), (3, 3)}
b) {(0, 0), (1, 1), (2, 0), (2, 2), (2, 3), (3, 3)}
c) {(0,0),(1, 1),(1,2),(2,2),(3, 1),(3,3)}
d) {(0, 0), (1,1), (1, 2), (1, 3), (2, 0), (2, 2), (2, 3), (3, 0), (3,3)}
e) {(0, 0), (0,1), (0, 2), (0, 3), (1, 0), (1,1), (1, 2), (1, 3),
(2, 0), (2, 2), (3, 3)}
Q40
Is (S, R) a poset if S is the set of all people in the world
and (a, b) R, where a and b are people, if
a) a is no shorter than b?
b) a weighs more than b?
c) a = b or a is a descendant of b?
d) a and b do not have a common friend?
Q 41
Which of these are posets?
a) (Z, =) b) (Z, ) c) (Z , ) d)(Z, not divisible by)
Q 42
Which of these are posets?
a) (R, =) b) (R, <) c) (R, ) d) (R, )
Q43
Determine whether the relations represented by these
zero-one matrices are partial orders.
a)
1 1 1
1 1 0
0 0 1
b) 1 1 1
0 1 0
0 0 1
c) 1 1 1 0
0110
001 1
1101
Q 44
Let (S, R) be a poset. Show that (S, R-1 ) is also a poset,
where R-1 is the inverse of R. The po set (S, R-1 ) is called
the dual of (S, R).
Q45
Find the duals of these posets.
a) ({0, 1, 2}, < ) (b) (Z , ) (c) (P(Z), ) (d) (Z+, |)
Q 46
Find the lexicographic ordering of the bit strings 0, 01,
11, 001, 010, 011, 0001, and 0101 based on the ordering
0 < 1.
Q 47
Draw the Hasse diagram for the "greater than or equal to"
relation on to {0, 1, 2, 3, 4, 5}.
Q 48
Draw the Hasse diagram for the "less than or equal to"
relation on to {0, 2, 5, 10, 11, 15}.
Q 49
Let (S, ) be a poset. We say that an element y S covers
an element x S if x y and there is no element z S such
that x z y. The set of pairs (x, y) such that y covers x is
called the covering relation of (S, ).
Q 50 What is the covering relation of the partial ordering
{(a, b) / a divides b} on {1, 2, 3, 4, 6, 12}?
Q 51 What is the covering relation of the partial ordering
{(A, B) / A B} on the power set of S, where S = {a, b, c}?