Académique Documents
Professionnel Documents
Culture Documents
RELATIONS
RICKY F. RULETE
Department of Mathematics and Statistics
University of Southeastern Philippines
RELATIONS
PRODUCT SETS
Product Sets
RELATIONS
PRODUCT SETS
Product Sets
RELATIONS
PRODUCT SETS
Product Sets
Example (2.1)
R2 = R R is the set of ordered pairs of real numbers.
Example (2.2)
Let A = {1, 2} and B = {a, b, c}. 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)}
Also, A A = {(1, 1), (1, 2), (2, 1), (2, 2)}.
RELATIONS
PRODUCT SETS
Product Sets
Remark
1
A B 6= B A
RELATIONS
PRODUCT SETS
Product Sets
or
n
Y
Ai
i=1
RELATIONS
RELATIONS
Relations
Definition (2.1)
Let A and B be sets. A binary relation or, simply, relation
from A to B is a subset of A B.
(a, b)
/ R; we then say a is not R-related to b, written
a
Rb.
RELATIONS
RELATIONS
Relations
but
1
Rx, 2
Rx, 2
Ry, 2
Rz, 3
Rx, 3
Rz
RELATIONS
RELATIONS
Relations
Example (2.3)
RELATIONS
RELATIONS
Relations
Example (2.3)
RELATIONS
RELATIONS
Inverse Relations
RELATIONS
RELATIONS
Inverse Relations
Remark
1
2
RELATIONS
PICTORIAL REPRESENTATIVES OF RELATIONS
Relations on R
RELATIONS
PICTORIAL REPRESENTATIVES OF RELATIONS
.
...
....
........
.........
... .... ...
.....
..
.....
.
....
...
....
..
....
...
....
..
....
...
....
..
....
...
....
..
....
..
....
...
....
..
....
...
....
..
....
...
....
..
........
.....
.........
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
.....................
...
........
....
...
...
...
....
..
....
...
....
..
....
...
....
..
....
...
....
..
....
...
....
..
....
...
....
..
....
...
....
..
....
...
....
..
....
...
....
..
....
2
2
....5...............
............ .................x. + y = 25
.
.
.
.
.
.....
..
....
....
...
.. ...
...
...
...
...
...
...
....
x
...
5
O
..
...
.. .
...
....
.
.....
...
.
.
.
.
.......
...........
.......
...............................
RELATIONS
PICTORIAL REPRESENTATIVES OF RELATIONS
.......................
...
....
...
.....
.
....
...
.
......
...
.
.
.
.
.
.
.
...................
.................
.........
.....
................................................................................................. 2 ......................
.... 1 .............
.
.
.................
.
.
.
.
........... .......
.
.
.
.
.........
......... . .....
.........
.........
.........
...
.......................
..
..... .............
.
.
.
.
.
.
.
....
.
.........
.
.
.
.
.
.
.
.
.
.
.
.........
.
......
......... ...................
.........
.........
..... .............
...................... ......
...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... 3 ....... .
... 4 .
............. ........
.......... ................
. .............
....................................................
RELATIONS
PICTORIAL REPRESENTATIVES OF RELATIONS
RELATIONS
PICTORIAL REPRESENTATIVES OF RELATIONS
RELATIONS
PICTORIAL REPRESENTATIVES OF RELATIONS
.....
.................
...... .........
....
...
...
...
.
...
...
...
..............................
.
.....
.
...
........... ....................
..
...................
..
..............
..
..
...................
.
..
.. .........
...
.
...................
.
..
..
.
.
.
.
.
.
.
.
...
.
.
................... ...
.........
..
..
................
.........
..
..
..
.........
..
.
..
...
.
.........
..
..
.
..
.
.
.
.
.........
..
..
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.........
..
..
.............
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
..
.... .............
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
......... ..
..
.
.
.................
..........
...
..
..
...................
..............
..
...
... ....................
...
...
....................
...
...
.
..
.
.
....
.
.
....
.
...................
.................
RELATIONS
COMPOSITION OF RELATIONS
Composition of Relations
RELATIONS
COMPOSITION OF RELATIONS
Composition of Relations
Remark
1
RELATIONS
COMPOSITION OF RELATIONS
Composition of Relations
Example (2.4)
Let A = {1, 2, 3, 4}, B = {a, b, c, d}, C = {x, y, z} and let
R = {(1, a), (2, d), (3, a), (3, b), (3, d)}
and
S = {(b, x), (b, z), (c, y), (d, z)}
Then R S = {(2, z), (3, x), (3, z)}.
RELATIONS
COMPOSITION OF RELATIONS
Composition of Relations
Theorem (2.1)
Let A, B, C and D be sets. Suppose R is a relation from A to
B, S is a relation from B to C, and T is a relation from C to
D. Then
(R S) T = R (S T )
RELATIONS
COMPOSITION OF RELATIONS
Composition of Relations
Proof.
Suppose (a, d) belongs to (R S) T . Then there exists c C
such that (a, c) R S and (c, d) T . Since (a, c) R S,
there exists b B such that (a, b) R and (b, c) S. Since
(b, c) S and (c, d) T , we have (b, d) S T ; and since
(a, b) R and (b, d) S T , we have (a, d) R (S T ).
Therefore, (R S) T R (S T ). Similarly
R (S T ) (R S) T . Both inclusion relations prove
(R S) T = R (S T ).
RELATIONS
COMPOSITION OF RELATIONS
1 0 0 0
0
0 0 0 1
1
MR =
1 1 0 1 and MS = 0
0 0 0 0
0
Multiplying MR and MS we obtain the matrix
0 0 0
0 0 1
MR MS =
1 0 2
0 0 0
representation
0
0
1
0
0
1
0
1
RELATIONS
TYPES OF RELATIONS
Reflexive Relations
RELATIONS
TYPES OF RELATIONS
Reflexive Relations
Example (2.5)
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 reflexive.
RELATIONS
TYPES OF RELATIONS
Reflexive Relations
Example (2.6)
Consider the following five relations:
1
RELATIONS
TYPES OF RELATIONS
Symmetric Relations
RELATIONS
TYPES OF RELATIONS
Symmetric Relations
Example (2.7)
RELATIONS
TYPES OF RELATIONS
Symmetric Relations
Example (2.7)
2
1
2
3
RELATIONS
TYPES OF RELATIONS
Antisymmetric Relations
RELATIONS
TYPES OF RELATIONS
Antisymmetric Relations
Example (2.8)
RELATIONS
TYPES OF RELATIONS
Antisymmetric Relations
Example (2.8)
2
1
2
3
RELATIONS
TYPES OF RELATIONS
Remark
The properties of being symmetric and being antisymmetric
are not negatives of each other. For example, the relation
R = {(1, 3), (3, 1), (2, 3)} is neither symmetric nor
antisymmetric. On the other hand, the relation
R0 = {(1, 1), (2, 2)} is both symmetric and antisymmetric.
RELATIONS
TYPES OF RELATIONS
Transitive Relations
RELATIONS
TYPES OF RELATIONS
Transitive Relations
Example (2.9)
1
RELATIONS
TYPES OF RELATIONS
Transitive Relations
Example (2.9)
2
1
2
3
RELATIONS
EQUIVALENCE RELATIONS
Equivalence Relations
RELATIONS
EQUIVALENCE RELATIONS
Equivalence Relations
a = a for every a S.
If a = b, then b = a.
If a = b and b = c, then a = c.
RELATIONS
EQUIVALENCE RELATIONS
Equivalence Relations
Example (2.10)
1
RELATIONS
EQUIVALENCE RELATIONS
RELATIONS
EQUIVALENCE RELATIONS
Theorem (2.2)
Let R be an equivalence relation on a set S. Then S/R is a
partition of S. Specifically:
1
RELATIONS
EQUIVALENCE RELATIONS
Proof
1
RELATIONS
EQUIVALENCE RELATIONS
Proof
3
[a] = [b]
RELATIONS
EQUIVALENCE RELATIONS
Example (2.11)
Consider the relation R = {(1, 1), (1, 2), (2, 1), (2, 2), (3, 3)} on
S = {1, 2, 3}. Observe that R is an equivalence relation. Also:
[1] = {1, 2},
[3] = {3}
Observe that [1] = [2] and that S/R = {[1], [3]} is a partition
of S.
RELATIONS
EQUIVALENCE RELATIONS
RELATIONS
EQUIVALENCE RELATIONS
Example (2.12)
1
RELATIONS
EQUIVALENCE RELATIONS
Example (2.12)
RELATIONS
EQUIVALENCE RELATIONS
THANK YOU!!!