Lecture 9 Properties of Relations
Lecture 9 Properties of Relations
4 3
NOT TRANSITIVE
Example
The relation R on X = {1, 2, 3, 4} defined by (x, y)
∈ R if x ≤ y, x, y ∈ X, is transitive because for all
x, y, z, if (x, y) and (y,z) ∈ R, then (x,z) ∈ R.
The digraph of a transitive relation has the property
that whenever there are directed edges from x to y
and from y to z, there is also a directed edge from x
to z.
Notice that the digraph of this relation has this
property.
Example
The relation R = {(a,a), (b,c), (c,b),
(d,d)} on X = {a, b, c, d} is not
transitive.
For example, (b, c) and (c, b) are in R,
but (b, b) is not in R.
Notice that in the digraph of this relation
there are directed edges from b to c and
from c to b, but there is no directed edge
from b to b.
Activity 1
1. Write each of the relations below as relations on sets and determine the properties of relations.
(a) The relation R on {1, 2, 3, 4} defined by (x, y ) R if x2 y.
(b) The relation R on {1, 2, 3, 4, 5} defined by (x, y ) R if y = 2x.
(c) Relation R on the set {1, 2, 3, 4, 5} defined by the rule (x, y ) R if 3 divides x – y.
(d) Relation R on the set {1, 2, 3, 4, 5} defined by the rule (x, y ) R if x + y 6.
(e) Relation R on the set {1, 2, 3, 4, 5} defined by the rule (x, y ) R if x = y – 1.
Partial order and
Total order
Partial Orders
SOLUTION
•R is a partial order; reflexive, antisymmetric and transitive
•(1,1) X and (1,1) R, then 1 and 1 are comparable
•(1,2) X and (1,2) R, then 1 and 2 are comparable
•(2,3) X but (2,3) R and (3,2) R then 2 and 3 are incomparable
Order Relations–Total Order
SOLUTION
R is a total order on X.
The less than or equal to relation on the positive integers is a total
order since, if x and y are integers, either x ≤ y or y ≤ x.
Equivalence Relations
and Equivalence
Classes
Equivalence Relations