L2-RELATIONS
L2-RELATIONS
Relations
•We know many relations such as “less than,” “is parallel to,” “is a subset of,” and so on.
•In a certain sense, these relations consider the existence or nonexistence of a certain connection
between pairs of objects taken in a definite order.
•An ordered pair of elements a and b, where a is designated as the first element and b as the
second element, is denoted by (a, b).
PRODUCT SETS
Then A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)}
B × A = {(a, 1), (b, 1), (c, 1), (a, 2), (b, 2), (c, 2)}
Example: A = (1, 2, 3) and B = {x, y, z}, and let R = {(1, y), (1, z), (3, y)}.
Then R is a relation from A to B since R is a subset of A × B.
With respect to this relation, 1Ry, 1Rz, 3Ry, but 1Rx, 2Rx, 2Ry, 2Rz, 3Rx, 3Rz
The domain of R is {1, 3} and the range is {y, z}.
Pictures of Relations on Finite Sets
Suppose A and B are finite sets. There are two ways of picturing a relation R from A to B.
(i) Form a rectangular array (matrix) whose rows are labeled by the elements of A and whose
columns are
labeled by the elements of B. Put a 1 or 0 in each position of the array according as a ∈ A is or is
not
related to b ∈ B. This array is called the matrix of the relation.
(ii) Write down the elements of A and the elements of B in two disjoint disks, and then draw an
arrow from
a ∈ A to b ∈ B whenever a is related to b. This picture will be called the arrow diagram of the
relation.
TYPES OF RELATIONS
Reflexive Relations
A relation R on a set A is reflexive if aRa for every a ∈ A, that is, if (a, a) ∈ R for every a ∈ A.
Thus R is not reflexive if there exists a ∈ A such that (a, a) ∉ R.
• A relation R on a set A is symmetric if whenever aRb then bRa, that is, if whenever (a, b) ∈ R then (b, a) ∈ R.
• Thus R is not symmetric if there exists a, b ∈ A such that (a, b) ∈ R but (b, a) ∉ R.
R1 = {(1, 1), (1, 2), (2, 3), (1, 3), (4, 4)}
R2 = {(1, 1)(1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}
R3 = {(1, 3), (2, 1)}
R4 = ∅, the empty relation
R5 = A × A, the universal relation
Determine which of the relations are antisymmetric.
Remark: The properties of being symmetric and being antisymmetric are not negatives of
each other.
(1) For every a ∈ S, aRa. (2) If aRb, then bRa. (3) If aRb and bRc, then aRc.
1. Consider the following five relations on the set A = {1, 2, 3, 4}:
R1 = {(1, 1), (1, 2), (2, 3), (1, 3), (4, 4)}
R2 = {(1, 1)(1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}
R3 = {(1, 3), (2, 1)}
R4 = ∅, the empty relation
R5 = A × A, the universal relation
Determine which of the relations are equivalence relations.
(b) The relation ≤ on the set R of real numbers is reflexive, antisymmetric, and transitive. Thus ≤ is a partial
ordering on R.
(c) The relation “a divides b,” written a | b, is a partial ordering on the set N of positive integers.
However, “a divides b” is not a partial ordering on the set Z of integers since a | b and b | a need not imply a = b.
For example, 3|−3 and −3 | 3 but 3 = −3.
Some
insights
Why it is called the partially ordered set?
A partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other
The word partial is used to indicate that not every pair of elements needs to be comparable; that is, there may be
pairs for which neither element precedes the other.
A totally ordered set, also known as a "linearly ordered set", is a set of elements that can be arranged in a specific
order. This means that for any two elements in the set, we can say that one comes before the other, or that one is
greater than the other.