0% found this document useful (0 votes)
24 views6 pages

Lecture 07

Uploaded by

ilaydacan2505
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views6 pages

Lecture 07

Uploaded by

ilaydacan2505
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Lecture 7: Relations

1 Relation
Relation between two objects signify some connection between them. For example,
relation of one person being biological parent of another. If we take any two
people at random, say persons X and Y , then either X is a parent of Y or not.
This depends on our knowledge of knowing whether (X, Y ) is a parent child pair.
Alternatively, we can list all pairs of people (X, Y ) such that X is a parent of Y .
Then, knowing whether X and Y are related is equivalent to checking whether
pair (X, Y ) belongs to this set of listed pairs. We formalize this notion below.
Definition 1.1 (Relation). Let A and B be sets. A relation R from A to B is
a subset
R ⊆ A × B.
If a ∈ A and b ∈ B, we write aRb if (a, b) ∈ R and a 6R b if (a, b) ∈
/ R. A relation
from A to A is called a relation on A.
Example 1.2. Following are some examples of relations.
1. Let A = {1, 2, 3} and B = {x, y, z}. Then, we can define a relation S =
{(1, y), (1, z), (2, y)} such that 1Sy, 1Sz, 2Sy.

2. Let P be set of all people. Then, we define a relation R as R ⊆ P × P such


that R = {(x, y) ∈ P × P : x and y have at least one parent in common}.

3. Symbols < and ≤ represent relations on R.

4. Let P be set of all people, and B be set of all books. Then, we can define a
relation T ⊆ P × B such that T = {(x, y) ∈ P × B : x has read y}.

5. Let A be a set. Define a relation on P(A), by saying that P, Q ∈ P(A) are


related iff P ⊆ Q. Let U = {(P, Q) ∈ P(A) × P(A) : P ⊆ Q}.

6. A function f : A → B is subset of A×B satisfying certain conditions. Hence,


a function f : A → B is also a relation from A to B.

1
Remark 1. Relations are more general than functions. Notice the difference be-
tween functions and relations. The following two properties that can hold for
relations but not for functions.

1. A relation can have no ordered pair for some a ∈ A.

2. A relation can have more than one ordered pair for some a ∈ A.

Definition 1.3 (Relation Class). Let A and B be non-empty sets and let R be
a relation from A to B.For each element x ∈ A, define the relation class of x
with respect to relation R, denoted R[x], to be the set

R[x] = {y ∈ B : xRy}.

If the relation R is understood from the context, we will often write [x] instead of
R[x].

Example 1.4. Let’s consider the previous examples.

1. For this relation we see that [1] = {y, z}, [2] = {y}, and [3] = ∅. We have an
example of relation class that is empty.

2. There are a number of distinct cases here, and we will examine a few of them.

(a) If x is the only child of each of her parents, then [x] = {x}, where we
observe that x has the same parents as herself. Notice that for any two
distinct single children, [x] ∩ [y] = ∅. That is, we have examples of
relations classes that are disjoint.
(b) If y and z are the only two children of each of their parents, then
[y] = {y, z} = [z].
(c) If a has one half-sibling b by her father, and another half-sibling c by
her mother, and each of b and c have no other siblings or half-siblings,
then [a] = {a, b, c}, and [b] = {a, b}, and [c] = {a, c}.

3. For the relation <, we see that [x] = (x, ∞) for all x ∈ R, and for the relation
≤, we see that [x] = [x, ∞) for all x ∈ R.

4. Relation class of a person x is [x] = { set of books read by x}.

5. Relation class of a subset P ⊆ A is [P ] = {Q ⊂ A : P ⊆ Q}.

6. Relation class of a function x is [x] = {f (x)}.

2
We see that relation classes can be empty. Two relation classes can be disjoint
or have non-empty intersection. This is due to the fact that relations are very
general and have no structures. In the following we would add some structure to
define two specific relations.
Definition 1.5. Let A 6= ∅ and let R be a relation on A.
1. Relation R is reflexive if xRx for all x ∈ A.
2. Relation R is non-reflexive if xRx doesn’t hold for any x ∈ A.
3. Relation R is symmetric if xRy implies yRx for all x ∈ A.
4. Relation R is transitive if xRy and yRz implies xRz for all x, y, z ∈ A.
5. Relation R is comparable if x 6= y, then either xRy or yRx for all x, y ∈ A.
Example 1.6. We look at some relations and which of the above-defined proper-
ties they satisfy.
1. Congruence of triangles is reflexive, symmetric, and transitive.
2. Relation of one person weighing within 5 kgs of another person is reflexive,
symmetric, but not transitive.
3. The relation ≤ on real numbers is not symmetric. However, this relation is
reflexive, and transitive.
4. Let C = {1, 2, 3}, and a relation P on set C such that
P = {(2, 2), (3, 3), (2, 3), (3, 2)}.
Then P is not reflexive as (1, 1) ∈ / P , symmetric as {(2, 3), (3, 2)} ∈ P , and
transitive as {(2, 3), (3, 2), (2, 2)} ∈ P .
5. Let B = {x, y, z} and a relation T on set B such that
T = {(x, x), (y, y), (z, z), (x, y), (y, z)}.
Relation T is reflexive as {(x, x), (y, y), (z, z)} ∈ T , not symmetric as {(y, x), (z, y)} ∈
/
T , and not transitive as (x, z) ∈/ T.
6. Relation of one person being cousin of another is symmetric, but not reflexive,
or transitive. In fact, it is non-reflexive.
7. Relation < on real numbers is neither reflexive, nor symmetric. However, it
is non-reflexive, comparable, and transitive.
8. Relation of one person being daughter of another person is neither reflexive,
nor symmetric, nor transitive.

