Lecture 15
Lecture 15
Lecture 15
Lecture: 15
Example 1
Let A = {1, 2, 3, 4}
Define a relation R on A as (a, b) ∈ R iff a divides b (symbolically
written as a|b). Then
R = {(1, 1), (1, 2), (1, 3), (1, 4), (2, 2), (2, 4), (3, 3), (4, 4)}
REMARK
For any set A
1. A × A is known as the universal relation.
2. ∅ is known as the empty relation.
REMARK
R is not reflexive iff there is an element “a” in A such that
(a, a) 6∈ R. That is, some element “a” of A is not related to itself.
EXAMPLE
Let A = {1, 2, 3, 4} and define relations R1 , R2 , R3 , R4 on A as
follows:
R1 = {(1, 1), (3, 3), (2, 2), (4, 4)}
R2 = {(1, 1), (1, 4), (2, 2), (3, 3), (4, 3)}
R3 = {(1, 1), (1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}
R4 = {(1, 3), (2, 2), (2, 4), (3, 1), (4, 4)}
Lecture: 15 Discrete Structure 8/24
Then,
R1 is reflexive, since (a, a) ∈ R1 for all a ∈ A.
R2 is not reflexive, because (4, 4) 6∈ R2 .
R3 is reflexive, since (a, a) ∈ R3 for all a ∈ A.
R4 is not reflexive, because (1, 1) 6∈ R4 , (3, 3) 6∈ R4 .
Remark
R is not symmetric iff there are elements a and b in A such that
(a, b) ∈ R but (b, a) 6∈ R.
EXAMPLE
Let A = {1, 2, 3, 4} and define relations R1 , R2 , R3 , and R4 on A as
follows.
• R1 = {(1, 1), (1, 3), (2, 4), (3, 1), (4, 2)}
• R2 = {(1, 1), (2, 2), (3, 3), (4, 4)}
• R3 = {(2, 2), (2, 3), (3, 4)}
• R4 = {(1, 1), (2, 2), (3, 3), (4, 3), (4, 4)}
TRANSITIVE RELATION
Let R be a relation on a set A. R is transitive if and only if for all
a, b, c ∈ A, if (a, b) ∈ R and (b, c) ∈ R then (a, c) ∈ R. That is, if
aRb and bRc then aRc.
In words, if any one element is related to a second and that second
element is related to a third, then the first is related to the third.
Note that the “first”, “second” and “third” elements need not to
be distinct.
REMARK
R is not transitive iff there are elements a, b, c in A such that
If (a, b) ∈ R and (b, c) ∈ R then (a, c) 6∈ R.
EXERCISE
Let A = {0, 1, 2} and
R = {(0, 2), (1, 1), (2, 0)} be a relation on A.
(i) Is R reflexive? Symmetric? Transitive?
(ii) Which ordered pairs are needed in R to make it a reflexive and
transitive relation.