Professional Documents
Culture Documents
Discrete Math Lecture 04 & HW2
Discrete Math Lecture 04 & HW2
Mathematics
Relations #2
Outlines
Closures of Relations
Reflexive closure
Symmetric closure
Transitive closure
Equivalence Relations
Partial Orderings Relations
Closures of Relations
1.(Reflexive closure of R on A)
Rr=the smallest reflexive relation containing R.
Rr=R ∪{ (a, a) | aA , (a, a)R}
2.(Symmetric closure of R on A)
Rs=the smallest symmetric relation containing R.
Rs=R ∪{ (b, a) | (a, b)R and (b, a) R}
3.(Transitive closure of R on A)
Rt=the smallest transitive relation containing R.
Rt=R∪{(a, c) | (a, b)Rt and (b, c)Rt, but (a, c)Rt}(repeat)
Note. There is no antisymmetric closure
Reflexive closure
Example :
The relation R={(1,1), (1,2), (2,1), (3,2)} on the set A=
{1, 2, 3} is not reflexive.
Q: How to construct a smallest reflexive relation Rr s
uch that R Rr ?
Sol: Let Rr = R {(2,2), (3,3)}.
i. e., Rr = R D, where D={(a, a)| a A}.
Rr is a reflexive relation containing R that is as small
as possible. It is called the reflexive closure of R.
Symmetric closure
Example :
The relation R={ (1,1),(1,2),(2,2),(2,3),(3,1),(3,2) } on
the set A={1,2,3} is not symmetric. Find a smallest
symmetric relation Rs containing R.
Solution : Let R-1={ (b, a) | (a, b)R }
Let Rs= R∪R-1={ (1,1),(1,2),(2,1),(2,2),(2,3),
(3,1),(1,3),(3,2) }
= {(1,2),(2,3),(3,4),(4,5),
(1,3), (2,4), (3,5),
(1,4), (2,5),
5
(1,5)}
2 4
Equivalence Relations
Definition. A relation R on a set A is called an equivalence re
lation if it is reflexive, symmetric, and transitive.
#2
Determine whether the relations above are reflexive,
irreflexive, symmetric, antisymmetric, and/or transitive
and AND WHY ?
#3
List the ordered pairs the relations on {1, 2, 3, 4} corresponding to these
matrices (where the rows and columns correspond to the integers listed in
increasing order).
#4
Determine whether the relations represented by the
matrices are reflexive, irreflexive, symmetric,
antisymmetric, and/or transitive AND WHY ?
#5
Draw the directed graph representing each of the relations
#6
Let R1 and R2 be relations on a set A represented by the matrices
#8
Determine whether the relations represented
by the directed graphs shown are reflexive,
irreflexive, symmetric, antisymmetric,
asymmetric, and/or transitive. AND WHY ?
#9
Let R be the relation on the set {0, 1, 2, 3} containing the ordered pairs (0, 1), (1,
1), (1, 2), (2, 0), (2, 2), and (3, 0). Find the
a) reflexive closure of R.
b) symmetric closure of R.
#10
Draw the directed graph of
- the reflexive closure
- the symmetric closures
of the relations with the directed graph shown bellow.
#11
Find the transitive closures of these relations on {1, 2, 3, 4}.
a) {(1, 2), (2,1), (2,3), (3,4), (4,1)}
b) {(2, 1), (2,3), (3,1), (3,4), (4,1), (4, 3)}
c) {(1, 2), (1,3), (1,4), (2,3), (2,4), (3, 4)}
d) {(1, 1), (1,4), (2,1), (2,3), (3,1), (3, 2), (3,4), (4, 2)}
#12
Which of these relations on {0, 1, 2, 3} are equivalence
Relations? And WHY ? For the not equivalence relation, what
is/are the lacked elements to make it equivalence ?
a) {(0, 0), (1, 1), (2, 2), (3, 3)}
b) {(0, 0), (0, 2), (2, 0), (2, 2), (2, 3), (3, 2), (3, 3)}
c) {(0, 0), (1, 1), (1, 2), (2, 1), (2, 2), (3, 3)}
d) {(0, 0), (1, 1), (1, 3), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}
e) {(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0),(2, 2), (3, 3)}
#13
Determine whether the relation with the directed graph shown is an equivalence
relation.
#14
Determine whether the relations represented by these zero–one
matrices are equivalence relations.
#15
Which of these relations on {0, 1, 2, 3} are partial orderings? ? And WHY ?
For the not partial ordering , what is/are the lacked elements to make it
partial ordering ?
#16
Determine whether the relation with the directed graph shown is a partial
order.