3
2 Order Relations
First interesting relation we will study is order relation.
Definition 2.1 (Order Relation). A relation C on a set A is called an order
relation (or a simple order, or a linear order) if it is comparable, non-reflexive,
and transitive. Symbol < is commonly used to denote an order relation.
Remark 2. We use following facts and conventions for order relations.
1. Comparability doesn’t prohibit xCy and yCx both to be true. However,
transitivity and non-reflexivity of the order relation prohibits such an occur-
rence.
2. Statement x ≤ y stands for statement “either x < y or x = y”.
3. Statement x < y < z stands for x < y and y < z.
Example 2.2. Following are some of the examples for order relations.
1. Let R = {(x, y) ∈ R2 : x < y}. This is an order relation, called usual order
relation on R.
2. Let C = {(x, y) ∈ R2 : x2 < y 2 , or x = y and x < y}. This can be verified
to be an order relation.
3. Let P be set of all people in the world. We respectively define descendent,
blood, and sibling relations as
D = {(x, y) ∈ P × P : x descendent of y},
B = {(x, y) ∈ P × P : x has an ancestor, who is also an ancestor of y},
S = {(x, y) ∈ P × P : parents of x are parents of y}.
Descendent relation is not comparable, but it is non-reflexive, and transi-
tive. Blood relation is neither comparable, nor non-reflexive, nor transitive.
Sibling relation is transitive, but neither non-reflexive, nor comparable.
4. Let A be a non-empty set. We can define a relation on power set of A as
{(S, T ) ∈ P(A) × P(A) : S ⊂ T }. This relation is not comparable, but
non-reflexive and transitive.
Definition 2.3 (Strict Partial Order). Relations that satisfy non-reflexivity
and transitivity are called strict partial order relations.
Definition 2.4. Let X be a set, and < an order relation on X, with a < b elements
of X. Then, an open interval in X is defined as set of elements {x ∈ X : a < x <
b}, denoted by (a, b). If this set is empty, we call a the immediate predecessor
of b, and we call b the immediate successor of a.

4
3 Order Relation
Before introducing order topology, we first define an order relation.
Definition 3.1 (Order relation). A relation C on set A is called an order
relation (or simple order or linear order) if it satisfies the following properties:
i) (Comparability) For every x, y ∈ A for which x 6= y, either xC or yCx.
ii) (Non-reflexivity) For no x ∈ A does the relation xCx holds.
iii) (Transitivity) If xCy and yCz, then xCz.
Example 3.2. Consider the relation on the real line consisting of all pairs (x, y) of
the real numbers such that x < y. It is an order relation, called the usual order
relation on the real line.
Remark 3. 1. A relation is called a strict partial order if it satisfies only the
non-reflexivity and the transitivity properties of order relation.
2. The symbol < is commonly used to denote an order relation.
3. x ≤ y implies that either x = y or x < y.
Definition 3.3. If X is a set, and < is an order relation on X, and if a < b for
a, b ∈ X. We use the notation (a, b) to denote the set {x ∈ X : a < x < b}; it is an
open interval in X. If this set is empty, we call a, the immediate predecessor
of b, and we call b, the immediate successor of a.
Definition 3.4. Let A and B be sets with order relations <A and <B , respec-
tively. We say that sets A and B have the same order type if there is a bijective
correspondence between them that preserves order. That is, there is a bijective
function f : A → B such that a1 <A a2 implies f (a1 ) <B f (a2 ).
Example 3.5. a) (−1, 1) and R have the same order type as there exists a bijec-
x
tive map f : (−1, 1) → R, f (x) = 1−x 2 which preserves order.

b) A = {0} ∪ (1, 2) has the same order type as [0, 1) as there exists a bijective map
f : A → [0, 1) which preserves order. The function f is such that f (0) = 0 and
f (x) = x − 1 for x ∈ (1, 2).
Definition 3.6 (Dictionary order). Suppose A, B are two sets with order rela-
tion <A and <B , respectively. Then, we can define an order relation on A × B by
defining:
a1 × b1 < a2 × b2
if a1 <A a2 , or if a1 = a2 and b1 <B b2 . It is called the dictionary order relation
on the set A × B.

5
One of the properties of the real numbers is the least upper bound property.
We will now define a similar property for an arbitrary but ordered set. We start
by defining the largest and smallest elements of an arbitrary ordered set. Let A be
a set ordered by the relation <. Let Ao be a subset of A. We say that the element
b is the largest element of Ao if b ∈ Ao and if x ≤ b for every x ∈ Ao . Likewise,
we say that a is the smallest element of Ao if a ∈ Ao and if a ≤ x for every
x ∈ Ao . A set has at most one largest and one smallest element. In many cases, a
smallest/largest element may not exist, for example, the open interval (0, 1).

Definition 3.7. The set Ao ⊆ A is bounded above if there exists and element
b ∈ A such that, x ≤ b for any element x ∈ Ao . This element is called an upper
bound for Ao . If the set of all upper bounds on Ao has a smallest element bo , then
bo is called the least upper bound or supremum of Ao , denoted by supAo .
If sup Ao ∈ Ao , then it is the largest element in Ao .

Definition 3.8. An ordered set is said to have the least upper bound property
if every non empty subset Ao of A that is bounded above has a least upper bound.
Likewise, the set A is said to have the greatest lower bound property if every
nonempty subset Ao of A that is bounded below has a greatest lower bound.

Remark 4. A set has least upper bound property if and only if it has the greatest
lower bound property.
(Show proof for this claim)

You might also like