D16 R Discrete Mathematics and Combinatory
D16 R Discrete Mathematics and Combinatory
Combinatorial Mathematics
Dr. Justie Su-Tzu Juan
Ex 7.16 (1/2):
a) Ex 7.1(b) is equivalence relation.
Discrete Mathematics
Dr. Justie Su-Tzu Juan
Ex 7.19: A = {1, 2, 3, 4}, R = {(1, 2), (1, 3), (2, 4), (3, 2)} back
R2 = {(1, 4), (1, 2), (3, 4)}
R3 = {(1, 4)}
Rn = , n 4.
A
0 1 0 0 1 0 0 0 1 0
0 1 0 0
0 1 0 0 1 0
M(R1)M(R2) = = = M(R1。R2)
0 0 1 1 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0
0 0 0 0
(M(R))4 = R4=
0 0 0 0
0 0 0 0
(c) Spring 2021, Justie Su-Tzu Juan
§ 7.2 Computer Recognition: Zero-One Matrices and
Directed Graphs
In general : A: set, |A| = n, R A A, M(R) is the relation
matrix for R :
(a) M(R) = 0 (all 0’s) iff R =
(b) M(R) = 1 (all 1’s) iff R = A A
(c) M(Rm) = [M(R)]m, for m +.